mercenary/mirc/test.mrc
Correl Roush 8d1a03d239 Now supports scripted aliases.
Note: return does not currently halt the script. It really needs to.


git-svn-id: file:///srv/svn/ircclient/trunk@9 a9804ffe-773b-11dd-bd7c-89c3ef1d2733
2009-04-23 15:29:37 +00:00

23 lines
440 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) $+ ?
showversion
alias dostuff {
; Not very useful, but good for testing the parser!
var %b = 42
%b = $calc(%b * 3)
return %b;
}
alias -l getversion {
var %version = version $version
return %version
}
alias -l showversion {
echo You're testing Mercenary $getversion
}
dostuff