btw here is what im using
Code:
modes {
  var %x = 1, %nicks = ""
  while (%x <= $snick(#,0)) {
    %nicks = %nicks $snick(#,%x)
    if (4 // %x) { .mode # $1 $+ $str($2,4) %nicks | %nicks = "" }
    inc %x 1
  }
  if (%nicks) { .mode # $1 $+ $str($2,3) %nicks }
}


Lets get dirty