Contents
2 About the examples and the reference
8 1. Start here: what PCA Script is
9 2. Your first script in the editor
10 3. Lines, indentation and comments
11 4. Quotes, escapes and record names
12 5. Values and types
13 6. Variables, constants and saved state
14 7. Assignment and arithmetic
15 8. Comparisons, logic and precedence
16 9. If, else if and else
17 10. Functions and parameters
18 11. Repeat, while and for each
19 12. Break, continue and safe waiting
20 13. Arrays: lists you can build and edit
21 14. Dictionaries and your own records
22 15. Strings and useful text operations
23 16. Regular expressions and text extraction
24 17. Math, vectors and random choices
25 18. JSON and safe file editing
26 19. Dates, time and timed jobs
27 20. Find your game’s records
