
03-11-2004, 11:59 AM
|
|
Delteria Management
|
Join Date: Nov 2003
Location: Seminole County, Florida
Posts: 280
|
|
|
scriptstyle=spaces=2,padding=oper,brackets=attach
for use with /style command
It is reformatting the script to look nicer. Please test it before using, sometimes triggeractions can be messed up because it divides weapon names like Day-Night in Day - Night. You can change the style options in the server options:
Spaces gives the number of spaces to put in front of each line (indenting).
Padding says where to put spaces in between:
'oper' will put spaces behind commands like 'if' and before and after operands like '+' and '==',
'paren' will put spaces in [] and (),
'all' will do both.
Brackets says if it should break lines before and after { and } ('break'),
or if it should actually attach it to the previous 'if' or 'for' command ('attach'). Use 'linux' as option if you want to break declarations (array declarations like a = {1,23}) but want to attach brackets after commands. |
|
|
|