mIRC Home    About    Download    Register    News    Help

Print Thread
#8207 25/01/03 02:38 AM
V
verdugo2000
verdugo2000
V
how can i do a antiban of ircops o opers

Joined: Dec 2002
Posts: 1,893
O
Hoopy frood
Offline
Hoopy frood
O
Joined: Dec 2002
Posts: 1,893
Code:
On !*:ban:#:{
  if $banmask iswm $address($me,5) && $banmask != *!*@* {
    if $me isop # || o isin $usermode {
      mode # -bo+b $banmask $nick $wildsite
    }
  }
}

This code reacts when a banmask matches your address. if you're an op, or IRC operator (has 'o' flag in your usermode), then it removes the ban, deops the op who set it, and bans him.

Joined: Dec 2002
Posts: 334
F
Fjord artisan
Offline
Fjord artisan
F
Joined: Dec 2002
Posts: 334
Won't O:line and o:line have a diference??

O global
o local

P
phrozenfire
phrozenfire
P
I think it will so I think this would work:

Code:
On !*:ban:#:{
  if $banmask iswm $address($me,5) && $banmask != *!*@* {
    if $me isop # || o isin $usermode || O isin $usermode {
      mode # -bo+b $banmask $nick $wildsite
    }
  }
}

Joined: Dec 2002
Posts: 2,958
W
Hoopy frood
Offline
Hoopy frood
W
Joined: Dec 2002
Posts: 2,958
Depends on the IRCd. I'm a +a on my network. In some cases and notably mine there is the ability to use /sajoin command which stops you from getting kicked and makes you immune to gags too.


Link Copied to Clipboard