I am making a server with chat events.
Maybe "Say "astronaut" for an astronaut helmet!" type thing.
That's exactly what I'm trying to do, but it won't work.
The Skript is WIP so don't mind the random part at the beginning lol
But this won't work. Anyone help?
every 3 minutes:
set {_num} to random integer between 1 and 1
if {_num} is equal to 1:
broadcast "&cEvent&7: &bType 'astronaut' for a free astronaut helmet item! Expires in 25 seconds!"
set {_astronaut} to "a"
wait 25 seconds
delete {_astronaut}
on chat:
if message is equal to "astronaut":
if {_astronaut} is equal to "a":
set {%player's uuid%astronaut} to "astronaut"
send "&bHooray! Do /equip astronaut to equip!"