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.

Need help editing mc.spam_check2.5.2.tcl

Old posts that have not been replied to for several years.
Locked
w
webstar
Voice
Posts: 20
Joined: Tue Mar 09, 2004 3:54 pm

Need help editing mc.spam_check2.5.2.tcl

Post by webstar »

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.
User avatar
Xpert
Halfop
Posts: 88
Joined: Mon Mar 08, 2004 7:03 am

Post by Xpert »

Paste here your code, and i'll try to help you :)
Xpert.
w
webstar
Voice
Posts: 20
Joined: Tue Mar 09, 2004 3:54 pm

Post by webstar »

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.
w
webstar
Voice
Posts: 20
Joined: Tue Mar 09, 2004 3:54 pm

Post by webstar »

anyone?

BTW I did post the code, someone removed it and added that link to the script.
User avatar
entrapmen
Voice
Posts: 27
Joined: Tue Jul 08, 2003 9:08 am
Location: TR

Post by entrapmen »

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 :oops: :oops: :mrgreen: :mrgreen: :mrgreen: )
<@ll the world is about smiles and cries>
Locked