BeBot - An Anarchy Online and Age Of Conan chat automaton
Archive => Anarchy Online Archive => 0.2.x Custom/Unofficial Modules => Topic started by: Alreadythere on February 06, 2006, 05:09:23 pm
-
Added a !count function to my raid bots.
Easy syntax:
!count all shows the number of characters in the raid bot, split into professions
!count prof shows the characters of selected profession online.
Adapt the professions table to your needs, the shortcuts just need to be unique. Don't mess with the profession names though, or it won't work ;)
Needs my color module, and uses my whois cache. And is using get_tablename too.
File (http://www.m8y.de/ao/bebot/Count.phps) (save as .php)
-
i tray to use this plugin but get error
Fatal error: Call to a member function on a non-object in D:\Install\bots\bots\modules\Count.php on line 89
hre its line 89
$retstr = "Total: " . $this -> bot -> colors -> colorize("lightgrey", $totalcount[0][0]);
-
Needs my color module, and uses my whois cache. And is using get_tablename too.
Check here (http://bebot.link/index.php/topic,312.0.html).