Drink/Eat macro?

Drink/Eat macro?

by Domwop » Thu Jan 07, 2016 2:41 pm

Hey guys,
I was wondering if any working "eat/drink-in-one-button"-macro is out there? Merging two buttons in one, even if I have to press it two times, would be great. Can you help me here?


Thanks
-Dom
Domwop
Tester
 

Re: Drink/Eat macro?

by CodyMueller » Thu Jan 07, 2016 2:44 pm

You might find some success using the addon Arcanum.

http://addons.us.to/addon/arcanum
User avatar
CodyMueller
Grunt
Grunt
 

Re: Drink/Eat macro?

by Domwop » Thu Jan 07, 2016 3:04 pm

CodyMueller wrote:You might find some success using the addon Arcanum.

http://addons.us.to/addon/arcanum


I'll check that out, thanks pal!
Domwop
Tester
 

Re: Drink/Eat macro?

by CodyMueller » Thu Jan 07, 2016 3:08 pm

If you need some help setting it up in-game let me know - Progression (A)
User avatar
CodyMueller
Grunt
Grunt
 

Re: Drink/Eat macro?

by Domwop » Thu Jan 07, 2016 3:11 pm

Domwop wrote:
CodyMueller wrote:You might find some success using the addon Arcanum.

http://addons.us.to/addon/arcanum


I'll check that out, thanks pal!


I'm using the default ui and I try to avoid any addons which will fill my screen. Unfortunately Arcanum does it. Is there any other solution to get a drink/eat macro?

-Dom
Domwop
Tester
 

Re: Drink/Eat macro?

by Dreez » Thu Jan 07, 2016 3:34 pm

only if the food/drinks are on the same spot in your inventory all the time
Code: Select all
/run local u=UseContainerItem v=0 i=1 while UnitBuff("player", i)do d=UnitBuff("player", i)if d=="Interface\\Icons\\INV_Drink_18"then v=1 end i=i+1 end if(v==0)then u(0,1)end u(0,2)

for the first two slots in your main bag
in this case:
0= bag ID (0-5)
1/2= itemslot ID (1-18)

note: you will have to press it twice
this will not let you use the first slot if you're already drinking


or simply use supermacro, that addon does not have interface features to my knowledge
Dreez - PvP server
<Endzeit>
User avatar
Dreez
Knight-Lieutenant
Knight-Lieutenant
 

Re: Drink/Eat macro?

by Domwop » Thu Jan 07, 2016 6:34 pm

Dreez wrote:only if the food/drinks are on the same spot in your inventory all the time
Code: Select all
/run local u=UseContainerItem v=0 i=1 while UnitBuff("player", i)do d=UnitBuff("player", i)if d=="Interface\\Icons\\INV_Drink_18"then v=1 end i=i+1 end if(v==0)then u(0,1)end u(0,2)

for the first two slots in your main bag
in this case:
0= bag ID (0-5)
1/2= itemslot ID (1-18)

note: you will have to press it twice
this will not let you use the first slot if you're already drinking


or simply use supermacro, that addon does not have interface features to my knowledge


This macro works fine but it's annoying as hell to put all your conjured items on a specific slot.
I started to use Supermacro with this command:

Code: Select all
/script UseItemByName("Conjured Cinnamon Roll"); UseItemByName("Conjured Crystal Water");[


This in combination with Supermacro allows me to use all my conjured items anywhere in my bags, so it's much easier to handle.

Thanks to Dreez and CodyMueller.
Domwop
Tester
 

Re: Drink/Eat macro?

by Youfie » Sat Jan 16, 2016 2:55 am

Alteratively, you can use the /script UseAction(X); commande.

It allows you to trade the "items have to be in the same bag spot all the time requirement" for a "items have to be in the same bar slot all the time", which is far less inconvenient in my opinion - and you don't need SuperMacro :).
User avatar
Youfie
Knight-Lieutenant
Knight-Lieutenant
 


Return to Mage