help me please [skript minecraft] error: 'else' has to be placed just after another [line 9]

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

    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.

zotusiek

Member
Jun 12, 2022
1
0
1
i will send the scirpt in the reply
[doublepost=1655056254,1655056169][/doublepost]script here
 

Attachments

  • script fail.txt
    630 bytes · Views: 239
The "else" has to be on the same indent as the "if" you're trying to combat.

E.G.

Code:
if arg-1 is "Hello":
 send "Hi" to player
else:
 send arg-1 to player

NOT

if arg-1 is "Hello":
 send "Hi" to player
 else:
  send arg-1 to player
 
Status
Not open for further replies.