Since it is the first time you are running it, go to bank and have the items you need in your inventory, e.g.
20 trout, 1 camelot teleport
then, click the button called 'Load Inventory'
and it will save that inventory for the future, so every time you kill rock crabs and bank, it will take out those items.
If you bring a camelot teleport with you (cammy tab) it will teleport, if you bring camelot spell runes, it will teleport using the spell.
If you want to train ranged, bring some arrows/knives/whatever and run the script. The script does most of the work for you.
Make sure you run the script while logged in.