Goto loops: Difference between revisions
Jump to navigation
Jump to search
m cleaning wanted pages-list |
(No difference)
|
Revision as of 18:18, 30 October 2006
You can use goto command to jump from one point to another in a script.
Goto's aren't used very much.
alias testmsg {
if ($1 == ahihi) { goto ahihi }
elseif ($1 == kiaa) { goto kiaa }
else { echo -ag try again! }
:ahihi
msg #channel ahihi
halt
:kiaa
msg #channel kiaa
halt
}