Skip to main content

OnUserChat

Usage​

  • Called when a player sends a chat message to the server
  • Returning true overrides default behavior of chat, not commands

Examples​

""
object OnUserChat(IPlayer player, string message)
{
Puts($"{player.Name} said: {message}");
return null;
}