connection events

This commit is contained in:
ineed bots
2024-04-25 14:26:14 -06:00
parent e4d101a326
commit a836c9528e
2 changed files with 47 additions and 0 deletions

View File

@@ -268,10 +268,31 @@ start_chat_watch()
case "attack_dog":
self thread bot_chat_attack_dog_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
*/