Sorry about that. Here ya go.
;Artificial Intelligence Script
;Header
desc = Guard Waypoints
; Scripted by Mad Scientist
;
; Characters using this script will walk their waypoints pausing at each one.
; You can change how long they pause by altering the value in each call to
; timergreater.
; You can also change the frequency in which the character moves its head by
; altering the value in each call to random.
;Triggers
::settarget
:state=0:state=1
:noiseheard=400:lookatplr
:plrcanbeseen:rotatetoplr,settarget,shootplr
:waypointstate=0,state=1:animate=2,waypointstart
:waypointstate=2,random=20:rotateheadrandom=45
:waypointstate=3,state=1:animate=1,timerstart,resethead,state=2
:waypointstate=3,state=2,random=20:rotateheadrandom=60
:waypointstate=3,state=2,timergreater=5000:animate=2,waypointnext,state=1
:waypointstate=4,state=1:animate=1,timerstart,resethead,state=3
:waypointstate=4,state=3,random=20:rotateheadrandom=60
:waypointstate=4,state=3,timergreater=5000:animate=2,waypointreverse,state=1
:waypointstate=5,state=1:animate=1,timerstart,resethead,state=4
:waypointstate=5,state=4,random=20:rotateheadrandom=60
:waypointstate=5,state=4,timergreater=5000:animate=2,waypointreverse,state=1
;End of Script
Relax or I'll hit you with the whip again.