How to make two conditions in the "if" construction

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

Azazelka

Member
Jul 15, 2022
1
0
1
24
example:

if arg-1 is set and arg-number >= 1 and arg-number <= 6:
#script

or

if arg-1 is set and arg-number is between 1 and 6:


HOW TO FIX???
 
example:

if arg-1 is set and arg-number >= 1 and arg-number <= 6:
#script

or

if arg-1 is set and arg-number is between 1 and 6:


HOW TO FIX???
just use:

command /test <integer>:
trigger:
if arg-1 is set:
if arg-number >= 1:
if arg-number <= 6:
send "&cHi"

Or... if you don't need the first part:

command /test <integer>:
trigger:
if arg-number is between 1 and 6:
send "&cHi"
 
Status
Not open for further replies.