User Tools

Site Tools


crpl:docs:define

This is an old revision of the document!


~~DISCUSSION~~ <html><!–This is a comment–></html> <- CRPL reference <- Vars and Functions

$VARNAME:DEFAULT_VALUE

Arguments Result Notation
--

Description

Defines an input variable. Input variables are created at script start and assigned either the default value, or a value specified in the editor. Input variables must start with a $ sign

Examples

Commands used in example:

$amtToEmit:10 
$interval:15 
CurrentCoords <-amtToEmit SetCreeper  # At current location, create  $amtToEmit creeper
<-interval Delay                      # ddelay next action for the specified interval
crpl/docs/define.1358578351.txt.gz · Last modified: 2025/02/14 14:56 (external edit)