Scraping (script): Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
m (Created page with '<pre> #script setup echo This script brought to you by Kraggur. set prefined on setvariable scraper [hide scraper]. setvariable putpouch [skull]. setvariable getpouch [backpack]…')
 
m (Updated to 1.1 for compliance with at least part of the messaging for the new bundles.)
Line 1: Line 1:
<pre>
<pre>
#script setup
#script setup
echo This script brought to you by Kraggur.
echo This script brought to you by Kraggur (v1.1)


set prefined on
set prefined on
setvariable scraper [hide scraper].
setvariable scraper [hide scraper].
setvariable putpouch [skull].
setvariable putpouch [belt].
setvariable getpouch [backpack]
setvariable getpouch [backpack]
setvariable speed quick
setvariable speed quick
Line 54: Line 54:
dostuff:
dostuff:
pause
pause
match rummage you stuff
match rummage carefully fit
match drop new bundle
match drop new bundle
match drop try to stuff
match drop try to stuff
put bundle my %hide
put bundle
matchwait
matchwait


drop:
drop:
pause
pause
put drop my %hide
put drop %skin
goto rummage
goto rummage



Revision as of 14:48, 6 October 2010

#script setup
echo This script brought to you by Kraggur (v1.1)

set prefined on
setvariable scraper [hide scraper].
setvariable putpouch [belt].
setvariable getpouch [backpack]
setvariable speed quick

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

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

open:
save open
match rummage You open your
match rummage That is already open.
put open my %getpouch
matchwait

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

get:
save get
match scrape You get
match rummage What were you referring to?
put get my %skin from my %getpouch
matchwait

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

dostuff:
pause
match rummage carefully fit
match drop new bundle
match drop try to stuff
put bundle
matchwait

drop:
pause
put drop %skin
goto rummage

pausing:
pause 5
goto scrape



end:
put put my %scraper in my %putpouch
exit

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