m
Robot: Automated text replacement (-\[\[\s*(\w[^]|]*\w)\s*\|\s*\1\s*]] +\1)
(Homogenized variable names and added links for ItemLink and BagID) |
m (Robot: Automated text replacement (-\[\[\s*(\w[^]|]*\w)\s*\|\s*\1\s*]] +\1)) |
||
| Line 14: | Line 14: | ||
:bagID, slotID | :bagID, slotID | ||
:;[[ | :;[[bagID]] : Numeric - The number of the bag. Valid bags are 0-4. 0 is the backpack. | ||
:;slotID : Numeric - The slot of the specified bag. Valid slotID's are 1 through BagSize. 1 is the left slot in the top row. | :;slotID : Numeric - The slot of the specified bag. Valid slotID's are 1 through BagSize. 1 is the left slot in the top row. | ||
| Line 21: | Line 21: | ||
:ItemLink | :ItemLink | ||
:;[[ | :;[[ItemLink]] : Returns the [[ItemLink]] (The item link is the link when you shift-click an item while the chat edit box is visible). Returns nil if the slot of the specified bag is empty. Example link returned: '''|Hitem:6948:0:0:0:0:0:0:0|h[Hearthstone]|h''' . To use this link in other functions that require an [[ItemLink]], you have to strip out the extra chat link information. Ex: '''item:6948:0:0:0:0:0:0:0''' | ||
== Example == | == Example == | ||