Ooops, I forgot something from the last part of the code I gave.
Code:
; reset counter to 1 ready for next channel
On raw 366:*: { 
   %LineCounter = 1
   haltdef
}


As stated in the comments at the start of the previous code I detailed, haltdef tells mIRC to NOT display it's default output from the raw 366 message, namely the 'End of /NAMES list.'

Sorry about that .. I was coding on the fly at the time of my previous posting