Hello,

While this design is definitely not desirable for scripters, it's failing with on open, where in combination with this report, it makes it impossible to tell where the message comes from (as Raccoon pointed out)

In most cases, the language is capable of letting us do what we want in events with windows, as in, we simply don't need to know the window id of the window that triggered the events.

However, sometimes we need that value, if you recommend to use the parameter of the event to target a window, with an event such as on *:open:*:!,=:{ or simply on *:open:*:*:{, how do you tell if it's a dcc chat or fserv?

For all practical purpose, it would be nice to have $eventwid, to get the wid of the window that triggered the event, and maybe $eventtype or similar which would return '#', '?', '=', '!', '@', depending on the window associated with the event.


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