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

Title: send_gc in raid mode
Post 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  :)
Title: Re: send_gc in raid mode
Post by: Glarawyn on November 15, 2006, 03:22:37 am
The answer to sending a tell without color is in Bot.php
Code: [Select]
    /*
    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:
Code: [Select]
$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.
Title: Re: send_gc in raid mode
Post by: neongen on November 15, 2006, 07:10:11 am
thx for the help glara
SimplePortal 2.3.7 © 2008-2024, SimplePortal