code_language.skript:
command /swp [<text>] [<text>]:
aliases: /skywarsplus
executable by: players
trigger:
if arg 1 is "create":
if arg 2 is set:
add arg 2 to {swp.arena::*}
send "&aArena ""%arg-2%"" created!"
else:
send "&4Write a name of arena."
else if arg 1 is "setmainlobby":
if {swp.arena::*} has arg 2: #Here!
send "&aworking!"
How I can specify an item of list variable ?