User Tools

Site Tools


crpl:docs:define

This is an old revision of the document!


~~DISCUSSION~~ <!--This is a comment--> <- 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

$amtToEmit:10 
$interval:15 
CurrentCoords <-amtToEmit SetCreeper  # At current coordinate, create the amount of creeper defined by $amtToEmit
<-interval Delay                      # ddelay next action for the specified interval
crpl/docs/define.1358576672.txt.gz · Last modified: 2014/10/01 15:02 (external edit)