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: Message in Other groups  (Read 5685 times)

0 Members and 1 Guest are viewing this topic.

Offline sonzo

  • BeBot Rookie
  • *
  • Posts: 1
  • Karma: +0/-0
Message in Other groups
« on: May 23, 2006, 07:33:40 pm »
Hi

i found out that there is a method to fetch all the incomming messages from other channels

$commands["gmsg"]["group"][] = &$thisClass;

but i cant find a way to let him work the way i want. The finish should be look like that all the messages which are comming from the Shop channels in oa are parsed into the data base and posted beside the needs of the giuild members in the gc.

But how did i set up the group param correctly? tryed "Clan OOC" with no luck. And another point is which is about the last [] ist there possible to set up the command like it would be with guild chat etc?

thx for help

Offline Xenixa

  • Contributor
  • *******
  • Posts: 307
  • Karma: +0/-0
Re: Message in Other groups
« Reply #1 on: May 24, 2006, 03:42:18 am »
If you want the bot to see a shopping channel or clan ooc use:

$commands['gmsg']['Clan OOC'][] = &$thisClass;

Make sure you set up the logging using the $this -> bot -> log() function in bot.php so you see it echo'd on the monitor .

As for the last part you're asking about I'm not quite sure what you're getting at. BTW, just because a bot can access a channel to listin in doesn't mean you can let it speak in that channel. Open public chat channels are off limits, it will get kicked if someone /petitions a bot broadcasting in a public channel like OOC or Shopping channels.
<<< Hack's in Zend Studio

All my Custom Bebot files may be Found Here <-clicky

 

* 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: 273
  • 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