Options

You can add these options to any function for additional behavior.

  • delay: Delay the execution of the function.

  • chance: Set a chance for the function to execute.

  • repeat | repetitions: Run the function a specific number of times.

  • interval: Set the interval between each repetition.

Example

function:  
  delay: 20   # ticks
  chance: 0.5   # 50%
  repeat: 5
  interval: 10   # repeat|repetitions must be greater than 1
  do: chatMessage <Hello Monkey!>

Last updated