dashh commented on a Page, Mode Lock  -  Feb 22, 2009

looks that.
two /mode is not necesary

;-  /testt +i
alias testt { 
  if ( $nick != $me ) {
    if (-* iswm $1) || (+* iswm $1 ) {
      echo -a * /mode $chan $+($iif($v1 = -,+,-),$remove($1,-,+)) $2-
    } 
  }
}

and

alias mlock {
  %lock = $iif(%lock = 0,1,0)
  $iif(%lock = 0,.disable,.enable) #lock | /echo -a Mlock $iif(%lock = 0,off. modes unlocked,on. modes lock)
}
 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.