Your code puts two ()'s

If I quit without a message you would get:
* Aubs has quit IRC ()

If I quit with a message you would get:
*Aubs has quit IRC ((Bye Bye))

Try these for example:
Code:
//tokenize 32 One Two Three | echo -a $1 $2 $3 ( $+ $4 $+ )
//tokenize 32 One Two Three Four | echo -a $1 $2 $3 ( $+ $4 $+ )
In the first one, there's no $4 so it ignores it, whereas in the second, there is so it uses it.


Code:
on ^*:quit:{
  var %i = 1
  while ($comchan($nick,%i)) {
    echo $color(quit) -ti2 $ifmatch *14 $nick has quit IRC (15 $+ $1- $+ )
    inc %i
  }
  halt
}


Aubs.
cool