Collect (script)

From Elanthipedia
Revision as of 15:21, 9 August 2011 by ISHARON (talk | contribs) (Created page with '{{Script |cat=training |fe=Genie |auth=Isharon }} ==Description== This script trains vocals by {{com|HUM|humming}} and trains [[Foraging skill…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Collect (script)
Category training
Front-end Genie
Author Isharon


Description

This script trains vocals by HUMMING and trains foraging and perception by using the COLLECT verb. It will run until you are mind locked in perception (the slower of the two skills).

The script cleans up after itself by KICKING each pile that you collect. If the room has too many piles to continue collecting, it will kick every pile in the room.

Instructions

Syntax

.COLLECT [ITEM[: If you just type .COLLECT with no item, the script will collect piles of torn cloth, which works in most indoor locations. If you want to collect something else, add an item. For example, if you are outdoors, try .COLLECT ROCK.

Required Genie Settings

The script hums. You need to open your character's variables file and define variables for cambrinth and hum. For example:

#var {hum} {aria}

I also recommend adding my humming triggers:

#trigger {^You finish humming} {#send hum $hum}
#trigger {^You should stop playing before you do that} {#send stop hum;#send 1 $lastcommand}

Script

put #class arrive on
put #class rp on
put #class combat off
setvariable COLLECT torn.cloth
if_1 setvariable COLLECT %1

send hum $hum
waitforre ^You .+ hum|^You are already performing something

send stand
waitforre ^You stand|^You are already standing

collect:
send collect %COLLECT
match junk The room is too cluttered to find anything here
matchwait 1
send kick pile
waitforre Assuming you mean a pile|^I could not find what you were referring to

perception.check:
if $Perception.LearningRate > 33 then
goto endclean
else
goto collect

junk:
send stand
waitforre ^You stand|^You are already standing
send kick pile
matchre collect I could not find what you were referring to
matchre junk Assuming you mean a pile
matchwait 1
goto junk

endclean:
send kick pile
matchre endperception I could not find what you were referring to
matchre endclean Assuming you mean a pile
matchwait 1

endperception:
send echo YOU ARE MIND LOCKED IN PERCEPTION.