This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.
For more information, see this announcement post . Click the X in the top right-corner of this box to dismiss this message.
Old posts that have not been replied to for several years.
webstar
Voice
Posts: 20 Joined: Tue Mar 09, 2004 3:54 pm
Post
by webstar » Tue Mar 09, 2004 3:56 pm
I'm trying to edit mc.spam_check2.5.2.tcl so that it will send a message to a channel if it detects spam. Anyone know how I can do this. I'm 100% n00b when it comes to TCL scripting.
Xpert
Halfop
Posts: 88 Joined: Mon Mar 08, 2004 7:03 am
Post
by Xpert » Wed Mar 10, 2004 7:14 am
Paste here your code, and i'll try to help you
Xpert.
webstar
Voice
Posts: 20 Joined: Tue Mar 09, 2004 3:54 pm
Post
by webstar » Wed Mar 10, 2004 8:08 am
http://mc.purehype.net/script_info.tcl? ... =spamcheck
There is the code. Right now you can set it to /msg the ops in the channel if the bot isn't oped and detects spam. I would like it to post a message to the channel.
I put the area in bold and red that I think can be edited but I don't know TCL so I can't edit it.
webstar
Voice
Posts: 20 Joined: Tue Mar 09, 2004 3:54 pm
Post
by webstar » Sat Mar 13, 2004 12:34 pm
anyone?
BTW I did post the code, someone removed it and added that link to the script.
entrapmen
Voice
Posts: 27 Joined: Tue Jul 08, 2003 9:08 am
Location: TR
Post
by entrapmen » Sat Mar 13, 2004 5:22 pm
webstar wrote: anyone?
BTW I did post the code, someone removed it and added that link to the script.
i didnt see the code (it asks a password etc) but u could add a line before +b $uhost part or newchanban.
something like:
Code: Select all
set spamreport_chan "#achan"
putquick "PRIVMSG $spamreport_chan :$chan $nick $text"
it will paste something like, #anotherchan newbie
www.blablabla.com
but u have to give expressions to text also. maybe u could paste the tcl and we ll try to solve it.
(i m a lil drunk
)
<@ll the world is about smiles and cries>