Try:
Code:
on me:*:join:#:join $chan
to bring the active channel window to focus.