Macros are incapable of adjusting attributes. There are several scripts that will do this for you, but that requires the API (a Pro Subscriber Perk). If you are playing in a game created by a Pro subscriber that is currently active, you could ask them to install one of those scripts. If it's your own game, you'd need to be a pro subscriber to take advantage of them.