mirror of
https://github.com/correl/mercenary.git
synced 2024-11-23 19:19:51 +00:00
Correl Roush
a8443598b8
Additional flags for the build process to get the gui app compiled properly across operating systems Parsing ready for event scripts git-svn-id: file:///srv/svn/ircclient/trunk@13 a9804ffe-773b-11dd-bd7c-89c3ef1d2733
35 lines
656 B
Text
35 lines
656 B
Text
; Hey, here's some test code
|
|
echo TEST Code line match [ 2 = $line ]
|
|
; Test comment
|
|
echo TEST Code line match [ 4 = $line ]
|
|
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
|
|
echo TEST Code line match [ 25 = $line ]
|
|
}
|
|
on *:TEXT:something:echo hey I got a message
|
|
|
|
on *:QUIT:{
|
|
echo Quitting!
|
|
}
|
|
dostuff
|