Welcome, Guest. Please login or register.
Did you miss your activation email?
November 28, 2024, 10:19:36 pm *

Login with username, password and session length
Pages: [1] 2
Print
Author Topic: BuyAA -- for the lazy people  (Read 23907 times)
Natedog
Master
******
Posts: 830


View Profile
« on: August 23, 2015, 09:05:06 pm »

This will try to buy any AA that it can in the normal 3 tabs

Code:
Sub Main
:loop
/if (${AltAbility[${Window[AAWindow].Child[List1].List[1]}].ID}==NULL && ${AltAbility[${Window[AAWindow].Child[List2].List[1]}].ID}==NULL && ${AltAbility[${Window[AAWindow].Child[List3].List[1]}].ID}==NULL) /endmacro
/if (${Me.AAPoints}>=25) {
/call BuyAA
/goto :loop
}
/return

Sub BuyAA
/declare a int local
/if (!${Window[AAWindow].Open}) {
/windowstate AAWindow open
}
/if (!${Window[AAWindow].Child[CanPurchaseFilter].Checked}) /nomodkey /notify AAWindow CanPurchaseFilter leftmouseup
/for a 3 downto 1
/if (!${AltAbility[${Window[AAWindow].Child[List${a}].List[1]}].ID}==NULL) {
/nomodkey /notify AAWindow AAW_Subwindows tabselect ${a}
/nomodkey /notify AAWindow List${a} listselect 1
/nomodkey /notify AAWindow List${a} leftmouse 1
/delay 1
/nomodkey /notify AAWindow TrainButton leftmouseup
/delay 1
/return
}
/next a
/return


Save into a file  "buyaa.mac" inside the macros folder of your MQ2 and just run it with /macro buyaa


EDIT
: Once it finishes buying the first 3 tabs worth of AAs.. it will auto end


Make sure Fast AA Purchase is ON
« Last Edit: August 23, 2015, 10:49:23 pm by Natedog » Logged

Akkadius
Administrator
Legend
*****
Posts: 2016



View Profile
« Reply #1 on: August 23, 2015, 09:15:44 pm »

Modified delays for .1 second

Thanks for the post Natedog. This will help a lot of people.
Logged


EZ Server GM
Openwounds
Newbie
*
Posts: 45


View Profile
« Reply #2 on: August 23, 2015, 09:31:05 pm »

Thanks so much.  Saved me hours of manual clicking.
Logged

..Kroggia..
Waraesh
Full Member
***
Posts: 110


View Profile
« Reply #3 on: August 23, 2015, 11:16:44 pm »

Natedog = Raw Wieny
He just cannot be beat!

Thanks again for this massive time saver!
Logged

AcuteAnthrax
Newbie
*
Posts: 25


View Profile
« Reply #4 on: August 24, 2015, 06:35:15 am »

This is overall a great little macro. I'd love to see a link to this thread or a mention of it throw in the motd just because some people might not come here before and with people having upwards to 30 toons I'd imagine that much clicking sounds dreadful.
Logged

~The Thanatos Instinct~
Adydar
Full Member
***
Posts: 140


View Profile WWW
« Reply #5 on: August 24, 2015, 09:09:07 am »

Was talking to my buddy about how bad it will suck to rebuy all the AAs for the whole crew, thanks for putting this up there, major good karma points.
Logged

Rent Due
EZ Server Admin GM
Administrator
Master
*****
Posts: 776



View Profile
« Reply #6 on: August 24, 2015, 09:54:40 am »

very cool, very cool indeed sir
Logged

balidet
Master
******
Posts: 810



View Profile
« Reply #7 on: August 25, 2015, 05:04:59 pm »

I take back most of what them other guys been saying about you man...


this is great!

you just gave me back 1 hour of my life that I can Squander on this game!
Logged

Kruciel
Hero Member
*****
Posts: 624


View Profile
« Reply #8 on: August 25, 2015, 08:34:50 pm »

Don't use it Rent, Nate has dem keyloggers  Shocked
Logged
Kruciel
Hero Member
*****
Posts: 624


View Profile
« Reply #9 on: September 06, 2015, 11:09:10 pm »

Bump for late ppls coming back.
Logged
Drajor
Newbie
*
Posts: 27


View Profile
« Reply #10 on: September 07, 2015, 03:18:24 am »

*pats Natedog*
Logged
Peign
Guest
« Reply #11 on: June 06, 2016, 08:42:01 pm »

A bit late I know, but thanks for this Natedog!
Logged
warrior5
Hero Member
*****
Posts: 513


YAY


View Profile
« Reply #12 on: June 06, 2016, 10:42:31 pm »

^ !!
Logged

gnonim
Jr. Member
**
Posts: 74


View Profile
« Reply #13 on: June 07, 2016, 07:59:34 am »

very awesome, thanks much!
Logged
esportinception7
Newbie
*
Posts: 1


View Profile
« Reply #14 on: May 01, 2018, 10:28:40 pm »

I need to create a file in win 10 as a .mac file. How would I do this? I tried using notepad and saving as above as .mac but it's not working.
Logged
Pages: [1] 2
Print
Jump to:  

Recent

Stats

Members
  • Total Members: 6156
  • Latest: Rin1
Stats
  • Total Posts: 65127
  • Total Topics: 5066
  • Online Today: 333
  • Online Ever: 8678
  • (December 19, 2022, 02:32:09 pm)
Users Online
Users: 0
Guests: 216
Total: 216
TinyPortal v1.0 beta 4 © Bloc