Alright.
The regex itself is doing the match, and if the regex matches, there must be a matching string or word. And the backreferance will just put that into the memory so you can read it later on.
Here\'s my version:
on $^*:hotlink:/[+-][ohvbeIsklim]/:#: scon -r $iif($nick(#,$me,@%),return,halt)
on $*:hotlink:/([+-][ohvbeIsklim])/:#: mode # $replacex($regml(1),+,-,-,+)
I see how you approached it, I didn\'t realize you could use parenthesis that way, nice code. :D However, I don\'t understand how it would set user modes because you would also need to match the target. That would work for channel modes, but not user modes. Unless I am missing something. :o
Thanks guys for the positive feedback!