malaki86 wrote:I'm working on a small script for users using 'bad' triggers in the channel, such as !list, @find, etc. I know there are plenty of scripts out to do this already.
What I want, though, is for the bot that is running it to do a .netsay or .netnotice on the trigger, instead of a regular msg/notice.
Any ideas?
Sounds to me like you're trying to combine features from
notriggers.tcl, part of Loki`s
Complete Channel Administration.tcl, and slennox's
netbots.tcl. Rule of thumb is to first contact the scripts' author about any requested feature you want...
Otherwise maybe you might wish to code your own personal tcl script to provide the functions you want, thereby not infringing/hacking on someone else's script. A
PUBM bind, list of 'forbidden' words, the
KICK, and a
putallbots command. Ever read
tcl-commands.doc?