28 Nov 11, 12:21AM
(This post was last modified: 28 Nov 11, 12:24AM by Felix-The-Ghost.)
Prefixes are a good idea.
This is what I have now:
[cubescript]// This file gets executed every time you start AssaultCube.
// This is where you should put any scripts you may have created for AC.
alias test 67
alias testscript[
echo $test
]
docident testscript "Test Script"[/cubescript]
The 67 worked as is according to the manual echo $test... test.
just the function alias seems to not declare correctly.
Edit: putting a space (I guess it's the delimiter) between the function name and the '[' did it. Now just the documentation doesn't work.
This is what I have now:
[cubescript]// This file gets executed every time you start AssaultCube.
// This is where you should put any scripts you may have created for AC.
alias test 67
alias testscript[
echo $test
]
docident testscript "Test Script"[/cubescript]
The 67 worked as is according to the manual echo $test... test.
just the function alias seems to not declare correctly.
Edit: putting a space (I guess it's the delimiter) between the function name and the '[' did it. Now just the documentation doesn't work.