on me:*:JOIN:#needhelp: .timer 0 5 CheckIdlers $chan
Without the channel, the script will run with the channel parameters, which is crucial. If you specify the channel (in this case, $chan) then the $1 will be filled.
Hmm.. i think that doing that alias every 5 seconds might slow you down a bit (of course i don't know you computer's RAM so im saying compared to mine :P)
Hope this helps,
Zyzzy