I'm Trying to make a Chat reward Like : furst one to say a Word get a Reward !
This is my code but its not Working
Code (Text):
command /code [<text>] [<text>]:
permission: code.exe
permission message: &cYou dont have permission for this command!
trigger:
if arg-1 is set:
if arg-1 is "create":
send " &cUsage /code create [text]"
else:
send " &cUsage /code create [text]"
stop
if arg-2 is set:
broadcast "&aFirst One to say '&5&l%arg-2%&a' Get reward"
on chat:
if message contains "%arg-2%":
broadcast "&b&l%sender% &bWinner and he got The reward"
if {code.%uuid of player%} is true:
wait 1 tick
set {code.%uuid of player%} to false
This is my code but its not Working
Code (Text):
command /code [<text>] [<text>]:
permission: code.exe
permission message: &cYou dont have permission for this command!
trigger:
if arg-1 is set:
if arg-1 is "create":
send " &cUsage /code create [text]"
else:
send " &cUsage /code create [text]"
stop
if arg-2 is set:
broadcast "&aFirst One to say '&5&l%arg-2%&a' Get reward"
on chat:
if message contains "%arg-2%":
broadcast "&b&l%sender% &bWinner and he got The reward"
if {code.%uuid of player%} is true:
wait 1 tick
set {code.%uuid of player%} to false