Storm Haven

A Custom Legit Everquest Emulator Server
It is currently Tue Oct 16, 2018 5:20 pm

All times are UTC - 6 hours [ DST ]


Recent Posts
 Madara
Tue Sep 25, 2018 11:45 pm
Tue Sep 11, 2018 10:57 pm
Tue Aug 07, 2018 8:59 am
Fri Jul 27, 2018 7:30 am
 Kayen
Fri Jul 27, 2018 7:10 am
Sat Jul 21, 2018 1:04 am
Sat Jul 21, 2018 12:59 am
Tue Apr 24, 2018 1:03 pm
Fri Apr 13, 2018 6:23 am
 Kayen
Sun Apr 08, 2018 5:58 am


Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Tue Apr 24, 2018 1:03 pm 
Offline
Contributor

Joined: Tue Mar 06, 2012 5:24 pm
Posts: 67
Location: Southern California
The below snippet will go through and try to purchase all of your AAs for your class. I recommend you only use it for toons that are or are new at max aa.

Insert the Sub_Event into whatever mac you like, or just paste it under Sub Main in a new mac.

Code:
Sub Event_AAFix
/echo Trying to purchase all AA
/declare i int local
/declare AATP string local

|General List
/for i 1 to ${Window[AAWindow].Child[AAW_GeneralList].Items}
   /echo On #${i}. Trying to select ${Window[AAWindow].Child[AAW_GeneralList].List[${i}]}
   /nomodkey /notify AAWindow AAW_Subwindows tabselect 1
   /delay 5
   /nomodkey /notify AAWindow AAW_GeneralList listselect ${Window[AAWindow].Child[AAW_GeneralList].List[=${Window[AAWindow].Child[AAW_GeneralList].List[${i}]}]}
   /nomodkey /notify AAWindow AAW_GeneralList leftmouse ${Window[AAWindow].Child[AAW_GeneralList].List[=${Window[AAWindow].Child[AAW_GeneralList].List[${i}]}]}
   
   /if (${Window[AAWindow].Child[AAW_TrainButton].Enabled}) {
      /echo Trying to train ${Window[AAWindow].Child[AAW_GeneralList].List[${i}]}
      :Max
      /delay 5
      /nomodkey /notify AAWindow TrainButton leftmouseup
      /delay 2s
      /if (${Window[AAWindow].Child[AAW_TrainButton].Enabled}) /goto :Max
   }
   /next i
   
|Arch List
/for i 1 to ${Window[AAWindow].Child[AAW_ArchList].Items}
   /echo On #${i}. Trying to select ${Window[AAWindow].Child[AAW_ArchList].List[${i}]}
   /nomodkey /notify AAWindow AAW_Subwindows tabselect 2
   /delay 5
   /nomodkey /notify AAWindow AAW_ArchList listselect ${Window[AAWindow].Child[AAW_ArchList].List[=${Window[AAWindow].Child[AAW_ArchList].List[${i}]}]}
   /nomodkey /notify AAWindow AAW_ArchList leftmouse ${Window[AAWindow].Child[AAW_ArchList].List[=${Window[AAWindow].Child[AAW_ArchList].List[${i}]}]}
   
   /if (${Window[AAWindow].Child[AAW_TrainButton].Enabled}) {
      /echo Trying to train ${Window[AAWindow].Child[AAW_ArchList].List[${i}]}
      :MaxA
      /delay 5
      /nomodkey /notify AAWindow TrainButton leftmouseup
      /delay 2s
      /if (${Window[AAWindow].Child[AAW_TrainButton].Enabled}) /goto :MaxA
   }
   /next i   
   
|Class List
/for i 1 to ${Window[AAWindow].Child[AAW_ClassList].Items}
   /echo On #${i}. Trying to select ${Window[AAWindow].Child[AAW_ClassList].List[${i}]}
   /nomodkey /notify AAWindow AAW_Subwindows tabselect 3
   /delay 5
   /nomodkey /notify AAWindow AAW_ClassList listselect ${Window[AAWindow].Child[AAW_ClassList].List[=${Window[AAWindow].Child[AAW_ClassList].List[${i}]}]}
   /nomodkey /notify AAWindow AAW_ClassList leftmouse ${Window[AAWindow].Child[AAW_ClassList].List[=${Window[AAWindow].Child[AAW_ClassList].List[${i}]}]}
   
   /if (${Window[AAWindow].Child[AAW_TrainButton].Enabled}) {
      /echo Trying to train ${Window[AAWindow].Child[AAW_ClassList].List[${i}]}
      :MaxC
      /delay 5
      /nomodkey /notify AAWindow TrainButton leftmouseup
      /delay 2s
      /if (${Window[AAWindow].Child[AAW_TrainButton].Enabled}) /goto :MaxC
   }
   /next i      
/return

_________________
Inebriated Founder
Find Inebriated macros and plugins on our forums
http://inebriated.prophpbb.com/
Join the StormHaven Discord!: https://discord.gg/YwmGDCq


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 6 hours [ DST ]


Who is online

Registered users: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group
mergenine: WoW Cataclysm BB3
Ported to Kiss Portal by Prosk8er ©

Portal: Kiss Portal Engine © 2013 Michael O'Toole