Item clicks
Posted: Sun Jun 13, 2004 1:54 am
Ok here is what I have so far.
What I want to add is a string to
Which will also call ATKRing if "Firefist"'s duration is less than 5min or if it isn't there at all.
Thanks for your help.
Code: Select all
|--------------|
|clicks.mac |
|Usage: |
|/macro clicks |
|--------------|
Sub Main
/if (${Bool[${Me.Buff["Strength of Tunare"]}]}==FALSE&&${Bool[${Me.Buff["Spiritual Vigor"]}]}==FALSE) /call ATKRing
/delay 1s
/if (${Me.Buff["Shield of the Eighth"].Duration}<600) /call DSRing
/delay 1s
/if (${Me.Buff["Form of Rejuvination"].Duration}<600) /call RegenBelt
Sub DSRing
/if (!${Window[InventoryWindow].Closed}) /windowstate InventoryWindow open
/delay 3
/itemnotify ${FindItem["Coldain Hero's Insignia Ring"].InvSlot.Pack} rightmouseup
/delay 3
/itemnotify ${FindItem["Coldain Hero's Insignia Ring"].InvSlot} leftmouseup
/delay 3
/itemnotify leftfinger leftmouseup
/delay 3
/itemnotify leftfinger rightmouseup
/delay ${FindItem["Coldain Hero's Insignia Ring"].CastTime}s
/delay 3
/itemnotify leftfinger leftmouseup
/delay 10
/autoinventory
/cleanup
/return
Sub ATKRing
/if (!${Window[InventoryWindow].Closed}) /windowstate InventoryWindow open
/delay 3
/itemnotify ${FindItem["Berserkers Ring"].InvSlot.Pack} rightmouseup
/delay 3
/itemnotify ${FindItem["Berserkers Ring"].InvSlot} leftmouseup
/delay 3
/itemnotify leftfinger leftmouseup
/delay 3
/itemnotify leftfinger rightmouseup
/delay ${FindItem["Berserkers Ring"].CastTime}s
/delay 3
/itemnotify leftfinger leftmouseup
/delay 10
/autoinventory
/cleanup
/return
Sub RegenBelt
/returnCode: Select all
/if (${Bool[${Me.Buff["Strength of Tunare"]}]}==FALSE&&${Bool[${Me.Buff["Spiritual Vigor"]}]}==FALSE) /call ATKRingThanks for your help.