/window -o @sanity
/window -Do @sanity
/window -Don @sanity
/window -Don2 @sanity
/window -Don2e2mizj100000 @sanity
Any one or more of those, while any other window (eg, a channel or status window) is active, and typed either from the editbox or from a script event. The effect: @sanity becomes the active window.
Edit: In combination with -n, the window activates when called a 2nd or Nth time after having already been created. -n seems to only suppress (minimize) the window on its creation command.