napa182 commented on a Page, bot mute script  -  Apr 03, 2009

you dont need to use "tokenize 32 $strip($1-)" if you are stripping the color out in the regex.

also whynot put them under 1 on text event. here's just an example

on $5:text:/^(!mute|!unmute)\b/Si:#:{
  if ($2 != $me && $2 ison #) {
    if ($regml(1) == !mute && $address($2,2)) { 
      mode # +bb-aohv ~q: $+ $v1 ~n: $+ $v1 $str($2 $chr(32),4)
      msg # 04 $+ $nick Just Muted You For: $iif($3,$3-,Blatent Retardation.)
    }
    if ($regml(1) == !unmute && $address($2,2)) {
      mode # -bb+v ~q: $+ $v1 ~n: $+ $v1 $2
      msg # $2 $+ , you have been unmuted, please do not annoy anyone else, or you will be banned.
    }
  }
}
 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.