PDA

View Full Version : Help



Holybane
08-14-2009, 08:02 PM
I got my script working and running the way I want it to but I am having trouble adding a resting section that works. It should stop the script when my mind is becoming numbed and start agian when I am clear but I cant get it to stop when I get to becoming numbed. Anyone able to explain what I am doing wrong?


echo ##################
echo ####FletchingRanks####
echo ##################

start:
put exp
match checkexp Your mind is
put get my dagger
wait
put get 1 shaft from my g pack
wait
match noarrows what?
put cut my shaft with my dagger
match fail1 you discard the rough arrow shaft.
match succeed1 you pare away the excess wood
matchwait

succeed1:
pause 1
put cut nocks in my shaft with my dagger
put cut nocks in my shaft with my dagger
match fail2 might as well toss it.
match succeed2 You carefully cut a nock into
matchwait

succeed2:
put drop shaft
waitfor You drop a
goto start

fail1:
goto start

fail2:
goto start

noarrows:
put stow all
put out
put s
put out
put s
put s
put s
put s
put s
put e
put e
put e
put e
put e
put e
put e
put n
put n
put go door
put order 10 of 40
put buy
put o
put s
put s
put w
put w
put w
put w
put w
put w
put w
put n
put n
put n
put n
put n
put go inn
put n
put go table
put open package
pause 1
put empty pack into g pack
waitfor everything falls in quite nicely.
put drop package
goto cutwood

cutwood:
put get wood from g pack
match start what?
put get my handaxe
put cut arrows from my wood with my handaxe
match cutwood placed cuts, you split
matchwait

checkexp:
match pause becoming numbed
match start muddled
match start clear
match start fresh and clear
match start clear as a bell
matchwait

pause:
pause 60
goto rcheckexp

rcheckexp:
match pause Your mind is becoming numbed
match pause Your mind is muddled
match start Your mind is clear
put exp
matchwait

ElvenFury
08-14-2009, 08:09 PM
You need a matchwait after your mind check. Otherwise, the script has already moved onto getting your dagger before it recieves the "exp" feedback from the game.

Or, you could try putting the match BEFORE the "put exp". I don't like setting up my scripts that way, but it might work.

Holybane
08-14-2009, 08:11 PM
I will try it

Holybane
08-14-2009, 08:13 PM
aha! putting a matchwait after the match worked. Thank you bunches