Difference between revisions of "Scripting"
From 4Dimensions
Line 1: | Line 1: | ||
− | |||
− | |||
There's a good scripting reference at [http://http://old.tbamud.com/Oasis_DG_pages/ TBA], but there are differences with 4D's scripting commands. These pages aim to give an overview of these commands. | There's a good scripting reference at [http://http://old.tbamud.com/Oasis_DG_pages/ TBA], but there are differences with 4D's scripting commands. These pages aim to give an overview of these commands. | ||
One notable difference is [[Scripting:Crafting|crafting]], for which several new commands and fields have been added. | One notable difference is [[Scripting:Crafting|crafting]], for which several new commands and fields have been added. |
Revision as of 15:22, 1 February 2017
There's a good scripting reference at TBA, but there are differences with 4D's scripting commands. These pages aim to give an overview of these commands. One notable difference is crafting, for which several new commands and fields have been added.
To give an example of the terms used in these pages, consider this line:
nop %actor.exp(1000)%
Here nop is the command, actor is the variable, exp is the field and 1000 is the subfield. All new commands, fields and variables are grouped alphabetically: