Read this thread, which tell us it's normal to get the hwnd of the status window for almost all events (has nothing to do with the fact you can't use /me inside an event, mIRC is aware if you do /me from an on text event which listen on a channel and could totally make /me working here by sending an action to that channel).
There is no local identifier returning the HWND of the window associated with the event, you can't possibly pass/use such a value, you can't possibly be annoyed by this side effect of running events with the status window, UNLESS you are using $window(@ $+ $wid).hwnd inside the definition of the event which is unlikely (in the thread, a workaround for that seems to grab the $wid value inside an alias call from that event..


#mircscripting @ irc.swiftirc.net == the best mIRC help channel