what is wrong here?
the errror is, that when i type in the chat "test", that nothing happens.
i hope you can help me.
Pastebin: https://pastebin.com/zJ3Q4kKE
---------------------------------------------------------------------------------------------------------------------------------------
command /register:
trigger:
message "&6Please type in your password!"
if {chat.owner} is not set:
set {chat.owner} to true
stop
on chat:
if {chat.owner} is true:
if chat message is "test":
cancel event
set {chat.owner} to false
message "&aDu bist nun als Owner registriert!"
execute console command "pex user %player% add *"
else:
cancel event
message "&cDies ist leider das falsche Passwort!"
set {chat.owner} to false
the errror is, that when i type in the chat "test", that nothing happens.
i hope you can help me.
Pastebin: https://pastebin.com/zJ3Q4kKE
---------------------------------------------------------------------------------------------------------------------------------------
command /register:
trigger:
message "&6Please type in your password!"
if {chat.owner} is not set:
set {chat.owner} to true
stop
on chat:
if {chat.owner} is true:
if chat message is "test":
cancel event
set {chat.owner} to false
message "&aDu bist nun als Owner registriert!"
execute console command "pex user %player% add *"
else:
cancel event
message "&cDies ist leider das falsche Passwort!"
set {chat.owner} to false