Dear Khaled,

Could you give $wildtok() the same treatment as $hfind(,,,W), where you can match a single string against a list of strings containing wildcards? For example:

$wildtok(#mIRC #*help* #bitcoin-*, $chan, 0, 32, W)

The above would check if $chan matches against any of the three wildcard patterns.

I also see people occasionally asking for this for swear and spam filters. I know this is possible with regex, but there's no real solution for more-familiar globbing patterns.

There's no real way to parse a list of channels the same way On Events parse a list of channels. Eg: On *:TEXT:*:#mIRC,#*help*,#bitcoin-*: { }


Well. At least I won lunch.
Good philosophy, see good in bad, I like!