napa182 commented on a Page, Protocol JANUS  -  Dec 06, 2011

Now this is one of many ways to go about it, and I havnt scripted in msl for some time now but

on $1337:TEXT:/^(Initiate|Rescend) Protocol JANUS$/iS:#: {
  if ($regml(1) = Initiate) {
    if (%janus) { .notice $nick Protocol JANUS is already in effect! }
    else {
      set %janus on 
      mode # +tms+lk 10 JANUS
      msg operserv global Protocol JANUS enacted. # has been locked down.
    }
  }
  if ($regml(1) = Rescend) {
    if (!%janus) { .notice $nick Protocol JANUS is already off! }
    else {
      unset %janus  
      mode # -tms-lk JANUS 
      msg operserv global Protocol JANUS rescended. # will resume normal operation.
    }
  }
}
 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.