The final objective is to get the last users connected to several channels in only one command invokation.

I'm new to mirc scripting. That's why I find this difficult eek

Thank you for your help.