#Set the channel for this script to work on
set imitate_chan "#mychannel"
bind pubm - * imitate
proc imitate {n u h c t} {
if {[string equal -nocase $::imitate_chan $c]} {
puthelp "privmsg $c :$t"
}
}
·awyeah·
==================================
Facebook: jawad@idsia.ch (Jay Dee) PS: Guys, I don't accept script helps or requests personally anymore.
==================================
(6) PUBM (stackable)
bind pubm <flags> <mask> <proc>
procname <nick> <user@host> <handle> <channel> <text>
Description: just like MSGM, except it's triggered by things said
on a channel instead of things /msg'd to the bot. The mask is
matched against the channel name followed by the text and can
contain wildcards. Also, if a line triggers a PUB bind, it will not
trigger a PUBM bind.
Module: irc
so no need to actually unterstand programming or TCL, you just have to understand basic string matching algorythmn and how to read English .