can anyone give me a simple script dat makes the bot check for priv message triggers like *www.* *join #* and when someone does, it private
messages me with the offenders nick and trigger match. just one channel is ok.
For example bot is in #chan , and ausernick priv. messages the bot with a phrase: please visit www.website.com, the bot then messages me with this format: ausernick *www.*
in turn wen i receive the relay message from the bot, my irc script will kick the nick that privmsg's the bot. il take care of the irc script. i just nid the TCL for my bot to detect the privmsg triggers i set and messages me with the format:
<offendernick> <triggermatch>
anyone can help me pls? thanks a lot.