There isn't a channel associated with on QUIT, so you can't use your IF statement in there. I'm not sure why it would give you blanks, though. As long as you are in your test channel, you should get numbers even if you're also in other channels. Obviously, if you're not in your test channel and you have the dialog open, it will give you blanks when someone quits because it cannot get the information from the test channel. If that's what you're doing (leaving the test channel), then you may want to have something along the lines of:

if ($me ison %test.chan) { FillStats }


Invision Support
#Invision on irc.irchighway.net