Index
Flow Control

once

ONCE

Description

Start a block of instructions that are executed once only for the lifetime of the entity the script is associated with.

Examples

once
    trace("42") #Only prints once
endonce

Index