Hello, I'm trying to make an alias that echos me all the addresses of all the nicknames in the channel.
This is what I made (it doesn't work)
faddnick { var %a = $ialchan(*!*@*,$1,0), %i = 0, %c = $nick($1,0), %n | while (%c > %i) { var %i = %i + 1, %n = $addtok(%n,$ialchan(*!*@*,%c,%i),32) } | tokenize 32 %n | say Addresses: %n }
If anyone can help, please.
Thanks