napa182 commented on a Page, Mute  -  Oct 14, 2007

heres for nicklist

menu nicklist {
  .MUTE $+($chr(40),$1,$chr(41)):{
    var %mute.min $$?"Please Enter Minutes", %mute.reason $$?"Please Enter A Reason" 
    msg $chan $+($1,$chr(44)) you have been (Muted) silenced for %mute.min $iif(%mute.min > 1,minutes,minute) Reason: %mute.reason :Take this as a warning:
    mode $chan +b ~q: $+ $address($1,2)
    .timer 1 $calc(%mute.min * 60) mode $chan -b ~q: $+ $address($1,2)
  }
}

and here's for an alias

alias mute {
  var %mute.min $2, %mute.reason $3-
  if (!%mute.min || !%mute.reason) { echo $color(info) -a * $iif(!$1,Error Please enter a nick to mute,$iif(!%mute.min,Error Please enter number of minutes,$iif(!%mute.reason,Error Please enter a reason,)))  }
  else {
    msg $chan $+($1,$chr(44)) you have been (Muted) silenced for %mute.min $iif(%mute.min > 1,minutes,minute) Reason: %mute.reason :Take this as a warning:
    mode $chan +b ~q: $+ $address($1,2)
    .timer 1 $calc(%mute.min * 60) mode $chan -b ~q: $+ $address($1,2)
  }
}

eh im bored =/

 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.