Cubescript exemple for modification documentation reference
#1
The topic allow to modificate http://assault.cubers.net/docs/reference.html and the intention of these examples is to teach newbies how these parts of CubeScript work

result R
  • Sets the result value of a CubeScript block .

  • Example:
    alias "supergun" [result (at "cut pistol carbine shotgun submachine-gun sniper assault-rifle - grenade akimbo" (curweapon) )]
    echo (supergun)
    Output:It show the gun you use .
  • see also: execute, return 


if cond true false
  • Controls the script flow based on a boolean expression.
  • Example:
    if (> $x 10) [ echo x is bigger than 10 ] [ echo x too small ]
  • Comment:
    If you make several condition on the variable curweapon ,you can use result [at (. . . . .) (curweapon)
  • see also: result 


Please no flood ,just post script with the same structure
I open a new topic because the previous topic is a good idea .
A flooder must not win ...
Thanks given by:


Messages In This Thread
Cubescript exemple for modification documentation reference - by 888 - 28 Oct 12, 10:36AM