Can anyone tell me why this does not work:
{1_::%uuid of player%} is already defined
"
command /loot2 [<offline player>]:
permission: admin.sk
trigger:
if {_1::%uuid of arg-1%} is not set:
send "1" to arg-1
if {1_::%uuid of arg-1%} is not set:
send "2" to arg-1
else if {1_::%uuid of arg-1%} is set:
send "3" to arg-1
set {_1::%uuid of arg-1%} to {1_::%uuid of arg-1%}
send "4" to arg-1
send "_1: %{_1::%uuid of arg-1%}%" to arg-1
send "roll: %{1_::%uuid of arg-1%}%" to arg-1
else:
if {_2::%uuid of arg-1%} is not set:
broadcast "2"
set {_2::%uuid of arg-1%} to {1_::%uuid of arg-1%}
else:
if {_3::%uuid of arg-1%} is not set:
set {_3::%uuid of arg-1%} to {1_::%uuid of arg-1%}
else:
if {_4::%uuid of arg-1%} is not set:
set {_4::%uuid of arg-1%} to {1_::%uuid of arg-1%}
else:
if {_5::%uuid of arg-1%} is not set:
set {_5::%uuid of arg-1%} to {1_::%uuid of arg-1%}
command /testt1:
permission: admin.sk
trigger:
send "roll %{1_::%uuid of player%}%"
send ""
send "1 %{_1::%uuid of player%}%"
send "2 %{_2::%uuid of player%}%"
send "3 %{_3::%uuid of player%}%"
send "4 %{_4::%uuid of player%}%"
send "5 %{_5::%uuid of player%}%"
"
When i run it, and do /testt1 only %{1_::%uuid of player%}% comes back as what it should be, since it's already previously defined
{1_::%uuid of player%} is already defined
"
command /loot2 [<offline player>]:
permission: admin.sk
trigger:
if {_1::%uuid of arg-1%} is not set:
send "1" to arg-1
if {1_::%uuid of arg-1%} is not set:
send "2" to arg-1
else if {1_::%uuid of arg-1%} is set:
send "3" to arg-1
set {_1::%uuid of arg-1%} to {1_::%uuid of arg-1%}
send "4" to arg-1
send "_1: %{_1::%uuid of arg-1%}%" to arg-1
send "roll: %{1_::%uuid of arg-1%}%" to arg-1
else:
if {_2::%uuid of arg-1%} is not set:
broadcast "2"
set {_2::%uuid of arg-1%} to {1_::%uuid of arg-1%}
else:
if {_3::%uuid of arg-1%} is not set:
set {_3::%uuid of arg-1%} to {1_::%uuid of arg-1%}
else:
if {_4::%uuid of arg-1%} is not set:
set {_4::%uuid of arg-1%} to {1_::%uuid of arg-1%}
else:
if {_5::%uuid of arg-1%} is not set:
set {_5::%uuid of arg-1%} to {1_::%uuid of arg-1%}
command /testt1:
permission: admin.sk
trigger:
send "roll %{1_::%uuid of player%}%"
send ""
send "1 %{_1::%uuid of player%}%"
send "2 %{_2::%uuid of player%}%"
send "3 %{_3::%uuid of player%}%"
send "4 %{_4::%uuid of player%}%"
send "5 %{_5::%uuid of player%}%"
"
When i run it, and do /testt1 only %{1_::%uuid of player%}% comes back as what it should be, since it's already previously defined