Mage Gives Pet Items to Target (For 75 Mages)
Posted: Fri Dec 16, 2011 1:31 pm
This is a pretty simple mac I made because I couldn't find one made by anyone else. It summons a muzzle of mowcha, an elemental armaments bag for weapons, and a plate of elements for armor and attempts to give whoever you are targeting these items. I only give Icefall Daggers, so these are the weapons that I chose to use to give to my pets. If you have a preference just change the two Icefall terms to some part of the name in whichever weapon you prefer to give to your pet.
You will need the spell_routines.inc file, mine was last modified 11/07/2004
You will need two empty spaces in your main inventory. This will not delete the bags afterward, you'll have to clean it yourself.
If you want it to target your own pet before starting the give process, set the parameter to 1.
For example, if you named your macro MageItem, you would type /mac MageItem 1
Otherwise leave it blank if you want to give the pet toys to someone else, just target their pet and start the macro.
You will need the spell_routines.inc file, mine was last modified 11/07/2004
You will need two empty spaces in your main inventory. This will not delete the bags afterward, you'll have to clean it yourself.
If you want it to target your own pet before starting the give process, set the parameter to 1.
For example, if you named your macro MageItem, you would type /mac MageItem 1
Otherwise leave it blank if you want to give the pet toys to someone else, just target their pet and start the macro.
Code: Select all
#include spell_routines.inc
Sub Main(bool PetSelf)
/if (${PetSelf} == 1) {
/target ${Me.Pet}
}
/call cast "Summon Muzzle of Mowcha" gem4
/delay ${castEndTime}
/call click&wait
/notify GiveWnd GVW_Give_Button leftmouseup |Clicks the Give Button after window is opened|
/delay ${refreshTime}
/call cast "Summon Elemental Armaments" gem8
/delay ${castEndTime}
|**/notify pack1 leftmouseup **|
/if (${Cursor.ID} ) /autoinv
/delay 10
/itemnotify ${FindItem[Phantom Satchel].InvSlot} rightmouseup
/delay 10
/itemnotify ${FindItem[Icefall].InvSlot} leftmouseup
/call click&wait
/itemnotify ${FindItem[Icefall].InvSlot} leftmouseup
/call click&wait
/notify GiveWnd GVW_Give_Button leftmouseup |Clicks the Give Button after window is opened|
/delay 10
/delay ${refreshTime}
/call cast "Summon Plate of the Elements" gem7
/delay ${castEndTime}
/itemnotify ${FindItem[Phantom Satchel].InvSlot} leftmouseup
/delay 10
/autoinv
/itemnotify ${FindItem[Phantom Satchel].InvSlot} rightmouseup
/delay 10
/itemnotify ${FindItem[Eidolon].InvSlot} leftmouseup
/call click&wait
/itemnotify ${FindItem[Eidolon].InvSlot} leftmouseup
/call click&wait
/itemnotify ${FindItem[Eidolon].InvSlot} leftmouseup
/call click&wait
/itemnotify ${FindItem[Eidolon].InvSlot} leftmouseup
/call click&wait
/notify GiveWnd GVW_Give_Button leftmouseup
/delay 10
/itemnotify ${FindItem[Eidolon].InvSlot} leftmouseup
/call click&wait
/itemnotify ${FindItem[Eidolon].InvSlot} leftmouseup
/call click&wait
/itemnotify ${FindItem[Eidolon].InvSlot} leftmouseup
/call click&wait
/itemnotify ${FindItem[Lucid].InvSlot} leftmouseup
/call click&wait
/notify GiveWnd GVW_Give_Button leftmouseup
/delay 10
/return
sub click&wait
/click left target
/delay 10
/return