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.
Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
silverboy
Halfop
Posts: 55 Joined: Sat Feb 11, 2006 5:44 am
Contact:
Post
by silverboy » Tue Jun 13, 2006 8:46 am
can anyone convert this .mrc to a tcl.
Code: Select all
on !@*:join:#beach,#born2rule,#Maldives,#public: {
var %fa = $nick
var %admt = $address($nick,1)
if (users.undernet.org isin %admt ) {
halt
}
elseif (*1 iswm %fa || *2 iswm %fa || *0 iswm %fa || *3 iswm %fa || *4 iswm %fa || *5 iswm iswm %fa || *6 iswm %fa || *7 iswm %fa || *8 iswm %fa || *9 iswm %fa |) {
kick # $nick 14SPAM BOT detected!! Change nick/login to user before returning back.
echo $nick is a Spam Bot.
}
}
GeeX
Voice
Posts: 29 Joined: Mon Sep 19, 2005 4:29 am
Post
by GeeX » Tue Jun 13, 2006 11:12 am
What function has this script?
sleeplezz
Voice
Posts: 7 Joined: Sun Jun 04, 2006 12:13 pm
Post
by sleeplezz » Tue Jun 13, 2006 5:27 pm
GeeX wrote: What function has this script?
Scripts check every user who joining specified chan if you're an op, and get user address, if the address match with users.undernet.org, script will be halted, but if address match of a combination of numbers, script will start to kick that user with specified reason. And then echoing user nick as a spam bot, this function maybe same as putlog on tcl.
Is am right?
metroid
Owner
Posts: 771 Joined: Wed Jun 16, 2004 2:46 am
Post
by metroid » Wed Jun 14, 2006 2:19 am
Code: Select all
set cchans {#beach #born2rule #Maldives #public}
bind JOIN -|- * checkjoin
proc checkjoin {nick host hand chan} {
global cchans
if {[lsearch $cchans $chan] >= 0 && ![string match *users.undernet* $host] && [string match {*[0-9]} $nick]} {
putquick "KICK $chan $nick :Spambot detected."
putlog "Spambot detected on $chan ($nick!$host)"
}
}
Something like this
silverboy
Halfop
Posts: 55 Joined: Sat Feb 11, 2006 5:44 am
Contact:
Post
by silverboy » Wed Jun 14, 2006 4:36 am
thanks
GHF
Voice
Posts: 2 Joined: Wed May 23, 2012 12:54 pm
Contact:
Post
by GHF » Wed May 23, 2012 1:01 pm
on *:text:*:#Gline:{
gline $$2 .We do not allow proxy
}
Thanks