Basic Cubescript: Variables
#7
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.
Thanks given by:


Messages In This Thread
RE: Basic Cubescript: Variables - by Felix-The-Ghost - 28 Nov 11, 12:21AM
RE: Basic Cubescript: Variables - by V-Man - 28 Nov 11, 10:38AM
RE: Basic Cubescript: Variables - by V-Man - 28 Nov 11, 09:06PM
RE: Basic Cubescript: Variables - by V-Man - 29 Nov 11, 12:44AM
RE: Basic Cubescript: Variables - by V-Man - 29 Nov 11, 05:41AM
RE: Basic Cubescript: Variables - by V-Man - 30 Nov 11, 05:30PM
RE: Basic Cubescript: Variables - by V-Man - 01 Dec 11, 03:50AM
RE: Basic Cubescript: Variables - by tempest - 01 Dec 11, 03:17PM
RE: Basic Cubescript: Variables - by V-Man - 02 Dec 11, 12:55PM
RE: Basic Cubescript: Variables - by V-Man - 03 Dec 11, 07:37AM
RE: Basic Cubescript: Variables - by Bukz - 03 Dec 11, 01:11PM
RE: Basic Cubescript: Variables - by V-Man - 04 Dec 11, 06:43AM
RE: Basic Cubescript: Variables - by V-Man - 04 Dec 11, 11:21PM
RE: Basic Cubescript: Variables - by V-Man - 05 Dec 11, 10:37AM
RE: Basic Cubescript: Variables - by V-Man - 12 Dec 11, 10:27PM