Hello guys I am idiot and I don't have much ideas about this code:
It's not true that they are full , please help me.
Thanks <3
Sk: 2.2
Mc: 1,8
code_language.skript:
command /random [<player>]:
executable by: console
trigger:
set {western.map} to "western"
set {snow.map} to "snow"
set {forest.map} to "forest"
set {temple.map} to "temple"
if arg-1 is set:
if {sw.arena.%{forest.map}%.list} <= 8:
wait 2 ticks
make arg-1 execute command "/sw join forest"
stop
else if {sw.arena.%{snow.map}%.list} <= 12:
wait 2 ticks
make arg-1 execute command "/sw join snow"
stop
else if {sw.arena.%{western.map}%.list} <= 8:
wait 2 ticks
make arg-1 execute command "/sw join western"
stop
else if {sw.arena.%{temple.map}%.list} <= 4:
wait 2 ticks
make arg-1 execute command "/sw join temple"
stop
else:
send "{@prefix} All Arenas are full! Sorry, try again in the few seconds!" to arg-1
stop
It's not true that they are full , please help me.
Thanks <3
Sk: 2.2
Mc: 1,8