feat: implement bot name retrieval from botnames.txt

This commit is contained in:
Michael Oliver
2026-06-13 11:40:54 +01:00
committed by mo
parent e7f1a90440
commit 27bd26254c
3 changed files with 73 additions and 1 deletions
+12 -1
View File
@@ -775,7 +775,18 @@ added()
*/
add_bot()
{
bot = addtestclient();
name = getABotName();
bot = undefined;
if ( isdefined( name ) && name.size >= 3 )
{
bot = addtestclient( name );
}
else
{
bot = addtestclient();
}
if ( isdefined( bot ) )
{