Halt

Immendiately stops the current running internal script (PS or Lape).

Pascal

procedure Halt;

Example Pascal

program test;
begin
if Dead then 
begin 
    AddToSystemJournal('Char dead!');
    Disconnect;
    Halt;
end;