DraykerMaykerr Posted September 1, 2021 Share Posted September 1, 2021 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!" Link to comment Share on other sites More sharing options...
Lapzzo Posted September 1, 2021 Share Posted September 1, 2021 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 contains "astronaut": if {_astronaut} is equal to "a": set {%player's uuid%astronaut} to "astronaut" send "&bHooray! Do /equip astronaut to equip!" to player 1 Link to comment Share on other sites More sharing options...
DraykerMaykerr Posted September 3, 2021 Author Share Posted September 3, 2021 On 9/1/2021 at 2:33 PM, Lapzzo said: 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 contains "astronaut": if {_astronaut} is equal to "a": set {%player's uuid%astronaut} to "astronaut" send "&bHooray! Do /equip astronaut to equip!" to player Thank you I totally missed that part! lol Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now