I have the following code:

Code
on *:ACTIVE:#:{
  window # 0 0 $window(-3).w $calc($window(-3).h * 0.7)
  window "Status Window" 0 $calc($window(-3).h * 0.7) $window(-3).w $calc($window(-3).h * 0.3) 
}


I also have the following options enabled in menubar > Window > Group:

When a status window is selected:
[x] Move all windows for active connection to top.

When a window is selected:
[x] Move status window for active connection to top.

Question:
I would like to run the window (on ACTIVE) code when I maximise/restore/resize the main mIRC window. How do I go about this?


GNU Terry Pratchett - Looking for a mIRC help channel -> Check #mircscripting @ irc.swiftirc.net