Anyways..
I don't think youy understand the basics of a goto
command, MaGoNeGrO. The labels (:<name>) are to be places within the {}'s of an alias, trigger, or event. They cannot be, however, assorted throughout the file randomly. They must be contained in a body of code.
I've notice both times u've used them, they are out of the body of code. Ex:
alias myalias {
if ($$1 == 1) goto one
else goto end
}
:one
/echo -a One!
:end
That will not work, but this however will:
alias myalias {
if ($41 == 1) goto one
else goto end
:one
/echo -a One
:end
}
Just thought i'd clearify for ya. Keep everything in the "mother" or "parent" set of {}'s.