MUTATE_VARIABLE

Manipulate the value of a specific variable or set it to a new value.

See operations.

Example JSON

{
  "action": "MUTATE_VARIABLE",
  "operation": "ADD",
  "value": 1,
  "variable": "varName"
}

MGS Natlang

Example

script {
  mutate varName + 1;
}

Dictionary entry

mutate $variable:string $operation:operator $value:number (;)