connection events

This commit is contained in:
ineed bots
2024-04-25 14:21:38 -06:00
parent 473013dfb3
commit 6f2057c8fa
2 changed files with 47 additions and 0 deletions
+21
View File
@@ -312,10 +312,31 @@ start_chat_watch()
case "vip":
self thread bot_chat_vip_watch( a, b, c, d, e, f, g );
break;
case "connection":
self thread bot_chat_connection_player_watch( a, b, c, d, e, f, g );
break;
}
}
}
/*
When a player connected
*/
bot_chat_connection_player_watch( conn, player, playername, d, e, f, g )
{
self endon( "disconnect" );
switch ( conn )
{
case "connected":
break;
case "disconnected":
break;
}
}
/*
start_startgame_watch
*/