Tailoring - Outfitting DIY + scripts for anyone who does not understand it Part 3. on 06/09/2014 06:15 AM CDT
Links-arrows 1
Reply Reply
This is my knitting script for tailoring. This script will work as is in genie, stormfront, wizard and the web front ends. Needs no modifications to work in all four areas. Copy it to a knit.txt, and store it for a backup. Then edit with notepad and save it as knit.cmd. Then you can import it to stormfront as a wizard script, copy it into genie, or put it in the wizard script area. Note if you have a makers mark stamp change the line that appears 3 times in the script from this:

Match Cast The garment is nearly complete and now must be cast off

to this:

Match Cast1 The garment is nearly complete and now must be cast off


That way you will use the stamp to mark your item.




#knit
# parameters are Knit <container1> <container2> <item>
# <Container1> - is where you keep tools and materials.
# <Container2> - is where you keep the tailoring book.
# <item> - is the item to be made.
#
# Example:
# .knit bag pack towel
#

put get tailoring book from my %2
put study my book
waitfor Roundtime
pause 2
put put my tailoring book in my %2
waitfor You put
put get knit needles from my %1
put get yarn from my %1
waitfor You get
pause 1
put knit my yarn with my needles
waitfor Roundtime
pause 2
put put my yarn in my %1

Start:
Pause 1
Match Turn Now the needles must be turned
Match Turn Some ribbing should be added
Match Push Next the needles must be pushed
Match Push ready to be pushed
Match Cast The garment is nearly complete and now must be cast off
Match Good Roundtime
put knit my needles
matchwait

Good:
pause 1
goto Start

Turn:
Pause 1
Match Turn Now the needles must be turned
Match Turn Some ribbing should be added
Match Push Next the needles must be pushed
Match Push ready to be pushed
Match Cast The garment is nearly complete and now must be cast off
Match Good Roundtime
put turn my needles
matchwait

Push:
Pause 1
Match Turn Now the needles must be turned
Match Turn Some ribbing should be added
Match Push Next the needles must be pushed
Match Push ready to be pushed
Match Cast The garment is nearly complete and now must be cast off
Match Good Roundtime
put push my needles
matchwait

Cast1:
put cast my needles
waitfor Roundtime
Pause 1
put put my needles in my %1
put get stamp from my %1
waitfor You get
pause 1
put mark my %3 with my stamp
waitfor Roundtime
pause 1
put put my stamp in my %1
pause 1
ECHO *****************************************************
ECHO * You have completed one knitted %3
ECHO * Rerun the script and make sure you have
ECHO * everything you need to make the next item
ECHO *****************************************************
exit

Cast:
put cast my needles
waitfor Roundtime
pause 1
put put my needles in my %1
pause 1
ECHO *****************************************************
ECHO * You have completed one knitted %3
ECHO * Rerun the script and make sure you have
ECHO * everything you need to make the next item
ECHO *****************************************************
exit
Reply Reply