Requirements: AC-Tool
Code:
////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////// //// Macro: LonigFFXImage.mac v1.00R (RELEASE) //// //// Creator: Lonig ([Only registered and activated users can see links. Click Here To Register...]) //// //// Real: Justin Claspill //// //// Uses: Final Fantasy XI //// //// What it does: This macro is for leveling a mage or //// //// ranged attack character. //// //// Creation Date: 12/01/2003 09:55pm CST //// //// Credits: Salamander123456789 - this is his/her //// //// code for AutoIt translated //// //// Tested: 0/0 Succesful (0 hours, 0 minutes) //// //// http://www.cameroncole.com/actool.html //// ////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////// // Constant Setup. Edit these to fit your character. // Constants // // // // KEYS // targetselect = {F8} // confirm = {RETURN} // cancel = {ESC} // // // // SPELL/RANGED // type = magic // make sure "magic" is lowercase. // // // Type anything else to use ranged attack // spell = banish // Choose Spell to cast (ie: Dia, Stone) // ranged = /ra <t> // Not sure if thats the command // // // // DELAYS // RD = 7 sec // RD means React Delay (2) // CD = 5 sec // CD means Cast Delay (1) // TD = 75 // TD means Text Delay (1) (between text and enter) // Rest = 30 sec // Rest delay to heal up // CombatLength = 60 sec // Time to kill target after spell is cast // MageCount = 0 // Dont touch // Report = Dead So Far! // what to say in report after kill count // End // ////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////// // NO MORE editing below this unless you know what your doing! // ///////////////////////////////////////////////////////////////// /////////////////////// // MAIN MACRO AREA // /////////////////////// Procedure Spell Delay $TD Keys $targetselect // Target Select Delay $TD IF $type = magic Keys /ma $spell // Casts Spell you define in constants Delay $TD Keys $confirm // Confirm Key Delay $CD // Cast Delay Keys $cancel // Escape!!! (fail proof) ELSE Keys $ranged // Ranged attack Delay $TD Keys $confirm // Confirm Key Delay 10 Delay $CD // Cast Delay Delay $TD Keys $cancel // Escape!!! (fail proof) End End Procedure Attack Call Spell Delay $TD Keys /attack // ATTACK!!!! Delay $TD Keys $confirm // Confirm Key Delay $TD Keys /follow // Follow it! (face it really) Delay $TD Keys $confirm // Confirm Key Delay $TD Keys /follow // Stop following it. (so u dont wander) Delay $TD Keys $confirm // Confirm Key Delay $TD Delay $CombatLength // Allow time to kill it Compute $MageCount = $MageCount + 1 // Add 1 to the fishing count Call Heal End Procedure Heal Keys $cancel // Escape!!! (fail proof) Delay 10 Keys $cancel // Escape!!! (fail proof) Keys /heal // Heal State Delay $TD Delay $Rest // Rest Delay Keys $cancel // Escape!!! (fail proof) Delay 300 // 300 milliseconds to compensate lag End Procedure Go Keys /emote $MageCount $Report // Report Kills. Delay $TD Call Attack // Attack again! End ////////////////////// // ACTUAL RUNTIME // ////////////////////// Delay 1 min // Delay to get inside and get setup. While 1=1 // Infinite Loops..since 1 always equals 1 Call Go // Our main process. End // End this macro!