Originally Posted By: Khaled
Does a server normally send an empty nicknames list to the client while it is joined to a channel? Not that I am aware of.

Khaled, some IRCDs have a decades old channel mode for "auditorium" channels, where only the ops' nicknames are visible. AFIAK, if there are no ops, then NAMES returns empty. It has always worked.

Originally Posted By: kikuchi
Right, the context here is twitch, I get the nicklist for a channel from the web, which indicates who are op/halfop etc, and it also indicates that for my own nickname, which is why I was trying to remove my own nickname from the nicklist, to then re-add it ...

I should be simulating the PART event for all those nicknames which are present on the channel when I'm about to empty the nicklist

kikuchi, If Twitch already populates the nicklist, then just simulate a series of MODE commands to give the necessary (few) nicknames Ops or Voice status on your screen.

Originally Posted By: Khaled
Right, after looking into this I remember why I was concerned about /parseline when I first added it to mIRC. This is actually a good example of why /parseline can be tricky to use. The /parseline command simulates server events. mIRC expects server events to arrive in a specific order and format. If a scripter uses /parseline in a way that does not match the expected order and format of events, mIRC will not behave the way you expect.

Khaled, We're having a lot of fun debugging mIRC's behaviors with /parseline. It'll certainly prove itself useful in finding and explaining bugs, or managing work-arounds for adhoc IRC implementations like Twitch. Thank you for this feature!


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