leveling arms macro

Need help with a nice leveling macro