Scraping (script)

From Elanthipedia
Revision as of 03:14, 13 March 2011 by ISHARON (talk | contribs)
Jump to navigation Jump to search
Scraping (script)
Category utility
Front-end Avalon
Author Hithrael
#script setup
echo This script brought to you by Kraggur (v1.1)

set prefined on
setvariable scraper [hide scraper]
setvariable putpouch [belt]
setvariable speed quick
setvariable tight [tight bundle]
setvariable lumpy [lumpy bundle]

action [As you remove the last one, your bundling rope drops to the ground since your hands are full.] goto end 

start:
save start
put get my %scraper from my %putpouch
pause

sorter:
match errorhandler While it's closed?
match end there is nothing in there like that.
match setskin You rummage through
put rum /s my %lumpy
matchwait

setskin:
save setskin
GETWORDFROM "." -1
SETVARIABLE skin %w
goto get

get:
save get
match scrape You carefully
match sorter What were you referring to?
put get my %skin from my %lumpy
matchwait

scrape:
match dostuff as clean as you can make it
match dostuff That really isn't going to help anything.
match dostuff There's no need for further scraping.
match notskinnable You'll need a hide, pelt, or skin to scrape.
match scrape roundtime
match pausing ...wait
match pausing type ahead
put scrape %skin with scraper %speed
matchwait

notskinnable:
match getnotskinnable You carefully 
match sorter What were you referring to?
put put %skin in %tight
matchwait

getnotskinnable:
match sorter What were you referring to?
match notskinnable You carefully
put get my %skin from my %lumpy
matchwait

dostuff:
pause
match get carefully fit
match drop new bundle
match drop try to stuff
put put %skin in %tight
matchwait

drop:
pause
put drop %skin
goto rummage

pausing:
pause 5
goto scrape



end:
put put my %scraper in my %putpouch
pause
put stow rope
exit

errorhandler:
boxmessage Error #$errornumber$ occurred on the line #$errorline$ : $line$
EXIT