greetz gentz,

i was curious how this small alias could be modified to send messages to chanops in the fashion of

privmsg nick,nick,nick,nick,nick message

we wanted to limit it to stacked packets of nicks of like 5 per line

so like if 10 nicks to send in 2 lines of 5

Code
 
Alias OP1 {
  set %c $nick($chan,0)
  set %i 1
  while (%i <= %c) {
    if ($nick(#,%i,@%)) {
      privmsg $nick(#,%i,@%)  00,14 $1- 
      inc %i 1
    }
    else {
      inc %i 1
    }
  }
}



current code sends privmsg to 1 nick per line