collapse collapse
* User Info
 
 
Welcome, Guest. Please login or register.
* Search

* Board Stats
  • stats Total Members: 989
  • stats Total Posts: 18366
  • stats Total Topics: 2501
  • stats Total Categories: 7
  • stats Total Boards: 35
  • stats Most Online: 1144

Author Topic: logon/off notification in raid mode  (Read 2171 times)

0 Members and 1 Guest are viewing this topic.

Offline exxie

  • BeBot User
  • **
  • Posts: 25
  • Karma: +0/-0
logon/off notification in raid mode
« 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!

Offline Naturalistic

  • Contributor
  • *******
  • Posts: 221
  • Karma: +0/-0
Re: logon/off notification in raid mode
« Reply #1 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
220/25 Eternalist Doctor
-----------------------------
Campalot Coding Co-ordinator and Super Admin
http://www.campalot.info/index.php

Offline exxie

  • BeBot User
  • **
  • Posts: 25
  • Karma: +0/-0
Re: logon/off notification in raid mode
« Reply #2 on: November 12, 2006, 04:04:47 am »
yep, that did it. thanks!

 

* Recent Posts
Com bot module by bitnykk
[November 25, 2024, 05:36:11 pm ]


0.8.x updates for AO by bitnykk
[June 23, 2024, 03:19:47 pm ]


0.8.x updates for AoC by bitnykk
[June 23, 2024, 03:19:44 pm ]


[AoC] special char for items module by bitnykk
[February 09, 2024, 09:41:18 pm ]


BeBot still alive & kicking ! by bitnykk
[December 17, 2023, 12:58:44 am ]

* Who's Online
  • Dot Guests: 95
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.
* Forum Staff
bitnykk admin bitnykk
Administrator
Khalem admin Khalem
Administrator
WeZoN gmod WeZoN
Global Moderator
SimplePortal 2.3.7 © 2008-2024, SimplePortal