devoice on voice

By Aaron on Feb 02, 2007

!dvc nick
!vc nick

this is extremely good if you use a bot for auto voicing, the !dvc will unvoice on voice..until you type !vc, +m on channel also helps :P

on *:text:!dvc*:#:{ 
  if ($nick isop $chan) || ($nick ishop $chan) && ($2 != $null) {
    if (%skip.dv. [ $+ [ $2 ] ] == $null) { 
      set %skip.dv. [ $+ [ $2 ] ] jjj
      inc %dv 1 
      mode $chan -v $2 
      notice $nick devoice locked for $2 $+ ! [[ $+ %dv $+ ]] 
    } 
    else notice $nick you need op or hop! or your using it wrong. 
  } 
}

on *:text:!vc*:#:{ 
  if ($nick isop $chan) || ($nick ishop $chan) && ($2- != $null) { 
    if (%skip.dv. [ $+ [ $2 ] ] != $null) {
      unset %skip.dv. [ $+ [ $2 ] ] 
      inc %v 1 
      mode $chan +v $2
      msg $chan Devoice unlocked for $2 $+ ! [ $+ %v $+ ]
    } 
    else notice $nick you need op or hop! or your using it wrong. 
  } 
}

on *:voice:#:{ 
  if ($me isop $chan) || ($me ishop $chan) { 
    if (%skip.dv. [ $+ [ $vnick ] ] != $null) {
      inc %ownsd
      mode $chan -v $vnick 
      msg $chan  $vnick is on the auto devoice list! * %ownsd
    } 
  } 
}

Comments

Sign in to comment.
computermaineack   -  Dec 03, 2007

hah, nevermind, figured out the problem...stupid mistake...i wasnt using it remotely... >.>

 Respond  
computermaineack   -  Dec 03, 2007

Doesn\'t work for me. When I type !dvc nick nothing happens.

 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.