it apears as though hammer's not online right now, else i'd normaly let the person who started helping continue though.
but it would apear as though u asked to place all nicks in a given channel into a varable, hammer correctly replyed with
var %nicks, %i = 1
whlie ($nick($chan,%i)) {
%nicks = %nicks $ifmatch
inc %i
}
you asked then what to do with it, the answer is quiet simple, you place it wherever it is u wish it to work, if it was a channel event u wanted to do it in .. place it in the remote, or simply make it an alias that can be called from anywhere by altering it just a little like so
chan_nicklist {
var %nicks, %i = 1
whlie ($nick($1,%i)) {
%nicks = %nicks $ifmatch
inc %i
}
return %nicks
}
then all you need to do is set your varable to $chan_nicklist(#Channelname) and the varable will contain the nicknames in a given channel (asumeing your on that channel)
for example
set %nicks $chan_nicklist(#mIRC)
that would set %nicks to the list if nicknames in #mIRC
for a channel event use $chan for the channel name u wish to get the nicklist for.
Cobra^