Hmm, true, good points.

So I take it the only way to get a channel's number is by looping through $chan(%i) and checking for the given channel yourself?
A $chan() property for this might be neat.

Also, posting this in the "Bug Reports" rather than in the "Scripts & Popups" section probably was a bad idea after all.