I used to manually increment my AA XP rate as I gained buffer XP once I hit max level. Eventually decided to write a small .mac to automate it. Used this as a model to write my first .Lua script and thought I'd share. Nothing special but saves a little time. For the .Lua version I added a check for max level, and if the toon is not max level it will set the AA XP rate to 0% instead.
It will output if you're max level or not, what your AA XP rate was, what your XP percent is, and what your new AA XP rate has been set to.
Update: I've retooled this to just output a single line any time XP is gained, and based on your level/AAs update your AAXP rate.
Update: I've retooled this to just output a single line any time XP is gained, and based on your level/AAs update your AAXP rate.