mIRC Home    About    Download    Register    News    Help

Print Thread
#25557 23/05/03 02:09 AM
Joined: May 2003
Posts: 5
O
ORSO Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
O
Joined: May 2003
Posts: 5
Hi all.
I have a problem,there is one person that flood my channel and he has i dinamic ip exact AOL.The problem is that when he come in chan to flood he did not change his "ircname".
Can someone help me,with an addon that when see his ircname kickban him and change the channel in +m.

Hope that someone can help me.
PnL ppl


Life is Beautiful cos is full of d***heads.
#25558 23/05/03 02:41 AM
Joined: Dec 2002
Posts: 2,809
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 2,809
what is an ircname? his nickname?
If so:
Code:
ON @*:JOIN:#the_channel:{
   if ($nick == the_nick) {
      .mode $chan +m
      .ban $nick 3
      .kick $chan $nick Flooding
   }
}

Something like that should do what you asked.

#25559 23/05/03 02:51 AM
Joined: Dec 2002
Posts: 3,138
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
Couldn't he just do +b the_nick!*@*?

#25560 23/05/03 02:58 AM
Joined: Dec 2002
Posts: 2,809
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 2,809
yea of course, and also the +m is redundant (on most networks +b prevents you from talking), I was simply doing what he asked. If it were me personally, and someone always used the same nick, I'd just +b the nick, or actually since as he mentioned it is AOL, I'd probably just +b *@*.aol.com smile

#25561 26/05/03 09:58 AM
Joined: May 2003
Posts: 5
O
ORSO Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
O
Joined: May 2003
Posts: 5
Hi all
First Thanks for replying.Cos his nick change i want to when join with the name WAR,because he change his nick,his ident,but dont change his name.Do u understant??Sorry for my poor English.
An example
::Whois::
-Nick: Drita
·Name: WAR
·IdentD: psycho
·Host: 22cbf9e3.2803ef39.bitchx.biz
·Server: iRc.Unitedchat.Net
·Description: Albanian IRC Network
·Idle: 2days 19hrs 4mins 53secs
::End of Whois::

Name = WAR


Life is Beautiful cos is full of d***heads.
#25562 27/05/03 06:06 PM
Joined: Jan 2003
Posts: 3,012
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2003
Posts: 3,012
If you want an all around protection, try this:

#floodprotect on

on @1:TEXT:*:#: {
; ----------------------------------- Flood (Repeated Messages)
; This is a simple protection that looks for a user repeating the
; same message, and if it finds that person, first will warn, then
; will set a mute ban, next kick, then ban
; ----------------------------------- Flood (Repeated Messages)
if (%text. [ $+ [ $nick ] ] != $1-) /set -u300 %text. [ $+ [ $nick ] ] $1-
else {
; Increase number of duplicate messages
/inc -u5 %flood. [ $+ [ $nick ] ]
;check how many times we've had to see that message
if (%flood. [ %+ [ %nick ] ] == 3) {
/unset %flood. [ $+ [ $nick ] ]
; increase number of times we've had to deal with this person
/inc -u1800 %warn. [ $+ [ $nick ] ]
; take action
/takeaction $chan $nick Flood Flooding (5 lines, 3 seconds)
}
}
}

#floodprotect end

#spamprotect on

on @1:TEXT:*:#: {
; ----------------------------------- Spam (Repeated Gibberish)
; This is also a simple protection, as it will find a person typing
; several lines, but with any line of text. This has the same actions
; as the flood protection, but is 7 lines in 5 seconds.
; ----------------------------------- Spam (Repeated Gibberish)
/inc -u5 %spam. [ $+ [ $nick ] ]
; they passed limit
if (%spam. [ $+ [ $nick ] ] == 7) {
/unset %spam. [ $+ [ $nick ] ]
; increase times dealt with
/inc -u1800 %warn. [ $+ [ $nick ] ]
; take action
/takeaction $chan $nick Spam Spamming (7 lines, 5 seconds)
}
}

#spamprotect end

; take action - use when %warn.(name) has been declaired
; syntax: /takeaction <channel> <nickname> <action> <reason(if kicked)>
; Example: /takeaction #king-tomato ChanSys Flood Flooding (7 lines, 5 seconds)
alias -l takeaction {
; set some easy-to-use variables
/set -u0 %chan $1
/set -u0 %nick $2
/set -u0 %word $3
/set -u0 %reason $4-

; Now, to take action
if (%warn. [ $+ [ %nick ] ] == 1) {
; warning
/msg %chan Please do not %word the channel $nick $+ . Further to do so will result in kicks and/or bans.
}
else if (%warn. [ $+ [ %nick ] ] <= 3) {
; mute ban
/mode %chan -ov+b %nick %nick $address(%nick, 1)
}
else if (%warn. [ $+ [ %nick ] ] <= 6) {
; kick
/mode $chan -ov $nick $nick
/kick $chan %nick %reason
}
else if (%warn. [ $+ [ %nick ] ] != $null) {
/mode %chan -ov+b %nick %nick $address(%nick, 11)
/kick %chan %nick Banned! %reason
}
}


-KingTomato

Link Copied to Clipboard