let player = event.sender;
let msg = event.message;
if (msg.startsWith("!help")) {
// Cancel the default chat message (if supported by your API version)
event.cancel = true;
// Send a private message to the player who typed "!help"
player.sendMessage("Test");
}
});```
#How To Fix
1 messages · Page 1 of 1 (latest)
It hides the message
that's it.
?
what is not working?
errors?