mercenary/mirc/test.mrc
Correl Roush b2726144df Now supports aliases that return values.
git-svn-id: file:///srv/svn/ircclient/trunk@8 a9804ffe-773b-11dd-bd7c-89c3ef1d2733
2009-04-22 18:24:39 +00:00

22 lines
No EOL
499 B
Text

; Hey, here's some test code
set name Correl
%first = Correl
%middle = Joseph
%name = %first $&
%middle Roush
echo Hello %name $+ ! $&
How $lower(ArE YoU) $+ ?
echo You're testing Mercenary v $+ $version
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
}
dostuff that nobody will see
dosomethingelse entirely
donothing because this alias doesn't exist