GHI_ConsumeItem

Pilus edited this page Aug 11, 2015 · 1 revision

Syntax:

GHI_ConsumeItem( guid, amount)

Arguments:

GHI_ConsumeItem has 2 required arguments.

guid
''String''
The GUID of the item to be consumed. This can be found by using the inspect tool in the GHI main backpack.
amount
''Number''
This the amount of the specified item to be consumed.

Aliases:

None

Example:

if GHI_CountItem(1234567) >1 then

GHI_ConsumeItem(1234567)

end

This script checks if you have item GUID 1234567 and more than one. If so it then consumes one of it.

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.