napa182 commented on a Page, Ban timer  -  Mar 03, 2010

um no need for the set var as well no need for the timer

on $@*:TEXT:/^@ban\s(\S+)\s(\d+)$/iS:# {
  if ($nick isop # && $regml(1) ison #) { ban $+(-u,$regml(2)) # $regml(1) 5 }
  else { msg # permission denied. }
}

or

on $@*:TEXT:/^@ban/iS:# {
  if ($nick isop # && $2 ison #) { ban $+(-u,$3) # $2 5 }
  else { msg # permission denied. }
}
 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.