for example i can make a error handler.
alias handle::error {
;error echo debug
if (echo isin $1-) { echo -s 4 echo command error | halt }
;error window debug
if (window isin $1-) { echo -s 4 window command error | halt }
;etc etc
}
alias test_123 {
; if (!$1) { echo -s command does not exist | halt }
$1-
:error
if ($error) {
reseterror
handle::error $v1
}
}