Discord Thread loop issue

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

This thread came from the skUnity Discord. You can't reply to it here but if you join the skUnity Discord, you'll be able to post a reply there. The thread link is part of the thread's message.
Status
Not open for further replies.
When you're doing an if statement, it needs to have a result (what happens if the if statement is true). You do that by indenting the lines after the if statement that you want to be your result.

For example, if I want to check if a variable is true, and then kill the player, I can do:
code_language.skript:
if {myvariable} = true:
  kill player
# any other code

Posted by: eyzk from the skUnity Discord.
 
Status
Not open for further replies.