If /halt in ON KEYDOWN makes the whole client non-responsive, it could be salvaged by using the mouse to get into the scripts editor and uncheck listen/events.

If /halt is a concern, there could be the addition of a -switch for halt to enable the other keys being halted in that event.