im using the following code to view all the address in the channel window but it keeps missing the last nick then gives me a error
* /echo: insufficient parameters (line 16, script1.ini)
any ideas on how to fix it would me appreciated
line 16 is /echo -a $address($nick(#,%i),2)
Code:
alias Allad { 
  var %n = $nick(#,0)
  var %i = 1
  while ( %i <= %n ) {
    /echo -a $address($nick(#,%i),2)
    inc %i
  }
}