chat event

This commit is contained in:
ineed bots
2024-04-26 13:38:16 -06:00
parent 582268aa3c
commit 755541e8d2
2 changed files with 31 additions and 0 deletions
+12
View File
@@ -316,10 +316,22 @@ start_chat_watch()
case "connection":
self thread bot_chat_connection_player_watch( a, b, c, d, e, f, g );
break;
case "chat":
self thread bot_chat_chat_player_watch( a, b, c, d, e, f, g );
break;
}
}
}
/*
When another player chats
*/
bot_chat_chat_player_watch( chatstr, message, player, is_hidden, e, f, g )
{
self endon( "disconnect" );
}
/*
When a player connected
*/