Returns $true or $false depending on if a channel mode is set. See documentation below. Ability to use wildcards and to match multiple modes at a time. Very simplified code.
The snippet works alright after fixing some of the whitespace that tends to mess up mIRC scripts.. there's just one thing: you should be using $wildtokcs instead of $wildtok. A channel flag "c" is different than "C" for example.
Ah, I knew this would come up. That would work, but this is better because it supports wildcards. If the modes were +ist, $ischanmode(#,it) would not work. However, $ischanmode(#,i*t) would work. Just makes it easier to return matches.
Yes I know it is simple, but, as stated in the documentation, I found it very useful and thought I\'d share it with others. Thanks for your rating though!