Looking for a list of macro commands
Looking for a list of macro commands
Like this:
GetInventorySlotInfo("Trinket1Slot");
I need to know the offhand slot command. Does anyone have a link to a list, haven't found it yet.
GetInventorySlotInfo("Trinket1Slot");
I need to know the offhand slot command. Does anyone have a link to a list, haven't found it yet.
I ain't leaving without your soul and I am sober this time.
Tnx,
Found a list too btw
http://www.wowwiki.com/World_of_Warcraft_API
PS Sinarion your next assignment:
a macro that will do the following:
issue the petattack command + activate the offhand item
BUT the offhand item should only be activated if the target is a player.
PPS Where did you find that command Sinarion? I can't find it on the site I linked.
Found a list too btw
http://www.wowwiki.com/World_of_Warcraft_API
PS Sinarion your next assignment:
a macro that will do the following:
issue the petattack command + activate the offhand item
BUT the offhand item should only be activated if the target is a player.
PPS Where did you find that command Sinarion? I can't find it on the site I linked.
Last edited by Fenz on 04 Nov 2005, 11:48, edited 1 time in total.
I ain't leaving without your soul and I am sober this time.
I asked Graguk (Some macro Guru) via Curse-Gaming.
Fenz: You want UseInventoryItem(slot), where slot is 17..
http://www.wowwiki.com/API_UseInventoryItem
http://www.wowwiki.com/API_TYPE_InventorySlotID
You could then do:
/script PetAttack();UseInventoryItem(17);
If you wanted to check the cooldown first so you didn't end up getting spammed with "cant use that yet" every time, then you could modify my ToEP macro to do it:
My ToEP Macro:
/script local a=GetInventorySlotInfo("Trinket1Slot");local b,c=GetInventoryItemCooldown("player",a);if c <= 0 and (UnitHealth("target") > 30 or UnitIsPlayer("target")) then UseInventoryItem(a);SpellStopCasting();end CastSpellByName("Shadow Bolt(rank 9)");
And how you can use it for what you want to do:
/script local b,c=GetInventoryItemCooldown("player",17);if c <= 0 then UseInventoryItem(17);end PetAttack();
I ain't leaving without your soul and I am sober this time.
The forums have macro lists and stuff:
UI Macro Forums
General macros here:
UI sticky forums are helpful
Although you have to trawl through a lot of crap to get what you need.
UI Macro Forums
General macros here:
UI sticky forums are helpful
Although you have to trawl through a lot of crap to get what you need.
Braidwood. Calmly, Quietly, Not one of the Best!