mIRC Home    About    Download    Register    News    Help

Print Thread
Auto unban #70296 04/02/04 10:14 AM
Joined: Feb 2004
Posts: 4
L
LoanNguyen Offline OP
Self-satisified door
OP Offline
Self-satisified door
L
Joined: Feb 2004
Posts: 4
Hi there ...

I wanna make a script , that can auto unban my IP .
Example : .. i join in 2 nicks , 1 nick is Mod , and 1 like normal chatter .
In case i get BAN from some Bots in chat server, so the nick on MOD can auto unban my IP rite away .
I search from Mirc but i didnt see any clue for me to make it .

Sum1 help .. plzzzzzzzz.

laugh
Thx alot

Re: Auto unban #70297 04/02/04 10:56 AM
Joined: Dec 2002
Posts: 774
T
theRat Offline
Hoopy frood
Offline
Hoopy frood
T
Joined: Dec 2002
Posts: 774
on @*:ban:#yourchan: if ( $banmask iswm nick!user@host.isp.com ) mode $chan -b $banmask


Code:
//if ( khaled isgod ) echo yes | else echo no
Re: Auto unban #70298 04/02/04 11:00 AM
Joined: Feb 2004
Posts: 4
L
LoanNguyen Offline OP
Self-satisified door
OP Offline
Self-satisified door
L
Joined: Feb 2004
Posts: 4
Oh.. thanks .. theRat .
Let me try ..

Thx alot

Re: Auto unban #70299 04/02/04 11:03 AM
Joined: Feb 2004
Posts: 4
L
LoanNguyen Offline OP
Self-satisified door
OP Offline
Self-satisified door
L
Joined: Feb 2004
Posts: 4
:-(((

i .. doesnt work ..

I copy exactly , and replace the IP i wanna test , .. # .. too , but nothing happen at all .

:-(

Re: Auto unban #70300 04/02/04 12:58 PM
Joined: Dec 2002
Posts: 29
C
Charlie Offline
Ameglian cow
Offline
Ameglian cow
C
Joined: Dec 2002
Posts: 29
Code:
on @*:ban:#: {
  if ($banmask iswm $address(yournick,5)) || ($banmask iswm $address($me,5)) {
    mode -ob $chan $banmask
  }
}


replace 'yournick' with nickname from user that you want to unban, when their ip get banned for some reason


Charlie
Re: Auto unban #70301 05/02/04 04:00 AM
Joined: Feb 2004
Posts: 4
L
LoanNguyen Offline OP
Self-satisified door
OP Offline
Self-satisified door
L
Joined: Feb 2004
Posts: 4
thanks alot ..
it work .

My script is :

on @*:ban:#: { if ( * IP * iswm $banmask ) { /mode $chan -b $banmask }
}

laugh i got it ...

Thanks .