#chat game skript doesnt work
1 messages · Page 1 of 1 (latest)
every 4 minutes:
set {_winner} to false
send "&aYou have 1 minute to unscramble this word!: &cbouxnYg0b" to all players
set {_word} to "YoungB0x"
wait 60 seconds
if {_winner} is false:
send "&aTime's up! Nobody won." to all players
wait 1 second
send "&aThe word was 'YoungB0x'. Try again next time." to all players
on chat:
if {_winner} is false:
if message contains "YoungB0x":
set {_winner} to true
send "&c%player% &aWon! The word was YoungB0x" to all players
idk why it doesnt change the _winner
local variable
local variables are local, and cannot be brought across structures