Bard Clicky Heal BP

Need some help with that macro you're working on or aren't quite sure how to get your macro to do something? Ask here!

Moderator: MacroQuest Developers

Krs01
orc pawn
orc pawn
Posts: 27
Joined: Tue May 18, 2004 7:30 pm
Location: Seattle

Bard Clicky Heal BP

Post by Krs01 » Tue May 18, 2004 11:58 pm

Was trying to get a macro to nonstop click my breastplate while running or afk (was trying to get it to pump heal/mana song maybe as well but i have no idea how to do that)


____________

|bardbp.mac
|/mac bardbp
|/echo stop (to end it and have it re-equip your original BP)
|Thanks to Ieatacid for creating manarobe.mac (were this was taken from)

#turbo
#event stop "[MQ2] stop"

Sub Main
/declare slot int outer
/declare bag int outer

/echo bardbp.mac started....
/echo /echo stop (to stop it)

/if (!${Window[InventoryWindow].Open}) /keypress Inventory
/varset bag ${FindItem[Singing Steel Breastplate].InvSlot.Pack}
/itemnotify ${InvSlot[${bag}]} rightmouseup
/varset slot ${FindItem[=Singing Steel Breastplate].InvSlot}
/itemnotify chest leftmouseup
/itemnotify ${InvSlot[${slot}]} leftmouseup
/itemnotify chest leftmouseup
/if (${Me.Sitting}) /stand
:loop
/call CheckHP
/itemnotify chest rightmouseup
/doevents
/delay 1
/goto :loop
/return

Sub CheckHP
/if (${Me.PctHPs}>=98) {
/echo FULL HEALTH!!
/call EndIt
}
/return

Sub EndIt
:wait
/if (${Me.Casting.ID}) /goto :wait
/itemnotify chest leftmouseup
/itemnotify ${InvSlot[${slot}]} leftmouseup
/itemnotify chest leftmouseup
/echo Ending.
/cleanup
/endmac

Sub Event_stop
/call EndIt
/return

____________________-

Does that appear to be working for anyone? i got a few errors on my side while attempting it

Krs01
orc pawn
orc pawn
Posts: 27
Joined: Tue May 18, 2004 7:30 pm
Location: Seattle

Post by Krs01 » Wed May 19, 2004 12:21 am

This was supposed to support :: MQ2Data Format :: im sorry can it be moved

Oid
a snow griffon
a snow griffon
Posts: 416
Joined: Thu Oct 17, 2002 3:26 am
Contact:

Post by Oid » Wed May 19, 2004 4:02 am

Smokey the Lax says only you can prevent reproduction.