Jethro commented on a Page, channel Lock/Unlock  -  Nov 06, 2010

ZirixZero,

on @$*:text:/!p(rivate|ublic)/iS:#:{
  if !%t {
    inc -u3 %t 
    mode # $iif($regml(1) = ublic,-,+) $+ pi 
  }
}

You have to make sure the client running the code is opped by adding a @ prefix, or else you'll get an error. A trigger protection is recommended.

 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.