Tips for your script:
1. Change your banking method, use colours, not MMouse.
2. Use Wait(randomrange(*,*)), looks tidier, also I wouldn't use sleep(). (* being your values you want inbetween)
3. With your banking method, use P07_ChooseOptionMulti, waiting isn't necessary when opening your bank (perhaps it is if you lagg).
4. Never use your X, Y limits as 0. EG: MMouse(486, 43,0,0); change this to MMouse(486, 43,5,5); the 5's repesent how many pixels the mouse can move away from the point, if it's clicking the exact same pixels then it is extremely bot like.
5. If you want it to work with SMART, use a different method than SendKeys.
6. Your antiban happens too frequently, every inventory it does 1 antiban, change the case to:
Case Random(300) Of
1..5: P07_HoverSkill('Fletching',RandomRange(5000,6000));
5..10:begin
mmouse(365,31,10,10);
ClickMouse2(Mouse_Right);
end;
(I think that's how you state 1 to 5, haven't tried).
7. Remove ActivateClient if you want to use SMART.
8. Perhaps add a GUI/Form that loads on Start for users to be able to select Longbows/Shortbows instead of having to edit the code.
9. Perhaps at the end change your:
until(false);
to
until(NOT P07_LoggedIn);
when the persons account logs out it will stop the script, stops it from clicking on the main screen (either this or add your log in IF statement to the main loop).
Hope this help! Good luck with the script!