Looking for a list of macro commands

Chit chat
Post Reply
User avatar
Fenz
old man
Posts: 9594
Joined: 09 May 2005, 05:34
Location: Holland

Looking for a list of macro commands

Post by Fenz »

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.
I ain't leaving without your soul and I am sober this time.
User avatar
Sinarion
Legionnaire
Legionnaire
Posts: 310
Joined: 08 Sep 2005, 15:46
Location: CCCP

Post by Sinarion »

/script UseInventoryItem(GetInventorySlotInfo("SecondaryHandSlot"));
User avatar
Fenz
old man
Posts: 9594
Joined: 09 May 2005, 05:34
Location: Holland

Post by Fenz »

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.
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.
Kingeling
Champion
Champion
Posts: 408
Joined: 13 May 2005, 15:27

Post by Kingeling »

Well Fenz, if you find a chatscript as well you don't even have to be at your computer to play wow!
User avatar
Fenz
old man
Posts: 9594
Joined: 09 May 2005, 05:34
Location: Holland

Post by Fenz »

Or use a third party program like you maybe?!
I ain't leaving without your soul and I am sober this time.
User avatar
Sinarion
Legionnaire
Legionnaire
Posts: 310
Joined: 08 Sep 2005, 15:46
Location: CCCP

Post by Sinarion »

Well.. Ermm.. I found it on some forum, cant remember where.. Surfing to fast =)

What kind of ability does the offhand release?
User avatar
Fenz
old man
Posts: 9594
Joined: 09 May 2005, 05:34
Location: Holland

Post by Fenz »

A pet, it's the grimoire from Onyxia 8)
I ain't leaving without your soul and I am sober this time.
User avatar
Sinarion
Legionnaire
Legionnaire
Posts: 310
Joined: 08 Sep 2005, 15:46
Location: CCCP

Post by Sinarion »

Ok this is how it SHOULD look like.. But dont know if it works..


/pet attack
/script if ( UnitExists(unit) and UnitIsPlayer(unit) ) thenUseInventoryItem(GetInventorySlotInfo("SecondaryHandSlot"));

Hmm... Must have missed something.. this aint right..
User avatar
Fenz
old man
Posts: 9594
Joined: 09 May 2005, 05:34
Location: Holland

Post by Fenz »

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.
User avatar
Lateralus
Dr. Gordon Freeman
Posts: 6726
Joined: 18 Jul 2005, 07:43
Location: WARberg

Post by Lateralus »

/rs NEED HELP AT LUMBER MILL
/ra NEED HELP AT LUMBER MILL




>>>> ALL :p
Image
User avatar
Fenz
old man
Posts: 9594
Joined: 09 May 2005, 05:34
Location: Holland

Post by Fenz »

I do not need help, I am a WL!
I ain't leaving without your soul and I am sober this time.
User avatar
Braidwood
Sergeant
Sergeant
Posts: 81
Joined: 25 Sep 2005, 23:52
Location: London, UK

Post by Braidwood »

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. :)
Braidwood. Calmly, Quietly, Not one of the Best!
Post Reply