Example 1:
Code: Select all
while [TRUE]
end
return null
Example 2:
Code: Select all
$i = 0
while $i < 5
if $i == 2
...
inc $i
end
end
Example 3:
Code: Select all
[PLAYERSHIP]-> destruct: show no explosion=[TRUE]
Example 4:
Code: Select all
[PLAYERSHIP]-> put into environment Argon Prime
Example 5:
insert special characters like ">", " < " etc. in Script comments
What will happen: Game will crash when loading the script files.
Example 6:
not closing tags in the text files, writing errors, wrong commands
What will happen: Game will crash when loading the text files.
Example 7:
Code: Select all
skip if [TRUE]
return null
What will happen: Game will crash when executing the script
Example 8:
Code: Select all
if <expression> OR <expression> OR <expression> OR <expression> OR <expression> OR <expression> OR <expression> OR <expression>
Example 9:
referring directly to objects in the current game
What will happen: script files won't save correctly
Example 10:
referring directly to sectors in the current game
What will happen: mod users get into trouble. dunno what exactly...
Example 11:
Code: Select all
$i == random value from 0 to 5
$k = 2500 / $i
Example 12:
Code: Select all
@ wait 2000 ms
What will happen: setup scripts cannot handle waiting times. Your game will crash whenever you load it. You cannot change the script, because your game will crash whenever you load it. Your only chance is to open the script with an external text editor and change its name to a name that does not start with setup in the codearray, then change the file name to the same name.
Example 13:
Code: Select all
$s = read text: page $pageid id: 001
What will happen: clean shutdown of all systems. I tried this with a textfile only consisting of one entry, which was 132KB - it did not work. I shortened the entry, so that it was only about one monitor full of text (19", size 12). It loaded, and the game crashed when I tried posting it to my player logbook.
Example 14:
Code: Select all
Argon Mammoth -> put into environment: Your Ore Mine(Ore Belt)
What will happen: ever tried hiding an elephant inside your wardrobe? dunno...