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.
}
}
}