Added custom bot names

This commit is contained in:
Your Name
2020-09-10 14:34:14 -06:00
parent d18a4e6ffd
commit 557bdfefd1
5 changed files with 73 additions and 7 deletions

View File

@@ -315,7 +315,14 @@ connected()
*/
add_bot()
{
bot = addtestclient();
name = getABotName();
bot = undefined;
if (isDefined(name) && name.size >= 3)
bot = addtestclient(name);
else
bot = addtestclient();
if (isdefined(bot))
{