I am new to botting and i have come accross a strange issue.
I have a simple script for running in a square killing mob/collecting loot/potting. My code is below :
runSqu3000.txt :
Code:
*w,1000,-w,[run north 5 seconds], lscript;Bot;attack.txt;1, *w,1000,-w,[run north 5 seconds], lscript;Bot;attack.txt;1, *w,1000,-w,[run north 5 seconds], lscript;Bot;attack.txt;1, *d,1000,-d,[run east 5 seconds], lscript;Bot;attack.txt;1, *d,1000,-d,[run east 5 seconds], lscript;Bot;attack.txt;1, *d,1000,-d,[run east 5 seconds], lscript;Bot;attack.txt;1, *s,1000,-s,[run south 5 seconds], lscript;Bot;attack.txt;1, *s,1000,-s,[run south 5 seconds], lscript;Bot;attack.txt;1, *s,1000,-s,[run south 5 seconds], lscript;Bot;attack.txt;1, *a,1000,-a,[run west 5 seconds], lscript;Bot;attack.txt;1, *a,1000,-a,[run west 5 seconds], lscript;Bot;attack.txt;1, *a,1000,-a,[run west 5 seconds], lscript;Bot;attack.txt;1,
Code:
u, 300,iscol;2502972;690;30,
1,75,2,75,3,75,4,75,sp,u,sp,u,
nomatch;6052862;664;739;1,F1,
nomatch;16744001;655;756;1,F2,
match;723607;624;740;1,stop,
endis;l,
My problem is when i call runSqu3000.txt it runs forward for 1000 attackign anything. then the script repeats. so al i ever do is run forward (w) attack, run forward attack.. it never executes the code saying run left or right.
I call runSqu3000.txt with this code :
Code:
[Attack untill dead], lscript;Bot;runSqu3000.txt;1,
Question answered in the help of the script editor.
Nested lScripts are not allowed. Time for a bit of a design re-plan i think.






