BeBot - An Anarchy Online and Age Of Conan chat automaton

Archive => Anarchy Online Archive => BeBot 0.2 support => Topic started by: exxie on November 11, 2006, 06:20:25 am

Title: logon/off notification in raid mode
Post by: exxie on November 11, 2006, 06:20:25 am
hi there.

first i should mention i'm totally new to bebot. i used ign in the past but recently switched to bebot. installation of version 0.2.9 went without any glitches and runs perfectly but ...

i run the bot in raid mode because i want to familiarize myself with the bot before i switch our ign guildbot with bebot and use it as a showcase for the guild members.

thing i tried to get to work the last two days was a logon/off notification when someone joins/parts the private chatgroup but i can't get to work :-/

i renamed the Logon_GUILD.php to Logon_RAID.php and changed send_gc to send_pgroup but it won't work :) i'm sure i'm missing something but i don't get to it :-/

i'd appreciate if someone can help me on that!
Title: Re: logon/off notification in raid mode
Post by: Naturalistic on November 11, 2006, 06:42:19 am
You need to set that in the pjoin and pleave functions. It would be under Bot.php look for:
function inc_pgjoin($args)
and
function inc_pgleave($args)

Just add the notice to the chat you want to send to:
$this -> bot -> send_gc("Omg, " . $name . " left the privategroup!");

You get the idea. :P
Title: Re: logon/off notification in raid mode
Post by: exxie on November 12, 2006, 04:04:47 am
yep, that did it. thanks!
SimplePortal 2.3.7 © 2008-2025, SimplePortal