Note: The numbers after sentences are things gonna be explained in the end of the tutorial.
Wanna make sword bot?
First you gotta have either a player or actor.
Set actor to a falkok
Now make a instant-timer, i think you already know how. 1
Now you have to copy this code into a trigger. 2
op168( "#actor*1", "dddd" );
op165( "#actor*1", "13" );
op220( "#actor*1", "5" );
SetCharArmor( "#actor*1", "2" );
SetCharMobility( "#actor*1", "0" );
Then you are easily done! Just set the actor*1 stuff to the actor/player you want.
EXPLAINED:
1. First set the trigger on the timer, then make the seconds to 0.
2. First go to the bottom of a trigger, click the black button at the bottom of the last trigger action.