GHI_UseItem

Pilus edited this page Aug 11, 2015 · 1 revision

Syntax:

GHI_UseItem(bag,slot)

Arguments:

GHI_UseItem() has 2 required arguments.

bag
''String''
The GUID of the item you wish to use.
slot
''Number''
The slot number of the item you wish to use.

Example:

local bag, slot = 101,2

GHI_UseItem(bag,slot)

This script will activate the item in the main bag, slot two when it is used

Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.