What is the number 50 here supposed to do. You mean .aimsx, not .turnsx, right? If I use this the bot will just turn, not move away:
cond
*.eyef 0 >
start
628 .aimsx store
1 50 store
stop
But I found if I use .dn instead the bot will get away better.
cond
*.eyef 0 >
start
64 .dn store
*.refxpos *.refypos .setaim store
628 .aimdx store
stop