BeBot - An Anarchy Online and Age Of Conan chat automaton
Development => Coding and development discussion => Topic started by: Margon on November 08, 2009, 09:21:57 am
-
i'am planig to write a little alliance-chat script (to a ragebot), but i need your help ..
when i use a command like !cmd the bot should tell another player an msg, not the person who typed !cmd.
how can i do this?
-
$name = "Nick";
$output = "Hello text";
$this -> bot -> send_output($name, $output, 'tell');
-
thank you! :)
and what is the guildchat?
gc or guild?
-
$this->bot->send_gc() or $this->bot->send_output($name, $msg, "gc")
-
thx :)
-
ok the scripts works fine with bebots but there is a little problem with ragebots as the reciever-bots
my bebots is sends colored tells (default = yellow) , how can i let him send normal tells without a color?
ragebot can't handle colored msg before the !cmd :(
edit:
i changed the Bot.php in Sources at line 464 zo
function send_tell($to, $msg, $low=0, $color=FALSE, $sizecheck=TRUE, $parsecolors=TRUE)
it there an other way to disable the colored tell-function for an single modul?
-
$this->bot->send_tell($to, $msg, 0, false);