Hello! Im new to skript and im trying to make duels! but my skript is kinda not working as i want to!
Its making all the other ifs even tho there is if is "create"
options:
Version: 1.0
variables:
{arena.1} = false
command /arena [<text>] [<text>]:
trigger:
if arg 1 is "create":
set {arena.%arg 2%} to false
send "&2You created an arena named %arg 2%&2."
if arg 1 is "setspawn1":
set {arena.%arg 2%.spawn1} to event-location
send "&2First location of %arg 2% determined."
if arg 1 is "setspawn2":
set {arena.%arg 2%.spawn2} to event-location
send "&2Second location of %arg 2% determined."
Its making all the other ifs even tho there is if is "create"
options:
Version: 1.0
variables:
{arena.1} = false
command /arena [<text>] [<text>]:
trigger:
if arg 1 is "create":
set {arena.%arg 2%} to false
send "&2You created an arena named %arg 2%&2."
if arg 1 is "setspawn1":
set {arena.%arg 2%.spawn1} to event-location
send "&2First location of %arg 2% determined."
if arg 1 is "setspawn2":
set {arena.%arg 2%.spawn2} to event-location
send "&2Second location of %arg 2% determined."