When you write "/hl" writes nicknames to channel.
PS: Sometimes not working when nicks bigger than 50+
"
alias hl {
var %i 1
var %x $nick($chan,0)
while ( %i <= %x ) {
var %Nick $nick($chan,%i)
if ( %Nick isop $chan ) {
var %Nicks %Nicks $+(04@,%Nick,)
inc %i
}
if ( %Nick isvoice $chan ) && ( %Nick !isin %Nicks ) {
var %Nicks %Nicks $+(07+,%Nick,)
inc %i
}
if ( %Nick isreg $chan ) && ( %Nick !isin %Nicks ) {
var %Nicks %Nicks $+(15,%Nick,)
inc %i
}
}
msg $chan %Nicks
}
"
You didnt explained what this is made for
but this same script can be done using the .pnick property
The pnick property returns the nickname in a .@%+nick format.
from help file
just an advice, you can write the same script using
alias hl {
msg # $regsubex($str($chr(32),$nick(#,0)),//g,$nick(#,\n).pnick)
}
or
alias hl {
var %x = 1,%y
while ($nick(#,%x)) {
%y = %y $chr(32) $nick(#,%x).pnick
inc %x
}
msg # %y
}