[skip|else] if [not]|while [not]| = The possible 'Conditional' statements that can be used with this command.
<RetVar/IF> = If the command is to 'return' information. If a variable is used, This command will return TRUE on success, FALSE on failure. (Note: Apparently, When using on HQ class stations the command always returns 0.)
<RefObj> = The 'Object' that the command is to be run on. 'Valid' objects can be a 'Ship or Station'.
<Var/Number> = The quantity of the ware to be added as an integer.
<Var/Ware> = The ware that is to be added.
Adds the specified units of <Var/Ware> to the cargo hold of <RefObj> as long as there is enough room to hold it.
Example:
= $ship -> add 100 units of Energy Cells
This will add 100 units of Energy Cells to the specified ship $ship
By using the = (No return value) a variable is not set and there is no way to determine if the command was successful or not. This must be then dertermined via an alternative method if required.
Command Location:
- »» Trade Commands
<RetVar/IF><RefObj> add <Var/Number> units of <Var/Ware>