Solved 2 variables in 1 If query

  • 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.

MomoHD

Member
Nov 23, 2019
18
0
1
26
Hello, I have just written a large script where I ask once: 1. If you have my name
2. When a variable is true
3. When a variable is false

Now I had to write the same for the True variable as I did for my name and the text is very large. Therefore I wanted to ask whether it is possible to specify 2 things in an If query.

Example:
Code:
if {variable1} is true, if {variable2} is true:
[doublepost=1602594319,1602594286][/doublepost]Sry for my bad english, im from Germany
 
Yes:emoji_slight_smile:
if {variable1} and {variable2} are true:
It will work for or as well if you want say code to execute if either is true/false.
 
Status
Not open for further replies.