PDA

View Full Version : lulzworthy digging script



Stretch
04-16-2011, 12:52 AM
#dig

Start:
put get shovel from back
match Dig You
match Reload Get what

Dig:
put dig sand
match RT ...wait
match RT With relative
match RT You continue
match Box box from the sand. Brushing
match Trunk trunk from the sand. Brushing
match Coffer coffer from the sand. Brushing
match Chest chest from the sand. Brushing
match Crate crate from the sand. Brushing
match Cask cask from the sand. Brushing
match Start You reach down to see what destroyed your shovel but find
matchwait

RT:
pause
goto Dig

Box:
save box
goto Check


Trunk:
save trunk
goto Check

Chest:
save chest
goto Check

Crate:
save crate
goto Check

Cask:
save cask
goto Check

Coffer:
save coffer
goto Check

Check:
put open my %s
waitfor You
put get my coins
goto Looker

Looker:
put l in my %s
match Shoe shoe
match Sandal sandal
match Drift driftwood
match Boot boot
match Empty and a steel treasure chest pin
match RT2 you see a steel treasure chest pin.
matchwait

Shoe:
save shoe
goto Junk

Sandal:
save sandal
goto Junk

Drift:
save driftwood
goto Junk

Boot:
save boot
goto Junk

Skull:
save skull
goto Junk

Junk:
put get my %s
match RT3 ...wait
match Chute You remove
matchwait

RT3:
pause
put get my %s
match RT3 ...wait
match Chute You remove
matchwait

Chute:
put put my %s in chute
waitfor As you
put glance
match Box2 box in your right hand
match Trunk2 trunk in your right hand
match Coffer2 coffer in your right hand
match Chest2 chest in your right hand
match Crate2 crate in your right hand
match Cask2 cask in your right hand
matchwait

Box2:
save box
goto Looker

Trunk2:
save trunk
goto Looker

Chest2:
save chest
goto Looker

Crate2:
save crate
goto Looker

Cask2:
save cask
goto Looker

Coffer2:
save coffer
goto Looker

RT2:
pause
put put my %s in chute
match RT2 ...wait
match Start As you
match Empty There appears
matchwait

Empty:
put get treasure pin from my %s
match RT4 ...wait
match Pin You remove
matchwait

RT4:
pause
put get treasure pin from my %s
match RT4 ...wait
match Pin You remove
matchwait

Pin:
put put my treasure pin in chute
waitfor As you
put empty my %s in my cloak
pause
goto RT2

Done:
exit

Reload:
put ;go2 bank
waitfor go2 has exited
put depo all
waitfor You
put withdraw 20000 silv
waitfor silvers
put ;go2 dig
waitfor go2 has exit
put look
match Buy grey-haired
match M1 Obvious exits
matchwait

M1:
move ne
put look
match Buy grey-haired
match M2 Obvious exits
matchwait

M2:
move w
put look
match Buy grey-haired
match M3 Obvious exits
matchwait

M3:
move w
put look
match Buy grey-haired
match M4 Obvious exits
matchwait

M4:
move ne
put look
match Buy grey-haired
match M5 Obvious exits
matchwait

M5:
put look
match Buy grey-haired
match Start Obvious exits
matchwait

Buy:
put give halfling 2000
match Stow hands you a shovel
match Start You don't have
matchwait

Stow:
put stow right
waitfor You put
goto Buy

Stretch
04-16-2011, 01:11 AM
Ok, there were a shit ton of errors in my original post...think I got the most obvious ones. Someone make it not suck.

Stretch
04-16-2011, 03:14 PM
Alright, think that is now fully debugged and self-sufficient, as it's been running for about three hours now with no issues.