Hey I have some problems running the script since u released it... I didnt think I'd have to post them as they might have been discovered already but I guess not..
Anyway Here is a list:
1. Tries to open bank only twice.. therefore during a lag ur screwed.. it will terminate.
2. During a lag, if it doesnt find the DTM_PotButton, it will get stuck and keep waiting forever instead of breaking out of the loop.. if it does break, it will terminate the script.
3. If u get logged out after the 6 hr limit implemented by jagex, it will get stuck if at the dtm potbutton or it will terminate if it doesnt find bank.
4. If it messes up on the withdraw, it will withdraw keep trying to withdraw the items even if the invent is full. If it has an item highlighted in the invent, and goes to click bank.. it will get stuck in a "Banking loop" Showing: Use Item -> BankBooth. Meaning it will attempt to use the Item that is activated with the bank booth.. itll repeat that forever.
5. If it Misclicks the Item in the inventory ( not sure why that happens ) then it will wait forever to find the dtm pot button.
Anyway other than that, the script is good.
I have modified it myself but my ways of doing stuff are plain down right dirty and long so I'll leave u to fix the problems... I added like 5-6 procedures for fail-safing which was taken from my own herblore script just to test how yours works (vs mine) since it didnt work for me normally for more than 5 minutes
This is the result of my changes:
Attachment 10897
Edit:
Its still going! Anyway After this I may delete the script and wait until you release an official fix just to see how it works..
Just got logged out, and back in Currently at 17k potions. Yes I had to make a lot of money from other scripts to test this one.
Edit2: Seems your script runs fine for my friend but doesnt run for me :S Maybe I'm doing something wrong.. I'll test it again without the changes and report back.