kibo
commented on a Snippet, For Loop - Oct 29, 2011
I would like to customize the error message, but it's just a fad. It would be an unnecessary work.
kibo
commented on a Snippet, For Loop - Oct 28, 2011
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
}
}
kibo
commented on a Snippet, For Loop - Oct 28, 2011
Srjeject I have an idea about a module for error handling in mirc. I sketched something use your technique for handling errors.
kibo
commented on a Snippet, For Loop - Oct 28, 2011
Sreject your code is beautiful and elegant. compliments
kibo
commented on a Snippet, For Loop - Oct 27, 2011
I prefer to use a Private Alias so i can a more structured code, even if your code is more optimized, because it does not call an Alias so is more fast.
kibo
commented on a Snippet, For Loop - Oct 27, 2011
ok I'll use your solution . I now regard a "like" :P
kibo
commented on a Snippet, For Loop - Oct 27, 2011
I preferred to use a less compact solution
kibo
commented on a Snippet, For Loop - Oct 27, 2011
Thank you. I have to improve it with a check on the $1 parameter.
kibo
commented on a Snippet, For Loop - Oct 26, 2011