Nope, /halt does that. /haltdef only halts the default display, not the script.
//haltdef | echo -a 1 | halt | echo -a 2