What do you mean it don't work?
<&Sick0> Initiate Protocol JANUS
<~napa182> global Protocol JANUS enacted. #Ban_Chan has been locked down.
- napa182 sets mode: +smlk 10 JANUS
<&Sick0> Rescend Protocol JANUS
<~napa182> global Protocol JANUS rescended. #Ban_Chan will resume normal operation.- napa182 sets mode: -smtlk JANUS
seems to work for me just fine. You over used the | making ur code compressed an ugly. You should really try an limit the use of the | . For one it will make ur code a lot cleaner an easier to read/debug among other things. an as for the use of regex in my example it was about he easiest use of it.
as well there is no point in having 2 on text events for this. either take it an learn from it or pick things out to learn from or don't I really don't care. Like i said there are many different ways to go about making a snippet as this. My example was just one of the many ways. but if you are going to complain about it I wont post any examples on ur snippets no hair off my ass.