General
To create a spell you have to drag SpellItems (Commands/Ifitem/VariableoperationItem) from the tabs in the left panel
in the right panel. When the items are in the main panel, you can connect them by moving an item on another item.
All items you want to use in your spell must be connected to the start item in order to appear in the spell file.
To remove items you can just right click on them and press delete.
When you want to save the spell, you can click on file -> save. If you have level variables declared in the
start menu of the spellmaker the variable creator is going to open, there you can specifiy a value for every level.
Parameters
Parameters are information for items or operations. They can be found in the Argument tab and the Parameter tab on
the left side of the panel. You can drag these parameters in the parameterslots in the spellitems.
For an explanation of the colors, check the colors help page.
Ifitem:
The if item can be found in the Condition tab, it has 3 parameterslots, the lefthand, operator, righthand.
The lefthand and righthand parameters are values you want to compare and the operator compares them.
The values can be booleans, numbers, strings and variables.
Available compare operators: == (equals), != (notequals), > (larger), >= (larger equals), < (smaller), <= (smaller
equals)
If the condition is true, the codeblock between the startif and endif is executed.
if you want to add a spellitem to the codeblock between startif and endif, just drag a spellitem on between them or at a
spellitem which is already in there.
Variables:
Variables can be added in the variable tab by entering a name in the variable box and clicking the add variable button.
To initialize and modify variables you can use the variableoperation panel. Before you can modify a variable you have to
initialize
it first using the equals operator.