Perhaps use the "end of /names list" raw?
raw 366:*:{ echo Nicklist for $2 finished loading }
Anyway, if you had something like this in your On Join:
On me:*:join:#: .timer -m 1 400 whatever $chan
the timer should store the channel name and pass it to the alias it calls.