Ability skill up macro
Posted: Sat Jan 23, 2010 5:42 am
got sick of sitting in pok pressing buttons, so I wrote this simple macro to do it for me, and while I was writing it I decided to add in common non combat skills that also might find them, or me on a different character, once again spamming buttons in pok,
worked great for me on a emulator server, let me know if you have any issues.
here is the code, enjoy!
worked great for me on a emulator server, let me know if you have any issues.
here is the code, enjoy!
Code: Select all
| Ability.mac
|
| A macro for all classes skilling up their normal abilities, built by Sirgijoe.
|
| Start this macro by first targeting a "NON" aggro npc such as another players pet, or a guard in POK, and than
| by typing /mac Ability.
|
| This macro will auto skill up most of your main skills while your afk, I recomend running this macro while
| having a guard in pok, or players pet targeted, and close enough for skills like beg, or intimidate to skill up.
| all the basic abilities covered in this macro are Beg, Bind wound if hp% will allow you to, Disarm, FD for monks,
| Forage, Hide, Intimidation, Mend for monks with low hp shutoff, Sneak, and track. Please make sure you
| have bandages in your bag if you intend on doing bind wound, and also make sure each ability you want to
| skill up is assigned to a ability key in your ability window.
| This event will end the macro if anyone sends you a tell, and also trun your afk status on, by default it is
| commented out, but if you plan to use this macro while you are AFK,
| remove the | before the event line below to make this option available.
|#Event Tell "#*#tells you#*#"
#Event No Bandages "#*#You can't bandage without bandages, go buy some.#*#"
Sub Main
| This is how we swap back to our skill up pet < a pet or non aggro NPC > target we had set after we bind wound,
| so we can keep getting skill ups in begging, disarm, and intimidation. 8)
/Declare SUPet outer ${Target}
| this is the % of hit points that you don't want to mend anymore, so you don't kill yourself on accident! or if you
| feel like a lucky monk, make sure you have bandages and let BW heal you up!
/Declare Mendhp string outer 35
| this is the % of hit points that you need less than to use the bind wound ability, make sure you have bandages
| in your bags, also just a hint, slow long lasting dots work great or duel one of your box toons before you start
| this macro so you can nuke or melee down the hp enough to BW.
/Declare Bindhp string outer 50
/Popup Running Sirgijoe's auto ability skill up macro for ${Me.Class.} Enjoy!
/Echo starting macro, please make sure you have a non aggro target selected for skill such as beg and intimidate.
:Skills_loop
/Doevents
/Target ${SUPet}
| This is the bind wound string, make sure you have the correct hp set for BW up top. if your hp is low enough
| to be able to bind wound, all other abilities will be put on hold until BW is no longer available. I did this so
| monks don't kill themselves with mend. lol
/if ( ${Me.PctHPs}<${Bindhp} ) {
/if ( ${Me.AbilityReady[Bind Wound]} ) {
/Target Myself
/Doability "Bind Wound"
/Delay 15s
/Goto :Skills_loop
}
}
| This is the beg skill string.
/if ( ${Me.AbilityReady[Begging]} ) {
/Doability "Begging"
/Delay 2
}
| This is the disarm string.
/if ( ${Me.AbilityReady[Disarm]} ) {
/Doability "Disarm"
/Delay 5
}
| This is the feign death string for monks.
/if ( ${Me.AbilityReady[Feign Death]} ) {
/Doability "Feign Death"
/Delay 2
/Stand
}
| This is the forage string.
/if ( ${Me.AbilityReady[Forage]} ) {
/if ( ${Me.State.Equal[Sit]}) /stand
/Delay 2
/Doability "Forage"
/Delay 2
/Autoinventory
/Delay 2
}
| This is the hide string.
/if ( ${Me.AbilityReady[Hide]} ) {
/Doability "Hide"
/Delay 2
/Doability "Hide"
/Delay 2
}
| This is the intimidation string.
/if ( ${Me.AbilityReady[Intimidation]} ) {
/Doability "Intimidation"
/Delay 2
}
| This is the mend string for monks, with HP check so you have a better chance not to kill yourself.
/if ( ${Me.PctHPs} > ${Bindhp} ) {
/if ( ${Me.AbilityReady[Mend]} ) {
/Doability "Mend"
/Delay 2
/Stand
}
}
| This is the sneak string.
/if ( ${Me.AbilityReady[Sneak]} ) {
/Doability "Sneak"
/Delay 2
/Doability "Sneak"
/Delay 2
}
| This is the sneak string.
/if ( ${Me.AbilityReady[Track]} ) {
/Doability "Track"
/Delay 2
}
/Goto :Skills_loop
Sub Event_No_Bandages
/Popup buy some damn bandages.
/Echo I told you to make sure you had bandages in your bag! RTFM! ending the macro
/Endmacro
Sub Event_Tell
/Afk "Wife scowls at you" duty calls!
/Echo turning off the macro due to ${Sender} sending you a tell.
/Endmacro