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 

mrc to tcl

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests
View previous topic :: View next topic  
Author Message
silverboy
Halfop


Joined: 11 Feb 2006
Posts: 55

PostPosted: Tue Jun 13, 2006 8:46 am    Post subject: mrc to tcl Reply with quote

can anyone convert this .mrc to a tcl.
Code:

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.
  }
}
Back to top
View user's profile Send private message Visit poster's website
GeeX
Voice


Joined: 19 Sep 2005
Posts: 29

PostPosted: Tue Jun 13, 2006 11:12 am    Post subject: Reply with quote

What function has this script?
Back to top
View user's profile Send private message
sleeplezz
Voice


Joined: 04 Jun 2006
Posts: 7

PostPosted: Tue Jun 13, 2006 5:27 pm    Post subject: Reply with quote

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


Joined: 16 Jun 2004
Posts: 771

PostPosted: Wed Jun 14, 2006 2:19 am    Post subject: Reply with quote

Code:
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
Back to top
View user's profile Send private message
silverboy
Halfop


Joined: 11 Feb 2006
Posts: 55

PostPosted: Wed Jun 14, 2006 4:36 am    Post subject: Reply with quote

thanks
Back to top
View user's profile Send private message Visit poster's website
GHF
Voice


Joined: 23 May 2012
Posts: 2

PostPosted: Wed May 23, 2012 1:01 pm    Post subject: Can you convert this for me? Reply with quote

on *:text:*:#Gline:{
gline $$2 .We do not allow proxy
}

Thanks
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests 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