itmCreateByName
Syntax:
(itmCreateByName criteria string number)
Argument List:
criteria: the criteria that the item must meet.
string: the name or part of the name of an item.
number: the number of the item you want created.
Returns:
An itemStruct of an item that meets the criteria and has string as part of its name.
Category:
item
Description:
Makes a itemStruct of an item that meets the criteria and has string as part of its name with number of them. If more than one item meets the conditions it will pick one at random.
Example:
Code: Select all
(itmGetName (itmCreateByName "s" "generator" 1))
Comment:
Used in the trading station.