Personally, I'm a fan of:

var %i = 0, %n = $comchan($nick,0)
WHILE ( %i < %n ) {
inc %i
echo $comchan($nick,%i)
}

Though I do respect the performance gain of:

var %i = 1
WHILE ($comchan($nick,%i)) {
echo $ifmatch
inc %i
}

The first version of a WHILE loop is much eaiser for the average coder to understand, very basic logic. While $ifmatch may be sexy, it can be confusing for beginners who haven't used ( %i < %n ) yet and gotten comfortable with casual sex.

- Raccoon


Well. At least I won lunch.
Good philosophy, see good in bad, I like!