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?
November 20, 2008, 04:24:31 PM

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 435 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: 1076


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
Log playtime from buddys ...
by Temar
[Today at 10:33:57 AM]

Vote Core module and Simp...
by Temar
[November 19, 2008, 09:26:52 AM]

Restrict access for one m...
by Organizer
[November 19, 2008, 03:21:19 AM]

Custom / Revised Modules ...
by Elesar1
[November 17, 2008, 03:51:46 PM]

TWC
by Temar
[November 16, 2008, 11:39:12 AM]

Are there any FUN modules...
by Elesar1
[November 15, 2008, 07:39:15 PM]

Call to a member function...
by exxie
[November 15, 2008, 09:29:31 AM]

Ported Modules
by Alreadythere
[November 14, 2008, 06:10:07 PM]

cURL and other non-defaul...
by Temar
[November 14, 2008, 04:11:44 PM]

Delete member from Bot al...
by Alreadythere
[November 14, 2008, 12:17:54 PM]
Stats
Members
Total Members: 1235
Latest: DDDepressionnn
Stats
Total Posts: 11034
Total Topics: 1495
Online Today: 15
Online Ever: 168
(July 01, 2007, 09:30:02 PM)
Users Online
Users: 4
Guests: 14
Total: 18
Zeephonz
bmoscato
xlDanek

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.408 seconds with 31 queries. (Pretty URLs adds 0.039s, 4q)
Loading...