I modified your subroutine a bit. I think functions are better:
#constant FAR_AWAY 1
r = make vector3(FAR_AWAY)
set vector3 FAR_AWAY , 100 , 300 , 500
do
slap( travis_gatlin )
loop
function slap( target_obj )
baby_powder = 1
position object my_hand , FAR_AWAY
point object my_hand , limb position x(target_obj , get_face_limb( target_obj) ),object position y(target_obj , get_face_limb( target_obj )),object position z(target_obj , get_face_limb( target_obj ))
move object my_hand , process_velocity( OVER_NINE_THOUSAND )
play sound pain
served = 1
print "pimpin"
succss = 1
endfunction success
function get_face_limb( obj_ID )
rem retard algorithm to find face limb
perform checklist for object limbs obj_ID
for n = 1 to checklist quantity()
if ugly( n ) = true then exitfunction n
next n
endfunction
There's probably an error in there somewhere.
TheComet