PDA

View Full Version : Help with a fletching script



LeftOverForGood
05-12-2007, 10:06 AM
I've tried figuring out how to keep haste up in the script, but nothing I do seems to work. Some things break it, other times, it casts before it's actually up.

Anyone have an idea?


Script's below.





start:

put glance
Match GETdagger You glance down at your empty hands
Match GETSHAFT1 You glance down to see nothing in your right hand and a dagger in your left hand.
Match GETSHAFT2 You glance down to see a dagger in your right hand and nothing in your left hand.
Match HAVEBOTH You glance down to see a single arrow shaft in your right hand and a dagger in your left hand
Matchwait

GETdagger:
put get my dagger from my backp
Match GOTdagger You remove

Matchwait

GOTdagger:
pause 1
put swap
Match GETSHAFT1 you swap
matchwait

GETSHAFT1:
pause 1
put get 1 shaft from my backpack
Match CUTSHAFT1 You remove
Match PUTdagger get what?
Matchwait

GETSHAFT2:
pause 1
put swap
pause 1
put get 1 shaft from my backpack
Match CUTSHAFT1 You remove
Match PUTdagger get what?
Matchwait

HAVEBOTH:
pause 1
put drop my shaft
pause 1
put clean table
Match START A busboy appears
Matchwait

CUTSHAFT1:
pause 1
put cut my shaft with my dagger
pause 1
put glance
Match CUTSHAFT1-OK You glance down to see a single arrow shaft in your right hand
Match START You glance down to see nothing in your right hand and a dagger in your left hand.
Matchwait

CUTSHAFT1-OK:
pause 1
put cut nock in my shaft with my dagger
pause 1
put cut nock in my shaft with my dagger
Match CUTSHAFT2-OK You carefully cut a nock
Match START might as well toss it
Matchwait

CUTSHAFT2-OK:
pause 1
put drop my shaft
pause 1
put clean table
goto START

PUTdagger:
pause 1
put put my dagger in my backp
goto MAKESHAFT

MAKESHAFT:
pause 1
put look wood in my backpack
Match GETAXE You see nothing unusual

matchwait

GETAXE:
pause 1
put get handaxe from my backpack
Match GETWOOD You remove

Matchwait

GETWOOD:
pause 1
put get wood from my backpack
Match CUTSHAFT You remove

Matchwait

CUTSHAFT:
put cut arrow shafts
pause 3
put put my shafts in my backpack
pause 3
put look log in my backpack
Match WOODGONE I could not find
Match GETWOOD You see nothing unusual
Matchwait

WOODGONE:
pause 1
put put my handaxe in my backpack
pause 1
goto START

Yuritau
07-07-2007, 06:13 AM
I got it working very smoothly right now.. just move all the MATCHES above the relevant PUTS.

ie:

CUTSHAFT1:
pause 1
Match CUTSHAFT1-OK You glance down to see a single arrow shaft in your right hand
Match START You glance down to see nothing in your right hand and a dagger in your left hand.
put cut my shaft with my dagger
pause 1
put glance
Matchwait

complac3ncy
09-23-2007, 01:55 PM
anyone have a script that can make bolts, in specific, light bolts? With fletching and I also have a scriber I'm wanting to use, any help would be appreciated.

shaluke
10-24-2007, 01:07 PM
This script has four variables:
#1 color of paint
#2 type of scribe
#3 materials container (fletchings, shafts, scribe, paint, and glue)
#4 finished arrow container.

You will have to modify type of weapon. (stiletto, dirk, dagger, knife, and so on.)



#1 = color of paint
#2 = type of scribe
#3 = container for supplies
#4 = container for finished arrows

arrowstart:
put glance
match cutflip You glance down at your empty hands.
match emptyhands You glance down to see
matchwait

emptyhands:
echo >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
echo >>>>>>>>>Put Your Items Away and Begin Again >>>>>>>>>>>>>
exit

cutflip:
put get 1 shaft from my %3
waitfor You remove
put get my stiletto
waitfor You remove
put cut my shaft with my stiletto
match harnstil1 You pare away
matchwait

harnstil1:
put put my stiletto in my case
match paint You put
match pause1 …wait
matchwait

pause1:
pause 2
goto harstil1

paint:
put get my %1 paint from my %3
put paint my shaft
waitfor The paint on your

awaypaint:
put put paint in my %3
match nocks You put
match nocks I could not find
matchwait

nocks:
put get my stiletto from my case
waitfor You remove
put cut nocks in my shaft with my stiletto
match harnstil2 You carefully cut a nock
match cutflip You begin cutting
matchwait

harnstil2:
put put my stiletto in my case
match getbow You put
match exit I could not find
match pause2 …wait
matchwait

pause2:
pause 2
goto harstil2


getbow:
put get my bow from my case
match meas You remove a
match getbow …wait
matchwait

meas:
put measure my shaft with my bow
match meas …wait
match putbow Nocking the arrow
match exit I could not find
matchwait

putbow:
put put my bow in my case
match getstiletto You put
match putbow …wait
matchwait

getstiletto:
put get my stiletto
waitfor You remove
put cut my shaft with my stiletto
match harnstil3 Using your previous mark

harnstil3:
put put my stiletto in my case
match glue You put
match exit I could not find
match pause3 …wait
matchwait

pause3:
pause 2
goto harstil3

glue:
put get my glue from my %3
match useglue You remove
match glue …wait
matchwait

useglue:
put put glue on my shaft
match putglue You carefully smear a
match useglue …wait
matchwait

putglue:
put put my glue in my %3
match fletch You put
match fletch I could not
match putglue …wait
matchwait

fletch:
put get 3 fletchings from my quiv
match putfletch You reach
match putfletch You remove
match fletch …wait
matchwait

putfletch:
put put my fletching on my shaft
waitfor The glue on your

getdrill:
put get my drill from %3
match drill You remove
match getdrill …wait
match exit I could not find
matchwait
drill:
put turn my drill
match drill …wait
match putdrill Setting the tip of the drill to
matchwait

putdrill:
put put drill in my %3
match arrowhead You put
match putdrill …wait
matchwait

arrowhead:
put get my arrowhead
match turnarrowhead You remove
match arrowhead …wait
matchwait

turnarrowhead:
put turn my arrowhead
match getscribe As you turn the arrowhead
match arrowhead …wait
matchwait

getscribe:
put get %2 from my %3
match getscribe …wait
match rubscribe You remove
matchwait

rubscribe:
put rub %2 on my arrow
match rubscribe …wait
match putscribe Using your
matchwait

putscribe:
put put my %2 in my %3
match bundle You put
match putscribe …wait
matchwait

bundle:
put put arrow in arrow in my %4
match exit You cannot bundle
match getarrow You can’t seem to
match exit3 You put
matchwait

getarrow:
put get arrow from case
match bundle2 You remove
match exit1 I could not
matchwait

bundle2
put bundle
put put my arrow in my %4
match exit2 You put
matchwait

exit:
echo >>>>>>>>>>>>Something Is Missing<<<<<<<<<<<<<<<<<<<
exit

exit2:
echo>>>>>>>>>>>>>>>>Arrow Finished<<<<<<<<<<<<<<<<<<<<
exit