YASSE Forage (script): Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (added category of "Survival") |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
{{Script |
{{Script |
||
|cat= |
|cat=Training, Survival |
||
|fe=YASSE |
|fe=YASSE |
||
|auth=[[User:Hithrael|Hithrael]] |
|auth=[[User:Hithrael|Hithrael]] |
||
}} |
}} |
||
Version 1 |
|||
==Description== |
|||
<br /> |
|||
Trains foraging until it has exceeded 30/34 in a given cycle. |
|||
--[[User:Hithrael|Hithrael]] 21:24, 4 November 2010 (UTC) |
|||
==Syntax== |
|||
Run as .forage <forage item> <location to place> |
|||
==Updates== |
|||
Last Updated: |
|||
*'''03/24/2011''': Revision 1.1, cleaned up variables; added support to forage carefully based on an info query. |
|||
*'''11/04/2010''': Revision 1.0 |
|||
==Script== |
|||
<pre> |
<pre> |
||
boxmessage Run as .forage <forage item> <location to place> |
|||
boxmessage This script brought to you by Kraggur \nVersion 1, November 11 2010 |
|||
prep: |
prep: |
||
set predefined on |
set predefined on |
||
⚫ | |||
counter set 0 |
counter set 0 |
||
⚫ | |||
⚫ | |||
#This section sets foraging to careful if guild is NOT survival tertiary |
|||
⚫ | |||
match guildcareful barbarian |
|||
boxmessage Script pauses here, the first entry will set forage item, the second pause will be for the container to place the forgeable in. |
|||
match guildcareful empath |
|||
match guildcareful moon mage |
|||
match guildcareful necromancer |
|||
match guildcareful thief |
|||
match guildcareful trader |
|||
match guildcareful ranger |
|||
put info |
|||
matchwait 5 |
|||
goto start |
|||
getline |
|||
⚫ | |||
⚫ | |||
guildcareful: |
|||
getline |
|||
setvariable |
setvariable style careful |
||
goto start |
|||
pause |
|||
⚫ | |||
boxmessage Foraging for: |
boxmessage Foraging for: $item$ \nPlacing in: $boxdrop$ |
||
foragecycle: |
foragecycle: |
||
Line 39: | Line 57: | ||
forage: |
forage: |
||
put forage |
put forage $item$ $style$ |
||
waitfor roundtime |
waitfor roundtime |
||
put put |
put put $item$ in $boxdrop$ |
||
return |
return |
||
Line 49: | Line 67: | ||
waitfor Overall state of mind |
waitfor Overall state of mind |
||
getinfo ForagingState |
getinfo ForagingState |
||
⚫ | |||
if %result >= 30 goto report |
if %result >= 30 goto report |
||
if %result < 30 |
if %result < 30 |
||
Line 57: | Line 76: | ||
report: |
report: |
||
boxmessage You foraged |
boxmessage You foraged $item$ %c cycles (10 times per cycle) to get to at least bewildering. |
||
end: |
end: |
||
exit |
exit |
||
</pre> |
</pre> |
Latest revision as of 13:05, 23 May 2016
YASSE Forage (script) | |
---|---|
Category | Training,Survival |
Front-end | YASSE |
Author | Hithrael |
Description
Trains foraging until it has exceeded 30/34 in a given cycle.
Syntax
Run as .forage <forage item> <location to place>
Updates
Last Updated:
- 03/24/2011: Revision 1.1, cleaned up variables; added support to forage carefully based on an info query.
- 11/04/2010: Revision 1.0
Script
boxmessage Run as .forage <forage item> <location to place> prep: set predefined on counter set 0 setvariable item %1 setvariable boxdrop %2 #This section sets foraging to careful if guild is NOT survival tertiary match guildcareful barbarian match guildcareful empath match guildcareful moon mage match guildcareful necromancer match guildcareful thief match guildcareful trader match guildcareful ranger put info matchwait 5 goto start guildcareful: setvariable style careful goto start start: boxmessage Foraging for: $item$ \nPlacing in: $boxdrop$ foragecycle: for forloop = 1 to 10 begin pause gosub forage end forage: put forage $item$ $style$ waitfor roundtime put put $item$ in $boxdrop$ return expcheck: pause put exp skill foraging waitfor Overall state of mind getinfo ForagingState pause 2 if %result >= 30 goto report if %result < 30 begin counter inc goto foragecycle end report: boxmessage You foraged $item$ %c cycles (10 times per cycle) to get to at least bewildering. end: exit