Jump to content
jonass480

/use macro broken?

Recommended Posts

When I attempt to use the /use command I get a message stating type /help for a listing of commands yada yada.  Is the /use command not implemented in Elysium?  I have successfully used /cast with no issue.  I am trying to make a macro of /use Conjured Purified Water so I can eventually make an eat and drink button.  Any help?

Share this post


Link to post
Share on other sites

You can use two API calls (via /script) in succession to swap items into a particular slot. Use this if you need to direct an item to main hand or offhand slots.

PickupContainerItem(bagID,slot);  -- pickup up the item in your bag
PickupInventoryItem(slotID);      -- "pickup" the item in your worn inventory to swap

If you're just swapping an item that only goes to one slot, like head or chest, you can just use and item directly.

UseContainerItem(bagID,slot)      -- use an item from your inventory

Important safety tip! Calling UseContainerItem() with a vendor window open will sell the item.

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×