An ACS library for ZDoom-based ports
int BotCount()
Returns the amount of ZDoom bots present on the server.
It works by looping through all players and counting for how many of them PlayerIsBot returns true.