mirror of
https://github.com/correl/mercenary.git
synced 2024-11-23 19:19:51 +00:00
Correl Roush
3dac90e658
Also, broke up the parser a bit to ease compilation git-svn-id: file:///srv/svn/ircclient/trunk@3 a9804ffe-773b-11dd-bd7c-89c3ef1d2733
16 lines
302 B
Text
16 lines
302 B
Text
; Hey, here's some test code
|
|
set name Correl
|
|
%first = Correl
|
|
%name = %first $&
|
|
Roush
|
|
echo Hello, %name!
|
|
alias dostuff {
|
|
; Not very useful, but good for testing the parser!
|
|
var %b = 42
|
|
%b = $calc(%b * 3)
|
|
return %b;
|
|
}
|
|
alias -l dosomethingelse {
|
|
; Useless local alias!
|
|
echo -s Busy doing nothing
|
|
}
|