Hi there,
I am currently trying to make a command through skript and I am having trouble on having the error not pop up with the "if" statements.
Version: 1.8.8 for skript
Anyone know how to make "else" statement reads as an error when I not doing "/rules 1" and "/rules 2"?
[doublepost=1505274359,1505273679][/doublepost]Fix it. Thread serves no purpose for my help now.
I am currently trying to make a command through skript and I am having trouble on having the error not pop up with the "if" statements.
Version: 1.8.8 for skript
Code:
options:
top: &7&m[-----[&4&nRules&7&m]-----]
command /rules [<text>]:
trigger:
if arg-1 is "1":
send "{@top}&r &7Page 1/2"
send "&aNo Mini-Mod"
send "&aNo Spawn Camping"
send "&aNo Advertising"
send "&aNo Unapprove Clients (Example: X-ray)"
send "&aNo Hack Client"
send "&aNo Spamming"
send "&aNo Abusing the commands"
send "&7&m[----------------]"
if arg-1 is "2":
send "{@top}&r &7Page 2/2"
send "&aNo x-ray"
send "&aNo unapprove clients"
send "&7&m[----------------]"
else:
send "&aError:&r Please specify number."
send "/rules <number>"
Anyone know how to make "else" statement reads as an error when I not doing "/rules 1" and "/rules 2"?
[doublepost=1505274359,1505273679][/doublepost]Fix it. Thread serves no purpose for my help now.