The on OPEN/CLOSE events work slightly differently from other identifiers and require one of the <?|@|=|!|*> prefixes to be specified so that a correct window match can be made. This is because these events are triggered in more complex situations. Looking at the code again, it should be possible to make them work in line with other identifiers without affecting existing scripts. I'll see if I can do that for the next version.