I may not be even doing this right, but basically what I want to do is with on mode, check for specific modes being set, and if I find one (or more) (by themselves or multiple modes set at once), then display which modes were set to a seperate channel. For example:
in #mainchannel:
* User1 sets mode: +imN
in #botchannel:
* <Bot> #mainchannel +imN by User1.It works right (as in, the $regex string triggers the modes perfectly) from what I can tell, all except for when I try to display them. (Note: $_botchan is fine)
on *:mode:#: {
if ($me ison $_botchan) {
if ($regex(fmode,$1,/^[\+]?[iRmN]+$/)) { msg $_botchan $chan Modes: $regml(fmode,1) set by $nick }
}
}
I've been playing around with various things to try and get it to work, $regml $ifmatch $v1 $v2.. I'm stumped.