//These files should be in your 'Macros' folder withing the 'actool' folder
Include Per.mac //Includes the Object containing the Percemtion timer
Include MineOK.mac //Includes the Object containing the Mine OK button
Include GemObjs.mac //Includes Object containing the Gem Sizes text
ClearGlobalKeys //Clears all buttons recently pressed from memory
loop 100000
If {globalkeys} contains 090 //if Z is pressed clearglobalkeys //clears global keys so it can be activated again in the same run keydown {BACK} //presses back so that the letter pressed doesn't end up in your chat pause 1 min //gives enough time to shut down the macro if something goes bad end if If {globalkeys} contains 088 //if X is pressed clearglobalkeys //clears global keys so it can be activated again in the same run keydown {BACK} //presses back so that the letter pressed doesn't end up in your chat mousepos 1433, 148 //clicks on your total mined thing to check your progress leftclick end if
IsObject MineOK at 696, 534 //has a gem been found? Isobject SmallGem at 755, 427 //if it is it a small gem bell asterisk //deep sound delay 250 //delay 1/4 seconds else //if it's not a small gem Isobject MediumGem at 747, 427 //if it a medium gem bell asterisk //deep sound delay 250 //delay 1/4 seconds bell asterisk //deep sound delay 250 //delay 1/4 seconds else //if it's not a medium or small gem Isobject LargeGem at 754, 427 //if it is a large gem bell asterisk //deep sound delay 250 //delay 1/4 seconds bell asterisk //deep sound delay 250 //delay 1/4 seconds bell asterisk //deep sound delay 250 //delay 1/4 seconds else //if it is a huge gem bell exclamation //high pitched sound delay 250 //delay 1/4 seconds end end end mousepos 721, 547 //clicks the OK button when a gem is found leftclick delay 250 //delay 1/4 seconds Else //if there's no gem delay 250 //delay 1/4 seconds and check again End
IsObject Per at 1336, 76 //if your perception timer is on delay 250 //wait 1/4 seconds and check again Else //if it's not on mousepos 75, 108 //click the Work this Mine button leftclick delay 250 //delay 1/4 seconds EndEnd
Name | Creator | Date | Size | Description |
---|---|---|---|---|
GemObjs.mac | Shabaka | October 10, 2007 7:22 am | 2678 | Gem size objects |
MineOK.mac | Shabaka | October 10, 2007 7:23 am | 2475 | The gem found window's OK button object |
Per.mac | Shabaka | October 10, 2007 7:23 am | 3219 | Perception timer object |