BeBot - An Anarchy Online and Age Of Conan chat automaton
General => General discussion => Topic started by: Dochere on December 07, 2009, 01:47:31 pm
-
I'm pretty sure subject says it all.
If not, how can i make bot monitor all channels, or can i set bot to monitor a specific channel?
-
You add channels by name as a gmsg event, like $this -> register_event("gmsg", "Org Msg"). Just make sure you find the exact name.
Then you need to add a gmsg() functions.
For an example of that check out the tower module (http://bazaar.launchpad.net/~bebot-devel/bebot/stable-0.6/annotate/head%3A/modules/ao/TowerAttack.php).
-
Aah nice, thanks!