Open the window with the -z switch: /window -z @moo

The next time you have a scripting question, please post it in the Scripts & Popups forum.