User Tools

Site Tools


crpl:docs:define

This is an old revision of the document!


<- 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                      # delay next action for the specified interval
crpl/docs/define.1580677866.txt.gz · Last modified: 2020/02/02 16:11 by Karsten75