L* R*
HOME FORUM DOWNLOADS
Content
  Links
     Browse SVN
     SVN Commit log
     Documentation (Wiki)
  Developers
     Taskmanager
User
Welcome, Guest. Please login or register.
Did you miss your activation email?
December 02, 2008, 01:30:15 AM

Login with username, password and session length
Search



Advanced search
Support GoPHP5.org
BeBot - An Anarchy Online/Age Of Conan chat automaton > Forum > Support > Support for older versions > BeBot 0.3 support > Topic: How to change listen channel for commands
Pages: [1]   Go Down
« previous next »
Print
Author Topic: How to change listen channel for commands  (Read 446 times)
0 Members and 1 Guest are viewing this topic.
lazarus
Rookie
**
Offline Offline

Posts: 25


How to change listen channel for commands
« on: June 13, 2007, 07:14:05 AM »

hey all Smiley

How do I make the bot listen to commands in a diffrent channel?
it seems that the !say command only will listen to a tell.
i did try to add a "$commands["gc"]["say"] = &$say;"

but it did not work :/
Logged
Alreadythere
BeBot Maintainer
Administrator
Grandmaster
********
Offline Offline

Posts: 1085


Re: How to change listen channel for commands
« Reply #1 on: June 13, 2007, 07:27:49 AM »

If you meet the access level for !say (default is ADMIN) adding the line should work, the handler covers all channels.
Logged
Glarawyn
BeBot Developer
Champion
********
Offline Offline

Posts: 414



Re: How to change listen channel for commands
« Reply #2 on: June 13, 2007, 07:44:02 AM »

I was using Say to test the string filter stuff. I never really finished it up. I suppose I should do that... Smiley
Logged
lazarus
Rookie
**
Offline Offline

Posts: 25


Re: How to change listen channel for commands
« Reply #3 on: June 13, 2007, 07:45:16 AM »

Ok.But it still only give a tell :/
Logged
Glarawyn
BeBot Developer
Champion
********
Offline Offline

Posts: 414



Re: How to change listen channel for commands
« Reply #4 on: June 13, 2007, 02:00:38 PM »

Had a typo in the method Say.php used to determine output channels. SVN version works now. Download: http://svn.shadow-realm.org/index.py/BeBot/trunk/modules/Say.php?view=co
« Last Edit: June 14, 2007, 05:43:41 PM by Glarawyn » Logged
lazarus
Rookie
**
Offline Offline

Posts: 25


Re: How to change listen channel for commands
« Reply #5 on: June 14, 2007, 05:26:58 PM »

Ah yes. it work like a charm now Smiley good work Smiley
Logged
Pages: [1]   Go Up
Print
BeBot - An Anarchy Online/Age Of Conan chat automaton > Forum > Support > Support for older versions > BeBot 0.3 support > Topic: How to change listen channel for commands
« previous next »
 
Jump to:  

Recent
[request] Raid timers
by Elesar1
[December 01, 2008, 04:41:09 PM]

Shared DB online list
by Temar
[December 01, 2008, 01:55:47 AM]

relay colors
by Temar
[December 01, 2008, 01:54:56 AM]

BeBot v0.6.0 released
by Alreadythere
[November 30, 2008, 05:32:00 PM]

Change to Bid.php
by Temar
[November 30, 2008, 11:41:44 AM]

OnlineOrg
by Jiheld
[November 29, 2008, 12:44:27 PM]

Silly Newbie Question.
by Temar
[November 29, 2008, 12:00:02 PM]

massive_pvp_time_table 1
by gerborg
[November 29, 2008, 06:55:35 AM]

Bot not see Guild Chat
by Delvar
[November 28, 2008, 08:30:34 AM]

Starting Bot
by Allisande
[November 28, 2008, 07:08:21 AM]
Stats
Members
Total Members: 1243
Latest: Whackoeng
Stats
Total Posts: 11144
Total Topics: 1505
Online Today: 8
Online Ever: 168
(July 01, 2007, 09:30:02 PM)
Users Online
Users: 1
Guests: 14
Total: 15
Whackoeng

Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC
TinyPortal v0.9.8 © Bloc | NewDef design by Bloc
Page created in 0.43 seconds with 29 queries. (Pretty URLs adds 0.024s, 4q)
Loading...