Thread Tools Display Modes
Prev Previous Post   Next Post Next
07-25-08, 10:54 PM   #1
SydneyBarringer
A Murloc Raider
AddOn Author - Click to view addons
Join Date: Jul 2008
Posts: 7
/using an item in an addon

I'm trying to make an addon where, by pushing a button on the frame, you'll use a item.

For example, say the item is a super mana potion. How would I tell the addon to use the potion every time I click the button?

Thanks for the help,
Sydney Barringer

EDIT: Could I just cheat and tell it to say "/use Super Mana Potion" in chat?
  Reply With Quote
 

WoWInterface » Developer Discussions » Lua/XML Help » /using an item in an addon


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off