If you request on ^*:close have this behavior with /halt or /haltdef, on ^*:open could behave the same way.
/continue is already used in while loops and there is no need to have a command like that,if you don't use /halt or /haltdef, mirc would consider it as a on *:close...