Collect (script): Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
No edit summary
Line 27: Line 27:
<pre>#trigger {^You finish humming} {#send hum $hum}
<pre>#trigger {^You finish humming} {#send hum $hum}
#trigger {^You should stop playing before you do that} {#send stop hum;#send 1 $lastcommand}</pre>
#trigger {^You should stop playing before you do that} {#send stop hum;#send 1 $lastcommand}</pre>

==Changelog==

*'''8/25/2011''': Added an extra pause to reduce hang-ups.


==Script==
==Script==
Line 47: Line 51:
matchwait 1
matchwait 1
send kick pile
send kick pile
waitforre Assuming you mean a pile|^I could not find what you were referring to
waitforre Assuming you mean a pile|^I could not find what you were referring to|^\.\.\.wait
pause


perception.check:
perception.check:

Revision as of 17:51, 25 August 2011

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}

Changelog

  • 8/25/2011: Added an extra pause to reduce hang-ups.

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|^\.\.\.wait
pause

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.