I usually plan my scripting like this:
And I write every part of the script and follow that order when I start scripting.
Check position to know where to start(Depot/spawn)
Open loot bp
open mainbp, boltbp, manabp
Walk to bank
withdraw gold for softs, bolts, manas, runes and travel cash
open lootbp, goldbp
Walk to shop
I make sure everything I want in the script is written down before I start scripting aswell.