Advertisement
westor

Unban Remover Announce for HelpMe v1.0

Apr 15th, 2023
2,157
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
mIRC 0.63 KB | None | 0 0
  1. alias -l channel { return #freeirc,#Official,#diaspora,#irccloud,#IRCChan,#userbot }
  2.  
  3. ON *:UNBAN:$($channel): {
  4.   if ($nick == X) || ($nick == *.undernet.org) { return }
  5.  
  6.   var %host = $ial($nick).host
  7.  
  8.   if (*.users.undernet.org iswm %host) && ($nick == $opnick) { return }
  9.  
  10.   var %t = $numtok($banmask,32)
  11.  
  12.   if (!%t) { return }
  13.  
  14.   var %i = 1
  15.   while (%i <= %t) {
  16.     var %b = $gettok($banmask,%i,32)
  17.  
  18.     if (%b) && (!$istok(%tot,%b,32)) { var %tot = $addtok(%tot,%b,32) }
  19.  
  20.     inc %i
  21.   }
  22.  
  23.   if (%tot) { onotice $chan - $+ @ $+ $chan $+ - $nick removed $numtok(%tot,32) $iif(%tot !== 1,bans,ban) that matched: %tot }
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement