/help $snicks

and wow, it says

Originally Posted By: "mIRC help file"
$snicks

Returns a string of the currently selected nicknames in the active channel listbox in the form:

nick1,nick2,nick3,...,nickN


wink


tropnul