<- PRPL reference <- Everything Else 2

Print

ArgumentsResultNotation
value [ value - ]

Description

Takes one item from the stack and writes it on a new line in a file called PRPL.txt in Particle Fleet's root content folder, preceded by the unit's coordinates and the script that called this function. Note that this file is truncated (cleared) each time a map is loaded.

Examples

# Assume this core is at map coordinates (100, 50). Assume this script is named "Hello.prpl"
"Hello World!" print
# Each time this line is invoked, a new line appears in PRPL.txt:
# [100,50] Hello.prpl: Hello World!