egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

spamdetect.tcl and advertisekick.tcl awyeah

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases
View previous topic :: View next topic  
Author Message
b|_ack
Voice


Joined: 10 Feb 2005
Posts: 6

PostPosted: Fri Feb 25, 2005 7:51 pm    Post subject: spamdetect.tcl and advertisekick.tcl awyeah Reply with quote

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
Back to top
View user's profile Send private message
Ofloo
Owner


Joined: 13 May 2003
Posts: 953
Location: Belguim

PostPosted: Sat Feb 26, 2005 4:17 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message Visit poster's website
De Kus
Revered One


Joined: 15 Dec 2002
Posts: 1361
Location: Germany

PostPosted: Sat Feb 26, 2005 5:33 am    Post subject: Reply with quote

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...
Back to top
View user's profile Send private message MSN Messenger
Ofloo
Owner


Joined: 13 May 2003
Posts: 953
Location: Belguim

PostPosted: Sat Feb 26, 2005 6:35 am    Post subject: Reply with quote

<snip>
_________________
XplaiN but think of me as stupid
Back to top
View user's profile Send private message Visit poster's website
awyeah
Revered One


Joined: 26 Apr 2004
Posts: 1580
Location: Switzerland

PostPosted: Sat Feb 26, 2005 8:10 am    Post subject: Reply with quote

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.
==================================
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber