I don't think mIRC can prevent outgoing commands like that.

Have you tried /raw NAMES #channel

Or perhaps /parseline -otqpn NAMES #channel

While looking at /debug -e @debug


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