CubeScript syntax highlighter
#10
The myBB-plugin even has an awesome extra feature, which - if feasible - should find it's way into the wiki too. Research still pending there, though. Just hover over the "say"-command in the following, more modern syntax as opposed to Viper's code above:
[cubescript]
goodjob = [ say "This is great" ]
[/cubescript]
Seems alias is somehow not recognized/defined by our current (at time of writing) definition, so keep watching out for things like this and help us fine-tune it! Anyway - two things about the updated script line. For one, alias X Y and X = Y are the same, the latter just more conform to most other languages & shorter; secondly there've been known issues with Macintosh and leaving out the spaces .. so, if in doubt, go with the spaces-padding inside a CubeScript-block!
Thanks given by:


Messages In This Thread
CubeScript syntax highlighter - by jamz - 30 Oct 11, 03:22PM
RE: CubeScript syntax highlighter - by tempest - 30 Oct 11, 07:48PM
RE: CubeScript syntax highlighter - by Aekom - 31 Oct 11, 12:47AM
RE: CubeScript syntax highlighter - by Orynge - 31 Oct 11, 04:19AM
RE: CubeScript syntax highlighter - by V-Man - 31 Oct 11, 04:14PM
RE: CubeScript syntax highlighter - by Viper - 02 Nov 11, 03:08AM
RE: CubeScript syntax highlighter - by flowtron - 02 Nov 11, 10:58AM
RE: CubeScript syntax highlighter - by Viper - 03 Nov 11, 01:52AM