WRspice has provision for parameter measurement during a simulation, and for stopping the run on a particular event or condition. Internally, these are implemented from the same components and have similar syntax and features.