BeBot - An Anarchy Online and Age Of Conan chat automaton
Archive => Anarchy Online Archive => BeBot 0.2 support => Topic started by: neongen on November 15, 2006, 01:00:44 am
-
oki have a little question how can i get my bot to send a send_gc when it runs in raid mode??? or send_tell to another bot with out the front color?
hope someone can help me :)
-
The answer to sending a tell without color is in Bot.php
/*
send a tell. Set $low to 1 on tells that are likely to cause spam.
*/
function send_tell($to, $msg, $low=0, $color=true)
Example:
$this -> bot -> send_tell($name, $msg, 0, FALSE);
To send to guild chat, change send_pgroup to send_gc, or to send to both just add a send_gc with the same syntax as send_pgroup.
You may also want to add commands to the raid module to take input from the guild channel.
-
thx for the help glara