You cannot macro or script character movement.