This tutorial describes how to create a macro in SWGEmu to gain experience while away from the keyboard.
Macro: AFKMeleeCombatMacro
/stand;
/pause .5;
/tar self;
/pause .5;
/ui action cycleTargetOutward;
/pause .5;
/unarmedhit1;
/unarmedhit1;
/unarmedhit1;
/pause 3;
/m AFKMeleeCombatMacro;