Ah, I see your problem now, the value of $window(status window).state is "normal" while you expect "maximized". It is a bug for me, I can reproduce this on 6.35.
Last edited by Khaled; 17/06/1009:22 AM.
#mircscripting @ irc.swiftirc.net == the best mIRC help channel