Advertisement
westor

Ban info fix for Dhuz v1.0

Oct 13th, 2018
368
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
mIRC 0.37 KB | None | 0 0
  1. ON *:BAN:#: {
  2.   var %mask = $gettok($banmask,1,47)
  3.   var %bant = $ialchan(%mask,$chan,0)
  4.  
  5.   while (%bant > 0) {
  6.     var %n = $ialchan(%mask,$chan,%bant).nick
  7.     var %banned.nicks = $addtok(%banned.nicks,%n,44)
  8.     dec %bant 1
  9.   }
  10.  
  11.   if (%banned.nicks) { echo -a $nick banned %banned.nicks in $chan }
  12.   else { echo -a $nick banned %mask no match found in $chan }
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement