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.

spamdetect.tcl and advertisekick.tcl awyeah

Support & discussion of released scripts, and announcements of new releases.
Post Reply
b
b|_ack
Voice
Posts: 6
Joined: Thu Feb 10, 2005 4:25 am

spamdetect.tcl and advertisekick.tcl awyeah

Post by b|_ack »

If the spammer has op in (auto op channels)it doesnt makes him ban,can it be changed so if he has op it can ban him? thnx
O
Ofloo
Owner
Posts: 953
Joined: Tue May 13, 2003 1:37 am
Location: Belguim
Contact:

Post by Ofloo »

i think so but your not on the right forum i gues .. try eggdrops..

http://forum.egghelp.org/viewforum.php?f=1
XplaiN but think of me as stupid
User avatar
De Kus
Revered One
Posts: 1361
Joined: Sun Dec 15, 2002 11:41 am
Location: Germany

Post by De Kus »

look for [isop $nick $chan] and change them to [matchattr $hand of|of $chan] within the scripts.
De Kus
StarZ|De_Kus, De_Kus or DeKus on IRC
Copyright © 2005-2009 by De Kus - published under The MIT License
Love hurts, love strengthens...
O
Ofloo
Owner
Posts: 953
Joined: Tue May 13, 2003 1:37 am
Location: Belguim
Contact:

Post by Ofloo »

<snip>
XplaiN but think of me as stupid
User avatar
awyeah
Revered One
Posts: 1580
Joined: Mon Apr 26, 2004 2:37 am
Location: Switzerland
Contact:

Post by awyeah »

Yes that can be done. Try not to exempt ops or voices. I remember in both of these scripts I had added options if you want to exempt ops or voices, who advertise and who are spammers.

For ops:
if {[isop $nick $chan]} { return 0 }

For voices:
if {[isvoice $nick $chan]} { return 0 }

For ops and voices:
if {[isop $nick $chan] || [isvoice $nick $chan]} { return 0 }

You might have to change the variable names though. Like in the spam detection script they might not be the same, since the spam detection bot relays messages to the opped bot, it might be something like [lindex $text NUM] (NUM = list number) involved and sames goes for the channel variable. However the advertise script should be fine.
·­awyeah·

==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
==================================
Post Reply