I was planning on adding 'if(player isbot())' but i renamed the function to 'getAddressType'. Because you can use it for more than bots. So it is now 'if(player getAddressType() == 0)'.
You can use 'if(isDefined(player.isbot))'. But you need to set it after creating the test client.
getAddressType typesPHP Code:
ent[i] = addtestclient();
ent[i].isbot = true;
0 = NA_BOT
1 = NA_BAD (an address lookup failed)
2 = NA_LOOPBACK
3 = NA_BROADCAST
4 = NA_IP
5 = NA_IPX (ipv6, possibly unsupported)
6 = NA_BROADCAST_IPX