BeBot - An Anarchy Online and Age Of Conan chat automaton

Archive => Anarchy Online Archive => BeBot 0.3 support => Topic started by: lazarus on June 13, 2007, 02:14:05 pm

Title: How to change listen channel for commands
Post by: lazarus on June 13, 2007, 02:14:05 pm
hey all :)

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 :/
Title: Re: How to change listen channel for commands
Post by: Alreadythere on June 13, 2007, 02:27:49 pm
If you meet the access level for !say (default is ADMIN) adding the line should work, the handler covers all channels.
Title: Re: How to change listen channel for commands
Post by: Glarawyn on June 13, 2007, 02:44:02 pm
I was using Say to test the string filter stuff. I never really finished it up. I suppose I should do that... :)
Title: Re: How to change listen channel for commands
Post by: lazarus on June 13, 2007, 02:45:16 pm
Ok.But it still only give a tell :/
Title: Re: How to change listen channel for commands
Post by: Glarawyn on June 13, 2007, 09: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
Title: Re: How to change listen channel for commands
Post by: lazarus on June 15, 2007, 12:26:58 am
Ah yes. it work like a charm now :) good work :)
SimplePortal 2.3.7 © 2008-2024, SimplePortal