$snicks
From Scriptwiki
$snicks
Returns a string of the currently selected nicknames in the active channel listbox in the form:
nick1,nick2,nick3,...,nickN
Example
$snicks
Returns Dana,G,Q when those nicknames are selected in the nicklist.