Code:
;Supports Paladin class only, but can be reconfigured ;Requires equipment set addons or macros ;Self-Target must be set to F1 (Default) ;Low health, high mana regen gearset set to F11 ;High health gearset set to F7 ;Holy Light must be bound to 3 ;===== ;Automatically switches gear and heals, showing +healing on the Battleground Statistics ;My configuration uses birds-eye perspective with the Battleground NPC directly in front of you ;Must face north to work properly ;===== ;Clicking coordinates were taken from a widescreen laptop. ;Using the AutoIt Window Info program, freeze frame over the required areas and set ;personal coordinates. ;===== ;Customized Coordinates ;===== ;See the attached image files for exact points to click ;The green colored crosshairs is the point to click on for each image ;===== = 634 ;x coordinate for battlemaster = 350 ;y coordinate for battlemaster = 39 ;x coordinate for "I would like to go to the battleground" Button = 282 ;y coordinate for "I would like to go to the battleground" Button = 316 ;x coordinate for "Join Battle" Button = 538 ;y coordinate for "Join Battle" Button = 557 ;x coordinate for "Enter Battle" Button = 212 ;y coordinate for "Enter Battle" Button = 673 ;x coordinate for "Leave Battleground" Button = 563 ;y coordinate for "Leave Battleground" Button ;===== ;Queueing and Battleground Process ;===== sleep(5000) = 1 While > 0 = random(1, 4) sleep( * 5000) MouseClick("Right", , ) ;target battlemaster (must be directly in front of you) sleep(5000) mouseclick("left", 39, 282) ;Select "I wish to enter the Battle!" option sleep(5000) mouseclick("left", 316, 538) ;Select Battleground # (default first available) = random(1, 4) sleep( * 5000) mouseclick("left", 557, 212) ;Enter Battleground = random(1, 4) sleep( * 5000) send("{F1}") ;Target self for healing send("{F7}") ;change to +stam gear send("3") ;cast holy light sleep(4000) send("{F11}") ;change to low stam gear = random(1, 4) sleep( * 5000) Mouseclick("left", 673, 563) ;Leave BG = + 1 Wend