mIRC Home    About    Download    Register    News    Help

Print Thread
#273516 20/07/25 06:55 PM
Joined: May 2022
Posts: 136
F
Fernet Offline OP
Vogon poet
OP Offline
Vogon poet
F
Joined: May 2022
Posts: 136
I got this addon from my old mirc 6.35 but it doesn't work on 7.81
Is a BAN PROTECTION (if someone try to kick/ban me as owner in my channel, he should has to receive a kick ban in revenge).

Code
on @!*:ban:#MYCHANNEL: {
  if ($banmask iswm $address($me,5)) {
    chanserv unban #MYCHANNEL
    mode #MYCHANNEL-o $nick
    ban #MYCHANNEL $nick
    kick #MYCHANNEL $nick Don't ban me, idiot!
  }
}

Any help?
Thanks

Fernet #273518 21/07/25 05:52 AM
Joined: Jan 2012
Posts: 369
Pan-dimensional mouse
Offline
Pan-dimensional mouse
Joined: Jan 2012
Posts: 369
Try using this script code:
Code
on @!*:BAN:#test:{
  if ($banmask iswm $address($me,5)) {    
    msg ChanServ unban $chan
    if ($me !ison $chan) join $chan
    mode $chan -ohv $nick $nick $nick
    ban -k $chan $nick 2 Don't ban me, idiot, I'm the Boss here!
  }
}


🌐 https://forum.epicnet.ru 📜 irc.epicnet.ru 6667 #Code | mIRC scripts, help, discuss, examples

Link Copied to Clipboard