Ok, so I know I can GET the currently active window with $Active, but is there any way of setting a channel window as active using scripting?

I play on a game server that is linked to our IRC network, and when I enter one of the 4 servers, I'd like the relevant server IRC channel window to be selected as active automatically. Is there any way of doing this?