Training (script): Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Script
|cat=training
|fe=StormFront
|auth=[[User:Damian|Damian]]
}}

<pre>
<pre>


################################################################################
#Mind States are as follows
#############################GLOBAL VARIABLES###################################
#clear 0/34
#dabbling 1/34
#perusing 2/34
#learning 3/34
#thoughtful 4/34
#thinking 5/34
#considering 6/34
#pondering 7/34
#ruminating 8/34
#concentrating 9/34
#attentive 10/34
#deliberative 11/34
#interested 12/34
#examining 13/34
#understanding 14/34
#absorbing 15/34
#intrigued 16/34
#scrutinizing 17/34
#analyzing 18/34
#studious 19/34
#focused 20/34
#very focused 21/34
#engaged 22/34
#very engaged 23/34
#cogitating 24/34
#fascinated 25/34
#captivated 26/34
#engrossed 27/34
#riveted 28/34
#very riveted 29/34
#rapt 30/34
#very rapt 31/34
#enthralled 32/34
#nearly locked 33/34
#mind lock 34/34


######################################################################################
#############################GLOBAL VARIABLES#########################################


setvariable LARGESTORAGECONTAINER HAVERSACK
setvariable LARGESTORAGECONTAINER HAVERSACK
Line 47: Line 15:
setvariable SPELLPREPMESSAGE dirt in your palm to prepare
setvariable SPELLPREPMESSAGE dirt in your palm to prepare
setvariable LOCKPICKSTORAGECONTAINER ADAN SKULL
setvariable LOCKPICKSTORAGECONTAINER ADAN SKULL
setvariable HUMTHISTUNE HUM BOLERO QUIET
setvariable HUMTHISTUNE HUM CONCERT ROMANT
setvariable CAMBRINTHDEVICE NESTLED ARMBAND
setvariable CAMBRINTHDEVICE NESTLED ARMBAND
setvariable GLOBALSPELLTARGET
setvariable GLOBALSPELLTARGET
Line 53: Line 21:
setvariable GLOBALMOON
setvariable GLOBALMOON
setvariable FORAGEFORITEM REDWOOD LIMB
setvariable FORAGEFORITEM REDWOOD LIMB
setvariable SPELLRETURNPOINTER NEXTFUNCTION
setvariable SPELLADDITIONALCOMMAND
save NEXTFUNCTION


#############################GLOBAL VARIABLES#########################################
#############################GLOBAL VARIABLES###################################
######################################################################################
################################################################################


if_1 save NEXTFUNCTION
if_1 goto %1%


goto %1
==================================================================================

==================================================================================

################################################################################
################################################################################
#begin START function
#begin START function


START:
START:


echo #####################################################################
echo ===============================================================================================================================
put SORT AUTO HEAD
put SORT AUTO HEAD
waitfor >
waitfor inventory is now
echo #####################################################################
echo ===============================================================================================================================
put RESYNC
waitfor >
put INVFIX
put INVFIX
waitfor >
put AWAKE
put AWAKE
waitfor >


echo #####################################################################
echo ===============================================================================================================================
put INV CHECK
put INV CHECK
echo #####################################################################
waitfor >
echo ===============================================================================================================================
put EXP ALL
put EXP ALL
waitfor >
waitfor Circle:
echo #####################################################################
echo ===============================================================================================================================
put HEAL
put HEAL
waitfor >
waitfor Your body
echo #####################################################################
echo ===============================================================================================================================
put STAT FULL
put STAT FULL
waitfor >
waitfor Brave Adventurers
echo #####################################################################
echo ===============================================================================================================================
put INFO
put INFO
waitfor >
waitfor Name:
echo #####################################################################
echo ===============================================================================================================================
put RPA PIRP
put RPA PIRP
waitfor >
waitfor You currently have
echo #####################################################################
echo ===============================================================================================================================

put LOOK
put LOOK
echo #####################################################################
waitfor >

echo ===============================================================================================================================
put TIME
put TIME
waitfor >
waitfor It has been
put OBS WEATHER
put OBS WEATHER
echo #####################################################################
waitfor >
echo ===============================================================================================================================

put EXP FIXWALL
put HIDE
put HIDE


goto NEXTFUNCTION
shift
goto %1


#end START function
#end START function
################################################################################
==================================================================================
################################################################################
==================================================================================
#begin GLOBAL PIERCING GAZE v2 function (THIS FUNCTION HAS BEEN FIXED2)


############################SKILL TRAINING SCRIPTS##############################
GPIERCINGGAZE:


################################################################################
GPG:
################################################################################
#begin FIRSTAID function


FIRSTAID:
setvariable RETURNPOINTER GPGPREPSPELL


FIRSTAIDGETTHIRDCOMPENDIUM:
GPGPREPSPELL:


counter set 1
put %HUMTHISTUNE


put prep PIERCING GAZE 25
put sort compendium in %LARGESTORAGECONTAINER


Match FIRSTAID2COMPENDIUMS a leather compendium, a leather compendium,
Match GPGPREPSPELL ...wait
Match KILLHUMMING You should stop playing
Match FIRSTAID2COMPENDIUMS a leather compendium, a leather compendium,
Match KILLSPELLPREP You are already preparing
Match FIRSTAID1COMPENDIUM a leather compendium,
Match KILLSPELLPREP You have to strain
Match GPGFULLPREP %SPELLPREPMESSAGE%
Matchwait


put look in %LARGESTORAGECONTAINER
GPGFULLPREP:


Matchwait
waitfor You feel fully prepared


FIRSTAID2COMPENDIUMS:
setvariable RETURNPOINTER %s%


setvariable TOTALCOMPENDIUMS second
GPGHARNESS1:
counter set 2
GPGHARNESS2:
goto FIRSTAIDCOUNTERCOPY


FIRSTAID1COMPENDIUM:
put harness 15


setvariable TOTALCOMPENDIUMS first
Match GPGHARNESS%c% ...wait
counter set 1
Match GPGUPDATECOUNTER You tap into the mana from
goto FIRSTAIDCOUNTERCOPY
Match KILLSPELLPREP You strain, but cannot harness
Matchwait


FIRSTAIDCOUNTERCOPY:
GPGUPDATECOUNTER:


counter add 1
setvariable TEMPCOUNTER %c
goto FIRSTAIDGETCOMPENDIUM%c


FIRSTAIDGETCOMPENDIUM1:
goto GPGHARNESS%c%
FIRSTAIDGETCOMPENDIUM2:
FIRSTAIDGETCOMPENDIUM3:
FIRSTAIDGETCOMPENDIUM4:
FIRSTAIDGETCOMPENDIUM5:


Match FIRSTAIDGETCOMPENDIUM5 ...wait
GPGHARNESS3:
Match FIRSTAIDOPENCOMPENDIUM You get a
GPGHARNESS4:
Match FIRSTAIDNOCOMPENDIUMS What are you referring to?
GPGHARNESS5:
GPGHARNESS6:
GPGHARNESS7:
GPGHARNESS8:
GPGHARNESS9:
GPGHARNESS10:


put get %TOTALCOMPENDIUMS compendium from %LARGESTORAGECONTAINER
GPGSPELLCAST:


counter set 0
Matchwait


FIRSTAIDGETCOMPENDIUM0:
put cast %GLOBALSPELLTARGET%


Match GPGSPELLCAST ...wait
goto NEXTFUNCTION
Match %s% You gesture
Matchwait


FIRSTAIDOPENCOMPENDIUM:
GPIERCINGGAZEAT:
GPGAT:


counter set 9
if_2 setvariable GLOBALSPELLTARGET %2%
goto GPIERCINGGAZE


Match FIRSTAIDOPENCOMPENDIUM ...wait
#end GLOBAL PIERCING GAZE v2 function (THIS FUNCTION HAS BEEN FIXED2)
Match FIRSTAIDSTUDYCOMPENDIUM That is already open!
==================================================================================
Match FIRSTAIDSTUDYCOMPENDIUM You open your
==================================================================================
#begin GLOBAL CLEAR VISION v2 function (THIS FUNCTION HAS BEEN FIXED2)


put open my compendium
GCLEARVISION:


Matchwait
GCV:


FIRSTAIDSTUDYCOMPENDIUM:
setvariable RETURNPOINTER GCVPREPSPELL


put %HUMTHISTUNE
GCVPREPSPELL:


Match FIRSTAIDSTUDYCOMPENDIUM ...wait
counter set 1
Match FIRSTAIDTURNCOMPENDIUM%c Why do you need to study this chart again?
Match FIRSTAIDTURNCOMPENDIUM%c a sudden moment of clarity, the information on the chart
Match FIRSTAIDSTUDYCOMPENDIUM You begin studying
Match FIRSTAIDSTUDYCOMPENDIUM gradually absorbing more of the knowledge
Match FIRSTAIDERROR You study the sky but fail to find anything


put prep CLEAR VISION 30
put study my compendium


Match GCVPREPSPELL ...wait
Match KILLHUMMING You should stop playing
Match KILLSPELLPREP You are already preparing
Match KILLSPELLPREP You have to strain
Match GCVFULLPREP %SPELLPREPMESSAGE%
Matchwait
Matchwait


FIRSTAIDTURNCOMPENDIUM9:
GCVFULLPREP:
FIRSTAIDTURNCOMPENDIUM8:
FIRSTAIDTURNCOMPENDIUM7:
FIRSTAIDTURNCOMPENDIUM6:
FIRSTAIDTURNCOMPENDIUM5:
FIRSTAIDTURNCOMPENDIUM4:
FIRSTAIDTURNCOMPENDIUM3:
FIRSTAIDTURNCOMPENDIUM2:
FIRSTAIDTURNCOMPENDIUM1:


counter subtract 1
waitfor You feel fully prepared


Match FIRSTAIDTURNCOMPENDIUM10 ...wait
setvariable RETURNPOINTER %s%
Match FIRSTAIDSTUDYCOMPENDIUM You turn to the section


put turn my compendium
GCVHARNESS1:
GCVHARNESS2:


put harness 20

Match GCVHARNESS%c% ...wait
Match GCVUPDATECOUNTER You tap into the mana from
Match KILLSPELLPREP You strain, but cannot harness
Matchwait
Matchwait


FIRSTAIDTURNCOMPENDIUM0:
GCVUPDATECOUNTER:


counter add 1
counter set %TEMPCOUNTER
counter subtract 1
goto FIRSTAIDSTORECOMPENDIUM


FIRSTAIDSTORECOMPENDIUM:
goto GCVHARNESS%c%


Match FIRSTAIDSTORECOMPENDIUM ...wait
GCVHARNESS3:
Match FIRSTAIDERROR What were you referring to?
GCVHARNESS4:
Match FIRSTAIDCOUNTERCOPY You put your compendium in your
GCVHARNESS5:
GCVHARNESS6:
GCVHARNESS7:
GCVHARNESS8:
GCVHARNESS9:
GCVHARNESS10:


put put my compendium in my %LARGESTORAGECONTAINER
GCVSPELLCAST:


counter set 0

put cast %GLOBALSPELLTARGET%

Match GCVSPELLCAST ...wait
Match %s% You gesture
Matchwait
Matchwait


FIRSTAIDNOCOMPENDIUMS:
GCLEARVISIONAT:
GCVAT:


echo ===========================================
if_2 setvariable GLOBALSPELLTARGET %2%
echo =You have no compendiums for this training=
goto GCLEARVISION
echo ===========================================


exit
#end GLOBAL CLEAR VISION v2 function (THIS FUNCTION HAS BEEN FIXED2)
==================================================================================
==================================================================================
#begin GLOBAL AURA SIGHT v2 function (THIS FUNCTION HAS BEEN FIXED2)


FIRSTAIDERROR:
GAURASIGHT:


echo =====================================================
GAUS:
echo =For some reason you are not holding your compendium=
echo =====================================================


exit
setvariable RETURNPOINTER GAUSPREPSPELL


#end FIRSTAID function
GAUSPREPSPELL:
################################################################################
################################################################################
#begin PERCEPTION function


PERCEPTION:
counter set 1


setvariable PERCEPTIONMATERIAL SILVER ZOMBIES
put prep AURA SIGHT 30


PERCEPTIONSUPSPELLS:
Match GAUSPREPSPELL ...wait
Match KILLHUMMING You should stop playing
Match KILLSPELLPREP You are already preparing
Match KILLSPELLPREP You have to strain
Match GAUSFULLPREP %SPELLPREPMESSAGE%
Matchwait


save PERCEPTIONGETTOOLS
GAUSFULLPREP:
goto GCLEARVISION


PERCEPTIONGETTOOLS:
waitfor You feel fully prepared


pause
setvariable RETURNPOINTER %s%


put get %PERCEPTIONMATERIAL
GAUSHARNESS1:
GAUSHARNESS2:


put harness 15
Match PERCEPTIONGETTOOLS ...wait
Match PERCEPTIONWORK You get

Match GAUSHARNESS%c% ...wait
Match PERCEPTIONWORK already holding that
Match GAUSUPDATECOUNTER You tap into the mana from
Match NEXTFUNCTION could not find what
Match KILLSPELLPREP You strain, but cannot harness
Matchwait
Matchwait


PERCEPTIONWORK:
GAUSUPDATECOUNTER:


counter add 1
pause


goto GAUSHARNESS%c%
put %HUMTHISTUNE
put juggle my %PERCEPTIONMATERIAL


Match PERCEPTIONWORK ...wait
GAUSHARNESS3:
Match EXPPERCEPTION Roundtime
GAUSHARNESS4:
Match PERCEPTIONSTOWTOOLS Your injuries make juggling impossible
GAUSHARNESS5:
Matchwait
GAUSHARNESS6:
GAUSHARNESS7:
GAUSHARNESS8:
GAUSHARNESS9:
GAUSHARNESS10:


GAUSSPELLCAST:
EXPPERCEPTION:


counter set 0
put exp skill perception


Match PERCEPTIONSTOWTOOLS dazed
put cast
Match PERCEPTIONSTOWTOOLS mind lock

Match GAUSSPELLCAST ...wait
Match PERCEPTIONWORK EXP HELP for more information
Match %s% You gesture
Matchwait
Matchwait


PERCEPTIONSTOWTOOLS:
#end GLOBAL AURA SIGHT v2 function (THIS FUNCTION HAS BEEN FIXED2)
==================================================================================
==================================================================================
#begin GLOBAL SHADOWS v2 function (THIS FUNCTION HAS BEEN FIXED2)


put put %PERCEPTIONMATERIAL in my %LARGESTORAGECONTAINER
GSHADOWSSPELL:


put %HUMTHISTUNE
GSHADOWS:
waitfor finish humming


goto NEXTFUNCTION
setvariable RETURNPOINTER GSHADOWSPREPSPELL


#end PERCEPTION function
GSHADOWSPREPSPELL:
################################################################################
################################################################################
#begin FORAGING function (this function tests against exp for perception not foraging
#since you learn both doing collect, it is also set up for 2 items, if you wish to add
#more items, simply add more setvariable statements with matching FORAGINGHUM# so it
#doesn't end after the 2nd one as FORAGINGHUM3 will go to the end of the function


FORAGING:
counter set 1


FORAGINGDECLAREVARIABLES:
put prep SHADOWS 30


setvariable ITEM1 stem
Match GSHADOWSPREPSPELL ...wait
setvariable ITEM2 rock
Match KILLHUMMING You should stop playing
counter set 0
Match KILLSPELLPREP You are already preparing
Match KILLSPELLPREP You have to strain
Match GSHADOWSFULLPREP %SPELLPREPMESSAGE%
Matchwait

GSHADOWSFULLPREP:

waitfor You feel fully prepared

setvariable RETURNPOINTER %s%

GSHADOWSHARNESS1:
GSHADOWSHARNESS2:

put harness 15

Match GSHADOWSHARNESS%c% ...wait
Match GSHADOWSUPDATECOUNTER You tap into the mana from
Match KILLSPELLPREP You strain, but cannot harness
Matchwait


FORAGINGCOUNTERINCREASE:
GSHADOWSUPDATECOUNTER:


counter add 1
counter add 1
goto FORAGINGHUM%c


FORAGINGHUM:
goto GSHADOWSHARNESS%c%
FORAGINGHUM1:
FORAGINGHUM2:


put %HUMTHISTUNE
GSHADOWSHARNESS3:
goto FORAGINGKICKPILE
GSHADOWSHARNESS4:
GSHADOWSHARNESS5:
GSHADOWSHARNESS6:
GSHADOWSHARNESS7:
GSHADOWSHARNESS8:
GSHADOWSHARNESS9:
GSHADOWSHARNESS10:


FORAGINGKICKPILE:
GSHADOWSSPELLCAST:


counter set 0
Match FORAGINGKICKPILE ...wait
Match FORAGINGSTART you fail to find any signs of its presence
Match FORAGINGSTART I could not find what you were referring to


put cast %GLOBALSPELLTARGET%
put kick pile


Match GSHADOWSSPELLCAST ...wait
Match %s% You gesture
Matchwait
Matchwait


GSHADOWSSPELLAT:
FORAGINGSTART:
GSHADOWSAT:


Match FORAGINGSTART ...wait
if_2 setvariable GLOBALSPELLTARGET %2%
Match FORAGINGCLUTTER The room is too cluttered
goto GSHADOWSSPELL
Match EXPFORAGING You manage to collect a pile
Match FORAGINGCOUNTERINCREASE wondering what you might find
Match FORAGINGCOUNTERINCREASE trying to find a dragon's egg
Match FORAGINGCOUNTERINCREASE you were looking for
Match FORAGINGCOUNTERINCREASE if you had a bit more luck.
Match FORAGINGCOUNTERINCREASE unable to find anything.


put collect %ITEM%c
#end GLOBAL SHADOWS v2 function (THIS FUNCTION HAS BEEN FIXED2)
==================================================================================
==================================================================================
#begin GLOBAL SEER'S SENSE v2 function (THIS FUNCTION HAS BEEN FIXED2)


Matchwait
GSEERSSENSE:
GSEERS:


GSEER:
FORAGINGCLUTTER:


pause 2
setvariable RETURNPOINTER GSEERPREPSPELL
goto FORAGINGKICKPILE


GSEERPREPSPELL:
EXPFORAGING:


counter set 1
Match FORAGINGEND mind lock
Match FORAGINGHUM EXP HELP for more information


put prep SEER SENSE 26
put exp skill perception


Match GSEERPREPSPELL ...wait
Match KILLHUMMING You should stop playing
Match KILLSPELLPREP You are already preparing
Match KILLSPELLPREP You have to strain
Match GSEERFULLPREP %SPELLPREPMESSAGE%
Matchwait
Matchwait


GSEERFULLPREP:
FORAGINGHUM3:
FORAGINGEND:


goto NEXTFUNCTION
waitfor You feel fully prepared
exit


#end FORAGING function
setvariable RETURNPOINTER %s%
################################################################################
################################################################################
LE:


setvariable COMBATMOVE1 DODGE
GSEERHARNESS1:
setvariable COMBATMOVE2 FEINT %2
GSEERHARNESS2:
setvariable COMBATMOVE3 DRAW %2
setvariable COMBATMOVE4 SLICE %2
setvariable COMBATMOVE5 CHOP %2
setvariable COMBATMOVE6 ENC


counter set 1
put harness 15


goto WIELDWEAPON
Match GSEERHARNESS%c% ...wait
Match GSEERUPDATECOUNTER You tap into the mana from
Match KILLSPELLPREP You strain, but cannot harness
Matchwait


################################################################################
GSEERUPDATECOUNTER:
################################################################################
ME:
HE:
2HE:


setvariable COMBATMOVE1 DODGE
counter add 1
setvariable COMBATMOVE2 FEINT
setvariable COMBATMOVE3 DRAW
setvariable COMBATMOVE4 SWEEP
setvariable COMBATMOVE5 SLICE
setvariable COMBATMOVE6 CHOP
setvariable COMBATMOVE7 SLICE
setvariable COMBATMOVE8 CHOP
setvariable COMBATMOVE9 ENC


counter set 1
goto GSEERHARNESS%c%


goto WIELDWEAPON
GSEERHARNESS3:
GSEERHARNESS4:
GSEERHARNESS5:
GSEERHARNESS6:
GSEERHARNESS7:
GSEERHARNESS8:
GSEERHARNESS9:
GSEERHARNESS10:


################################################################################
GSEERSPELLCAST:
################################################################################
LB:
MB:
HB:
2HB:


setvariable COMBATMOVE1 DODGE
counter set 0
setvariable COMBATMOVE2 FEINT
setvariable COMBATMOVE3 SWEEP
setvariable COMBATMOVE4 DRAW
setvariable COMBATMOVE5 SLICE
setvariable COMBATMOVE6 ENC


counter set 1
put cast %GLOBALSPELLTARGET%


goto WIELDWEAPON
Match GSEERSPELLCAST ...wait
Match %s% You gesture
Matchwait


################################################################################
GSEERSSENSEAT:
################################################################################
GSEERSAT:
BRAWLING:
GSEERAT:


if_2 setvariable GLOBALSPELLTARGET %2%
setvariable COMBATMOVE1 DODGE
setvariable COMBATMOVE2 FEINT
goto GSEERSSENSE
setvariable COMBATMOVE3 SWEEP
setvariable COMBATMOVE4 KICK
setvariable COMBATMOVE5 SLICE
setvariable COMBATMOVE6 GOUGE
setvariable COMBATMOVE7 ELBOW
setvariable COMBATMOVE8 ENC


counter set 1
#end GLOBAL SEER'S SENSE v2 function (THIS FUNCTION HAS BEEN FIXED2)
==================================================================================
==================================================================================
#begin GLOBAL SHADOWLING v2 function (THIS FUNCTION HAS BEEN FIXED2)


goto WIELDWEAPON
GSHADOWLINGSPELL:


################################################################################
GSHADOWLING:
################################################################################
PIKE:


setvariable RETURNPOINTER GSHADOWLINGPREPSPELL
setvariable COMBATMOVE1 DODGE
setvariable COMBATMOVE2 JAB
setvariable COMBATMOVE3 SWEEP
setvariable COMBATMOVE4 THRUST
setvariable COMBATMOVE5 FEINT
setvariable COMBATMOVE6 LUNGE
setvariable COMBATMOVE7 DRAW
setvariable COMBATMOVE8 ENC


counter set 1
GSHADOWLINGPREPSPELL:


goto WIELDWEAPON
counter set 1


################################################################################
put prep SHADOWLING 30
################################################################################
QS:
SS:


setvariable COMBATMOVE1 DODGE
Match GSHADOWLINGPREPSPELL ...wait
setvariable COMBATMOVE2 FEINT
Match KILLHUMMING You should stop playing
setvariable COMBATMOVE3 DRAW
Match KILLSPELLPREP You are already preparing
setvariable COMBATMOVE4 SLICE
Match KILLSPELLPREP You have to strain
setvariable COMBATMOVE5 SWEEP
Match GSHADOWLINGFULLPREP %SPELLPREPMESSAGE%
setvariable COMBATMOVE6 CHOP
Matchwait
setvariable COMBATMOVE7 ENC


counter set 1
GSHADOWLINGFULLPREP:


goto WIELDWEAPON
waitfor You feel fully prepared


################################################################################
setvariable RETURNPOINTER %s%
################################################################################
HALBERD:


setvariable COMBATMOVE1 DODGE
GSHADOWLINGHARNESS1:
setvariable COMBATMOVE2 DRAW
GSHADOWLINGHARNESS2:
setvariable COMBATMOVE3 SLICE
setvariable COMBATMOVE4 SWEEP
setvariable COMBATMOVE5 CHOP
setvariable COMBATMOVE6 ENC


counter set 1
put harness 15


goto WIELDWEAPON
Match GSHADOWLINGHARNESS%c% ...wait
Match GSHADOWLINGUPDATECOUNTER You tap into the mana from
Match KILLSPELLPREP You strain, but cannot harness
Matchwait


################################################################################
GSHADOWLINGUPDATECOUNTER:
################################################################################
HT:
LT:


setvariable COMBATMOVE1 THROW
counter add 1
setvariable COMBATMOVE2 GET %2 %3
setvariable COMBATMOVE3 ENC


counter set 1
goto GSHADOWLINGHARNESS%c%


goto WIELDWEAPON
GSHADOWLINGHARNESS3:
GSHADOWLINGHARNESS4:
GSHADOWLINGHARNESS5:
GSHADOWLINGHARNESS6:
GSHADOWLINGHARNESS7:
GSHADOWLINGHARNESS8:
GSHADOWLINGHARNESS9:
GSHADOWLINGHARNESS10:


################################################################################
GSHADOWLINGSPELLCAST:
################################################################################
#begin WIELDWEAPON function


WIELDWEAPONRESETCOUNTER:
counter set 0


put cast
counter set 1


goto WIELDWEAPON
Match GSHADOWLINGSPELLCAST ...wait
Match %s% You gesture
Matchwait


WIELDWEAPONADDCOUNTER:
#end GLOBAL SHADOWLING v2 function (THIS FUNCTION HAS BEEN FIXED2)
==================================================================================
==================================================================================
#begin GLOBAL SHADOW SERVANT v2 function (THIS FUNCTION HAS BEEN FIXED2)


counter add 1
GSHADOWSERVANTSPELL:


goto WIELDWEAPON
GSHADOWSERVANT:


WIELDWEAPON:
setvariable RETURNPOINTER GSHADOWSERVANTPREPSPELL


Match WIELDWEAPON ...wait
GSHADOWSERVANTPREPSPELL:
Match WIELDWEAPONADDCOUNTER You feint
Match WIELDWEAPONADDCOUNTER You jab
Match WIELDWEAPONADDCOUNTER You step backward and
Match WIELDWEAPONADDCOUNTER You sweep
Match WIELDWEAPONADDCOUNTER You slice
Match WIELDWEAPONADDCOUNTER You swing
Match WIELDWEAPONADDCOUNTER You chop
Match WIELDWEAPONADDCOUNTER You thrust
Match WIELDWEAPONADDCOUNTER You lunge
Match WIELDWEAPONADDCOUNTER You kick
Match WIELDWEAPONADDCOUNTER You gouge
Match WIELDWEAPONADDCOUNTER You elbow
Match WIELDWEAPONADDCOUNTER You throw
Match WIELDWEAPONADDCOUNTER You pick up
Match WIELDWEAPONADDCOUNTER position to dodge
Match WIELDWEAPONADDCOUNTER you are already dodging
Match WIELDWEAPONADDCOUNTER position to parry
Match WIELDWEAPONRESETCOUNTER Encumbrance :
Match WIELDWEAPONWAITTARGET nothing else to face!
Match WIELDWEAPONADVANCE close enough to attack


put %COMBATMOVE%c
counter set 1


Matchwait
put prep SHADOW SERVANT 44


WIELDWEAPONWAITTARGET:
Match GSHADOWSERVANTPREPSPELL ...wait
Match KILLHUMMING You should stop playing
Match KILLSPELLPREP You are already preparing
Match KILLSPELLPREP You have to strain
Match GSHADOWSERVANTFULLPREP %SPELLPREPMESSAGE%
Matchwait


Match WIELDWEAPONRESETCOUNTER melee range
GSHADOWSERVANTFULLPREP:
Match WIELDWEAPONADVANCE at you
Match WIELDWEAPONADVANCE missle range
Match WIELDWEAPONADVANCE pole weapon range
Match WIELDWEAPONWAITLONGER You assess your combat situation...


put ASSES
waitfor You feel fully prepared


Matchwait
setvariable RETURNPOINTER %s%


WIELDWEAPONADVANCE:
GSHADOWSERVANTHARNESS1:


Match WIELDWEAPONADVANCE ...wait
put harness 10
Match WIELDWEAPONRESETCOUNTER You close to melee range
Match WIELDWEAPONRESETCOUNTER You are already at melee
Match WIELDWEAPONRESETCOUNTER You turn to face
Match WIELDWEAPONWAITLONGER You begin to advance
Match WIELDWEAPONWAITLONGER You are already advancing


put ADVANCE
Match GSHADOWSERVANTHARNESS%c% ...wait
Match GSHADOWSERVANTUPDATECOUNTER You tap into the mana from
Match KILLSPELLPREP You strain, but cannot harness
Matchwait


Matchwait
GSHADOWSERVANTUPDATECOUNTER:


WIELDWEAPONWAITLONGER:
counter add 1


Match WIELDWEAPONADVANCE begins to advance on you!
goto GSHADOWSERVANTHARNESS%c%
Match WIELDWEAPONADVANCE is still a distance away from you and is closing steadily.
Match WIELDWEAPONADVANCE closes to pole weapon range on you!
Match WIELDWEAPONRESETCOUNTER to melee range


Matchwait
GSHADOWSERVANTHARNESS2:
GSHADOWSERVANTHARNESS3:
GSHADOWSERVANTHARNESS4:
GSHADOWSERVANTHARNESS5:
GSHADOWSERVANTHARNESS6:
GSHADOWSERVANTHARNESS7:
GSHADOWSERVANTHARNESS8:
GSHADOWSERVANTHARNESS9:
GSHADOWSERVANTHARNESS10:


################################################################################
GSHADOWSERVANTSPELLCAST:
################################################################################
#begin LOCKPICKING function


LOCKPICKING:
counter set 0


# LOCKPICKINGGETTOOLS:
put cast


Match GSHADOWSERVANTSPELLCAST ...wait
# Match LOCKPICKINGGETTOOLS ...wait
Match %s% You gesture
# Match LOCKPICKINGPICK You get a
# Match LOCKPICKINGPICK You are already holding
Matchwait
# Match LOCKPICKINGNOTOOLS What were you referring


# put get lockpick
GSHADOWSERVANTPYRAMIDS:


# Matchwait
save GSHADOWSERVANTGETPYRAMIDS


LOCKPICKINGPICK:
goto GSHADOWSERVANT


put %HUMTHISTUNE
GSHADOWSERVANTGETPYRAMIDS:


Match LOCKPICKINGPICK ...wait
save NEXTFUNCTION
# Match LOCKPICKINGGETTOOLS useless lockpick
# Match LOCKPICKINGGETTOOLS appropriate tool and try again
Match LOCKPICKINGBOXISOPEN not even locked, why bother?
Match LOCKPICKINGEXPCHECK Roundtime:


put pick my %2 blind
Match GSHADOWSERVANTGETPYRAMIDS ...wait
Match %s% stares at you in confusion
Match %s% To whom are you speaking
Match GSHADOWSERVANTDROPPYRAMIDS pyramid and hands it to you

put ask servant for pyramid


Matchwait
Matchwait


LOCKPICKINGEXPCHECK:
GSHADOWSERVANTDROPPYRAMIDS:


Match LOCKPICKINGSTOWTOOLS mind lock
match GSHADOWSERVANTDROPPYRAMIDS ...wait
Match LOCKPICKINGPICK EXP HELP
match GSHADOWSERVANTGETPYRAMIDS You drop


put drop pyramid
put exp skill lock


Matchwait
Matchwait


LOCKPICKINGNOTOOLS:
#end GLOBAL SHADOW SERVANT v2 function (THIS FUNCTION HAS BEEN FIXED2)
==================================================================================
==================================================================================
#begin GLOBAL STARLIGHT SPHERE v2 function (THIS FUNCTION HAS BEEN FIXED2)


echo #################################################
GSTARLIGHTSPHERE:
echo # #
echo # You have no lockpicks to use in this training #
echo # #
echo #################################################


goto LOCKPICKINGSTOWBOX
GSLS:


LOCKPICKINGBOXISOPEN:
setvariable RETURNPOINTER GSLSPREPSPELL


setvariable BOXISOPEN 1
GSLSTESTTIME:
goto LOCKPICKINGSTOWTOOLS%BOXISOPEN


LOCKPICKINGSTOWTOOLS:
put time


goto LOCKPICKINGSTOWBOX
Match GSLSPREPSPELL night
Match GSLSPREPSPELL sunset
# Match LOCKPICKINGSTOWTOOLS ...wait
Match GSLSPREPSPELL evening
# Match LOCKPICKINGSTOWBOX What were you referring
Match GSLSSPELLFAIL sunrise
# Match LOCKPICKINGSTOWBOX You put your
Match GSLSSPELLFAIL dawn
Match GSLSSPELLFAIL midday
Match GSLSSPELLFAIL morning
Matchwait


# put put lock in %LOCKPICKSTORAGECONTAINER
GSLSPREPSPELL:


counter set 1
# Matchwait


LOCKPICKINGSTOWTOOLS1:
put prep STARLIGHT SPHERE 20


goto LOCKPICKINGOPENBOX
Match GSLSPREPSPELL ...wait
Match KILLHUMMING You should stop playing
# Match LOCKPICKINGSTOWTOOLS1 ...wait
Match KILLSPELLPREP You are already preparing
# Match LOCKPICKINGOPENBOX What were you referring
Match KILLSPELLPREP You have to strain
# Match LOCKPICKINGOPENBOX You put your
Match GSLSFULLPREP %SPELLPREPMESSAGE%
Matchwait


# put put lock in %LOCKPICKSTORAGECONTAINER
GSLSFULLPREP:


# Matchwait
waitfor You feel fully prepared


LOCKPICKINGOPENBOX:
setvariable RETURNPOINTER %s%


Match LOCKPICKINGOPENBOX ...wait
GSLSHARNESS1:
Match LOCKPICKINGDISMANTLEBOX You open
Match LOCKPICKINGSHIFTDOWN What were you referring to


put harness 10
put open my %2


Match GSLSHARNESS%c% ...wait
Match GSLSUPDATECOUNTER You tap into the mana from
Match KILLSPELLPREP You strain, but cannot harness
Matchwait
Matchwait


LOCKPICKINGDISMANTLEBOX:
GSLSUPDATECOUNTER:


Match LOCKPICKINGDISMANTLEBOX ...wait
counter add 1
Match LOCKPICKINGDISMANTLEBOX you'd like to dump the contents
Match LOCKPICKINGSHIFTDOWN move your hands in a practiced maneuver
Match LOCKPICKINGSHIFTDOWN casually study the
Match LOCKPICKINGSHIFTDOWN Rolling your shoulders to loosen them


put dismantle my %2 press
goto GSLSHARNESS%c%


Matchwait
GSLSHARNESS2:
GSLSHARNESS3:
GSLSHARNESS4:
GSLSHARNESS5:
GSLSHARNESS6:
GSLSHARNESS7:
GSLSHARNESS8:
GSLSHARNESS9:
GSLSHARNESS10:


LOCKPICKINGSTOWBOX:
GSLSSPELLCAST:


Match LOCKPICKINGSTOWBOX ...wait
counter set 0
Match LOCKPICKINGSHIFTDOWN What were you referring
Match LOCKPICKINGSHIFTDOWN You put your


put cast RAVEN
put put my %2 in %LARGESTORAGECONTAINER


Match GSLSSPELLCAST ...wait
Match %s% You gesture
Matchwait
Matchwait


LOCKPICKINGSHIFTDOWN:
GSLSSPELLFAIL:


shift
echo ============================================
echo = =
echo = The spell Starlight Sphere cannot be =
echo = cast during the day. Try again at night. =
echo = =
echo ============================================


goto %s%
goto NEXTFUNCTION


#end LOCKPICKING function
#end GLOBAL STARLIGHT SPHERE v2 function (THIS FUNCTION HAS BEEN FIXED2)
################################################################################
==================================================================================
################################################################################
==================================================================================
#begin POWERPERCEIVE function (This function used to be part of the main POWERPERCEIVE function and would be called
#begin GLOBAL PSYCHIC SHIELD v2 function (THIS FUNCTION HAS BEEN FIXED2)


provided the main one ran out of mana. It has been separated so it can be accessed by itself using the POWERPERCEIVE
GPSYCHICSHIELD:


LABEL.)
GPSY:


POWERPERCEIVE:
setvariable RETURNPOINTER GPSYPREPSPELL


POWERPERCEIVECONCENTRATE:
GPSYPREPSPELL:


counter set 1
pause 2


put prep PSYCHIC SHIELD 26
put conc all


Match GPSYPREPSPELL ...wait
put %HUMTHISTUNE
Match KILLHUMMING You should stop playing
Match KILLSPELLPREP You are already preparing
Match KILLSPELLPREP You have to strain
Match GPSYFULLPREP %SPELLPREPMESSAGE%
Matchwait


waitfor Roundtime
GPSYFULLPREP:


POWERPERCEIVEKATAMBA:
waitfor You feel fully prepared


pause
setvariable RETURNPOINTER %s%


put perc katamba
GPSYHARNESS1:
GPSYHARNESS2:


put harness 20
waitfor Roundtime


POWERPERCEIVEXIBAR:
Match GPSYHARNESS%c% ...wait
Match GPSYUPDATECOUNTER You tap into the mana from
Match KILLSPELLPREP You strain, but cannot harness
Matchwait


pause
GPSYUPDATECOUNTER:


counter add 1
put perc xibar


goto GPSYHARNESS%c%
waitfor Roundtime


POWERPERCEIVEYAVASH:
GPSYHARNESS3:
GPSYHARNESS4:
GPSYHARNESS5:
GPSYHARNESS6:
GPSYHARNESS7:
GPSYHARNESS8:
GPSYHARNESS9:
GPSYHARNESS10:


pause
GPSYSPELLCAST:


counter set 0
put perc yavash


waitfor Roundtime
put cast %GLOBALSPELLTARGET%


POWERPERCEIVEMOON:
Match GPSYSPELLCAST ...wait
Match %s% You gesture
Matchwait


pause
GPSYCHICSHIELDAT:
GPSYAT:


put perc moon
if_2 setvariable GLOBALSPELLTARGET %2%
goto GPSYCHICSHIELD


waitfor Roundtime
#end GLOBAL PSYCHIC SHIELD v2 function (THIS FUNCTION HAS BEEN FIXED2)
==================================================================================
==================================================================================
#begin GLOBAL FOCUS MOONBEAM v2 function (THIS FUNCTION HAS BEEN FIXED2)


POWERPERCEIVEMOONMANIP:
GFOCUSMOONBEAM:


GFM:
pause 2


put perc moonlight manip
setvariable RETURNPOINTER GFMPREPSPELL


put %HUMTHISTUNE
GFMPREPSPELL:


counter set 1
waitfor Roundtime


POWERPERCEIVETRANSDUCTION:
put prep FOCUS MOONBEAM 20


pause
Match GFMPREPSPELL ...wait
Match KILLHUMMING You should stop playing
Match KILLSPELLPREP You are already preparing
Match KILLSPELLPREP You have to strain
Match GFMFULLPREP %SPELLPREPMESSAGE%
Matchwait


put perc transduction
GFMFULLPREP:


pause 10
waitfor Roundtime


POWERPERCEIVEPERCEPTIONBOOK:
setvariable RETURNPOINTER %s%


pause
GFMHARNESS1:
GFMHARNESS2:
GFMHARNESS3:
GFMHARNESS4:
GFMHARNESS5:


put harness 20
put perc perception


waitfor Roundtime
Match GFMHARNESS%c% ...wait
Match GFMUPDATECOUNTER You tap into the mana from
Match KILLSPELLPREP You strain, but cannot harness
Matchwait


POWERPERCEIVEPSYCHPROJ:
GFMUPDATECOUNTER:


counter add 1
pause


goto GFMHARNESS%c%
put perc psych project


waitfor Roundtime
GFMHARNESS6:
GFMHARNESS7:
GFMHARNESS8:
GFMHARNESS9:
GFMHARNESS10:


POWERPERCEIVESTELLAR:
GFMSPELLCAST:


counter set 0
pause


put cast %GLOBALMOON%
put perc stellar


Match GFMSPELLCAST ...wait
waitfor Roundtime
Match %s% You gesture
Matchwait


POWERPERCEIVEPLANET:
GFOCUSMOONBEAMAT:
GFMAT:


pause
if_2 setvariable GLOBALMOON %2%
goto GFOCUSMOONBEAM


put perc planet
#end GLOBAL FOCUS MOONBEAM v2 function (THIS FUNCTION HAS BEEN FIXED2)
==================================================================================
==================================================================================
#begin GLOBAL SEAL OF DEFLECTION v2 function (THIS FUNCTION HAS BEEN FIXED2)


waitfor Roundtime
GSEALOFDEFLECTION:


POWERPERCEIVEWATCHERS:
GSOD:


pause
setvariable RETURNPOINTER GSODPREPSPELL


put perc watchers
GSODPREPSPELL:


counter set 1
waitfor Roundtime


POWERPERCEIVESELF:
put prep SEAL OF DEFLECTION 20


pause
Match GSODPREPSPELL ...wait
Match KILLHUMMING You should stop playing
Match KILLSPELLPREP You are already preparing
Match KILLSPELLPREP You have to strain
Match GSODFULLPREP %SPELLPREPMESSAGE%
Matchwait


put perc self
GSODFULLPREP:


waitfor You feel fully prepared
waitfor Roundtime


POWERPERCEIVEAREA:
setvariable RETURNPOINTER %s%


pause
GSODHARNESS1:
GSODHARNESS2:


put harness 15
put perc area


waitfor Roundtime
Match GSODHARNESS%c% ...wait
Match GSODUPDATECOUNTER You tap into the mana from
Match KILLSPELLPREP You strain, but cannot harness
Matchwait


goto POWERPERCEIVECHECKEXP
GSODUPDATECOUNTER:


POWERPERCEIVECHECKEXP:
counter add 1


Match POWERPERCEIVEENDFUNCTION mind lock
goto GSODHARNESS%c%
Match POWERPERCEIVE EXP HELP


put exp skill power perc
GSODHARNESS3:
GSODHARNESS4:
GSODHARNESS5:
GSODHARNESS6:
GSODHARNESS7:
GSODHARNESS8:
GSODHARNESS9:
GSODHARNESS10:


Matchwait
GSODSPELLCAST:


POWERPERCEIVEENDFUNCTION:
counter set 0


goto NEXTFUNCTION
put cast %GLOBALSPELLTARGET%
exit


#end POWERPERCEIVE function
Match GSODSPELLCAST ...wait
################################################################################
Match %s% You gesture
################################################################################
Matchwait
#begin MAGIC function


MAGIC:
GSEALOFDEFLECTIONAT:
GSODAT:


save MAGICSOD
if_2 setvariable GLOBALSPELLTARGET %2%
goto GSEALOFDEFLECTION


counter set 0
#end GLOBAL SEAL OF DEFLECTION v2 function (THIS FUNCTION HAS BEEN FIXED2)
==================================================================================
==================================================================================
#begin GLOBAL SEVER THREAD v2 function (THIS FUNCTION HAS BEEN FIXED2)


MAGICSODGETTOOLS:
GSEVERTHREAD:


GSET:
MAGICEXPCHECK0:
MAGICEXPCHECK1:
MAGICEXPCHECK2:
MAGICEXPCHECK3:
MAGICEXPCHECK4:


MAGICMANACHECK:
setvariable RETURNPOINTER GSETPREPSPELL


Match MAGICSODSTOWTOOLS S>>>>>>>>|_
GSETPREPSPELL:
Match MAGICSODSTOWTOOLS S>>>>>>>|_
Match MAGICSODSTOWTOOLS S>>>>>>|_
Match MAGICSODSTOWTOOLS S>>>>>|_
Match MAGICSODSTOWTOOLS S>>>>|_
Match MAGICSODSTOWTOOLS S>>>|_
Match MAGICSODSTOWTOOLS S>>|_
Match MAGICSODSTOWTOOLS S>|_
Match MAGICSODSTOWTOOLS S|_
Match MAGICSOD MANA HELP


counter set 1
put mana


put prep SEVER THREAD 22

Match GSETPREPSPELL ...wait
Match KILLHUMMING You should stop playing
Match KILLSPELLPREP You are already preparing
Match KILLSPELLPREP You have to strain
Match GSETFULLPREP %SPELLPREPMESSAGE%
Matchwait
Matchwait


GSETFULLPREP:
MAGICSOD:


setvariable RETURNPOINTER MAGICSOD
waitfor You feel fully prepared


Match KILLHUMMING should stop playing before
setvariable RETURNPOINTER %s%
Match KILLSPELLPREP You are already preparing
Match MAGICSOD ...wait
Match MAGICSODSTOWTOOLS You have to strain
Match MAGICSODCHARGEORB Seal of Deflection spell


put prep SEAL OF DEFLECTION 5
GSETHARNESS1:
GSETHARNESS2:


put harness 20

Match GSETHARNESS%c% ...wait
Match GSETUPDATECOUNTER You tap into the mana from
Match KILLSPELLPREP You strain, but cannot harness
Matchwait
Matchwait


MAGICSODCHARGEORB:
GSETUPDATECOUNTER:


counter add 1
Match MAGICSODCHARGEORB ...wait
Match MAGICSODSTOWTOOLS cannot harness that much power

Match MAGICSODFOCUSORB Roundtime
goto GSETHARNESS%c%

GSETHARNESS3:
GSETHARNESS4:
GSETHARNESS5:
GSETHARNESS6:
GSETHARNESS7:
GSETHARNESS8:
GSETHARNESS9:
GSETHARNESS10:

GSETSPELLCAST:

counter set 0


put cast %GLOBALSPELLTARGET%
put charge my %CAMBRINTHDEVICE 20


Match GSETSPELLCAST ...wait
Match GSETPREDICTSEVERTARGET You gesture
Matchwait
Matchwait


MAGICSODFOCUSORB:
GSETPREDICTSEVERTARGET:


put predict sever %GLOBALSPELLTARGET%
put focus my %CAMBRINTHDEVICE


Match GSETPREDICTSEVERTARGET ...wait
Match MAGICSODFOCUSORB ...wait
Match %s% Roundtime
Match MAGICSOINCREASECOUNTER forge a magical link to it
Match MAGICSOINCREASECOUNTER is intact
Matchwait
Matchwait


MAGICSOINCREASECOUNTER:
GSEVERTHREADAT:
GSETAT:


counter add 1
if_2 setvariable GLOBALSPELLTARGET %2%
goto GSEVERTHREAD
goto MAGICSODCAST


MAGICSODCAST:
#end GLOBAL SEVER THREAD v2 function (THIS FUNCTION HAS BEEN FIXED2)
==================================================================================
==================================================================================
#begin GLOBAL LOCATE v2 function (THIS FUNCTION HAS BEEN FIXED2)


Match MAGICSODCAST ...wait
GLOCATESPELL:
Match MAGICEXPCHECK%c shifting plexus
Match MAGICSODSTOWTOOLS backfires
Match MAGICSODSTOWTOOLS You are unable to harness


GLOCATE:
put cast


setvariable RETURNPOINTER GLOCATEPREPSPELL

GLOCATEPREPSPELL:

counter set 1

put prep LOCATE 20

Match GLOCATEPREPSPELL ...wait
Match KILLHUMMING You should stop playing
Match KILLSPELLPREP You are already preparing
Match KILLSPELLPREP You have to strain
Match GLOCATEFULLPREP %SPELLPREPMESSAGE%
Matchwait
Matchwait


GLOCATEFULLPREP:
MAGICSODNOTOOLS:


save MAGICSODNOTOOLS
waitfor You feel fully prepared


Match MAGICSODNOTOOLS ...wait
setvariable RETURNPOINTER %s%
Match MAGICENDFUNCTION You have to strain
Match MAGICSODFULLPREP Seal of Deflection spell


put prep SEAL OF DEFLECTION 20
GLOCATEHARNESS1:
GLOCATEHARNESS2:


put harness 15

Match GLOCATEHARNESS%c% ...wait
Match GLOCATEUPDATECOUNTER You tap into the mana from
Match KILLSPELLPREP You strain, but cannot harness
Matchwait
Matchwait


MAGICSODFULLPREP:
GLOCATEUPDATECOUNTER:


counter add 1
waitfor You feel fully prepared
goto MAGICSODCAST

goto GLOCATEHARNESS%c%

GLOCATEHARNESS3:
GLOCATEHARNESS4:
GLOCATEHARNESS5:
GLOCATEHARNESS6:
GLOCATEHARNESS7:
GLOCATEHARNESS8:
GLOCATEHARNESS9:
GLOCATEHARNESS10:


MAGICEXPCHECK5:
GLOCATESPELLCAST:
MAGICEXPMAGIC:


counter set 0
counter set 0


Match MAGICEXPHARNESS mind lock
put cast %GLOBALSPELLTARGET%
Match MAGICMANACHECK EXP HELP for more information

put exp skill primary magic


Match GLOCATESPELLCAST ...wait
Match %s% You gesture
Matchwait
Matchwait


GLOCATESPELLAT:
MAGICEXPHARNESS:
GLOCATEAT:


Match MAGICEXPMAGDEVICES mind lock
if_2 setvariable GLOBALSPELLTARGET %2%
Match MAGICMANACHECK EXP HELP for more information
goto GLOCATESPELL


put exp skill harness
#end GLOBAL LOCATE v2 function (THIS FUNCTION HAS BEEN FIXED2)
==================================================================================
==================================================================================
#begin GLOBAL MENTAL BLAST v2 function (THIS FUNCTION HAS BEEN FIXED2)


Matchwait
GMENTALBLAST:


MAGICEXPMAGDEVICES:
GMB:


Match MAGICSODSTOWTOOLS mind lock
setvariable RETURNPOINTER GMBPREPSPELL
Match MAGICMANACHECK EXP HELP for more information


put exp skill magical devices
GMBPREPSPELL:


counter set 1

put prep MENTAL BLAST 25

Match GMBPREPSPELL ...wait
Match KILLHUMMING You should stop playing
Match KILLSPELLPREP You are already preparing
Match KILLSPELLPREP You have to strain
Match GMBFULLPREP %SPELLPREPMESSAGE%
Matchwait
Matchwait


MAGICSODSTOWTOOLS:
GMBFULLPREP:


pause 16
goto NEXTFUNCTION
exit


#end MAGIC function
setvariable RETURNPOINTER %s%
################################################################################
################################################################################
#begin ASTROLOGY function (this function will hum/study/observe/get a prism/align/predict/appraise)


ASTROLOGY:
GMBHARNESS1:
GMBHARNESS2:


ASTROLOGYDECLAREVARIABLES:
put harness 20


setvariable TEMPBODYCOUNTER 0
Match GMBHARNESS%c% ...wait
setvariable TEMPSKILLCOUNTER 0
Match GMBUPDATECOUNTER You tap into the mana from
setvariable TEMPOBSCOUNTER 0
Match KILLSPELLPREP You strain, but cannot harness
Matchwait


ASTROLOGYCOUNTERSTART:
GMBUPDATECOUNTER:


counter add 1
counter set 0


ASTROLOGYCOUNTERINCREASE:
goto GMBHARNESS%c%


counter set %TEMPBODYCOUNTER
GMBHARNESS3:
counter add 1
GMBHARNESS4:
goto ASTROLOGYBODY%c
GMBHARNESS5:
GMBHARNESS6:
GMBHARNESS7:
GMBHARNESS8:
GMBHARNESS9:
GMBHARNESS10:


ASTROLOGYBODY1:
GMBSPELLCAST:


setvariable ASTROLOGYBODY sun
counter set 0
setvariable ASTROLOGYSKILL1 survival
setvariable ASTROLOGYSKILL2 offense
setvariable TEMPBODYCOUNTER %c
counter set 1
goto ASTROLOGYPG


ASTROLOGYBODY2:
put cast %GLOBALSPELLTARGET%


setvariable ASTROLOGYBODY Magpie
Match GMBSPELLCAST ...wait
setvariable ASTROLOGYSKILL1 survival
Match %s% You gesture
setvariable ASTROLOGYSKILL2 defense
Matchwait
setvariable TEMPBODYCOUNTER %c
counter set 1
goto ASTROLOGYPG


ASTROLOGYBODY3:
GMENTALBLASTAT:
GMBAT:


if_2 setvariable GLOBALSPELLTARGET %2%
setvariable ASTROLOGYBODY Spider
setvariable ASTROLOGYSKILL1 offense
goto GMENTALBLAST
setvariable ASTROLOGYSKILL2 magic
setvariable TEMPBODYCOUNTER %c
counter set 1
goto ASTROLOGYPG


ASTROLOGYBODY4:
#end GLOBAL MENTAL BLAST v2 function (THIS FUNCTION HAS BEEN FIXED2)
==================================================================================
==================================================================================
#begin GLOBAL TEZIRAH'S VEIL v2 function (THIS FUNCTION HAS BEEN FIXED2)


setvariable ASTROLOGYBODY Toad
GTEZIRAHSVEIL:
setvariable ASTROLOGYSKILL1 survival
setvariable ASTROLOGYSKILL2 defense
setvariable TEMPBODYCOUNTER %c
counter set 1
goto ASTROLOGYPG


GTV:
ASTROLOGYPG:


Match ASTROLOGYPG ...wait
setvariable RETURNPOINTER GTVPREPSPELL
Match ASTROLOGYPGCAST Roundtime
Match ASTROLOGYEND2 You can't see the sky clearly enough


put stop hum
GTVPREPSPELL:
put prep pg 30
put predict weather


counter set 1

put prep TEZIRA VEIL 28

Match GTVPREPSPELL ...wait
Match KILLHUMMING You should stop playing
Match KILLSPELLPREP You are already preparing
Match KILLSPELLPREP You have to strain
Match GTVFULLPREP %SPELLPREPMESSAGE%
Matchwait
Matchwait


GTVFULLPREP:
ASTROLOGYPGCAST:


Match ASTROLOGYPGCAST ...wait
pause 16
Match ASTROLOGYSTUDY The world around you


put cast
setvariable RETURNPOINTER %s%


GTVHARNESS1:
GTVHARNESS2:

put harness 15

Match GTVHARNESS%c% ...wait
Match GTVUPDATECOUNTER You tap into the mana from
Match KILLSPELLPREP You strain, but cannot harness
Matchwait
Matchwait


ASTROLOGYSTUDY:
GTVUPDATECOUNTER:


counter add 1
Match ASTROLOGYSTUDY ...wait
Match ASTROLOGYOBSERVE%c You manage to memorize the pattern of the sigil
Match ASTROLOGYSTUDYFAIL but fail to find
Match ASTROLOGYOBSERVE%c You are unable to comprehend the nature of the sigil
Match ASTROLOGYOBSERVE%c Your head is still swimming from your last attempts at comprehending
Match ASTROLOGYOBSERVE%c You've already memorized
Match ASTROLOGYEND2 You should try that where you can see the sky
Match ASTROLOGYEND2 That's a bit hard to do while inside


goto GTVHARNESS%c%
put %HUMTHISTUNE
put STUDY %ASTROLOGYBODY


GTVHARNESS3:
GTVHARNESS4:
GTVHARNESS5:
GTVHARNESS6:
GTVHARNESS7:
GTVHARNESS8:
GTVHARNESS9:
GTVHARNESS10:

GTVSPELLCAST:

counter set 0

put cast %GLOBALSPELLTARGET%

Match GTVSPELLCAST ...wait
Match %s% You gesture
Matchwait
Matchwait


ASTROLOGYSTUDYFAIL:
GTEZIRAHSVEILAT:
GTVAT:


goto ASTROLOGYCOUNTERINCREASE
if_2 setvariable GLOBALSPELLTARGET %2%
goto GTEZIRAHSVEIL


ASTROLOGYOBSERVE1:
#end GLOBAL TEZIRAH'S VEIL v2 function (THIS FUNCTION HAS BEEN FIXED2)
==================================================================================
==================================================================================
#begin GLOBAL RIPPLE v2 function (THIS FUNCTION HAS BEEN FIXED2)


pause
GRIPPLESPELL:

GRIPPLE:


counter add 1
setvariable RETURNPOINTER GRIPPLEPREPSPELL
setvariable TEMPOBSCOUNTER %c
counter set 1
setvariable ASTROLOGYPTR1 ASTROLOGYALIGN


Match ASTROLOGYOBSERVE1 ...wait
GRIPPLEPREPSPELL:
Match ASTROLOGYOBSERVE1 You see nothing regarding the future
Match ASTROLOGYGETPRISM You learned something useful from your observation.
Match ASTROLOGYGETPRISM quite what you were hoping for


counter set 1
put OBSERVE %ASTROLOGYBODY


put prep RIPPLE 20

Match GRIPPLEPREPSPELL ...wait
Match KILLHUMMING You should stop playing
Match KILLSPELLPREP You are already preparing
Match KILLSPELLPREP You have to strain
Match GRIPPLEFULLPREP %SPELLPREPMESSAGE%
Matchwait
Matchwait


GRIPPLEFULLPREP:
ASTROLOGYALIGN:
ASTROLOGYALIGN1:
ASTROLOGYALIGN2:
pause


Match ASTROLOGYALIGN ...wait
waitfor You feel fully prepared
Match ASTROLOGYTURNPRISM You focus internally and align yourself


setvariable RETURNPOINTER %s%
put ALIGN %ASTROLOGYSKILL%c
counter add 1


GRIPPLEHARNESS1:

put harness 20

Match GRIPPLEHARNESS%c% ...wait
Match GRIPPLEUPDATECOUNTER You tap into the mana from
Match KILLSPELLPREP You strain, but cannot harness
Matchwait
Matchwait


ASTROLOGYTURNPRISM:
GRIPPLEUPDATECOUNTER:


Match ASTROLOGYTURNPRISM ...wait
counter add 1
Match ASTROLOGYRAISEPRISM You wind the chain around the prism.


goto GRIPPLEHARNESS%c%
put TURN PRISM


GRIPPLEHARNESS2:
GRIPPLEHARNESS3:
GRIPPLEHARNESS4:
GRIPPLEHARNESS5:
GRIPPLEHARNESS6:
GRIPPLEHARNESS7:
GRIPPLEHARNESS8:
GRIPPLEHARNESS9:
GRIPPLEHARNESS10:

GRIPPLESPELLCAST:

counter set 0

put cast

Match GRIPPLESPELLCAST ...wait
Match %s% You gesture
Matchwait
Matchwait


ASTROLOGYRAISEPRISM:
#end GLOBAL RIPPLE v2 function (THIS FUNCTION HAS BEEN FIXED2)
==================================================================================
==================================================================================
#begin GLOBAL CONTINGENCY v2 function (THIS FUNCTION HAS BEEN FIXED2)


setvariable ASTROLOGYPTR1 ASTROLOGYALIGN
GCONTINGENCYSPELL:


Match ASTROLOGYRAISEPRISM ...wait
GCONTINGENCY:
Match ASTROLOGYALIGN%c You focus your sight on the prism as it spins
Match ASTROLOGYALIGN%c It seems to lack focus and slows to a stop
Match ASTROLOGYGETPRISM you lose your grip and drop it to the
Match ASTROLOGYTURNPRISM That's not quite wound up enough yet


put RAISE PRISM
setvariable RETURNPOINTER GCONTINGENCYPREPSPELL


GCONTINGENCYPREPSPELL:

counter set 1

put prep CONTINGENCY 25

Match GCONTINGENCYPREPSPELL ...wait
Match KILLHUMMING You should stop playing
Match KILLSPELLPREP You are already preparing
Match KILLSPELLPREP You have to strain
Match GCONTINGENCYFULLPREP %SPELLPREPMESSAGE%
Matchwait
Matchwait


ASTROLOGYALIGN3:
GCONTINGENCYFULLPREP:
ASTROLOGYANALYZE:


pause
waitfor You feel fully prepared


setvariable RETURNPOINTER %s%
counter set 1
setvariable ASTROLOGYPTR1 ASTROLOGYAPPRAISE


Match ASTROLOGYANALYZE ...wait
GCONTINGENCYHARNESS1:
Match ASTROLOGYSTOWPRISM Roundtime


put harness 20
put PREDICT ANALYZE


Match GCONTINGENCYHARNESS%c% ...wait
Match GCONTINGENCYUPDATECOUNTER You tap into the mana from
Match KILLSPELLPREP You strain, but cannot harness
Matchwait
Matchwait


ASTROLOGYAPPRAISE:
GCONTINGENCYUPDATECOUNTER:


counter add 1
Match ASTROLOGYAPPRAISE ...wait
Match ASTROLOGYSTOWPOUCH Roundtime


put get pouch from case in cloak
goto GCONTINGENCYHARNESS%c%
put appraise my pouch quick


GCONTINGENCYHARNESS2:
GCONTINGENCYHARNESS3:
GCONTINGENCYHARNESS4:
GCONTINGENCYHARNESS5:
GCONTINGENCYHARNESS6:
GCONTINGENCYHARNESS7:
GCONTINGENCYHARNESS8:
GCONTINGENCYHARNESS9:
GCONTINGENCYHARNESS10:

GCONTINGENCYSPELLCAST:

counter set 0

put cast %GLOBALMOON%

Match GCONTINGENCYSPELLCAST ...wait
Match %s% You gesture
Matchwait
Matchwait


ASTROLOGYSTOWPOUCH:
GCONTINGENCYSPELLAT:
GCONTINGENCYAT:


Match ASTROLOGYSTOWPOUCH ...wait
if_2 setvariable GLOBALMOON %2%
Match ASTROLOGYWAIT You put your
goto GCONTINGENCY


put put pouch in case in my cloak
#end GLOBAL CONTINGENCY v2 function (THIS FUNCTION HAS BEEN FIXED2)
==================================================================================
==================================================================================
#begin GLOBAL CAGE OF LIGHT v2 function (THIS FUNCTION HAS BEEN FIXED2)


GCAGEOFLIGHT:

GCOL:

setvariable RETURNPOINTER GCOLPREPSPELL

GCOLPREPSPELL:

counter set 1

put prep CAGE OF LIGHT 23

Match GCOLPREPSPELL ...wait
Match KILLHUMMING You should stop playing
Match KILLSPELLPREP You are already preparing
Match KILLSPELLPREP You have to strain
Match GCOLFULLPREP %SPELLPREPMESSAGE%
Matchwait
Matchwait


ASTROLOGYOBSERVE2:
GCOLFULLPREP:


counter subtract 2
waitfor You feel fully prepared


ASTROLOGYWAIT:
setvariable RETURNPOINTER %s%


Match ASTROLOGYWAIT ...wait
GCOLHARNESS1:
Match EXPASTROLOGY %ASTROLOGYBODY fades.

put harness 20

Match GCOLHARNESS%c% ...wait
Match GCOLUPDATECOUNTER You tap into the mana from
Match KILLSPELLPREP You strain, but cannot harness
Matchwait

GCOLUPDATECOUNTER:


counter add 1
counter add 1


goto GCOLHARNESS%c%
put predict event
put study sky


Matchwait
GCOLHARNESS2:
GCOLHARNESS3:
GCOLHARNESS4:
GCOLHARNESS5:
GCOLHARNESS6:
GCOLHARNESS7:
GCOLHARNESS8:
GCOLHARNESS9:
GCOLHARNESS10:


GCOLSPELLCAST:
EXPASTROLOGY:


counter set 0
Match ASTROLOGYEND mind lock
Match ASTROLOGYPG EXP HELP for more information


put cast %GLOBALMOON%
put exp skill astrology


Match GCOLSPELLCAST ...wait
Match %s% You gesture
Matchwait
Matchwait


ASTROLOGYGETPRISM:
GCAGEOFLIGHTAT:
GCOLAT:


Match ASTROLOGYGETPRISM ...wait
if_2 setvariable GLOBALMOON %2%
Match %ASTROLOGYPTR1 You get a
goto GCAGEOFLIGHT
Match %ASTROLOGYPTR1 You pick up a
Match %ASTROLOGYPTR1 You are already holding that
Match ASTROLOGYEND1 What were you referring to?


put get prism
#end GLOBAL CAGE OF LIGHT v2 function (THIS FUNCTION HAS BEEN FIXED2)
==================================================================================
==================================================================================
#begin GLOBAL DAZZLE function (THIS FUNCTION HAS BEEN FIXED)


GDAZZLESPELL:

GDAZZLE:

setvariable RETURNPOINTER GDAZZLEPREPSPELL

GDAZZLEPREPSPELL:

counter set 1

put prep DAZZLE 20

Match GDAZZLEPREPSPELL ...wait
Match KILLHUMMING You should stop playing
Match KILLSPELLPREP You are already preparing
Match KILLSPELLPREP You have to strain
Match GDAZZLEFULLPREP %SPELLPREPMESSAGE%
Matchwait
Matchwait


ASTROLOGYSTOWPRISM:
GDAZZLEFULLPREP:


Match ASTROLOGYSTOWPRISM ...wait
waitfor You feel fully prepared
Match %ASTROLOGYPTR1 You put your


put put prism in my cloak
setvariable RETURNPOINTER %s%


GDAZZLEHARNESS1:
GDAZZLEHARNESS2:

put harness 15

Match GDAZZLEHARNESS%c% ...wait
Match GDAZZLEUPDATECOUNTER You tap into the mana from
Match KILLSPELLPREP You strain, but cannot harness
Matchwait
Matchwait


ASTROLOGYRESETCOUNTER:
GDAZZLEUPDATECOUNTER:


counter add 1
counter set 1
goto %ASTROLOGYPTR2


ASTROLOGYEND1:
goto GDAZZLEHARNESS%c%


echo ######################
GDAZZLEHARNESS3:
echo # FIND A PRISM FIRST #
GDAZZLEHARNESS4:
echo # Function ending #
GDAZZLEHARNESS5:
echo ######################
GDAZZLEHARNESS6:
GDAZZLEHARNESS7:
GDAZZLEHARNESS8:
GDAZZLEHARNESS9:
GDAZZLEHARNESS10:


goto ASTROLOGYEND
GDAZZLESPELLCAST:


ASTROLOGYEND2:
counter set 0


echo #################################
put cast %GLOBALSPELLTARGET%
echo # GO OUTSIDE UNDER THE OPEN SKY #
echo # Function ending #
echo #################################


goto ASTROLOGYEND
Match GDAZZLESPELLCAST ...wait
Match %s% You gesture
Matchwait


GDAZZLESPELLAT:
ASTROLOGYBODY5:
GDAZZLEAT:
ASTROLOGYEND:
goto NEXTFUNCTION
exit


#end ASTROLOGY function
if_2 setvariable GLOBALSPELLTARGET %2%
################################################################################
goto GDAZZLESPELL
################################################################################
#begin GLOBALWEAPONRESET function


GLOBALWEAPONRESET:
#end GLOBAL DAZZLE function (THIS FUNCTION HAS BEEN FIXED)
==================================================================================
==================================================================================
#begin GLOBAL EASE BURDEN function (THIS FUNCTION HAS BEEN FIXED)


Match %s at you
GEASEBURDEN:
Match %s melee
Matchwait


#end GLOBALWEAPONRESET function
GEASE:
################################################################################
################################################################################
#begin KILLHUMMING function


KILLHUMMING:
setvariable RETURNPOINTER GEASEPREPSPELL


put stop hum
GEASEPREPSPELL:


counter set 1
goto %RETURNPOINTER


#end KILLHUMMING function
put prep EASE 30
################################################################################
################################################################################
#begin KILLSPELLPREP function


KILLSPELLPREP:
Match GEASEPREPSPELL ...wait
Match KILLHUMMING You should stop playing
Match KILLSPELLPREP You are already preparing
Match KILLSPELLPREP You have to strain
Match GEASEFULLPREP %SPELLPREPMESSAGE%
Matchwait


put release
GEASEFULLPREP:


Match KILLSPELLPREP ...wait
waitfor You feel fully prepared
Match %RETURNPOINTER RELEASE HELP

setvariable RETURNPOINTER %s%

GEASEHARNESS1:
GEASEHARNESS2:

put harness 20

Match GEASEHARNESS%c% ...wait
Match GEASEUPDATECOUNTER You tap into the mana from
Match KILLSPELLPREP You strain, but cannot harness
Matchwait
Matchwait


#end KILLSPELLPREP function
GEASEUPDATECOUNTER:
################################################################################
################################################################################


######################### SPELL PREPARATION FUNCTIONS ##########################
counter add 1


################################################################################
goto GEASEHARNESS%c%
################################################################################
ANTIMAGIC:
BARRIERSPELLS:
BARRIER:


GEASEHARNESS3:
BARRIERSPELL1:
GEASEHARNESS4:
GEASEHARNESS5:
GEASEHARNESS6:
GEASEHARNESS7:
GEASEHARNESS8:
GEASEHARNESS9:
GEASEHARNESS10:


setvariable SPELLRETURNPOINTER BARRIERSPELL2
GEASESPELLCAST:
goto GPSY


BARRIERSPELL2:
counter set 0


setvariable SPELLRETURNPOINTER BARRIERSPELL3
put cast %GLOBALSPELLTARGET%
goto GSOD
put encumb


BARRIERSPELL3:
Match GEASESPELLCAST ...wait
Match %s% You gesture
Matchwait


setvariable SPELLRETURNPOINTER NEXTFUNCTION
GEASEBURDENAT:
GEASEAT:
goto GSHEAR


################################################################################
if_2 setvariable GLOBALSPELLTARGET %2%
################################################################################
goto GEASEBURDEN
#cap is 69 mana TENEBROUS SENSE SPELL


GTENEBROUSSENSE:
#end GLOBAL EASE BURDEN function (THIS FUNCTION HAS BEEN FIXED)
GTS:
==================================================================================
==================================================================================
#begin GLOBAL DISTANT GAZE function (THIS FUNCTION HAS BEEN FIXED2)


setvariable SPELLTOPREP TENEB SENSE
GDISTANTGAZE:
setvariable SPELLBASEMANA 29
setvariable SPELLMANAHARNESS 20
setvariable SPELLMANAINCREMENTS 2
setvariable GLOBALSPELLTARGET
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


GTENEBROUSSENSEAT:
####################################################################################################
GTSAT:
#
# Prepares distant gaze at 20 and harnesses twice 20 for a total of 60. It will cast it on the
# GLOBALMOON variable which must be determined prior so both functions must be called for it to
# function properly
#
####################################################################################################


shift
GDG:
setvariable SPELLTOPREP TENEB SENSE
setvariable SPELLBASEMANA 29
setvariable SPELLMANAHARNESS 20
setvariable SPELLMANAINCREMENTS 2
setvariable GLOBALSPELLTARGET %1
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


################################################################################
setvariable RETURNPOINTER GDGPREPSPELL
################################################################################
#cap is 55 mana WHOLE DISPLACEMENT SPELL


GWHOLEDISPLACEMENT:
GDGPREPSPELL:
GWD:


setvariable SPELLTOPREP WHOLE DISPLACEMENT
counter set 1
setvariable SPELLBASEMANA 35
setvariable SPELLMANAHARNESS 20
setvariable SPELLMANAINCREMENTS 1
setvariable GLOBALSPELLTARGET
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


GWHOLEDISPLACEMENTAT:
put prep DISTANT GAZE 20
GWDAT:


shift
Match GDGPREPSPELL ...wait
setvariable SPELLTOPREP WHOLE DISPLACEMENT
Match KILLHUMMING You should stop playing
setvariable SPELLBASEMANA 35
Match KILLSPELLPREP You are already preparing
setvariable SPELLMANAHARNESS 20
Match KILLSPELLPREP You have to strain
setvariable SPELLMANAINCREMENTS 1
Match GDGFULLPREP %SPELLPREPMESSAGE%
setvariable GLOBALSPELLTARGET %1
Matchwait
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


################################################################################
GDGFULLPREP:
################################################################################
#cap is 54 mana TELEKINETIC THROW SPELL


GTKTAT:
waitfor You feel fully prepared


shift
setvariable RETURNPOINTER %s%
setvariable SPELLTOPREP TKT
setvariable SPELLBASEMANA 34
setvariable SPELLMANAHARNESS 20
setvariable SPELLMANAINCREMENTS 1
setvariable GLOBALSPELLTARGET %1
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


################################################################################
GDGHARNESS1:
################################################################################
GDGHARNESS2:
#cap is 45 mana TELEKINETIC STORM SPELL


GTKS:
put harness 20
GTSK:


setvariable SPELLTOPREP TKS
Match GDGHARNESS%c% ...wait
setvariable SPELLBASEMANA 25
Match GDGUPDATECOUNTER You tap into the mana from
setvariable SPELLMANAHARNESS 20
Match KILLSPELLPREP You strain, but cannot harness
setvariable SPELLMANAINCREMENTS 1
Matchwait
setvariable GLOBALSPELLTARGET
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


################################################################################
GDGUPDATECOUNTER:
################################################################################
#cap is 60 mana SHEAR SPELL


GSHEAR:
counter add 1


setvariable SPELLTOPREP SHEAR
goto GDGHARNESS%c%
setvariable SPELLBASEMANA 30
setvariable SPELLMANAHARNESS 30
setvariable SPELLMANAINCREMENTS 1
setvariable GLOBALSPELLTARGET
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


################################################################################
GDGHARNESS3:
################################################################################
GDGHARNESS4:
#cap is 50 mana DARKNESS SPELL
GDGHARNESS5:
GDGHARNESS6:
GDGHARNESS7:
GDGHARNESS8:
GDGHARNESS9:
GDGHARNESS10:


GDARKNESS:
GDGSPELLCAST:
GDARK:


setvariable SPELLTOPREP DARKNESS
counter set 0
setvariable SPELLBASEMANA 25
setvariable SPELLMANAHARNESS 25
setvariable SPELLMANAINCREMENTS 1
setvariable GLOBALSPELLTARGET
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


################################################################################
put cast %GLOBALMOON%
################################################################################
#cap is 52 mana SHADOW WEB SPELL


GSHADOWWEB:
Match GDGSPELLCAST ...wait
GWEB:
Match %s% You gesture
Matchwait


setvariable SPELLTOPREP SHADOW WEB
GDISTANTGAZEAT:
setvariable SPELLBASEMANA 22
GDGAT:
setvariable SPELLMANAHARNESS 30
setvariable SPELLMANAINCREMENTS 1
setvariable GLOBALSPELLTARGET
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


if_2 setvariable GLOBALMOON %2%
goto GDISTANTGAZE


################################################################################
#end GLOBAL DISTANT GAZE function (THIS FUNCTION HAS BEEN FIXED2)
################################################################################
==================================================================================
#cap is 33 mana PARTIAL DISPLACEMENT SPELL
==================================================================================
#begin GLOBAL SPHERE OF PROTECTION function (THIS FUNCTION HAS BEEN FIXED)


GPDAT:
GSPHEREOFPROTECTION:


shift
####################################################################################################
setvariable SPELLTOPREP PARTIAL DISPLAC
#
setvariable SPELLBASEMANA 15
# This is a global function which will prep the spell SPHERE OF PROTECTION at minimum mana and then
setvariable SPELLMANAHARNESS 18
# cast it repeatedly until at maximum strength. If it cannot be cast due to a "strain to
setvariable SPELLMANAINCREMENTS 1
# harness" message, the script will release the spell and return to the function listed in its %s%
setvariable GLOBALSPELLTARGET %1
# memory bank. NOTE! Make sure when calling this function you SAVE the function next on the list
setvariable SPELLADDITIONALCOMMAND
# after the GLOBAL function finishes. (ie, ASTROLOGY calls GCLEARVISION, save ASTROLOGYOBSWEATHER
goto GLOBALSPELLPREP
# as the function for which the GLOBAL function to return to after finishing.)
#
####################################################################################################


################################################################################
GSOP:
################################################################################
GLOBALSOP:
#cap is 75 mana IMBUE SPELL


GIMBUEAT:
put prep SPHERE OF PROTECTION


shift
Match GLOBALSOP ...wait
setvariable SPELLTOPREP IMBUE
Match GLOBALSOPREL You have to strain
setvariable SPELLBASEMANA 25
Match GLOBALSOPCAST Sphere of Protection spell
setvariable SPELLMANAHARNESS 25
Matchwait
setvariable SPELLMANAINCREMENTS 2
setvariable GLOBALSPELLTARGET %1
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


################################################################################
GLOBALSOPCAST:
################################################################################
#cap is 48 mana DINAZEN OLKAR SPELL


GDOAT:
pause 2


shift
put cast
setvariable SPELLTOPREP DINAZ OLKAR
setvariable SPELLBASEMANA 18
setvariable SPELLMANAHARNESS 30
setvariable SPELLMANAINCREMENTS 1
setvariable GLOBALSPELLTARGET %1
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


################################################################################
Match GLOBALSOPCAST ...wait
################################################################################
Match GLOBALSOPREL doesn't do much good.
#cap is 36 mana CRYSTAL SPIKE SPELL
Match GLOBALSOPREL You are unable to harness
goto GLOBALSOP
Matchwait


GCRSAT:
GLOBALSOPREL:


shift
put rel
setvariable SPELLTOPREP CRYSTAL SPIKE
goto %s%
setvariable SPELLBASEMANA 20
setvariable SPELLMANAHARNESS 16
setvariable SPELLMANAINCREMENTS 1
setvariable GLOBALSPELLTARGET %1
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


################################################################################
#end GLOBAL SPHERE OF PROTECTION function (THIS FUNCTION HAS BEEN FIXED)
################################################################################
==================================================================================
#cap is 50 mana CLARIFY GEM SPELL
==================================================================================
#begin PERCEPTION function (THIS FUNCTION HAS BEEN FIXED)


GCGAT:
PERCEPTION:


shift
setvariable PERCEPTIONMATERIAL SILVER ZOMBIES
setvariable SPELLTOPREP CLARIFY GEM
setvariable SPELLBASEMANA 20
setvariable SPELLMANAHARNESS 30
setvariable SPELLMANAINCREMENTS 1
setvariable GLOBALSPELLTARGET %1
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


################################################################################
PERCEPTIONSUPSPELLS:
################################################################################
#cap is 42 mana BURN SPELL


GBURNAT:
save PERCEPTIONGETTOOLS
goto GCLEARVISION


shift
PERCEPTIONGETTOOLS:
setvariable SPELLTOPREP BURN
setvariable SPELLBASEMANA 12
setvariable SPELLMANAHARNESS 30
setvariable SPELLMANAINCREMENTS 1
setvariable GLOBALSPELLTARGET %1
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


################################################################################
pause
################################################################################
#cap is 55 mana UNLEASH SPELL


GUNLEASHAT:
put get %PERCEPTIONMATERIAL%


shift
Match PERCEPTIONGETTOOLS ...wait
setvariable SPELLTOPREP UNLEASH
Match PERCEPTIONWORK You get
setvariable SPELLBASEMANA 25
Match PERCEPTIONWORK already holding that
setvariable SPELLMANAHARNESS 30
Match NEXTFUNCTION could not find what
setvariable SPELLMANAINCREMENTS 1
Matchwait
setvariable GLOBALSPELLTARGET %1
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


################################################################################
PERCEPTIONWORK:
################################################################################
#cap is 55 mana PIERCING GAZE SPELL


GPIERCINGGAZE:
pause
GPG:


setvariable SPELLTOPREP PIERCING GAZE
put %HUMTHISTUNE%
setvariable SPELLBASEMANA 15
put juggle my %PERCEPTIONMATERIAL%
setvariable SPELLMANAHARNESS 20
setvariable SPELLMANAINCREMENTS 2
setvariable GLOBALSPELLTARGET
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


GPIERCINGGAZEAT:
Match PERCEPTIONWORK ...wait
GPGAT:
Match EXPPERCEPTION Roundtime
Matchwait


shift
EXPPERCEPTION:
setvariable SPELLTOPREP PIERCING GAZE
setvariable SPELLBASEMANA 15
setvariable SPELLMANAHARNESS 20
setvariable SPELLMANAINCREMENTS 2
setvariable GLOBALSPELLTARGET %1
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


################################################################################
put exp skill perception
################################################################################
#cap is 70 mana CLEAR VISION SPELL


GCLEARVISION:
Match PERCEPTIONSTOWTOOLS dazed
GCV:
Match PERCEPTIONSTOWTOOLS mind lock
Match PERCEPTIONWORK EXP HELP for more information
Matchwait


setvariable SPELLTOPREP CLEAR VISION
PERCEPTIONSTOWTOOLS:
setvariable SPELLBASEMANA 20
setvariable SPELLMANAHARNESS 25
setvariable SPELLMANAINCREMENTS 2
setvariable GLOBALSPELLTARGET
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


GCLEARVISIONAT:
put put %PERCEPTIONMATERIAL% in my %LARGESTORAGECONTAINER%
GCVAT:


shift
put %HUMTHISTUNE%
setvariable SPELLTOPREP CLEAR VISION
waitfor finish humming
setvariable SPELLBASEMANA 20
setvariable SPELLMANAHARNESS 25
setvariable SPELLMANAINCREMENTS 2
setvariable GLOBALSPELLTARGET %1
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


################################################################################
goto NEXTFUNCTION
################################################################################
#cap is 60 mana AURA SIGHT SPELL


GAUS:
#end PERCEPTION function (THIS FUNCTION HAS BEEN FIXED)
==================================================================================
==================================================================================
#begin POWERPERCEIVE function (THIS FUNCTION HAS BEEN FIXED)


setvariable SPELLTOPREP AURA SIGHT
POWERPERCEIVE:
setvariable SPELLBASEMANA 20
setvariable SPELLMANAHARNESS 20
setvariable SPELLMANAINCREMENTS 2
setvariable GLOBALSPELLTARGET
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


GAUSAT:
POWERPERCEIVESUPSPELLS:


shift
save POWERPERCEIVEPREPSHADOWLING
setvariable SPELLTOPREP AURA SIGHT
goto GAURASIGHT
setvariable SPELLBASEMANA 20
setvariable SPELLMANAHARNESS 20
setvariable SPELLMANAINCREMENTS 2
setvariable GLOBALSPELLTARGET %1
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


################################################################################
POWERPERCEIVEPREPSHADOWLING:
################################################################################
#cap is 73 mana SHADOWLING SPELL


GSHADOWLING:
pause


put prep SHADOWLING
setvariable SPELLTOPREP SHADOWLING
setvariable SPELLBASEMANA 23
setvariable SPELLMANAHARNESS 25
setvariable SPELLMANAINCREMENTS 2
setvariable GLOBALSPELLTARGET
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


################################################################################
Match POWERPERCEIVEPREPSHADOWLING ...wait
################################################################################
Match EXPPOWERPERCEIVE you aren't sure you can get enough
#cap is 54 mana SHADOW SERVANT SPELL
Match POWERPERCEIVEPERCSHADOWLING %SPELLPREPMESSAGE%
Matchwait


GSHADOWSERVANTPYRAMIDS:
POWERPERCEIVEPERCSHADOWLING:


setvariable SPELLRETURNPOINTER GSHADOWSERVANTGETPYRAMIDS
put perc SHADOWLING


GSHADOWSERVANT:
Match POWERPERCEIVEPERCSHADOWLING ...wait
Match POWERPERCEIVEFPREPSHADOWLING could not find
Match POWERPERCEIVEFPREPSHADOWLING shadowling
Matchwait


setvariable SPELLTOPREP SHADOW SERVANT
POWERPERCEIVEFPREPSHADOWLING:
setvariable SPELLBASEMANA 44
setvariable SPELLMANAHARNESS 10
setvariable SPELLMANAINCREMENTS 1
setvariable GLOBALSPELLTARGET
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


GSHADOWSERVANTGETPYRAMIDS:
waitfor You feel fully prepared to cast


save NEXTFUNCTION
POWERPERCEIVERELSHADOWLING:


Match GSHADOWSERVANTGETPYRAMIDS ...wait
put release SHADOWLING
Match %s stares at you in confusion
Match %s To whom are you speaking
Match GSHADOWSERVANTDROPPYRAMIDS pyramid and hands it to you


put ask servant for pyramid
Match POWERPERCEIVERELSHADOWLING ...wait
Match POWERPERCEIVECASTSHADOWLING shadowling
Matchwait


POWERPERCEIVECASTSHADOWLING:

put cast

Match POWERPERCEIVECASTSHADOWLING ...wait
Match EXPPOWERPERCEIVE unable to harness
Match POWERPERCEIVEPREPSHADOWLING diminutive phantasmal form
Matchwait
Matchwait


GSHADOWSERVANTDROPPYRAMIDS:
EXPPOWERPERCEIVE:


match GSHADOWSERVANTDROPPYRAMIDS ...wait
pause
match GSHADOWSERVANTGETPYRAMIDS You drop


put perc SERVANT
put drop pyramid

put exp skill pp


Match NEXTFUNCTION mind lock
Match POWERPERCEIVECHECKMANA EXP HELP for more information
Matchwait
Matchwait


goto NEXTFUNCTION
POWERPERCEIVECHECKMANA:


################################################################################
put mana
################################################################################
#cap is 40 mana STARLIGHT SPHERE SPELL


GSLSAT:
Match POWERPERCEIVEPREPSHADOWLING >100%]
Match POWERPERCEIVEPREPSHADOWLING |_100%]
Match POWERPERCEIVEPREPSHADOWLING +
Match POWERPERCEIVEPREPSHADOWLING complete attunement
Match NEXTFUNCTION for more.
Matchwait


shift
#end POWERPERCEIVE function (THIS FUNCTION HAS BEEN FIXED)
setvariable SPELLTOPREP STARLIGHT SPHERE
==================================================================================
setvariable SPELLBASEMANA 20
==================================================================================
setvariable SPELLMANAHARNESS 20
#begin POWERPERCEIVE4 function (This function used to be part of the main POWERPERCEIVE function and would be called provided the main one ran out of mana. It has been separated so it can be accessed by itself using the POWERPERCEIVE4 LABEL.)
setvariable SPELLMANAINCREMENTS 1
setvariable GLOBALSPELLTARGET %1
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


################################################################################
POWERPERCEIVE4:
################################################################################
#cap is 45 mana STRANGE ARROW SPELL


GSAAT:
POWERPERCEIVECONCENTRATE:


shift
pause
setvariable SPELLTOPREP STRANGE ARROW
setvariable SPELLBASEMANA 20
setvariable SPELLMANAHARNESS 25
setvariable SPELLMANAINCREMENTS 1
setvariable GLOBALSPELLTARGET %1
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


################################################################################
put conc all
################################################################################
#cap is 66 mana PSYCHIC SHIELD SPELL


GPSY:
waitfor Roundtime


setvariable SPELLTOPREP PSYCH SHIELD
POWERPERCEIVEKATAMBA:
setvariable SPELLBASEMANA 26
setvariable SPELLMANAHARNESS 20
setvariable SPELLMANAINCREMENTS 2
setvariable GLOBALSPELLTARGET
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


GPSYAT:
pause


shift
put perc katamba
setvariable SPELLTOPREP PSYCH SHIELD
setvariable SPELLBASEMANA 26
setvariable SPELLMANAHARNESS 20
setvariable SPELLMANAINCREMENTS 2
setvariable GLOBALSPELLTARGET %1
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


################################################################################
waitfor Roundtime
################################################################################
#cap is 50 mana SEAL OF DEFLECTION SPELL


GSOD:
POWERPERCEIVEXIBAR:


setvariable SPELLTOPREP SEAL OF DEFLECT
pause
setvariable SPELLBASEMANA 10
setvariable SPELLMANAHARNESS 20
setvariable SPELLMANAINCREMENTS 2
setvariable GLOBALSPELLTARGET
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


################################################################################
put perc xibar
################################################################################
#cap is 62 mana SEVER THREAD SPELL


GSEVERTHREADAT:
waitfor Roundtime
GSEVERAT:


setvariable SPELLTOPREP SEVER THREAD
POWERPERCEIVEYAVASH:
setvariable SPELLBASEMANA 32
setvariable SPELLMANAHARNESS 30
setvariable SPELLMANAINCREMENTS 1
shift
setvariable GLOBALSPELLTARGET %1
setvariable SPELLADDITIONALCOMMAND PREDICT SEVER %GLOBALSPELLTARGET
goto GLOBALSPELLPREP


################################################################################
pause
################################################################################
#cap is 50 mana LOCATE SPELL


GLOCATE:
put perc yavash
GLOC:


setvariable SPELLTOPREP LOCATE
waitfor Roundtime
setvariable SPELLBASEMANA 20
setvariable SPELLMANAHARNESS 30
setvariable SPELLMANAINCREMENTS 1
setvariable GLOBALSPELLTARGET
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


GLOCATEAT:
POWERPERCEIVEMOON:
GLOCAT:


shift
pause
setvariable SPELLTOPREP LOCATE
setvariable SPELLBASEMANA 20
setvariable SPELLMANAHARNESS 30
setvariable SPELLMANAINCREMENTS 1
setvariable GLOBALSPELLTARGET %1
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


################################################################################
put perc moon
################################################################################
#cap is 65 mana MENTAL BLAST SPELL


GMENTALBLASTAT:
waitfor Roundtime
GMBAT:


shift
POWERPERCEIVEMOONMANIP:
setvariable SPELLTOPREP MENTAL BLAST
setvariable SPELLBASEMANA 35
setvariable SPELLMANAHARNESS 30
setvariable SPELLMANAINCREMENTS 1
setvariable GLOBALSPELLTARGET %1
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


################################################################################
pause 2
################################################################################
#cap is 58 mana TEZIRAH'S VEIL SPELL


GTEZIRAHSVEILAT:
put perc moonlight manip
GTVAT:


shift
waitfor Roundtime
setvariable SPELLTOPREP TEZIRA VEIL
setvariable SPELLBASEMANA 28
setvariable SPELLMANAHARNESS 30
setvariable SPELLMANAINCREMENTS 1
setvariable GLOBALSPELLTARGET %1
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


################################################################################
POWERPERCEIVETRANSDUCTION:
################################################################################
#cap is 75 mana RIPPLE SPELL (cannot cap this spell at 770PM yet) current total
#mana with no leak is 55


GRIPPLE:
pause
GRIP:


setvariable SPELLTOPREP RIPPLE
put perc transduction
setvariable SPELLBASEMANA 25
setvariable SPELLMANAHARNESS 30
setvariable SPELLMANAINCREMENTS 1
setvariable GLOBALSPELLTARGET
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


################################################################################
waitfor Roundtime
################################################################################
#cap is 60 mana DAZZLE SPELL


GDAZZLE:
POWERPERCEIVEPERCEPTIONBOOK:
GDAZ:


setvariable SPELLTOPREP DAZZLE
pause
setvariable SPELLBASEMANA 30
setvariable SPELLMANAHARNESS 30
setvariable SPELLMANAINCREMENTS 1
setvariable GLOBALSPELLTARGET
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


GDAZZLEAT:
put perc perception
GDAZAT:


shift
waitfor Roundtime
setvariable SPELLTOPREP DAZZLE
setvariable SPELLBASEMANA 30
setvariable SPELLMANAHARNESS 30
setvariable SPELLMANAINCREMENTS 1
setvariable GLOBALSPELLTARGET %1
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


################################################################################
POWERPERCEIVEPSYCHPROJ:
################################################################################
#cap is 60 mana SHADOWS SPELL


GSHADOWS:
pause
GSHAD:


setvariable SPELLTOPREP SHADOWS
put perc psych project
setvariable SPELLBASEMANA 30
setvariable SPELLMANAHARNESS 30
setvariable SPELLMANAINCREMENTS 1
setvariable GLOBALSPELLTARGET
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


GSHADOWSAT:
waitfor Roundtime
GSHADAT:


shift
POWERPERCEIVESTELLAR:
setvariable SPELLTOPREP SHADOWS
setvariable SPELLBASEMANA 30
setvariable SPELLMANAHARNESS 30
setvariable SPELLMANAINCREMENTS 1
setvariable GLOBALSPELLTARGET %1
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


################################################################################
pause
################################################################################
#cap is 56 mana SEER'S SENSE SPELL


GSEERSSENSE:
put perc stellar
GSEERS:
GSEER:


setvariable SPELLTOPREP SEER
waitfor Roundtime
setvariable SPELLBASEMANA 26
setvariable SPELLMANAHARNESS 30
setvariable SPELLMANAINCREMENTS 1
setvariable GLOBALSPELLTARGET
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


GSEERSSENSEAT:
POWERPERCEIVEPLANET:
GSEERSAT:
GSEERAT:


shift
pause
setvariable SPELLTOPREP SEER
setvariable SPELLBASEMANA 26
setvariable SPELLMANAHARNESS 30
setvariable SPELLMANAINCREMENTS 1
setvariable GLOBALSPELLTARGET %1
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


################################################################################
put perc planet
################################################################################
#cap is 120 mana FOCUS MOONBEAM SPELL


GFOCUSMOONBEAMAT:
waitfor Roundtime
GFMAT:


shift
POWERPERCEIVEWATCHERS:
setvariable SPELLTOPREP FOC MOON
setvariable SPELLBASEMANA 20
setvariable SPELLMANAHARNESS 20
setvariable SPELLMANAINCREMENTS 5
setvariable GLOBALSPELLTARGET %1
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


################################################################################
pause
################################################################################
#cap is 45 mana CONTINGENCY SPELL


GCONTINGENCYAT:
put perc watchers


shift
waitfor Roundtime
setvariable SPELLTOPREP CONTINGENCY
setvariable SPELLBASEMANA 25
setvariable SPELLMANAHARNESS 20
setvariable SPELLMANAINCREMENTS 1
setvariable GLOBALSPELLTARGET %1
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


################################################################################
POWERPERCEIVESELF:
################################################################################
#cap is 43 mana CAGE OF LIGHT SPELL


GCAGEOFLIGHT:
pause
GCOLAT:


shift
put perc self
setvariable SPELLTOPREP CAGE OF LIGHT
setvariable SPELLBASEMANA 23
setvariable SPELLMANAHARNESS 20
setvariable SPELLMANAINCREMENTS 1
setvariable GLOBALSPELLTARGET %1
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


################################################################################
waitfor Roundtime
################################################################################
#cap is 60 mana DISTANT GAZE SPELL


GDISTANTGAZEAT:
POWERPERCEIVEAREA:
GDGAT:


shift
pause
setvariable SPELLTOPREP DISTANT GAZE
setvariable SPELLBASEMANA 10
setvariable SPELLMANAHARNESS 10
setvariable SPELLMANAINCREMENTS 1
setvariable GLOBALSPELLTARGET %1
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


################################################################################
put perc area
################################################################################
#cap is 71 mana EASE BURDEN SPELL


GEASE:
waitfor Roundtime


setvariable SPELLTOPREP EASE
goto NEXTFUNCTION
setvariable SPELLBASEMANA 21
setvariable SPELLMANAHARNESS 25
setvariable SPELLMANAINCREMENTS 2
setvariable GLOBALSPELLTARGET
setvariable SPELLADDITIONALCOMMAND ENCUMB
goto GLOBALSPELLPREP


GEASEAT:
#end POWERPERCEIVE4 function
==================================================================================
==================================================================================
#begin POWERPERCEIVE3 function (THIS FUNCTION HAS BEEN FIXED)


shift
POWERPERCEIVE3:
setvariable SPELLTOPREP EASE
setvariable SPELLBASEMANA 21
setvariable SPELLMANAHARNESS 25
setvariable SPELLMANAINCREMENTS 2
setvariable GLOBALSPELLTARGET %1
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


################################################################################
put release
################################################################################
#cap is 65 mana SPHERE OF PROTECTION SPELL


GSOP:
POWERPERCEIVE3INITIALSHADOWLING:


setvariable SPELLTOPREP SPHERE OF PROTECT
setvariable RETURNPOINTER POWERPERCEIVE3INITIALSHADOWLING
setvariable SPELLBASEMANA 10
setvariable SPELLMANAHARNESS 25
setvariable SPELLMANAINCREMENTS 2
setvariable GLOBALSPELLTARGET
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


GSOPAT:
put prep SHADOWLING


shift
Match POWERPERCEIVE3INITIALSHADOWLING ...wait
setvariable SPELLTOPREP SPHERE OF PROTECT
Match NEXTFUNCTION you aren't sure you can get enough
setvariable SPELLBASEMANA 10
Match KILLHUMMING should stop playing before
setvariable SPELLMANAHARNESS 25
Match POWERPERCEIVE3INITIALSHADOWLINGCONT %SPELLPREPMESSAGE%
setvariable SPELLMANAINCREMENTS 2
Matchwait
setvariable GLOBALSPELLTARGET %1
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


################################################################################
POWERPERCEIVE3INITIALSHADOWLINGCONT:
################################################################################
#cap is 66 mana ETHEREAL SHIELD SPELL


GES:
pause 10


setvariable SPELLTOPREP ETHEREAL SHIELD
put cast
setvariable SPELLBASEMANA 26
setvariable SPELLMANAHARNESS 20
setvariable SPELLMANAINCREMENTS 2
setvariable GLOBALSPELLTARGET
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


GESAT:
POWERPERCEIVE3PREPSHADOWLING:


shift
put prep SHADOWLING
setvariable SPELLTOPREP ETHEREAL SHIELD
setvariable SPELLBASEMANA 26
setvariable SPELLMANAHARNESS 20
setvariable SPELLMANAINCREMENTS 2
setvariable GLOBALSPELLTARGET %1
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


################################################################################
Match POWERPERCEIVE3PREPSHADOWLING ...wait
################################################################################
Match NEXTFUNCTION you aren't sure you can get enough
#begin GLOBAL SPELLCASTING FUNCTION
Match POWERPERCEIVE3HIDE %SPELLPREPMESSAGE%
Matchwait


GLOBALSPELLPREP:
POWERPERCEIVE3HIDE:


setvariable RETURNPOINTER GSPELLPREP
pause
counter set %SPELLMANAINCREMENTS


put hide
GSPELLPREP:


Match POWERPERCEIVE3HIDE ...wait
Match GSPELLPREP ...wait
Match POWERPERCEIVE3STALK Roundtime:
Match KILLHUMMING You should stop playing
Match KILLSPELLPREP You are already preparing
Matchwait
Match KILLSPELLPREP You have to strain

Match GSPELLPREPFULLPREP %SPELLPREPMESSAGE
POWERPERCEIVE3STALK:


put stalk SHADOWLING
put prep %SPELLTOPREP %SPELLBASEMANA


Match POWERPERCEIVE3STALK ...wait
Match POWERPERCEIVE3HIDE ruining your hiding place
Match POWERPERCEIVE3PERCEIVE move into position to stalk
Matchwait
Matchwait


GSPELLPREPFULLPREP:
POWERPERCEIVE3PERCEIVE:


waitfor You feel fully prepared
put perceive SHADOWLING
goto GSPELLPREPMANACHECK


GSPELLPREPMANACHECK:
Match POWERPERCEIVE3PERCEIVE ...wait
Match EXPPOWERPERCEIVE3 Roundtime:
Matchwait


Match %SPELLRETURNPOINTER S>>>>>>>|_
EXPPOWERPERCEIVE3:
Match %SPELLRETURNPOINTER S>>>>>>|_

Match %SPELLRETURNPOINTER S>>>>>|_
put exp skill pp
Match %SPELLRETURNPOINTER S>>>>|_

Match NEXTFUNCTION mind lock
Match %SPELLRETURNPOINTER S>>>|_
Match %SPELLRETURNPOINTER S>>|_
Match POWERPERCEIVE3CHECKMANA EXP HELP for more information
Match %SPELLRETURNPOINTER S>|_
Matchwait
Match %SPELLRETURNPOINTER S|_

Match GSPELLPREPHARNESS%c MANA HELP
POWERPERCEIVE3CHECKMANA:

pause 2


put mana
put mana


Match POWERPERCEIVE3CASTSHADOWLING >100%]
Match POWERPERCEIVE3CASTSHADOWLING >|100%]
Match POWERPERCEIVE3CASTSHADOWLING >|_100%]
Match POWERPERCEIVE3CASTSHADOWLING >|__100%]
Match POWERPERCEIVE3CASTSHADOWLING >|___100%]
Match POWERPERCEIVE3CASTSHADOWLING >|____100%]
Match POWERPERCEIVE3CASTSHADOWLING >|_____100%]
Match POWERPERCEIVE3CHECKMANA MANA HELP for more.
Matchwait
Matchwait


GSPELLPREPHARNESS10:
POWERPERCEIVE3CASTSHADOWLING:
GSPELLPREPHARNESS9:
GSPELLPREPHARNESS8:
GSPELLPREPHARNESS7:
GSPELLPREPHARNESS6:
GSPELLPREPHARNESS5:
GSPELLPREPHARNESS4:
GSPELLPREPHARNESS3:
GSPELLPREPHARNESS2:
GSPELLPREPHARNESS1:


put cast
put harness %SPELLMANAHARNESS


Match POWERPERCEIVE3PREPSHADOWLING form of a shadowling
Match GSPELLPREPHARNESS%c ...wait
Match NEXTFUNCTION unable to harness sufficient
Match GSPELLPREPUPDATECOUNTER You tap into the mana from
Match KILLSPELLPREP You strain, but cannot harness
Matchwait
Matchwait


GSPELLPREPUPDATECOUNTER:
#end POWERPERCEIVE3 function (THIS FUNCTION HAS BEEN FIXED)
==================================================================================
==================================================================================
#begin AMBUSHING function (THIS FUNCTION HAS BEEN FIXED)


counter subtract 1
AMBUSHING:


goto GSPELLPREPMANACHECK
AMBUSHRETREAT:


GSPELLPREPHARNESS0:
put retreat


GSPELLPREPSPELLCAST:
Match AMBUSHRETREAT ...wait
Match AMBUSHHIDE You retreat
Match AMBUSHHIDE far away as you can get!
Matchwait


Match GSPELLPREPSPELLCAST ...wait
AMBUSHHIDE:
Match GSPELLPREPFINISH You gesture


put hide
put cast %GLOBALSPELLTARGET


Match AMBUSHHIDE ...wait
Match AMBUSHRETREAT ruining your hiding attempt!
Match AMBUSHRETREAT escape its notice!
Match AMBUSHADVANCE unobserved
Match AMBUSHADVANCE you're already hidden!
Matchwait
Matchwait


GSPELLPREPFINISH:
AMBUSHADVANCE:


put advance
put %SPELLADDITIONALCOMMAND
goto %SPELLRETURNPOINTER


#end GLOBAL SPELLPREP FUNCTION
Match AMBUSHADVANCEPAUSE ...wait
################################################################################
Match AMBUSHSTALK stealthily advance
################################################################################
Match AMBUSHRETREAT begin to advance
Match AMBUSHRETREAT already at melee
Match AMBUSHFACENEXT advance towards?
Matchwait


#############################INFORMATIONAL SCRIPTS##############################
AMBUSHADVANCEPAUSE:


################################################################################
pause
################################################################################


TIMERS:
goto AMBUSHADVANCE


echo ###########################################################################
AMBUSHFACENEXT:
echo
echo This is a list of confirmed timers:
echo HUNT - 75s
echo STUDY SKY - 20s
echo STUDY CELESTIAL BODY - 120s
echo OBSERVE CELESTIAL BODY - 120s-240s
echo PREDICT ANALYZE - 90s
echo HIDE (in front of the same critters) - 45s
echo FLEE 2-5 mins
echo
echo ###########################################################################
exit


################################################################################
put face next
################################################################################


#################################TRAVEL SCRIPTS#################################
Match AMBUSHFACENEXT ...wait
Match NEXTFUNCTION nothing else to face
Match AMBUSHADVANCE You turn to face
Matchwait


################################################################################
AMBUSHSTALK:
################################################################################


TRAVEL:
put stalk


setvariable STARTINGLOCATION none
Match AMBUSHSTALK ...wait
counter set 0
Match AMBUSHHIDE hidden first!
Match AMBUSHAMBUSH move into position to stalk
Match AMBUSHAMBUSH already stalking
Match NEXTFUNCTION nothing else to face!
Matchwait


Match CROSSINGLOCATION [Strand Communal Center, Common Room]
AMBUSHAMBUSH:
Match CROSSINGLOCATIONADJUST [Communal Center, Veranda]
Match AESRYLOCATION [Tona Kertigen, Bank Vault]
Match AESRYLOCATIONADJUST [Aesry Surlaenis'a, Staho Pivo'hrr'schu'Mus]
Match SHARDLOCATION [Lady Atladene's Salon, Entryway]
Match SHARDLOCATIONADJUST [First Bank of Ilithi, Exchange Vault]
Match MERKRESHLOCATION [Alydendael, Front Gardens]
Match MERKRESHLOCATIONADJUST [Wharf End, Mer'Kresh]
Match RIVERHAVENLOCATION [Armiger's Mansion, Foyer]
Match RIVERHAVENLOCATIONADJUST [Riverhaven, Tree-shaded Lane]
Match RATHALOCATION [Sshoi-sson Palace, Provincial Bank Foyer]
Match RATHALOCATIONADJUST [Sshoi-sson Palace, Portico]
Match ELBAINSLOCATION [Beech Glade, Trail]
Match ELBAINSLOCATIONADJUST [Outside the Circle, The Ironwoods]
Match MUSPARILOCATION [Velakan Trade Road]
Match MUSPARILOCATIONADJUST [Old Lata'arna Keep, Exchange Vault]
Match HIBLOCATION [The Stony Hub, Entryway]
Match HIBLOCATIONADJUST [Inner Hibarnhvidar, Tower Base]


put look
waitfor melee


Matchwait
put ambush


CROSSINGLOCATION:
Match AMBUSHAMBUSH ...wait
Match AMBUSHGETWEAPON more effective when you use a weapon
Match AMBUSHADVANCE if you were closer
Match AMBUSHPARRY Roundtime
Match AMBUSHRETREAT ambush from plain sight
Match NEXTFUNCTION Ambush what?
Matchwait


setvariable STARTINGLOCATION CROSSING
AMBUSHPARRY:
counter set 1
goto SELECTLOCATION


CROSSINGLOCATIONADJUST:
put parry


Match AMBUSHPARRYPAUSE ...wait
move go door
goto TRAVEL
Match AMBUSHEXPHIDING move into a position
Match AMBUSHRETREAT already in a position
Matchwait


AESRYLOCATION:
AMBUSHPARRYPAUSE:


setvariable STARTINGLOCATION AESRY
pause
counter set 2
goto SELECTLOCATION


AESRYLOCATIONADJUST:
goto AMBUSHPARRY


EXPHIDING:
move n
move e
move go gate
move go door
move n
move w
move go vault
goto TRAVEL


SHARDLOCATION:
put exp skill hiding


setvariable STARTINGLOCATION SHARD
Match NEXTFUNCTION mind lock
counter set 3
Match EXPSTALKING EXP HELP for more information
Matchwait
goto SELECTLOCATION


SHARDLOCATIONADJUST:
EXPSTALKING:


pause
move out
move w
move out
move e
move go brid
move e
move e
move e
move n
move ne
move e
move n
move go home
goto TRAVEL


MERKRESHLOCATION:
put exp skill stalking


setvariable STARTINGLOCATION MER'KRESH
Match NEXTFUNCTION mind lock
counter set 4
Match AMBUSHRETREAT EXP HELP for more information
Matchwait
goto SELECTLOCATION


MERKRESHLOCATIONADJUST:
#end AMBUSHING function (THIS FUNCTION HAS BEEN FIXED)
==================================================================================
==================================================================================
#begin FORAGING function (THIS FUNCTION HAS BEEN FIXED)


move nw
FORAGING:
move nw
move ne
move ne
move n
move n
move n
move n
move go gate
goto TRAVEL


RIVERHAVENLOCATION:
FORAGINGSUPSPELLS:


setvariable STARTINGLOCATION RIVERHAVEN
save FORAGINGSTART
goto GCLEARVISION
counter set 5
goto SELECTLOCATION


RIVERHAVENLOCATIONADJUST:
FORAGINGSTART:


counter add 1
move go gate
move se
move climb stair
move go door
goto TRAVEL


RATHALOCATION:
Match FORAGINGSTART ...wait
Match FORAGINGSTORE %FORAGEFORITEM%
Match FORAGINGSTART Roundtime


setvariable STARTINGLOCATION RATHA
put forage %FORAGEFORITEM%
counter set 6
goto SELECTLOCATION


RATHALOCATIONADJUST:
Matchwait


move go door
FORAGINGSTORE:
move e
goto TRAVEL


ELBAINSLOCATION:
if_2 Match FORAGINGSTORE ...wait
if_2 Match EXPFORAGING%c% You put your
if_2 Match EXPFORAGING%c% You drop


setvariable STARTINGLOCATION ELBAIN'S
if_2 put put %FORAGEFORITEM% in %2%
counter set 7
goto SELECTLOCATION


ELBAINSLOCATIONADJUST:
if_2 Matchwait


Match FORAGINGSTORE ...wait
move go tree
move s
Match EXPFORAGING%c% You put your
move s
Match EXPFORAGING%c% You drop
goto TRAVEL


MUSPARILOCATION:
put put %FORAGEFORITEM% in my %LARGESTORAGECONTAINER%


setvariable STARTINGLOCATION MUSPAR'I
Matchwait
counter set 8
goto SELECTLOCATION


MUSPARILOCATIONADJUST:
EXPFORAGING1:
EXPFORAGING2:
EXPFORAGING3:
EXPFORAGING4:


goto FORAGINGSTART
move w
move n
move climb stair
move s
move climb stair
move se
move sw
move climb stair
move go gate
move se
move se
move se
move se
move go gate
move w
goto TRAVEL


EXPFORAGING5:
HIBLOCATION:


setvariable STARTINGLOCATION HIBARNHVIDAR
counter set 0
counter set 9
goto SELECTLOCATION


HIBLOCATIONADJUST:
put %HUMTHISTUNE%


Match FORAGINGEND mind lock
move climb stair
move nw
Match FORAGINGSTART EXP HELP for more information
move ne
move ne
move se
move climb stair
move se
move s
move go recess
move sw
move nw
move nw
move n
move ne
move ne
move go door
move climb stair
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move e
move go entryway
goto TRAVEL


SELECTLOCATION:
put exp skill foraging


Matchwait
pause
ECHO ######################################################################
ECHO ################You are currently in %STARTINGLOCATION###############
ECHO ######################################################################


ECHO ############################################################
FORAGINGEND:
ECHO Please select your destination from the following:
ECHO 1.CROSSING
ECHO 2.AESRY
ECHO 3.SHARD
ECHO 4.MERKRESH
ECHO 5.RIVERHAVEN
ECHO 6.RATHA
ECHO 7.ELBAINS
ECHO 8.MUSPARI
ECHO 9.HIBARN
ECHO Type out the location without the number in CAPS! (ie HIBARN)
ECHO #############################################################


if_2 shift
Match %cCROSSING CROSSING
Match %cAESRY AESRY
Match %cSHARD SHARD
Match %cMERKRESH MERKRESH
Match %cRIVERHAVEN RIVERHAVEN
Match %cRATHA RATHA
Match %cELBAINS ELBAINS
Match %cMUSPARI MUSPARI
Match %cHIBARN HIBARN


goto NEXTFUNCTION
Matchwait


1CROSSING:
#end FORAGING function (THIS FUNCTION HAS BEEN FIXED)
==================================================================================
==================================================================================
#begin FIRSTAID function (THIS FUNCTION HAS BEEN FIXED)


ECHO #####################
FIRSTAID:
ECHO #Already in CROSSING#
ECHO #####################
exit


1AESRY:
FIRSTAIDGETTHIRDCOMPENDIUM:


put %HUMTHISTUNE%
move go portal
exit
put get OTHER compendium
put look my compendium


1SHARD:
Match DWARVENCOMPENDIUM Dwarven
Match ELOTHEANCOMPENDIUM Elothean
Match GIDIICOMPENDIUM Gidii
Matchwait


move go portal
DWARVENCOMPENDIUM:


counter set 0
move n
goto FIRSTAIDADVANCECOUNTER
move e
move go gate
move go door
move n
move w
move go vault
move go portal
exit


1MERKRESH:
ELOTHEANCOMPENDIUM:


counter set 8
move go portal
goto FIRSTAIDADVANCECOUNTER


move n
GIDIICOMPENDIUM:
move e
move go gate
move go door
move n
move w
move go vault
move go portal


counter set 13
move out
goto FIRSTAIDADVANCECOUNTER
move w
move out
move e
move go brid
move e
move e
move e
move n
move ne
move e
move n
move go home
move go port
exit


1RIVERHAVEN:
FIRSTAIDCOMPENDIUM:
FIRSTAIDCOMPENDIUMPART1:
setvariable PAGE DWARVEN
goto FIRSTAIDTURNCOMPENDIUM
FIRSTAIDCOMPENDIUMPART2:
setvariable PAGE HALFLING
goto FIRSTAIDTURNCOMPENDIUM
FIRSTAIDCOMPENDIUMPART3:
setvariable PAGE HUMAN
goto FIRSTAIDTURNCOMPENDIUM
FIRSTAIDCOMPENDIUMPART4:
setvariable PAGE PRYDAEN
goto FIRSTAIDTURNCOMPENDIUM
FIRSTAIDCOMPENDIUMPART5:
setvariable PAGE TROLL
goto FIRSTAIDTURNCOMPENDIUM
FIRSTAIDCOMPENDIUMPART6:
setvariable PAGE LEUCRO
goto FIRSTAIDTURNCOMPENDIUM
FIRSTAIDCOMPENDIUMPART7:
setvariable PAGE GOBLIN
goto FIRSTAIDTURNCOMPENDIUM
FIRSTAIDCOMPENDIUMPART8:
goto FIRSTAIDSTOREEQUIP
FIRSTAIDCOMPENDIUMPART9:
setvariable PAGE ELOTHEAN
goto FIRSTAIDTURNCOMPENDIUM
FIRSTAIDCOMPENDIUMPART10:
setvariable PAGE ELVEN
goto FIRSTAIDTURNCOMPENDIUM
FIRSTAIDCOMPENDIUMPART11:
setvariable PAGE GNOME
goto FIRSTAIDTURNCOMPENDIUM
FIRSTAIDCOMPENDIUMPART12:
setvariable PAGE RAKASH
goto FIRSTAIDTURNCOMPENDIUM
FIRSTAIDCOMPENDIUMPART13:
goto FIRSTAIDSTOREEQUIP
FIRSTAIDCOMPENDIUMPART14:
setvariable PAGE KALDAR
goto FIRSTAIDTURNCOMPENDIUM
FIRSTAIDCOMPENDIUMPART15:
setvariable PAGE S'KRA
goto FIRSTAIDTURNCOMPENDIUM
FIRSTAIDCOMPENDIUMPART16:
setvariable PAGE PECCARY
goto FIRSTAIDTURNCOMPENDIUM
FIRSTAIDCOMPENDIUMPART17:
setvariable PAGE CAIMAN
goto FIRSTAIDTURNCOMPENDIUM
FIRSTAIDCOMPENDIUMPART18:
setvariable PAGE GIDII
goto FIRSTAIDTURNCOMPENDIUM
FIRSTAIDCOMPENDIUMPART19:
goto FIRSTAIDSTOREEQUIP


move go portal
FIRSTAIDADVANCECOUNTER:


counter add 1
move n
move e
goto FIRSTAIDCOMPENDIUMPART%c%
move go gate
move go door
move n
move w
move go vault
move go portal


move out
FIRSTAIDTURNCOMPENDIUM:
move w
move out
move e
move go brid
move e
move e
move e
move n
move ne
move e
move n
move go home
move go port


move nw
put turn compendium to %PAGE%
move nw
move ne
move ne
move n
move n
move n
move n
move go gate
move go portal
exit


1RATHA:
Match FIRSTAIDTURNCOMPENDIUM ...wait
Match FIRSTAIDSTUDYCOMPENDIUM You turn to the section
Matchwait


move go portal
FIRSTAIDSTUDYCOMPENDIUM:
put study compendium


move n
Match FIRSTAIDSTUDYCOMPENDIUM ...wait
move e
Match FIRSTAIDADVANCECOUNTER suddenly makes sense
move go gate
Match FIRSTAIDSTUDYCOMPENDIUM knowledge contained within
move go door
Match FIRSTAIDSTOREEQUIPFINISHED study this chart again?
Matchwait
move n
move w
move go vault
move go portal


move out
FIRSTAIDSTOREEQUIP:
move w
move out
move e
move go brid
move e
move e
move e
move n
move ne
move e
move n
move go home
move go port


move nw
put put my compendium in my %LARGESTORAGECONTAINER%
move nw
goto FIRSTAIDGETTHIRDCOMPENDIUM
move ne
move ne
move n
move n
move n
move n
move go gate
move go portal


move go gate
FIRSTAIDSTOREEQUIPFINISHED:
move se
move climb stair
move go door
move go portal
exit


1ELBAINS:
put put my compendium in my %LARGESTORAGECONTAINER%
goto NEXTFUNCTION


move go portal
#end FIRSTAID function (THIS FUNCTION HAS BEEN FIXED)
==================================================================================
==================================================================================
#begin FIRSTAID2 function (THIS FUNCTION HAS BEEN FIXED)


move n
FIRSTAID2:
move e
move go gate
move go door
move n
move w
move go vault
move go portal


move out
FIRSTAID2LOCATIONCHECK:
move w
move out
move e
move go brid
move e
move e
move e
move n
move ne
move e
move n
move go home
move go port


put look
move nw
move nw
move ne
move ne
move n
move n
move n
move n
move go gate
move go portal


move go gate
Match FIRSTAID2RELOCATE In The Water
move se
Match FIRSTAID2LOCCHEKCFAILED Obvious
Matchwait
move climb stair
move go door
move go portal


move go door
FIRSTAID2RELOCATE:
move e
move go portal
exit


1MUSPARI:
counter set 1


goto FIRSTAID2MOVE%c%
move go portal


move n
FIRSTAID2MOVE1:
move e
move go gate
move go door
move n
move w
move go vault
move go portal


move N
move out
counter add 1
move w
goto FIRSTAID2WORMCHECK
move out
move e
move go brid
move e
move e
move e
move n
move ne
move e
move n
move go home
move go port


FIRSTAID2MOVE2:
move nw
move nw
move ne
move ne
move n
move n
move n
move n
move go gate
move go portal


move NE
move go gate
counter add 1
move se
goto FIRSTAID2WORMCHECK
move climb stair
move go door
move go portal


FIRSTAID2MOVE3:
move go door
move e
move go portal


move E
move go tree
counter add 1
move s
goto FIRSTAID2WORMCHECK
move s
move go portal
exit


FIRSTAID2MOVE4:
1HIBARN:


move SE
move go portal
counter add 1
goto FIRSTAID2WORMCHECK


FIRSTAID2MOVE5:
move n
move e
move go gate
move go door
move n
move w
move go vault
move go portal


move S
move out
counter add 1
move w
goto FIRSTAID2WORMCHECK
move out
move e
move go brid
move e
move e
move e
move n
move ne
move e
move n
move go home
move go port


move nw
FIRSTAID2MOVE6:
move nw
move ne
move ne
move n
move n
move n
move n
move go gate
move go portal


move SW
move go gate
counter add 1
move se
goto FIRSTAID2WORMCHECK
move climb stair
move go door
move go portal


move go door
FIRSTAID2MOVE7:
move e
move go portal


move W
move go tree
counter set 1
move s
goto FIRSTAID2WORMCHECK
move s
move go portal


move w
FIRSTAID2WORMCHECK:
move n
move climb stair
move s
move climb stair
move se
move sw
move climb stair
move go gate
move se
move se
move se
move se
move go gate
move w
move go portal
exit


2CROSSING:
put look DAMIAN


move go portal
Match FIRSTAID2MOVE%c% You are in good shape
Match FIRSTAID2REMOVEWORMRL on your right leg
Match FIRSTAID2REMOVEWORMLL on your left leg
Match FIRSTAID2WORMFIND You are wearing
Matchwait


move out
FIRSTAID2WORMFIND:
move w
move out
move e
move go brid
move e
move e
move e
move n
move ne
move e
move n
move go home
move go port


pause 5
move nw
put look DAMIAN
move nw
move ne
move ne
Match FIRSTAID2REMOVEWORMRL on your right leg
move n
Match FIRSTAID2REMOVEWORMLL on your left leg
move n
Match FIRSTAID2WORMFIND You are wearing
Matchwait
move n
move n
move go gate
move go portal


move go gate
FIRSTAID2REMOVEWORMRL:
move se
move climb stair
move go door
move go portal


put tend my right leg
move go door
waitfor seconds.
move e
goto FIRSTAID2EXPCHECK
move go portal


move go tree
FIRSTAID2REMOVEWORMLL:
move s
move s
move go portal


put tend my left leg
move w
waitfor seconds.
move n
goto FIRSTAID2EXPCHECK
move climb stair
move s
move climb stair
move se
move sw
move climb stair
move go gate
move se
move se
move se
move se
move go gate
move w
move go portal


move climb stair
FIRSTAID2EXPCHECK:
move nw
move ne
move ne
move se
move climb stair
move se
move s
move go recess
move sw
move nw
move nw
move n
move ne
move ne
move go door
move climb stair
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move e
move go entryway
move go portal
exit


2AESRY:
put exp skill fa


ECHO #####################
Match FIRSTAID2DONE mind lock
Match FIRSTAID2WORMCHECK EXP HELP
ECHO ###Already in AESRY##
ECHO #####################
Matchwait
exit


2SHARD:
FIRSTAID2LOCCHECKFAILED:


echo
move go portal
exit
echo ************************************************************************
echo You must be located in the Crocodile Marsh for this script to start. It
echo is located just south and east of the north bank of the ferry to River-
echo haven. Go to the marsh, past the reeds, and start this script again.
echo You must be in [The Marsh, In The Water].
echo ************************************************************************
echo


FIRSTAID2DONE:
2MERKRESH:


goto NEXTFUNCTION
move go portal


move out
#end FIRSTAID2 function (THIS FUNCTION HAS BEEN FIXED)
move w
==================================================================================
move out
==================================================================================
move e
#begin MAKEROPE function (THIS FUNCTION HAS BEEN FIXED)
move go brid
move e
move e
move e
move n
move ne
move e
move n
move go home
move go port
exit


2RIVERHAVEN:
MAKEROPE:


move go portal
counter set %2%


MAKEROPE1:
move out
MAKEROPE2:
move w
MAKEROPE3:
move out
MAKEROPE4:
move e
move go brid
MAKEROPE5:
move e
move e
move e
move n
move ne
move e
move n
move go home
move go port


MAKEROPEFORAGEGRASS:
move nw
move nw
move ne
move ne
move n
move n
move n
move n
move go gate
move go portal
exit


2RATHA:
put forage grass


move go portal
Match MAKEROPEFORAGEGRASS ...wait
Match MAKEROPEBRAIDGRASS find some grass
Match MAKEROPEFORAGEGRASS Roundtime
Matchwait


MAKEROPEBRAIDGRASS:
move out
move w
move out
move e
move go brid
move e
move e
move e
move n
move ne
move e
move n
move go home
move go port


put braid my grass
move nw
move nw
move ne
move ne
move n
move n
move n
move n
move go gate
move go portal


move go gate
Match MAKEROPEBRAIDGRASS ...wait
move se
Match MAKEROPEPULLGRASS bundling rope
move climb stair
Match MAKEROPEBRAIDGRASS Roundtime
Matchwait
move go door
move go portal
exit


2ELBAINS:
MAKEROPEPULLGRASS:


put pull my grass
move go portal


move out
Match MAKEROPEPULLGRASS ...wait
move w
Match MAKEROPEPULLGRASS Roundtime
move out
Match MAKEROPESTOREROPE new bundling rope
Matchwait
move e
move go brid
move e
move e
move e
move n
move ne
move e
move n
move go home
move go port


MAKEROPESTOREROPE:
move nw
move nw
move ne
move ne
move n
move n
move n
move n
move go gate
move go portal


move go gate
put put my rope in my %LARGESTORAGECONTAINER%
move se
move climb stair
move go door
move go portal


counter subtract 1
move go door
move e
move go portal
exit


2MUSPARI:
goto MAKEROPE%c%


move go portal
MAKEROPE0:


goto NEXTFUNCTION
move out
move w
move out
move e
move go brid
move e
move e
move e
move n
move ne
move e
move n
move go home
move go port


move nw
#end MAKEROPE function (THIS FUNCTION HAS BEEN FIXED)
move nw
==================================================================================
move ne
==================================================================================
move ne
#begin ASTROLOGY function (THIS FUNCTION HAS BEEN FIXED)
move n
move n
move n
move n
move go gate
move go portal


move go gate
ASTROLOGY:
move se
move climb stair
move go door
move go portal


move go door
counter set 1
move e
save ASTROLOGYSUPSPELLS2
move go portal


move go tree
ASTROLOGYINDOORCHECK:
move s
move s
move go portal
exit


pause
2HIBARN:


put obs weather
move go portal


move out
Match ASTROLOGYKILLRT ...wait
move w
Match ASTROLOGYFUNCTIONEND you can see the sky
move out
Match ASTROLOGYSUPSPELLS You glance outside.
move e
Match ASTROLOGYSUPSPELLS You glance up at the sky
Matchwait
move go brid
move e
move e
move e
move n
move ne
move e
move n
move go home
move go port


move nw
ASTROLOGYSUPSPELLS:
move nw
move ne
move ne
move n
move n
move n
move n
move go gate
move go portal


goto GPIERCINGGAZE
move go gate
move se
move climb stair
move go door
move go portal


move go door
ASTROLOGYSUPSPELLS2:
move e
move go portal


save ASTROLOGYSTUDYKATAMBA
move go tree
goto GAURASIGHT
move s
move s
move go portal


move w
ASTROLOGYRESETCTR:
move n
move climb stair
move s
move climb stair
move se
move sw
move climb stair
move go gate
move se
move se
move se
move se
move go gate
move w
move go portal
exit


3CROSSING:
counter set 1


move go portal
ASTROLOGYSTUDYSKY:


pause
move nw
move nw
move ne
move ne
move n
move n
move n
move n
move go gate
move go portal


put %HUMTHISTUNE%
move go gate
put study SKY
move se
move climb stair
move go door
move go portal


Match ASTROLOGYSTUDYSKY ...wait
move go door
move e
Match ASTROLOGYBRIEFPAUSE You feel it is too soon
move go portal
Match ASTROLOGY%c% You feel a lingering sense
Match ASTROLOGYPREDICTEVENT unable to sense additional information
Match ASTROLOGYPREDICTEVENT Seconds.
Matchwait


ASTROLOGYBRIEFPAUSE:
move go tree
move s
move s
move go portal


pause 5
move w
move n
goto ASTROLOGYSTUDYSKY
move climb stair
move s
move climb stair
move se
move sw
move climb stair
move go gate
move se
move se
move se
move se
move go gate
move w
move go portal


ASTROLOGY1:
move climb stair
ASTROLOGY2:
move nw
ASTROLOGY3:
move ne
ASTROLOGY4:
move ne
ASTROLOGY5:
move se
ASTROLOGYADJUSTCTR:
move climb stair
move se
move s
move go recess
move sw
move nw
move nw
move n
move ne
move ne
move go door
move climb stair
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move e
move go entryway
move go portal
exit


3AESRY:
counter add 1
pause 11
goto ASTROLOGYSTUDYSKY


ASTROLOGY6:
move go portal
ASTROLOGY7:
ASTROLOGY8:
goto %s%


ASTROLOGYPREDICTEVENT:
move nw
move nw
move ne
move ne
move n
move n
move n
move n
move go gate
move go portal


pause
move go gate
move se
move climb stair
move go door
move go portal


put predict EVENT
move go door
move e
move go portal


move go tree
Match ASTROLOGYPREDICTEVENT ...wait
move s
Match ASTROLOGYADJUSTCTR You focus inwardly searching for insight
Matchwait
move s
move go portal


move w
ASTROLOGYSTUDYKATAMBA:
move n
move climb stair
move s
move climb stair
move se
move sw
move climb stair
move go gate
move se
move se
move se
move se
move go gate
move w
move go portal


save ASTROLOGYSTUDYKATAMBA
move climb stair
move nw
move ne
move ne
move se
move climb stair
move se
move s
move go recess
move sw
move nw
move nw
move n
move ne
move ne
move go door
move climb stair
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move e
move go entryway
move go portal


pause
move go door
move go portal
exit


3SHARD:
put study KATAMBA


ECHO #####################
Match ASTROLOGYKILLRT ...wait
ECHO ###Already in SHARD##
Match ASTROLOGYEXPLORE You manage to memorize
ECHO #####################
Match ASTROLOGYEXPLORE focus on grasping it better.
exit
Match ASTROLOGYEXPLORE still swimming
Match ASTROLOGYCASTPIERCINGGAZE clouds hinder
Match ASTROLOGYSTUDYXIBAR You are unable to comprehend
Match ASTROLOGYSTUDYXIBAR fail to find
Matchwait


3MERKRESH:
ASTROLOGYSTUDYXIBAR:


save ASTROLOGYSTUDYXIBAR
move go portal
exit


3RIVERHAVEN:
pause


put study XIBAR
move go portal


move nw
Match ASTROLOGYKILLRT ...wait
move nw
Match ASTROLOGYEXPLORE You manage to memorize
move ne
Match ASTROLOGYEXPLORE focus on grasping it better.
move ne
Match ASTROLOGYEXPLORE still swimming
move n
Match ASTROLOGYCASTPIERCINGGAZE clouds hinder
move n
Match ASTROLOGYSTUDYYAVASH You are unable to comprehend
move n
Match ASTROLOGYSTUDYYAVASH fail to find
Matchwait
move n
move go gate
move go portal
exit


3RATHA:
ASTROLOGYSTUDYYAVASH:


save ASTROLOGYSTUDYYAVASH
move go portal


pause
move nw
move nw
move ne
move ne
move n
move n
move n
move n
move go gate
move go portal


put study YAVASH
move go gate
move se
move climb stair
move go door
move go portal
exit


3ELBAINS:
Match ASTROLOGYKILLRT ...wait
Match ASTROLOGYEXPLORE You manage to memorize
Match ASTROLOGYEXPLORE focus on grasping it better.
Match ASTROLOGYEXPLORE still swimming
Match ASTROLOGYCASTPIERCINGGAZE clouds hinder
Match ASTROLOGYSTUDYSUN You are unable to comprehend
Match ASTROLOGYSTUDYSUN fail to find
Matchwait


move go portal
ASTROLOGYSTUDYSUN:


save ASTROLOGYSTUDYSUN
move nw
move nw
move ne
move ne
move n
move n
move n
move n
move go gate
move go portal


pause
move go gate
move se
move climb stair
move go door
move go portal


put study SUN
move go door
move e
move go portal
exit


3MUSPARI:
Match ASTROLOGYKILLRT ...wait
Match ASTROLOGYEXPLORE You manage to memorize
Match ASTROLOGYEXPLORE focus on grasping it better.
Match ASTROLOGYEXPLORE still swimming
Match ASTROLOGYCASTPIERCINGGAZE clouds hinder
Match ASTROLOGYSTUDYWOLF You are unable to comprehend
Match ASTROLOGYSTUDYWOLF fail to find
Matchwait


move go portal
ASTROLOGYSTUDYWOLF:


save ASTROLOGYSTUDYWOLF
move nw
move nw
move ne
move ne
move n
move n
move n
move n
move go gate
move go portal


pause
move go gate
move se
move climb stair
move go door
move go portal


put study WOLF
move go door
move e
move go portal


Match ASTROLOGYKILLRT ...wait
move go tree
move s
Match ASTROLOGYEXPLORE You manage to memorize
move s
Match ASTROLOGYEXPLORE focus on grasping it better.
move go portal
Match ASTROLOGYEXPLORE still swimming
exit
Match ASTROLOGYCASTPIERCINGGAZE clouds hinder
Match ASTROLOGYSTUDYRAVEN You are unable to comprehend
Match ASTROLOGYSTUDYRAVEN fail to find
Matchwait


3HIBARN:
ASTROLOGYSTUDYRAVEN:


save ASTROLOGYSTUDYRAVEN
move go portal


pause
move nw
move nw
move ne
move ne
move n
move n
move n
move n
move go gate
move go portal


put study RAVEN
move go gate
move se
move climb stair
move go door
move go portal


Match ASTROLOGYKILLRT ...wait
move go door
move e
Match ASTROLOGYEXPLORE You manage to memorize
move go portal
Match ASTROLOGYEXPLORE focus on grasping it better.
Match ASTROLOGYEXPLORE still swimming
Match ASTROLOGYCASTPIERCINGGAZE clouds hinder
Match ASTROLOGYSTUDYCAT You are unable to comprehend
Match ASTROLOGYSTUDYCAT fail to find
Matchwait


move go tree
ASTROLOGYSTUDYCAT:
move s
move s
move go portal


save ASTROLOGYSTUDYCAT
move w
move n
move climb stair
move s
move climb stair
move se
move sw
move climb stair
move go gate
move se
move se
move se
move se
move go gate
move w
move go portal
exit


pause
4CROSSING:


put study CAT
move go portal


Match ASTROLOGYKILLRT ...wait
move go gate
move se
Match ASTROLOGYEXPLORE You manage to memorize
move climb stair
Match ASTROLOGYEXPLORE focus on grasping it better.
move go door
Match ASTROLOGYEXPLORE still swimming
move go portal
Match ASTROLOGYCASTPIERCINGGAZE clouds hinder
Match ASTROLOGYSTUDYRAM You are unable to comprehend
Match ASTROLOGYSTUDYRAM fail to find
Matchwait


move go door
ASTROLOGYSTUDYRAM:
move e
move go portal


save ASTROLOGYSTUDYRAM
move go tree
move s
move s
move go portal


pause
move w
move n
move climb stair
move s
move climb stair
move se
move sw
move climb stair
move go gate
move se
move se
move se
move se
move go gate
move w
move go portal


put study RAM
move climb stair
move nw
move ne
move ne
move se
move climb stair
move se
move s
move go recess
move sw
move nw
move nw
move n
move ne
move ne
move go door
move climb stair
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move e
move go entryway
move go portal
exit


4AESRY:
Match ASTROLOGYKILLRT ...wait
Match ASTROLOGYEXPLORE You manage to memorize
Match ASTROLOGYEXPLORE focus on grasping it better.
Match ASTROLOGYEXPLORE still swimming
Match ASTROLOGYCASTPIERCINGGAZE clouds hinder
Match ASTROLOGYSTUDYMAGPIE You are unable to comprehend
Match ASTROLOGYSTUDYMAGPIE fail to find
Matchwait


move go portal
ASTROLOGYSTUDYMAGPIE:


save ASTROLOGYSTUDYMAGPIE
move go gate
move se
move climb stair
move go door
move go portal


pause
move go door
move e
move go portal


put study MAGPIE
move go tree
move s
move s
move go portal


move w
Match ASTROLOGYKILLRT ...wait
move n
Match ASTROLOGYEXPLORE You manage to memorize
move climb stair
Match ASTROLOGYEXPLORE focus on grasping it better.
move s
Match ASTROLOGYEXPLORE still swimming
move climb stair
Match ASTROLOGYCASTPIERCINGGAZE clouds hinder
move se
Match ASTROLOGYSTUDYHEART You are unable to comprehend
move sw
Match ASTROLOGYSTUDYHEART fail to find
Matchwait
move climb stair
move go gate
move se
move se
move se
move se
move go gate
move w
move go portal


move climb stair
ASTROLOGYSTUDYHEART:
move nw
move ne
move ne
move se
move climb stair
move se
move s
move go recess
move sw
move nw
move nw
move n
move ne
move ne
move go door
move climb stair
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move e
move go entryway
move go portal


save ASTROLOGYSTUDYHEART
move go door
move go portal
exit


pause
4SHARD:


put study HEART
move go portal


Match ASTROLOGYKILLRT ...wait
move go gate
move se
Match ASTROLOGYEXPLORE You manage to memorize
move climb stair
Match ASTROLOGYEXPLORE focus on grasping it better.
move go door
Match ASTROLOGYEXPLORE still swimming
move go portal
Match ASTROLOGYCASTPIERCINGGAZE clouds hinder
Match ASTROLOGYSTUDYGIANT You are unable to comprehend
Match ASTROLOGYSTUDYGIANT fail to find
Matchwait


move go door
ASTROLOGYSTUDYGIANT:
move e
move go portal


save ASTROLOGYSTUDYGIANT
move go tree
move s
move s
move go portal


pause
move w
move n
move climb stair
move s
move climb stair
move se
move sw
move climb stair
move go gate
move se
move se
move se
move se
move go gate
move w
move go portal


put study GIANT
move climb stair
move nw
move ne
move ne
move se
move climb stair
move se
move s
move go recess
move sw
move nw
move nw
move n
move ne
move ne
move go door
move climb stair
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move e
move go entryway
move go portal


Match ASTROLOGYKILLRT ...wait
move go door
move go portal
Match ASTROLOGYEXPLORE You manage to memorize
Match ASTROLOGYEXPLORE focus on grasping it better.
Match ASTROLOGYEXPLORE still swimming
Match ASTROLOGYCASTPIERCINGGAZE clouds hinder
Match ASTROLOGYSTUDYSPIDER You are unable to comprehend
Match ASTROLOGYSTUDYSPIDER fail to find
Matchwait


move n
ASTROLOGYSTUDYSPIDER:
move e
move go gate
move go door
move n
move w
move go vault
move go portal
exit


4MERKRESH:
save ASTROLOGYSTUDYSPIDER


ECHO #######################
pause
ECHO ##Already in MERKRESH##
ECHO #######################
exit


4RIVERHAVEN:
put study SPIDER


Match ASTROLOGYKILLRT ...wait
move go portal
exit
Match ASTROLOGYEXPLORE You manage to memorize
Match ASTROLOGYEXPLORE focus on grasping it better.
Match ASTROLOGYEXPLORE still swimming
Match ASTROLOGYCASTPIERCINGGAZE clouds hinder
Match ASTROLOGYSTUDYKATAMBA You are unable to comprehend
Match ASTROLOGYSTUDYKATAMBA fail to find
Matchwait


4RATHA:
ASTROLOGYCASTPIERCINGGAZE:


goto GPIERCINGGAZE
move go portal


move go gate
ASTROLOGYEXPLORE:
move se
move climb stair
move go door
move go portal
exit


4ELBAINS:
put exp lore all


Match ASTROLOGYFUNCTIONEND murky
move go portal
Match ASTROLOGYFUNCTIONEND dense
Match ASTROLOGYFUNCTIONEND thick
Match ASTROLOGYRESETCTR EXP HELP for more information
Matchwait


move go gate
ASTROLOGYKILLRT:
move se
move climb stair
move go door
move go portal


pause
move go door
goto %s%
move e
move go portal
exit


4MUSPARI:
ASTROLOGYFUNCTIONEND:


put %HUMTHISTUNE%
move go portal
waitfor finish humming


goto NEXTFUNCTION
move go gate
move se
move climb stair
move go door
move go portal


move go door
#end ASTROLOGY function (THIS FUNCTION HAS BEEN FIXED)
move e
==================================================================================
move go portal
==================================================================================
#begin MAGIC2 function (THIS FUNCTION HAS BEEN FIXED)


move go tree
MAGIC2:
move s
move s
move go portal
exit


4HIBARN:
save MAGIC2SOD


move go portal
counter set 0


move go gate
MAGIC2SODGETTOOLS:
move se
move climb stair
move go door
move go portal


Match MAGIC2SODGETTOOLS ...wait
move go door
move e
Match MAGIC2SOD already holding that
Match MAGIC2SOD You get
move go portal
Match MAGIC2SOD But that is already in your
Match MAGIC2SODNOTOOLS What were you referring to


put get %CAMBRINTHDEVICE%
move go tree
move s
move s
move go portal


Matchwait
move climb stair
move nw
move ne
move ne
move se
move climb stair
move se
move s
move go recess
move sw
move nw
move nw
move n
move ne
move ne
move go door
move climb stair
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move e
move go entryway
move go portal
exit


MAGIC2EXPCHECK0:
5CROSSING:
MAGIC2EXPCHECK1:
MAGIC2EXPCHECK2:
MAGIC2EXPCHECK3:
MAGIC2EXPCHECK4:


move go portal
MAGIC2SOD:


move go door
setvariable RETURNPOINTER MAGIC2SOD
move e
move go portal


move go tree
Match KILLHUMMING should stop playing before
Match MAGIC2SOD ...wait
move s
move s
Match MAGIC2SODSTOWTOOLS You have to strain
move go portal
Match MAGIC2SODCHARGEORB Seal of Deflection spell


move w
put prep SEAL OF DEFLECTION 5
move n
move climb stair
move s
move climb stair
move se
move sw
move climb stair
move go gate
move se
move se
move se
move se
move go gate
move w
move go portal


Matchwait
move climb stair
move nw
move ne
move ne
move se
move climb stair
move se
move s
move go recess
move sw
move nw
move nw
move n
move ne
move ne
move go door
move climb stair
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move e
move go entryway
move go portal
exit


5AESRY:
MAGIC2SODCHARGEORB:


Match MAGIC2SODCHARGEORB ...wait
move go portal
Match MAGIC2SODSTOWTOOLS cannot harness that much power
Match MAGIC2SODFOCUSORB Roundtime


move go door
put charge my %CAMBRINTHDEVICE% 20
move e
move go portal


Matchwait
move go tree
move s
move s
move go portal


move w
MAGIC2SODFOCUSORB:
move n
move climb stair
move s
move climb stair
move se
move sw
move climb stair
move go gate
move se
move se
move se
move se
move go gate
move w
move go portal


put focus my %CAMBRINTHDEVICE%
move climb stair
move nw
move ne
move ne
move se
move climb stair
move se
move s
move go recess
move sw
move nw
move nw
move n
move ne
move ne
move go door
move climb stair
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move e
move go entryway
move go portal


Match MAGIC2SODFOCUSORB ...wait
move go door
move go portal
Match MAGIC2SODCAST forge a magical link to it
exit
Match MAGIC2SODCAST is intact
Matchwait


MAGIC2SODCAST:
5SHARD:


counter add 1
move go portal


Match MAGIC2SODCAST ...wait
move go door
move e
Match MAGIC2EXPCHECK%c% shifting plexus
move go portal
Match MAGIC2SODSTOWTOOLS backfires
Match MAGIC2SODSTOWTOOLS You are unable to harness


put cast
move go tree
move s
move s
move go portal


Matchwait
move w
move n
move climb stair
move s
move climb stair
move se
move sw
move climb stair
move go gate
move se
move se
move se
move se
move go gate
move w
move go portal


move climb stair
MAGIC2SODNOTOOLS:
move nw
move ne
move ne
move se
move climb stair
move se
move s
move go recess
move sw
move nw
move nw
move n
move ne
move ne
move go door
move climb stair
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move e
move go entryway
move go portal


save MAGIC2SODNOTOOLS
move go door
move go portal


move n
Match MAGIC2SODNOTOOLS ...wait
move e
Match MAGIC2ENDFUNCTION You have to strain
move go gate
Match MAGIC2SODFULLPREP Seal of Deflection spell
move go door
move n
move w
move go vault
move go portal
exit


5MERKRESH:
put prep SEAL OF DEFLECTION 20


Matchwait
move go portal


move go door
MAGIC2SODFULLPREP:
move e
move go portal


waitfor You feel fully prepared
move go tree
goto MAGIC2SODCAST
move s
move s
move go portal


move w
MAGIC2EXPCHECK5:
move n
MAGIC2EXPMAGIC:
move climb stair
move s
move climb stair
move se
move sw
move climb stair
move go gate
move se
move se
move se
move se
move go gate
move w
move go portal


counter set 0
move climb stair
move nw
move ne
move ne
move se
move climb stair
move se
move s
move go recess
move sw
move nw
move nw
move n
move ne
move ne
move go door
move climb stair
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move e
move go entryway
move go portal


Match MAGIC2EXPHARNESS mind lock
move go door
move go portal
Match MAGIC2SOD EXP HELP for more information


put exp skill primary magic
move n
move e
move go gate
move go door
move n
move w
move go vault
move go portal


Matchwait
move out
move w
move out
move e
move go brid
move e
move e
move e
move n
move ne
move e
move n
move go home
move go port
exit


5RIVERHAVEN:
MAGIC2EXPHARNESS:


ECHO ###########################
Match MAGIC2EXPMAGDEVICES mind lock
ECHO ###Already in RIVERHAVEN###
Match MAGIC2SOD EXP HELP for more information
ECHO ###########################
exit


5RATHA:
put exp skill harness


Matchwait
move go portal
exit


5ELBAINS:
MAGIC2EXPMAGDEVICES:


move go portal
Match MAGIC2SODSTOWTOOLS mind lock
Match MAGIC2SOD EXP HELP for more information


put exp skill magical devices
move go door
move e
move go portal
exit


5MUSPARI:
Matchwait


move go portal
MAGIC2SODSTOWTOOLS:


pause
move go door
move e
put stow ORB in %LARGESTORAGECONTAINER%
move go portal


goto NEXTFUNCTION
move go tree
move s
move s
move go portal
exit


5HIBARN:
#end MAGIC2 function (THIS FUNCTION HAS BEEN FIXED)
==================================================================================
==================================================================================
#begin SWIMMING function (THIS FUNCTION HAS BEEN FIXED)


move go portal
SWIMMING:


move go door
SWIMMINGLOCATIONCHECK:
move e
move go portal


put look
move go tree
move s
move s
move go portal


Match SWIMSOUTH [Mill Pond]
move w
move n
Match SWIMMINGLOCATIONCHECKFAIL Obvious
Matchwait
move climb stair
move s
move climb stair
move se
move sw
move climb stair
move go gate
move se
move se
move se
move se
move go gate
move w
move go portal
exit


SWIMSOUTH:
6CROSSING:


pause
move go portal


put south
move go tree
move s
move s
move go portal


Match SWIMSOUTH ...wait
move w
move n
Match SWIMNORTH Maple leaves swirl atop the muddy brown water
Match SWIMSOUTH Obvious
move climb stair
Match SWIMSOUTH fail
move s
Match SWIMSOUTH swim south
move climb stair
Matchwait
move se
move sw
move climb stair
move go gate
move se
move se
move se
move se
move go gate
move w
move go portal


move climb stair
SWIMNORTH:
move nw
move ne
move ne
move se
move climb stair
move se
move s
move go recess
move sw
move nw
move nw
move n
move ne
move ne
move go door
move climb stair
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move e
move go entryway
move go portal
exit


6AESRY:
save SWIMSOUTH


pause
move go portal


put north
move go tree
move s
move s
move go portal


Match SWIMNORTH ...wait
move w
move n
Match EXPSWIMMING [Mill Pond]
Match SWIMNORTH Obvious
move climb stair
Match SWIMNORTH fail
move s
Matchwait
move climb stair
move se
move sw
move climb stair
move go gate
move se
move se
move se
move se
move go gate
move w
move go portal


move climb stair
EXPSWIMMING:
move nw
move ne
move ne
move se
move climb stair
move se
move s
move go recess
move sw
move nw
move nw
move n
move ne
move ne
move go door
move climb stair
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move e
move go entryway
move go portal


put exp skill swimming
move go door
move go portal
exit


6SHARD:
Match NEXTFUNCTION mind lock
Match %s% EXP HELP for more information
Matchwait


move go portal
SWIMMINGLOCATIONCHECKFAIL:


echo
move go tree
move s
echo ************************************************************************
move s
echo You must be located at the [Mill Pond] in order for this script to start
move go portal
echo it is located, n, n, n, ne, ne, go trail, go tav, go door, go pond from
echo the NE Crossing Gate.
echo ************************************************************************
echo


goto NEXTFUNCTION
move w
move n
move climb stair
move s
move climb stair
move se
move sw
move climb stair
move go gate
move se
move se
move se
move se
move go gate
move w
move go portal


move climb stair
#end SWIMMING function (THIS FUNCTION HAS BEEN FIXED)
move nw
==================================================================================
move ne
==================================================================================
move ne
#begin CLIMBING function (THIS FUNCTION HAS BEEN FIXED)
move se
move climb stair
move se
move s
move go recess
move sw
move nw
move nw
move n
move ne
move ne
move go door
move climb stair
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move e
move go entryway
move go portal


move go door
CLIMBING:
move go portal


move n
CLIMBINGLOCATIONCHECK:
move e
move go gate
move go door
move n
move w
move go vault
move go portal
exit


put look
6MERKRESH:


move go portal
Match CLIMBINGSTART The Guild Stables
Match CLIMBINGLOCATIONCHECKFAIL Obvious
Matchwait


move go tree
CLIMBINGSTART:
move s
move s
move go portal


CLIMBTRAILDOWN:
move w
move n
move climb stair
move s
move climb stair
move se
move sw
move climb stair
move go gate
move se
move se
move se
move se
move go gate
move w
move go portal


put climb trail
move climb stair
move up
move nw
move west
move ne
move ne
move se
move climb stair
move se
move s
move go recess
move sw
move nw
move nw
move n
move ne
move ne
move go door
move climb stair
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move e
move go entryway
move go portal


CLIMBCREEPERDOWN:
move go door
move go portal


save CLIMBCREEPERDOWN
move n
pause
move e
move go gate
move go door
move n
move w
move go vault
move go portal


put climb creeper
move out
move w
move out
move e
move go brid
move e
move e
move e
move n
move ne
move e
move n
move go home
move go port
exit


6RIVERHAVEN:
Match CLIMBCREEPERDOWN ...wait
Match CLIMBINGSTAND SPLAT
Match CLIMBLADDERDOWN Roundtime
Matchwait


CLIMBLADDERDOWN:
move go portal


pause
move go tree
move s
move s
move go portal


put climb ladder
move w
move n
move climb stair
move s
move climb stair
move se
move sw
move climb stair
move go gate
move se
move se
move se
move se
move go gate
move w
move go portal


move climb stair
Match CLIMBLADDERDOWN ...wait
move nw
Match CLIMBROPEDOWN Round time
Matchwait
move ne
move ne
move se
move climb stair
move se
move s
move go recess
move sw
move nw
move nw
move n
move ne
move ne
move go door
move climb stair
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move e
move go entryway
move go portal


CLIMBROPEDOWN:
move go door
move go portal


pause
move n
move e
move go gate
move go door
move n
move w
move go vault
move go portal


put climb rope
move out
move w
move out
move e
move go brid
move e
move e
move e
move n
move ne
move e
move n
move go home
move go port


move nw
Match CLIMBROPEDOWN ...wait
move nw
Match CLIMBROPEUP rope
Matchwait
move ne
move ne
move n
move n
move n
move n
move go gate
move go portal
exit


CLIMBROPEUP:
6RATHA:


pause
ECHO #####################
ECHO ###Already in RATHA##
ECHO #####################
exit


6ELBAINS:
put climb rope


move go portal
Match CLIMBROPEUP ...wait
exit
Match CLIMBLADDERUP rope
Matchwait


6MUSPARI:
CLIMBLADDERUP:


pause
move go portal


put climb ladder
move go tree
move s
move s
move go portal
exit


6HIBARN:
Match CLIMBLADDERUP ...wait
Match CLIMBCREEPERUP Round time
Matchwait


CLIMBCREEPERUP:
move go portal


save CLIMBCREEPERUP
move go tree
pause
move s
move s
move go portal


put climb creeper
move w
move n

move climb stair
Match CLIMBCREEPERUP ...wait
move s
Match CLIMBINGSTAND SPLAT
move climb stair
Match CLIMBTRAILUP Roundtime
Matchwait
move se
move sw

CLIMBTRAILUP:
move climb stair
move go gate

pause
move se
move east
move se
move down
move se
put climb trail
move se
pause
move go gate
move w

move go portal
EXPCLIMBING:
exit

put exp skill climbing

Match NEXTFUNCTION mind lock
Match CLIMBINGSTART EXP HELP for more information
Matchwait

CLIMBINGSTAND:

pause
put dance

Match CLIMBINGSTAND ...wait
Match %s% You leap to your feet
Matchwait

CLIMBINGLOCATIONCHECKFAIL:

echo
echo ************************************************************************
echo You must be located at the [Northern Trade Road, Foothills] in order for
echo this script to start, it is located northeast of rock trolls and south
echo of leucros
echo ************************************************************************
echo

goto NEXTFUNCTION


7CROSSING:
#end CLIMBING function (THIS FUNCTION HAS BEEN FIXED)
==================================================================================
==================================================================================
#begin CLIMBING2 function (THIS FUNCTION HAS BEEN FIXED)


move go portal
CLIMBING2:

CLIMBING2LOCATIONCHECK:

put look

Match CLIMBING2START transitional block of busy Commerce Avenue
Match CLIMBING2LOCATIONCHECKFAIL Obvious
Matchwait

CLIMBING2START:


move w
move n
move n
move n
move climb stair
move n
move s
move n
move climb stair
move n
move se
move n
move sw
move w
move climb stair
move w
move go gate
move w
move se
move se
move se
move se
move go gate
move go gate
move go path
move w
move w
move w
move go portal

move climb stair
move nw
move ne
move ne
move se
move climb stair
move se
move s
move s
move s
move go recess
move climb peartree
move climb peartree
move n
move n
move nw
move w
move w
move nw
move w
move w
move sw
move sw
move w
move w
move nw
move nw
move nw
move nw
move w
move n
move go gate
move ne
move ne
move go door
move climb stair
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move se
move s
move s
move go cott
move go ramp
move climb ladder
move climb ladder
move go ramp
move out
move sw
move go green
move e
move e
move go church
move go entryway
move climb ladder
move go portal
move climb ladder
exit

move out
7AESRY:

move go portal

move w
move w
move n
move n
move ne
move climb stair
move n
move s
move nw
move climb stair
move n
move se
move sw
move climb stair
move go gate
move se
move se
move se
move se
move go gate
move go gate
move w
move w
move go portal

move climb stair
move nw
move nw
move w
move w
move go brook
put w
pause 2
put w
pause 2
move w
move sw
move w
move w
move w
move w
move climb trail
move climb cliff
move climb cliff
move climb trail
move e
move n
move e
move go bramble
move ne
move ne
move ne
move ne
move n
move se
move ne
move climb stair
move climb tree
move se
move s
move go recess
move sw
move nw
move nw
move nw
move nw
move nw
move down
move e
move ne
move climb root
move n
move n
move ne
move ne
move ne
move ne
move n
move go door
move go bush
move climb stair
move nw
move n
move nw
move go outcrop
move go outcrop
move se
move s
move s
move se
move go bush
move s
move s
move sw
move sw
move s
move s
move climb root
move s
move sw
move s
move s
move s
move s
move s
move s
move s
move s
move s
move e
move go entryway
move go portal

move go door
move go portal
exit

7SHARD:

move go portal

move w
move w
move up
move n
move climb stair
move s
move climb stair
move se
move se
move sw
move climb stair
move go gate
move se
move se
move se
move se
move climb tree
move se
move sw
move se
move go gate
move w
move go portal

move climb stair
move nw
move ne
move ne
move se
move climb stair
move se
move s
move s
move go recess
move sw
move sw
move go patch
move nw
move nw
move n
move ne
move ne
move go door
move climb stair
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move se
move e
move ne
move e
move go brook
put e
pause 2
put e
pause 2
move e
move e
move go entryway
move go portal

move go door
move go portal

move n
move e
move e
move go gate
move go door
move n
move w
move go vault
move go portal
exit

7MERKRESH:

move go portal

move w
move n
move climb stair
move s
move climb stair
move se
move se
move e
move sw
move e
move climb stair
move go gate
move se
move se
move se
move se
move e
move e
move ne
move e
move e
move se
move se
move e
move e
move se
move se
move e
move go gate
move e
move go path
move go trail
move ne
move e
move climb deadfall
move down
move w
move w
move go portal

move climb stair
move nw
move ne
move ne
move se
move climb stair
move se
move s
move go recess
move sw
move sw
move nw
move nw
move n
move ne
move ne
move go door
move climb stair
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move go gate
move e
move e
move e
move go entryway
move go portal

move go door
move go portal

move n
move e
move e
move go gate
move go door
move n
move w
move go vault
move go portal
move out
move w
move out
move e
move e
move go brid
move e
move e
move e
move e
move e
move e
move n
move n
move e
move ne
move e
move e
move n
move n
move n
move go home
move go port
exit

7RIVERHAVEN:

move go portal

move w
move w
move go arch
move n
move n
move ne
move climb stair
move ne
move s
move e
move climb stair
move ne
move go copse
move climb tree
move climb tree
move se
move se
move e
move sw
move e
move climb stair
move go gate
move se
move se
move se
move se
move go gate
move w
move go portal

move climb stair
move nw
move ne
move ne
move ne
move ne
move e
move se
move se
move go trail
move climb stair
move go tav
move se
move go door
move s
put go orchard
move go recess
move sw
move nw
move nw
move nw
move n
move ne
move ne
move climb ladder
move ne
move climb ladder
move go door
move sw
move climb stair
move se
move s
move go farmyard
move s
move climb stile
move s
move s
move s
move s
move s
move s
move s
move s
move w
move w
move s
move s
move se
move sw
move s
move s
move s
move s
move climb stile
move sw
move sw
move s
move s
move climb hill
move e
move e
move go entryway
move go portal

move go door
move go portal

move n
move e
move e
move e
move go gate
move climb hill
move go door
move n
move w
move w
move sw
move go vault
move go portal
move out
move w
move w
move w
move out
move climb hill
move climb hill
move e
move e
move go brid
move e
move e
move ne
move e
move e
move climb hill
move e
move w
move n
move w
move w
move climb hill
move go trail
move ne
move ne
move ne
move e
move n
move n
move go home
move go port

move nw
move nw
move nw
move nw
move n
move n
move ne
move ne
move nw
move ne
move n
move n
move n
move n
move e
move down
move down
move go gate
move n
move n
move n
move n
move go gate
move go portal
exit

7RATHA:

move go portal

move w
move w
move s
move climb tree
move climb tree
move n
move n
move e
move climb stair
move s
move s
move s
move climb stair
move se
move sw
move climb stair
move go gate
move se
move se
move se
move se
move go gate
move go gate
move up
move up
move w
move w
move s
move go portal

move s
move climb stair
move nw
move ne
move ne
move se
move se
move climb stair
move se
move s
move go recess
move sw
move sw
move nw
move nw
move n
move ne
move ne
move go door
move climb stair
move s
move s
move s
move s
move se
move w
move sw
move sw
move w
move w
move go copse
move climb tree
move climb tree
move sw
move sw
move w
move sw
move sw
move s
move s
move go arch
move e
move s
move s
move s
move s
move w
move w
move s
move s
move w
move w
move go bridge
move w
move s
move s
move s
move s
Line 3,450: Line 4,913:
move s
move s
move s
move s
move s
move e
move go entryway
move go portal


move go door
EXPCLIMBING2:
move go portal


put exp skill climbing
move n
move e
move go gate
move go door
move n
move w
move go vault
move go portal
move out
move w
move out
move e
move go brid
move e
move e
move e
move n
move ne
move e
move n
move go home
move go port


echo
move nw
move nw
echo NOD to go again, ESC to cancel script.
echo
move ne
Match CLIMBING2START You nod
move ne
Matchwait
move n
move n
move n
move n
move go gate
move go portal


move go gate
CLIMBING2LOCATIONCHECKFAIL:
move se
move climb stair
move go door
move go portal
exit


echo
7ELBAINS:
echo ************************************************************************
echo You must be located at the [The Crossing, Commerce Avenue] in order for
echo this script to start, this location is near the Trader's guild in front
echo of some massive iron doors.
echo ************************************************************************
echo


ECHO ########################
goto NEXTFUNCTION
ECHO ###Already in ELBAINS###
ECHO ########################
exit


7MUSPARI:
#end CLIMBING2 function (THIS FUNCTION HAS BEEN FIXED)
==================================================================================
==================================================================================
#begin COMBATSPELLS function (THIS FUNCTION HAS BEEN FIXED)


move go portal
COMBATSPELLS:
exit


7HIBARN:
setvariable RETURNPOINTER COMBATSETMYGLOBALMOON
goto KILLHUMMING


move go portal
COMBATSETMYGLOBALMOON:


move w
if_2 setvariable GLOBALMOON %2%
if_2 goto COMBATSUPSPELL1
move n
move climb stair
move s
move climb stair
move se
move sw
move climb stair
move go gate
move se
move se
move se
move se
move go gate
move w
move go portal
exit


8CROSSING:
setvariable RETURNPOINTER COMBATSUPSPELL1
goto FINDMOON


move go portal
COMBATSUPSPELL1:


save COMBATSUPSPELL2
move climb stair
goto GFM
move nw
move ne
move ne
move se
move climb stair
move se
move s
move go recess
move sw
move nw
move nw
move n
move ne
move ne
move go door
move climb stair
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move e
move go entryway
move go portal
exit


COMBATSUPSPELL2:
8AESRY:


save COMBATSUPSPELL3
move go portal
goto GDG


move climb stair
COMBATSUPSPELL3:
move nw
move ne
move ne
move se
move climb stair
move se
move s
move go recess
move sw
move nw
move nw
move n
move ne
move ne
move go door
move climb stair
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move e
move go entryway
move go portal


save COMBATSUPSPELL4
move go door
goto GCONTINGENCY
move go portal
exit


COMBATSUPSPELL4:
8SHARD:


save COMBATSUPSPELL5
move go portal
goto GPSY


move climb stair
COMBATSUPSPELL5:
move nw
move ne
move ne
move se
move climb stair
move se
move s
move go recess
move sw
move nw
move nw
move n
move ne
move ne
move go door
move climb stair
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move e
move go entryway
move go portal


save COMBATSUPSPELL6
move go door
goto GSHADOWS
move go portal


move n
COMBATSUPSPELL6:
move e
move go gate
move go door
move n
move w
move go vault
move go portal
exit


8MERKRESH:
save COMBATSUPSPELL7
goto GSEERSSENSE


move go portal
COMBATSUPSPELL7:


save COMBATSUPSPELL8
move climb stair
goto GCOL
move nw
move ne
move ne
move se
move climb stair
move se
move s
move go recess
move sw
move nw
move nw
move n
move ne
move ne
move go door
move climb stair
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move e
move go entryway
move go portal


move go door
COMBATSUPSPELL8:
move go portal


save COMBATSUPSPELL9
move n
goto GEASE
move e
move go gate
move go door
move n
move w
move go vault
move go portal


move out
COMBATSUPSPELL9:
move w
move out
move e
move go brid
move e
move e
move e
move n
move ne
move e
move n
move go home
move go port
exit


8RIVERHAVEN:
save COMBATSUPSPELL10
goto GSOD


move go portal
COMBATSUPSPELL10:


goto NEXTFUNCTION
move climb stair
move nw
move ne
move ne
move se
move climb stair
move se
move s
move go recess
move sw
move nw
move nw
move n
move ne
move ne
move go door
move climb stair
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move e
move go entryway
move go portal


move go door
#end COMBATSPELLS function (THIS FUNCTION HAS BEEN FIXED)
move go portal
==================================================================================
==================================================================================
#begin ENCHANTING function (THIS FUNCTION HAS BEEN FIXED)


move n
ENCHANTING:
move e
move go gate
move go door
move n
move w
move go vault
move go portal


move out
ENCHANTINGSUPSPELL:
move w
move out
move e
move go brid
move e
move e
move e
move n
move ne
move e
move n
move go home
move go port


save ENCHANTINGSUPSPELL2
move nw
goto GCLEARVISION
move nw
move ne
move ne
move n
move n
move n
move n
move go gate
move go portal
exit


8RATHA:
ENCHANTINGSUPSPELL2:


save ENCHANTINGSUPSPELL3
move go portal
goto GPIERCINGGAZE


move climb stair
ENCHANTINGSUPSPELL3:
move nw
move ne
move ne
move se
move climb stair
move se
move s
move go recess
move sw
move nw
move nw
move n
move ne
move ne
move go door
move climb stair
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move e
move go entryway
move go portal


save ENCHANTINGSUPSPELL4
move go door
goto GAURASIGHT
move go portal


move n
ENCHANTINGSUPSPELL4:
move e
move go gate
move go door
move n
move w
move go vault
move go portal


save NEXTFUNCTION
move out
goto GSEERSSENSE
move w
move out
move e
move go brid
move e
move e
move e
move n
move ne
move e
move n
move go home
move go port


move nw
#end ENCHANTING function (THIS FUNCTION HAS BEEN FIXED)
move nw
==================================================================================
move ne
==================================================================================
move ne
#begin GLOBALWEAPONRESET function (THIS FUNCTION HAS BEEN FIXED)
move n
move n
move n
move n
move go gate
move go portal


move go gate
GLOBALWEAPONRESET:
move se
move climb stair
move go door
move go portal
exit


8ELBAINS:
Match %s% at you
Match %s% melee
Matchwait


move go portal
#end GLOBALWEAPONRESET function (THIS FUNCTION HAS BEEN FIXED)
==================================================================================
==================================================================================
#begin ME/HE/2HE function (THIS FUNCTION HAS BEEN FIXED)


move climb stair
ME:
move nw
HE:
move ne
2HE:
move ne
move se
move climb stair
move se
move s
move go recess
move sw
move nw
move nw
move n
move ne
move ne
move go door
move climb stair
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move e
move go entryway
move go portal


move go door
MEHE2HEPARRY:
move go portal


save MEHE2HEFEINT
move n
move e
move go gate
move go door
move n
move w
move go vault
move go portal


move out
move w
move out
move e
move go brid
move e
move e
move e
move n
move ne
move e
move n
move go home
move go port


put PARRY
move nw
move nw
move ne
move ne
move n
move n
move n
move n
move go gate
move go portal


Match MEHE2HEPARRY ...wait
move go gate
move se
Match MEHE2HEFEINT position to parry
Matchwait
move climb stair
move go door
move go portal


move go door
MEHE2HEFEINT:
move e
move go portal
exit


8MUSPARI:
put FEINT


ECHO ########################
Match MEHE2HEFEINT ...wait
Match MEHE2HEDRAW You feint
ECHO ###Already in MUSPARI###
ECHO ########################
Match GLOBALWEAPONRESET There is nothing else
exit
Match GLOBALWEAPONRESET close enough
Matchwait


MEHE2HEDRAW:
8HIBARN:


put DRAW
move go portal
exit


9CROSSING:
Match MEHE2HEDRAW ...wait
Match MEHE2HESWEEP You step backward and
Match MEHE2HEPARRY There is nothing else
Match MEHE2HEPARRY close enough
Matchwait


move go portal
MEHE2HESWEEP:
exit


9AESRY:
put SWEEP


Match MEHE2HESWEEP ...wait
move go portal
Match MEHE2HESLICE You sweep
Match MEHE2HEPARRY There is nothing else
Match MEHE2HEPARRY close enough
Matchwait


move go door
MEHE2HESLICE:
move go portal
exit


9SHARD:
put SLICE


Match MEHE2HESLICE ...wait
move go portal
Match MEHE2HECHOP You slice
Match MEHE2HEPARRY There is nothing else
Match MEHE2HEPARRY close enough
Matchwait


move go door
MEHE2HECHOP:
move go portal


put CHOP
move n
move e
move go gate
move go door
move n
move w
move go vault
move go portal
exit


9MERKRESH:
Match MEHE2HECHOP ...wait
Match MEHE2HEDRAW You chop
Match MEHE2HEPARRY There is nothing else
Match MEHE2HEPARRY close enough
Matchwait


move go portal
#end ME/HE/2HE function (THIS FUNCTION HAS BEEN FIXED)
==================================================================================
==================================================================================
#begin LE function (THIS FUNCTION HAS BEEN FIXED)


move go door
LE:
move go portal


LEPARRY:
move n
move e
move go gate
move go door
move n
move w
move go vault
move go portal


save LEFEINT %2%
move out
move w
move out
move e
move go brid
move e
move e
move e
move n
move ne
move e
move n
move go home
move go port
exit


9RIVERHAVEN:


put PARRY
move go portal


Match LEPARRY ...wait
move go door
Match LEFEINT position to parry
move go portal
Matchwait


LEFEINT:
move n
move e
move go gate
move go door
move n
move w
move go vault
move go portal


put FEINT %2%
move out
move w
move out
move e
move go brid
move e
move e
move e
move n
move ne
move e
move n
move go home
move go port


Match LEFEINT ...wait
move nw
Match LEDRAW You feint
move nw
move ne
Match GLOBALWEAPONRESET There is nothing else
move ne
Match GLOBALWEAPONRESET close enough
Matchwait
move n
move n
move n
move n
move go gate
move go portal
exit


LEDRAW:
9RATHA:


put DRAW %2%
move go portal


Match LEDRAW ...wait
move go door
move go portal
Match LESLICE You step backward and
Match LEPARRY There is nothing else
Match LEPARRY close enough
Matchwait


LESLICE:
move n
move e
move go gate
move go door
move n
move w
move go vault
move go portal


put SLICE %2%
move out
move w
move out
move e
move go brid
move e
move e
move e
move n
move ne
move e
move n
move go home
move go port


Match LESLICE ...wait
move nw
Match LECHOP You slice
move nw
move ne
Match LEPARRY There is nothing else
Match LEPARRY close enough
move ne
Matchwait
move n
move n
move n
move n
move go gate
move go portal


move go gate
LECHOP:
move se
move climb stair
move go door
move go portal
exit


9ELBAINS:
put CHOP %2%


Match LECHOP ...wait
move go portal
Match LEDRAW You chop
Match LEPARRY There is nothing else
Match LEPARRY close enough
Matchwait


move go door
#end LE function (THIS FUNCTION HAS BEEN FIXED)
move go portal
==================================================================================
==================================================================================
#begin LB/MB/HB/2HB function (THIS FUNCTION HAS BEEN FIXED)


move n
LB:
move e
MB:
move go gate
HB:
move go door
2HB:
move n
move w
move go vault
move go portal


move out
MBLB2HBPARRY:
move w
move out
move e
move go brid
move e
move e
move e
move n
move ne
move e
move n
move go home
move go port


save MBLB2HBFEINT
move nw
move nw
move ne
move ne
move n
move n
move n
move n
move go gate
move go portal


put PARRY
move go gate
move se
move climb stair
move go door
move go portal


Match MBLB2HBPARRY ...wait
move go door
move e
Match MBLB2HBFEINT position to parry
Matchwait
move go portal
exit


MBLB2HBFEINT:
9MUSPARI:


put FEINT
move go portal


Match MBLB2HBFEINT ...wait
move go door
Match MBLB2HBSWEEP You feint
move go portal
Match GLOBALWEAPONRESET There is nothing else
Match GLOBALWEAPONRESET close enough
Matchwait


move n
MBLB2HBSWEEP:
move e
move go gate
move go door
move n
move w
move go vault
move go portal


put SWEEP
move out
move w
move out
move e
move go brid
move e
move e
move e
move n
move ne
move e
move n
move go home
move go port


Match MBLB2HBSWEEP ...wait
move nw
Match MBLB2HBDRAW You sweep
move nw
move ne
Match MBLB2HBPARRY There is nothing else
move ne
Match MBLB2HBPARRY close enough
Matchwait
move n
move n
move n
move n
move go gate
move go portal


move go gate
MBLB2HBDRAW:
move se
move climb stair
move go door
move go portal


put DRAW
move go door
move e
move go portal


Match MBLB2HBDRAW ...wait
move go tree
move s
Match MBLB2HBSLICE You step backward and
move s
Match MBLB2HBPARRY There is nothing else
Match MBLB2HBPARRY close enough
move go portal
Matchwait
exit


MBLB2HBSLICE:
9HIBARN:


put SLICE
ECHO ####################
ECHO ###Already in HIB###
ECHO ####################
exit


##################################################################################
Match MBLB2HBSLICE ...wait
Match MBLB2HBSWEEP You swing
Match MBLB2HBPARRY There is nothing else
Match MBLB2HBPARRY close enough
Matchwait


ECHO #########################################################
#end LB/MB/HB/2HB function (THIS FUNCTION HAS BEEN FIXED)
ECHO Please select your destination from the following:
==================================================================================
ECHO CROSSING
==================================================================================
ECHO AESRY
#begin BRAWLING function (THIS FUNCTION HAS BEEN FIXED)
ECHO SHARD
ECHO MERKRESH
ECHO RIVERHAVEN
ECHO RATHA
ECHO ELBAINS
ECHO MUSPARI
ECHO HIBARN
ECHO Simply say outloud where you wish to go (ie say SHARD) and
ECHO capitalize the location!
ECHO ##########################################################


ECHO #####################
BRAWLING:
ECHO ###Already in ###
ECHO #####################
exit


#(crossing arrival)
BRAWLINGPARRY:


save BRAWLINGFEINT
move go door
move go portal


#(crossing departure)
put PARRY
#(aesry arrival)


Match BRAWLINGPARRY ...wait
move n
move e
Match BRAWLINGFEINT position to parry
Matchwait
move go gate
move go door
move n
move w
move go vault
move go portal


#(aesry departure)
BRAWLINGFEINT:
#(shard arrival)


put FEINT
move out
move w
move out
move e
move go brid
move e
move e
move e
move n
move ne
move e
move n
move go home
move go port


#(shard departure)
Match BRAWLINGFEINT ...wait
#(merkeresh arrival)
Match BRAWLINGSWEEP You feint
Match GLOBALWEAPONRESET There is nothing else
Match GLOBALWEAPONRESET close enough
Matchwait


move nw
BRAWLINGSWEEP:
move nw
move ne
move ne
move n
move n
move n
move n
move go gate
move go portal


#(merkeresh departure)
put SWEEP
#(riverhaven arrival)


Match BRAWLINGSWEEP ...wait
move go gate
Match BRAWLINGKICK You sweep
move se
move climb stair
Match BRAWLINGPARRY There is nothing else
Match BRAWLINGPARRY close enough
move go door
Matchwait
move go portal


#(riverhaven departure)
BRAWLINGKICK:
#(ratha arrival)


put KICK
move go door
move e
move go portal


#(ratha departure)
Match BRAWLINGKICK ...wait
#(elbains arrival)
Match BRAWLINGSLICE You kick
Match BRAWLINGPARRY There is nothing else
Match BRAWLINGPARRY close enough
Matchwait


move go tree
BRAWLINGSLICE:
move s
move s
move go portal


#(ebains departure)
put SLICE
#(muspari arrival)


Match BRAWLINGSLICE ...wait
move w
move n
Match BRAWLINGGOUGE You slice
move climb stair
Match BRAWLINGPARRY There is nothing else
move s
Match BRAWLINGPARRY close enough
Matchwait
move climb stair
move se
move sw
move climb stair
move go gate
move se
move se
move se
move se
move go gate
move w
move go portal


#(muspari departure)
BRAWLINGGOUGE:
#(hibarn arrival)


put GOUGE
move climb stair
move nw
move ne
move ne
move se
move climb stair
move se
move s
move go recess
move sw
move nw
move nw
move n
move ne
move ne
move go door
move climb stair
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move e
move go entryway
move go portal


#(hibarn departure)
Match BRAWLINGGOUGE ...wait
#(crossing arrival)
Match BRAWLINGELBOW You gouge
Match BRAWLINGPARRY There is nothing else
Match BRAWLINGPARRY close enough
Matchwait


exit
BRAWLINGELBOW:
################################################################################
################################################################################


################################UTILITY SCRIPTS#################################
put ELBOW


################################################################################
Match BRAWLINGELBOW ...wait
################################################################################
Match BRAWLINGSWEEP You elbow
#begin RPA function
Match BRAWLINGPARRY There is nothing else
Match BRAWLINGPARRY close enough
Matchwait


RPA:
#end BRAWLING function (THIS FUNCTION HAS BEEN FIXED)
==================================================================================
==================================================================================
#begin PIKE function (THIS FUNCTION HAS BEEN FIXED)


shift
PIKE:


if_1 put rpa bestow %1 1
PIKEPARRY:
if_2 put rpa bestow %2 1
if_3 put rpa bestow %3 1
if_4 put rpa bestow %4 1
if_5 pause 1
if_5 put rpa bestow %5 1
if_6 put rpa bestow %6 1
if_7 put rpa bestow %7 1
if_8 pause 1
if_8 put rpa bestow %8 1
if_9 put rpa bestow %9 1


exit
save PIKEJAB


#end RPA function
put PARRY
################################################################################
################################################################################
#begin CLARIFYGEMS function


CLARIFYGEMS:
Match PIKEPARRY ...wait
Match PIKEJAB position to parry
Matchwait


SETVARIABLE GEMLOCATION red pouch in haversack
PIKEJAB:
SETVARIABLE GEMSTORAGE
SETVARIABLE GEMTYPE


CLARIFYGEMSCASTAUS:
put JAB


setvariable SPELLRETURNPOINTER CLARIFYGEMSCASTPG
Match PIKEJAB ...wait
Match PIKESWEEP You jab
Match GLOBALWEAPONRESET There is nothing else
Match GLOBALWEAPONRESET close enough
Matchwait


goto GAUS
PIKESWEEP:


CLARIFYGEMSCASTPG:
put SWEEP


setvariable SPELLRETURNPOINTER CLARIFYGEMSIDGEM
Match PIKESWEEP ...wait
Match PIKETHRUST You sweep
Match PIKEPARRY There is nothing else
Match PIKEPARRY close enough
Matchwait


PIKETHRUST:
goto GPG


CLARIFYGEMSNOSPELLS:
put THRUST
CLARIFYGEMSIDGEM:


Match PIKETHRUST ...wait
Match SAVERUBY ruby
Match PIKEFEINT You thrust
Match SAVEBLOODSTONE bloodstone
Match PIKEPARRY There is nothing else
Match SAVEQUARTZ quartz
Match PIKEPARRY close enough
Match SAVEJADE jade
Matchwait
Match SAVEGARNET garnet
Match SAVEMORGANITE morganite

Match SAVETANZANITE tanzanite
PIKEFEINT:
Match SAVECARNELIAN carnelian
Match SAVECORAL coral
Match SAVEAQUAMARINE aquamarine
Match SAVEMOONSTONE moonstone
Match SAVESUNSTONE sunstone
Match SAVEONYX onyx
Match SAVEKUNZITE kunzite
Match SAVEAGATE agate
Match SAVETSAVORITE tsavorite
Match SAVEHEMATITE hematite
Match SAVECITRINE citrine
Match SAVESAPPHIRE sapphire
Match SAVEZIRCON zircon
Match SAVETOPAZ topaz
Match SAVESPINEL spinel
Match SAVECRYSTAL crystal
Match SAVELAZULI lazuli
Match SAVEPEARL pearl
Match SAVEANDALUSITE andalusite
Match SAVEPERIDOT peridot
Match SAVECHALCEDONY chalcedony
Match SAVETOURMALINE tourmaline
Match SAVEDIOPSIDE diopside
Match SAVECHRYSOPRASE chrysoprase
Match SAVECHRYSOBERYL chrysoberyl
Match SAVEBERYL beryl
Match SAVEAMBER amber
Match SAVEIOLITE iolite
Match SAVETURQUOISE turquoise
Match SAVEAMETHYST amethyst
Match SAVEALEXANDRITE alexandrite
Match SAVEEMERALD emerald
Match SAVESTARSTONE star-stone
Match NEXTFUNCTION There is nothing in there.


put FEINT
put look in %GEMLOCATION


Match PIKEFEINT ...wait
Match PIKELUNGE You feint
Match PIKEPARRY There is nothing else
Match PIKEPARRY close enough
Matchwait
Matchwait


PIKELUNGE:
SAVESTARSTONE:


put LUNGE
setvariable GEMTYPE star
goto CLARIFYGEMSGETGEM


SAVEEMERALD:
Match PIKELUNGE ...wait
Match PIKEDRAW You lunge
Match PIKEPARRY There is nothing else
Match PIKEPARRY close enough
Matchwait


setvariable GEMTYPE emerald
PIKEDRAW:
goto CLARIFYGEMSGETGEM


SAVEALEXANDRITE:
put DRAW


Match PIKEDRAW ...wait
setvariable GEMTYPE alexandrite
goto CLARIFYGEMSGETGEM
Match PIKEPARRY You step backward
Match PIKEPARRY There is nothing else
Match PIKEPARRY close enough
Matchwait


SAVEAMETHYST:
#end PIKE function (THIS FUNCTION HAS BEEN FIXED)
==================================================================================
==================================================================================
#begin QS/SS function (THIS FUNCTION HAS BEEN FIXED)


setvariable GEMTYPE amethyst
QS:
goto CLARIFYGEMSGETGEM
SS:


QSPARRY:
SAVECHRYSOBERYL:


setvariable GEMTYPE chrysoberyl
save QSFEINT
goto CLARIFYGEMSGETGEM


put PARRY


SAVETURQUOISE:
Match QSPARRY ...wait
Match QSFEINT position to parry
Matchwait


setvariable GEMTYPE turquoise
QSFEINT:
goto CLARIFYGEMSGETGEM


SAVEIOLITE:
put FEINT


Match QSFEINT ...wait
setvariable GEMTYPE iolite
Match QSDRAW You feint
goto CLARIFYGEMSGETGEM
Match GLOBALWEAPONRESET There is nothing else
Match GLOBALWEAPONRESET close enough
Matchwait


QSDRAW:
SAVEAMBER:


put DRAW
setvariable GEMTYPE amber
goto CLARIFYGEMSGETGEM


SAVEBERYL:
Match QSDRAW ...wait
Match QSSLICE You step backward
Match QSPARRY There is nothing else
Match QSPARRY close enough
Matchwait


setvariable GEMTYPE beryl
QSSLICE:
goto CLARIFYGEMSGETGEM


SAVECHRYSOPRASE:
put SLICE


Match QSSLICE ...wait
setvariable GEMTYPE chrysoprase
Match QSSWEEP You slice
goto CLARIFYGEMSGETGEM
Match QSPARRY There is nothing else
Match QSPARRY close enough
Matchwait


QSSWEEP:
SAVEDIOPSIDE:


put SWEEP
setvariable GEMTYPE diopside
goto CLARIFYGEMSGETGEM


SAVETOURMALINE:
Match QSSWEEP ...wait
Match QSCHOP You sweep
Match QSPARRY There is nothing else
Match QSPARRY close enough
Matchwait


setvariable GEMTYPE tourmaline
QSCHOP:
goto CLARIFYGEMSGETGEM


SAVECHALCEDONY:
put CHOP


Match QSCHOP ...wait
setvariable GEMTYPE chalcedony
Match QSFEINT You chop
goto CLARIFYGEMSGETGEM
Match QSPARRY There is nothing else
Match QSPARRY close enough
Matchwait


SAVEPERIDOT:
#end QS/SS function (THIS FUNCTION HAS BEEN FIXED)
==================================================================================
==================================================================================
#begin HALBERD function (THIS FUNCTION HAS BEEN FIXED)
#combo for khuj draw/slice/sweep/chop


setvariable GEMTYPE peridot
HALBERD:
goto CLARIFYGEMSGETGEM


HALBERDTHRUST:
SAVEANDALUSITE:


setvariable GEMTYPE andalusite
save HALBERDTHRUST
goto CLARIFYGEMSGETGEM


SAVEPEARL:
put THRUST


Match HALBERDTHRUST ...wait
setvariable GEMTYPE pearl
goto CLARIFYGEMSGETGEM
Match HALBERDSWEEP You thrust
Match GLOBALWEAPONRESET There is nothing else
Match GLOBALWEAPONRESET close enough
Matchwait


HALBERDSWEEP:
SAVELAZULI:


save HALBERDSWEEP
setvariable GEMTYPE lazuli
goto CLARIFYGEMSGETGEM


SAVECRYSTAL:
put SWEEP


Match HALBERDSWEEP ...wait
setvariable GEMTYPE crystal
Match HALBERDCHOP You sweep
goto CLARIFYGEMSGETGEM
Match GLOBALWEAPONRESET There is nothing else
Match GLOBALWEAPONRESET close enough
Matchwait


HALBERDCHOP:
SAVESPINEL:


save HALBERDCHOP
setvariable GEMTYPE spinel
goto CLARIFYGEMSGETGEM


put CHOP
SAVETOPAZ:


Match HALBERDCHOP ...wait
setvariable GEMTYPE topaz
Match HALBERDTHRUST You chop
goto CLARIFYGEMSGETGEM
Match GLOBALWEAPONRESET There is nothing else
Match GLOBALWEAPONRESET close enough
Matchwait


SAVEZIRCON:
#end HALBERD function (THIS FUNCTION HAS BEEN FIXED)
==================================================================================
==================================================================================
#begin LOCKPICKING function (THIS FUNCTION HAS BEEN FIXED)


setvariable GEMTYPE zircon
LOCKPICKING:
goto CLARIFYGEMSGETGEM


SAVESAPPHIRE:
LOCKPICKINGGETTOOLS:


setvariable GEMTYPE sapphire
Match LOCKPICKINGGETTOOLS ...wait
goto CLARIFYGEMSGETGEM
Match LOCKPICKINGPICK You get a
Match LOCKPICKINGPICK You are already holding
Match LOCKPICKINGNOTOOLS What were you referring


SAVECITRINE:
put get lockpick


setvariable GEMTYPE citrine
Matchwait
goto CLARIFYGEMSGETGEM


LOCKPICKINGPICK:
SAVEHEMATITE:


put %HUMTHISTUNE%
setvariable GEMTYPE hematite
goto CLARIFYGEMSGETGEM


SAVETSAVORITE:
Match LOCKPICKINGPICK ...wait
Match LOCKPICKINGGETTOOLS useless lockpick
Match LOCKPICKINGGETTOOLS appropriate tool and try again
Match LOCKPICKINGBOXISOPEN not even locked, why bother?
Match LOCKPICKINGEXPCHECK Roundtime:


put pick my %2% blind
setvariable GEMTYPE tsavorite
goto CLARIFYGEMSGETGEM


SAVEAGATE:
Matchwait


setvariable GEMTYPE agate
LOCKPICKINGEXPCHECK:
goto CLARIFYGEMSGETGEM


SAVEKUNZITE:
Match LOCKPICKINGSTOWTOOLS mind lock
Match LOCKPICKINGPICK EXP HELP


put exp skill lock
setvariable GEMTYPE kunzite
goto CLARIFYGEMSGETGEM


SAVEONYX:
Matchwait


setvariable GEMTYPE onyx
LOCKPICKINGNOTOOLS:
goto CLARIFYGEMSGETGEM


SAVESUNSTONE:
echo =================================================
echo = =
echo = You have no lockpicks to use in this training =
echo = =
echo =================================================


setvariable GEMTYPE sunstone
goto LOCKPICKINGSTOWBOX
goto CLARIFYGEMSGETGEM


SAVEMOONSTONE:
LOCKPICKINGBOXISOPEN:


setvariable BOXISOPEN 1
setvariable GEMTYPE moonstone
goto CLARIFYGEMSGETGEM
goto LOCKPICKINGSTOWTOOLS%BOXISOPEN%


SAVEAQUAMARINE:
LOCKPICKINGSTOWTOOLS:


setvariable GEMTYPE aquamarine
Match LOCKPICKINGSTOWTOOLS ...wait
goto CLARIFYGEMSGETGEM
Match LOCKPICKINGSTOWBOX What were you referring
Match LOCKPICKINGSTOWBOX You put your


SAVECORAL:
put put lock in %LOCKPICKSTORAGECONTAINER%


setvariable GEMTYPE coral
Matchwait
goto CLARIFYGEMSGETGEM


SAVECARNELIAN:
LOCKPICKINGSTOWTOOLS1:


setvariable GEMTYPE carnelian
Match LOCKPICKINGSTOWTOOLS1 ...wait
goto CLARIFYGEMSGETGEM
Match LOCKPICKINGOPENBOX What were you referring
Match LOCKPICKINGOPENBOX You put your


SAVETANZANITE:
put put lock in %LOCKPICKSTORAGECONTAINER%


setvariable GEMTYPE tanzanite
Matchwait
goto CLARIFYGEMSGETGEM


SAVEMORGANITE:
LOCKPICKINGOPENBOX:


setvariable GEMTYPE morganite
Match LOCKPICKINGOPENBOX ...wait
goto CLARIFYGEMSGETGEM
Match LOCKPICKINGDISMANTLEBOX You open
Match LOCKPICKINGSHIFTDOWN What were you referring to


SAVEGARNET:
put open my %2%


setvariable GEMTYPE garnet
Matchwait
goto CLARIFYGEMSGETGEM


SAVEJADE:
LOCKPICKINGDISMANTLEBOX:


setvariable GEMTYPE jade
Match LOCKPICKINGDISMANTLEBOX ...wait
goto CLARIFYGEMSGETGEM
Match LOCKPICKINGDISMANTLEBOX you'd like to dump the contents
Match LOCKPICKINGSHIFTDOWN move your hands in a practiced maneuver
Match LOCKPICKINGSHIFTDOWN casually study the
Match LOCKPICKINGSHIFTDOWN Rolling your shoulders to loosen them


SAVEQUARTZ:
put dismantle my %2% press


setvariable GEMTYPE quartz
Matchwait
goto CLARIFYGEMSGETGEM


SAVEBLOODSTONE:
LOCKPICKINGSTOWBOX:


setvariable GEMTYPE bloodstone
Match LOCKPICKINGSTOWBOX ...wait
goto CLARIFYGEMSGETGEM
Match LOCKPICKINGSHIFTDOWN What were you referring
Match LOCKPICKINGSHIFTDOWN You put your

put put my %2% in %LARGESTORAGECONTAINER%

Matchwait

LOCKPICKINGSHIFTDOWN:

shift

goto NEXTFUNCTION

#end LOCKPICKING function (THIS FUNCTION HAS BEEN FIXED)
==================================================================================
==================================================================================
#begin FINDMOON function

FINDMOON:

setvariable MOONFOUNDEAST NONE
setvariable MOONFOUNDWEST NONE

put prep fm 10

FINDMOONYAVASH:

setvariable FINDMOONNEXTACTION FINDMOONXIBAR

setvariable LOOKINGFORMOON YAVASH

put perceive YAVASH

Match FINDMOONYAVASH ...wait
Match FINDMOONEAST degrees above the eastern
Match FINDMOONWEST degrees above the western
Match FINDMOONNO not visible
Matchwait

FINDMOONXIBAR:

setvariable FINDMOONNEXTACTION FINDMOONKATAMBA

setvariable LOOKINGFORMOON XIBAR

put perceive XIBAR

Match FINDMOONXIBAR ...wait
Match FINDMOONEAST degrees above the eastern
Match FINDMOONWEST degrees above the western
Match FINDMOONNO not visible
Matchwait

FINDMOONKATAMBA:

setvariable FINDMOONNEXTACTION CASTEASTMOON

setvariable LOOKINGFORMOON KATAMBA

put perceive KATAMBA

Match FINDMOONKATAMBA ...wait
Match FINDMOONEAST degrees above the eastern
Match FINDMOONWEST degrees above the western
Match FINDMOONNO not visible
Matchwait

FINDMOONEAST:

setvariable MOONFOUNDEAST %LOOKINGFORMOON%
goto %FINDMOONNEXTACTION%

FINDMOONWEST:

setvariable MOONFOUNDWEST %LOOKINGFORMOON%
goto %FINDMOONNEXTACTION%

FINDMOONNO:

goto %FINDMOONNEXTACTION%

CASTEASTMOON:

setvariable GLOBALMOON %MOONFOUNDEAST%

Match CASTEASTMOON ...wait
Match %RETURNPOINTER% into the area.
Match CASTWESTMOON three moons

put cast %MOONFOUNDEAST%

Matchwait

CASTWESTMOON:

setvariable GLOBALMOON %MOONFOUNDWEST%

Match CASTWESTMOON ...wait
Match %RETURNPOINTER% into the area.
Match NOMOONFOUND three moons

put cast %MOONFOUNDWEST%

Matchwait

NOMOONFOUND:

echo =============================================================
echo NO MOON LOCATED IN THE SKY PLEASE REVIEW YOUR SPELL SELECTION
echo =============================================================
exit

#end FINDMOON function
==================================================================================
==================================================================================
#begin GATHERAMMO function

GATHERAMMO:

Match GATHERAMMO ...wait
Match GATHERAMMOFINISHED %AMMUNITIONCONTAINER%
Match GATHERAMMOSTOW You pull
Match GATHERAMMOSTOW You pick up
Match GATHERAMMOSTOW You are already holding
Match GATHERAMMOUNLOAD You must unload
put get %2%

Matchwait

GATHERAMMOSTOW:

Match GATHERAMMOSTOW ...wait
Match GATHERAMMO You put your

put put %2% in my %AMMUNITIONCONTAINER%

Matchwait

GATHERAMMOUNLOAD:

Match GATHERAMMOUNLOAD ...wait
Match GATHERAMMOFINISHED You unload

put unload

Matchwait

GATHERAMMOFINISHED:

Match GATHERAMMOFINISHED ...wait
Match NEXTFUNCTION You put your

put put %2% in my %AMMUNITIONCONTAINER%
put sheath

Matchwait

#end GATHERAMMO function
==================================================================================
==================================================================================
#begin KILLHUMMING function (THIS FUNCTION HAS BEEN FIXED)

KILLHUMMING:

put stop hum

goto %RETURNPOINTER%

#end KILLHUMMING function (THIS FUNCTION HAS BEEN FIXED)
==================================================================================
==================================================================================
#begin KILLSPELLPREP function (THIS FUNCTION HAS BEEN FIXED)

KILLSPELLPREP:

put release

Match KILLSPELLPREP ...wait
Match %RETURNPOINTER% RELEASE HELP
Matchwait

#end KILLSPELLPREP function (THIS FUNCTION HAS BEEN FIXED)
==================================================================================
==================================================================================
#begin RPA function

if_1 put rpa bestow %1% 1
if_2 put rpa bestow %2% 1
if_3 put rpa bestow %3% 1
if_4 put rpa bestow %4% 1
if_5 pause 1
if_5 put rpa bestow %5% 1
if_6 put rpa bestow %6% 1
if_7 put rpa bestow %7% 1
if_8 pause 1
if_8 put rpa bestow %8% 1
if_9 put rpa bestow %9% 1
exit

#end RPA function
==================================================================================
==================================================================================
#begin CLARIFYGEMS function

CLARIFYGEMS:

SETVARIABLE GEMLOCATION red pouch in haversack
SETVARIABLE GEMSTORAGE
SETVARIABLE GEMTYPE

CLARIFYGEMSCASTPG:

save CLARIFYGEMSIDGEM

goto GPG

CLARIFYGEMSIDGEM:

Match SAVERUBY ruby,
Match SAVEBLOODSTONE bloodstone,
Match NEXTFUNCTION There is nothing in there.

put look in %GEMLOCATION%

Matchwait


SAVERUBY:
SAVERUBY:


setvariable GEMTYPE ruby
setvariable GEMTYPE ruby
goto CLARIFYGEMSGETGEM

SAVEBLOODSTONE:

setvariable GEMTYPE bloodstone
goto CLARIFYGEMSGETGEM
goto CLARIFYGEMSGETGEM


Line 4,384: Line 6,192:
Match CLARIFYGEMSNOHANDS You need a free hand to pick that up.
Match CLARIFYGEMSNOHANDS You need a free hand to pick that up.


put get %GEMTYPE% from %GEMLOCATION%
put get %GEMTYPE from %GEMLOCATION


Matchwait
Matchwait
Line 4,400: Line 6,208:
CLARIFYGEMSPREPCG:
CLARIFYGEMSPREPCG:


setvariable RETURNPOINTER NEXTFUNCTION
setvariable RETURNPOINTER CLARIFYGEMSHARNESSMANA1


Match CLARIFYGEMSPREPCG ...wait
Match CLARIFYGEMSPREPCG ...wait
Match CLARIFYGEMSWAITTOCAST %SPELLPREPMESSAGE%
Match CLARIFYGEMSWAITTOCAST %SPELLPREPMESSAGE
Match KILLSPELLPREP You have to strain to harness the energy


put prep clarify gem 10
put prep clarify gem 10
Line 4,412: Line 6,219:
CLARIFYGEMSWAITTOCAST:
CLARIFYGEMSWAITTOCAST:


put perc katamb
pause 15
pause


CLARIFYGEMSCHECKMANA:
put perc xibar
pause


Match CLARIFYGEMSOUTOFMANA S>>>>>>>>|_
put perc yavash
Match CLARIFYGEMSOUTOFMANA S>>>>>>>|_
pause
Match CLARIFYGEMSOUTOFMANA S>>>>>>|_
Match CLARIFYGEMSOUTOFMANA S>>>>>|_
Match CLARIFYGEMSOUTOFMANA S>>>>|_
Match CLARIFYGEMSOUTOFMANA S>>>|_
Match CLARIFYGEMSOUTOFMANA S>>|_
Match CLARIFYGEMSOUTOFMANA S>|_
Match CLARIFYGEMSOUTOFMANA S|_
Match %RETURNPOINTER MANA HELP


put perc planet
put mana

pause
Matchwait

CLARIFYGEMSHARNESSMANA1:

setvariable RETURNPOINTER CLARIFYGEMSHARNESSMANA2

Match CLARIFYGEMSHARNESSMANA1 ...wait
Match CLARIFYGEMSCHECKMANA You tap into the mana from twenty
Match CLARIFYGEMSOUTOFMANA You are unable to harnesss

put harn 20

Matchwait

CLARIFYGEMSHARNESSMANA2:

setvariable RETURNPOINTER NEXTFUNCTION

Match CLARIFYGEMSHARNESSMANA2 ...wait
Match CLARIFYGEMSCASTCG You tap into the mana from twenty
Match CLARIFYGEMSOUTOFMANA You are unable to harnesss

put harn 20

Matchwait


CLARIFYGEMSCASTCG:
CLARIFYGEMSCASTCG:
Line 4,435: Line 6,273:
Match CLARIFYGEMSGETGEM shatters!
Match CLARIFYGEMSGETGEM shatters!


put cast my %GEMTYPE%
put cast my %GEMTYPE


Matchwait
Matchwait
Line 4,446: Line 6,284:
Match CLARIFYGEMSGETGEM You open your
Match CLARIFYGEMSGETGEM You open your


put put my %GEMTYPE% in %GEMSTORAGE%
put put my %GEMTYPE in %GEMSTORAGE


Matchwait
Matchwait
Line 4,452: Line 6,290:
CLARIFYGEMSNOHANDS:
CLARIFYGEMSNOHANDS:


echo =======================================================
echo ===================================
echo ==Both hands full! Abrupt ending. ==
echo ==Both hands full! Abrupt ending.==
echo =======================================================
echo ===================================

exit

CLARIFYGEMSOUTOFMANA:

echo ===================================
echo ==You are out of MANA. ==
echo ===================================


exit
exit
Line 4,463: Line 6,309:
Match CLARIFYGEMSNOMOONSMSG You put your
Match CLARIFYGEMSNOMOONSMSG You put your


put put my %GEMTYPE% in %GEMLOCATION%
put put my %GEMTYPE in %GEMLOCATION


Matchwait
Matchwait
Line 4,486: Line 6,332:


#end CLARIFYGEMS function
#end CLARIFYGEMS function
################################################################################
==================================================================================
################################################################################
==================================================================================
#begin GLOBAL SPELL TEMPLATE function (THIS FUNCTION HAS BEEN FIXED2)
#begin MAKEROPE function


MAKEROPE:
MAINSPELLNAME:


counter set %2
####################################################################################################
#
# General description of what this function does including spell prep amount, harnessed amount
# and total mana cast. The template will prep a spell at minimum mana and harness 2 x 20 mana.
# If the spell has a target, the targeted section should be updated, if not erase it.
#
####################################################################################################


SUBSPELLNAME:
MAKEROPE1:
MAKEROPE2:
MAKEROPE3:
MAKEROPE4:
MAKEROPE5:


MAKEROPEFORAGEGRASS:
setvariable RETURNPOINTER PREPSPELL


put forage grass
PREPSPELL:


Match MAKEROPEFORAGEGRASS ...wait
counter set 1
Match MAKEROPEBRAIDGRASS find some grass
Match MAKEROPEFORAGEGRASS Roundtime
Matchwait


put prep SPELLNAME
MAKEROPEBRAIDGRASS:


put braid my grass
Match PREPSPELL ...wait
Match KILLHUMMING You should stop playing
Match KILLSPELLPREP You are already preparing
Match KILLSPELLPREP You have to strain
Match SPELLFULLPREP %SPELLPREPMESSAGE%
Matchwait


Match MAKEROPEBRAIDGRASS ...wait
SPELLFULLPREP:
Match MAKEROPEPULLGRASS bundling rope
Match MAKEROPEBRAIDGRASS Roundtime
Matchwait


MAKEROPEPULLGRASS:
waitfor You feel fully prepared


put pull my grass
setvariable RETURNPOINTER %s%


Match MAKEROPEPULLGRASS ...wait
SPELLHARNESS1:
Match MAKEROPEPULLGRASS Roundtime
SPELLHARNESS2:
Match MAKEROPESTOREROPE new bundling rope
Matchwait


put harness 20
MAKEROPESTOREROPE:


put put my rope in my %LARGESTORAGECONTAINER
Match SPELLHARNESS%c% ...wait
Match SPELLUPDATECOUNTER You tap into the mana from
Match KILLSPELLPREP You strain, but cannot harness
Matchwait


counter subtract 1
SPELLUPDATECOUNTER:


counter add 1
goto MAKEROPE%c


MAKEROPE0:
goto SPELLHARNESS%c%


goto NEXTFUNCTION
SPELLHARNESS3:
SPELLHARNESS4:
SPELLHARNESS5:
SPELLHARNESS6:
SPELLHARNESS7:
SPELLHARNESS8:
SPELLHARNESS9:
SPELLHARNESS10:


#end MAKEROPE function
SPELLCAST:
################################################################################
################################################################################
#begin HERB listing function


HERB:
counter set 0
HERBS:


echo BODY PART===|=============EXTERNAL===========================INTERNAL
put cast %GLOBALSPELLTARGET%
echo
echo Head========|=nemoih (root/pulp/powder/potion)===|===eghmok (moss/potion)
echo Neck========|=georin (grass/pulp/salve)==========|===riolur (leaf/pulp/powder/tea)
echo Limbs=======|=jadice (flower/pulp/powder/potion)=|===yelith (root/pulp/powder/potion)
echo Chest=======|=plovik (leaf/pulp/tea)=============|===ithor potion
echo Abdomen=====|=nilos (grass/salve)================|===muljin (sap/paste)
echo Back========|=hulnik (grass/pulp/powder/potion)==|===blocil (berries/pulp/powder/potion)
echo =================================================|===junliar (stem/solution)
echo Eyes========|=sufil (sap/paste/mash)=============|===aevaes solution
echo Skin/Nerves=|=aloe (leaf/crushed aloe/balm)======|===lujeakave elixir
echo
echo BODY PART===|=============EXTERNAL SCARS=====================INTERNAL SCARS
echo
echo Head/Eye====|=qun (pollen/?)=====================|===hulij elixir
echo Body========|=genich (stem/?)====================|===potion
echo Limbs=======|=jadice (pollen/paste/potion)=======|===nuloe (stem/?)
echo All=========|=cebi (root/pulp/powder/?)==========|===hisan salve


HERBEND:
Match SPELLCAST ...wait
Match %s% You gesture
Matchwait


goto NEXTFUNCTION
MAINSPELLNAMEAT:
SUBSPELLNAMEAT:


################################################################################
if_2 setvariable GLOBALSPELLTARGET %2%
################################################################################
goto MAINSPELLNAME
#begin NEXTFUNCTION


#end GLOBAL SPELL TEMPLATE function (THIS FUNCTION HAS BEEN FIXED2)
==================================================================================
==================================================================================
NEXTFUNCTION:
NEXTFUNCTION:


shift
shift
goto %1

goto %1%

exit

labelError:

if_2 goto NEXTFUNCTION

exit


</pre>
</pre>

Latest revision as of 12:53, 24 March 2011

Training (script)
Category training
Front-end StormFront
Author Damian



################################################################################
#############################GLOBAL VARIABLES###################################

setvariable LARGESTORAGECONTAINER HAVERSACK
setvariable SECONDSTORAGECONTAINER BALDRIC
setvariable AMMUNITIONCONTAINER thigh quiver
setvariable SPELLPREPMESSAGE dirt in your palm to prepare
setvariable LOCKPICKSTORAGECONTAINER ADAN SKULL
setvariable HUMTHISTUNE HUM CONCERT ROMANT
setvariable CAMBRINTHDEVICE NESTLED ARMBAND
setvariable GLOBALSPELLTARGET
setvariable TIMETOFULLPREP 20
setvariable GLOBALMOON 
setvariable FORAGEFORITEM REDWOOD LIMB
setvariable SPELLRETURNPOINTER NEXTFUNCTION
setvariable SPELLADDITIONALCOMMAND 
save NEXTFUNCTION

#############################GLOBAL VARIABLES###################################
################################################################################


goto %1


################################################################################
################################################################################
#begin START function

   START:

      echo #####################################################################
      put SORT AUTO HEAD
      waitfor inventory is now
      echo #####################################################################
      put INVFIX
      put AWAKE

      echo #####################################################################
      put INV CHECK
      echo #####################################################################
      put EXP ALL
      waitfor Circle:
      echo #####################################################################
      put HEAL
      waitfor Your body
      echo #####################################################################
      put STAT FULL
      waitfor Brave Adventurers
      echo #####################################################################
      put INFO
      waitfor Name:
      echo #####################################################################
      put RPA PIRP
      waitfor You currently have
      echo #####################################################################
      put LOOK
      echo #####################################################################
      put TIME
      waitfor It has been
      put OBS WEATHER
      echo #####################################################################
      put HIDE

      shift
      goto %1

#end START function
################################################################################
################################################################################

############################SKILL TRAINING SCRIPTS##############################

################################################################################
################################################################################
#begin FIRSTAID function

FIRSTAID:

   FIRSTAIDGETTHIRDCOMPENDIUM:

      put %HUMTHISTUNE

      put sort compendium in %LARGESTORAGECONTAINER

      Match FIRSTAID2COMPENDIUMS a leather compendium, a leather compendium,
      Match FIRSTAID2COMPENDIUMS a leather compendium, a leather compendium,
      Match FIRSTAID1COMPENDIUM a leather compendium,

      put look in %LARGESTORAGECONTAINER

      Matchwait

   FIRSTAID2COMPENDIUMS:

      setvariable TOTALCOMPENDIUMS second
      counter set 2
      goto FIRSTAIDCOUNTERCOPY

   FIRSTAID1COMPENDIUM:

      setvariable TOTALCOMPENDIUMS first
      counter set 1
      goto FIRSTAIDCOUNTERCOPY

   FIRSTAIDCOUNTERCOPY:

      setvariable TEMPCOUNTER %c
      goto FIRSTAIDGETCOMPENDIUM%c

   FIRSTAIDGETCOMPENDIUM1:
   FIRSTAIDGETCOMPENDIUM2:
   FIRSTAIDGETCOMPENDIUM3:
   FIRSTAIDGETCOMPENDIUM4:
   FIRSTAIDGETCOMPENDIUM5:

      Match FIRSTAIDGETCOMPENDIUM5 ...wait
      Match FIRSTAIDOPENCOMPENDIUM You get a
      Match FIRSTAIDNOCOMPENDIUMS What are you referring to?

      put get %TOTALCOMPENDIUMS compendium from %LARGESTORAGECONTAINER

      Matchwait

   FIRSTAIDGETCOMPENDIUM0:

      goto NEXTFUNCTION

   FIRSTAIDOPENCOMPENDIUM:

      counter set 9

      Match FIRSTAIDOPENCOMPENDIUM ...wait
      Match FIRSTAIDSTUDYCOMPENDIUM That is already open!
      Match FIRSTAIDSTUDYCOMPENDIUM You open your

      put open my compendium

      Matchwait

   FIRSTAIDSTUDYCOMPENDIUM:

      put %HUMTHISTUNE

      Match FIRSTAIDSTUDYCOMPENDIUM ...wait
      Match FIRSTAIDTURNCOMPENDIUM%c Why do you need to study this chart again?
      Match FIRSTAIDTURNCOMPENDIUM%c a sudden moment of clarity, the information on the chart
      Match FIRSTAIDSTUDYCOMPENDIUM You begin studying
      Match FIRSTAIDSTUDYCOMPENDIUM gradually absorbing more of the knowledge
      Match FIRSTAIDERROR You study the sky but fail to find anything

      put study my compendium

      Matchwait

   FIRSTAIDTURNCOMPENDIUM9:
   FIRSTAIDTURNCOMPENDIUM8:
   FIRSTAIDTURNCOMPENDIUM7:
   FIRSTAIDTURNCOMPENDIUM6:
   FIRSTAIDTURNCOMPENDIUM5:
   FIRSTAIDTURNCOMPENDIUM4:
   FIRSTAIDTURNCOMPENDIUM3:
   FIRSTAIDTURNCOMPENDIUM2:
   FIRSTAIDTURNCOMPENDIUM1:

      counter subtract 1

      Match FIRSTAIDTURNCOMPENDIUM10 ...wait
      Match FIRSTAIDSTUDYCOMPENDIUM You turn to the section

      put turn my compendium

      Matchwait

   FIRSTAIDTURNCOMPENDIUM0:

      counter set %TEMPCOUNTER
      counter subtract 1
      goto FIRSTAIDSTORECOMPENDIUM

   FIRSTAIDSTORECOMPENDIUM:

      Match FIRSTAIDSTORECOMPENDIUM ...wait
      Match FIRSTAIDERROR What were you referring to?
      Match FIRSTAIDCOUNTERCOPY You put your compendium in your

      put put my compendium in my %LARGESTORAGECONTAINER

      Matchwait

   FIRSTAIDNOCOMPENDIUMS:

      echo ===========================================
      echo =You have no compendiums for this training=
      echo ===========================================

      exit

   FIRSTAIDERROR:

      echo =====================================================
      echo =For some reason you are not holding your compendium=
      echo =====================================================

      exit

#end FIRSTAID function
################################################################################
################################################################################
#begin PERCEPTION function

PERCEPTION:

   setvariable PERCEPTIONMATERIAL SILVER ZOMBIES

   PERCEPTIONSUPSPELLS:

      save PERCEPTIONGETTOOLS
      goto GCLEARVISION

   PERCEPTIONGETTOOLS:

      pause

      put get %PERCEPTIONMATERIAL

      Match PERCEPTIONGETTOOLS ...wait
      Match PERCEPTIONWORK You get
      Match PERCEPTIONWORK already holding that
      Match NEXTFUNCTION could not find what
      Matchwait

   PERCEPTIONWORK:

      pause

      put %HUMTHISTUNE
      put juggle my %PERCEPTIONMATERIAL

      Match PERCEPTIONWORK ...wait
      Match EXPPERCEPTION Roundtime
      Match PERCEPTIONSTOWTOOLS Your injuries make juggling impossible
      Matchwait

   EXPPERCEPTION:

      put exp skill perception

      Match PERCEPTIONSTOWTOOLS dazed
      Match PERCEPTIONSTOWTOOLS mind lock
      Match PERCEPTIONWORK EXP HELP for more information
      Matchwait

   PERCEPTIONSTOWTOOLS:

      put put %PERCEPTIONMATERIAL in my %LARGESTORAGECONTAINER

      put %HUMTHISTUNE
      waitfor finish humming

      goto NEXTFUNCTION

#end PERCEPTION function
################################################################################
################################################################################
#begin FORAGING function (this function tests against exp for perception not foraging
#since you learn both doing collect, it is also set up for 2 items, if you wish to add
#more items, simply add more setvariable statements with matching FORAGINGHUM# so it
#doesn't end after the 2nd one as FORAGINGHUM3 will go to the end of the function

FORAGING:

   FORAGINGDECLAREVARIABLES:

   setvariable ITEM1 stem
   setvariable ITEM2 rock
   counter set 0

   FORAGINGCOUNTERINCREASE:

      counter add 1
      goto FORAGINGHUM%c

   FORAGINGHUM:
   FORAGINGHUM1:
   FORAGINGHUM2:

      put %HUMTHISTUNE
      goto FORAGINGKICKPILE

   FORAGINGKICKPILE:

      Match FORAGINGKICKPILE ...wait
      Match FORAGINGSTART you fail to find any signs of its presence
      Match FORAGINGSTART I could not find what you were referring to

      put kick pile

      Matchwait

   FORAGINGSTART:

      Match FORAGINGSTART ...wait
      Match FORAGINGCLUTTER The room is too cluttered
      Match EXPFORAGING You manage to collect a pile
      Match FORAGINGCOUNTERINCREASE wondering what you might find
      Match FORAGINGCOUNTERINCREASE trying to find a dragon's egg
      Match FORAGINGCOUNTERINCREASE you were looking for
      Match FORAGINGCOUNTERINCREASE if you had a bit more luck.
      Match FORAGINGCOUNTERINCREASE unable to find anything.

      put collect %ITEM%c

      Matchwait

   FORAGINGCLUTTER:

      pause 2
      goto FORAGINGKICKPILE

   EXPFORAGING:

      Match FORAGINGEND mind lock
      Match FORAGINGHUM EXP HELP for more information

      put exp skill perception

      Matchwait

   FORAGINGHUM3:
   FORAGINGEND:

      goto NEXTFUNCTION
      exit

#end FORAGING function
################################################################################
################################################################################
LE:

   setvariable COMBATMOVE1 DODGE
   setvariable COMBATMOVE2 FEINT %2
   setvariable COMBATMOVE3 DRAW %2
   setvariable COMBATMOVE4 SLICE %2
   setvariable COMBATMOVE5 CHOP %2
   setvariable COMBATMOVE6 ENC

   counter set 1

   goto WIELDWEAPON

################################################################################
################################################################################
ME:
HE:
2HE:

   setvariable COMBATMOVE1 DODGE
   setvariable COMBATMOVE2 FEINT
   setvariable COMBATMOVE3 DRAW
   setvariable COMBATMOVE4 SWEEP
   setvariable COMBATMOVE5 SLICE
   setvariable COMBATMOVE6 CHOP
   setvariable COMBATMOVE7 SLICE
   setvariable COMBATMOVE8 CHOP
   setvariable COMBATMOVE9 ENC

   counter set 1

   goto WIELDWEAPON

################################################################################
################################################################################
LB:
MB:
HB:
2HB:

   setvariable COMBATMOVE1 DODGE
   setvariable COMBATMOVE2 FEINT
   setvariable COMBATMOVE3 SWEEP
   setvariable COMBATMOVE4 DRAW
   setvariable COMBATMOVE5 SLICE
   setvariable COMBATMOVE6 ENC

   counter set 1

   goto WIELDWEAPON

################################################################################
################################################################################
BRAWLING:

   setvariable COMBATMOVE1 DODGE
   setvariable COMBATMOVE2 FEINT
   setvariable COMBATMOVE3 SWEEP
   setvariable COMBATMOVE4 KICK
   setvariable COMBATMOVE5 SLICE
   setvariable COMBATMOVE6 GOUGE
   setvariable COMBATMOVE7 ELBOW
   setvariable COMBATMOVE8 ENC

   counter set 1

   goto WIELDWEAPON

################################################################################
################################################################################
PIKE:

   setvariable COMBATMOVE1 DODGE
   setvariable COMBATMOVE2 JAB
   setvariable COMBATMOVE3 SWEEP
   setvariable COMBATMOVE4 THRUST
   setvariable COMBATMOVE5 FEINT
   setvariable COMBATMOVE6 LUNGE
   setvariable COMBATMOVE7 DRAW
   setvariable COMBATMOVE8 ENC

   counter set 1

   goto WIELDWEAPON

################################################################################
################################################################################
QS:
SS:

   setvariable COMBATMOVE1 DODGE
   setvariable COMBATMOVE2 FEINT
   setvariable COMBATMOVE3 DRAW
   setvariable COMBATMOVE4 SLICE
   setvariable COMBATMOVE5 SWEEP
   setvariable COMBATMOVE6 CHOP
   setvariable COMBATMOVE7 ENC

   counter set 1

   goto WIELDWEAPON

################################################################################
################################################################################
HALBERD:

   setvariable COMBATMOVE1 DODGE
   setvariable COMBATMOVE2 DRAW
   setvariable COMBATMOVE3 SLICE
   setvariable COMBATMOVE4 SWEEP
   setvariable COMBATMOVE5 CHOP
   setvariable COMBATMOVE6 ENC

   counter set 1

   goto WIELDWEAPON

################################################################################
################################################################################
HT:
LT:

   setvariable COMBATMOVE1 THROW
   setvariable COMBATMOVE2 GET %2 %3
   setvariable COMBATMOVE3 ENC

   counter set 1

   goto WIELDWEAPON

################################################################################
################################################################################
#begin WIELDWEAPON function

WIELDWEAPONRESETCOUNTER:

   counter set 1

   goto WIELDWEAPON

WIELDWEAPONADDCOUNTER:

   counter add 1

   goto WIELDWEAPON

WIELDWEAPON:

   Match WIELDWEAPON ...wait
   Match WIELDWEAPONADDCOUNTER You feint
   Match WIELDWEAPONADDCOUNTER You jab
   Match WIELDWEAPONADDCOUNTER You step backward and
   Match WIELDWEAPONADDCOUNTER You sweep
   Match WIELDWEAPONADDCOUNTER You slice
   Match WIELDWEAPONADDCOUNTER You swing
   Match WIELDWEAPONADDCOUNTER You chop
   Match WIELDWEAPONADDCOUNTER You thrust
   Match WIELDWEAPONADDCOUNTER You lunge
   Match WIELDWEAPONADDCOUNTER You kick
   Match WIELDWEAPONADDCOUNTER You gouge
   Match WIELDWEAPONADDCOUNTER You elbow
   Match WIELDWEAPONADDCOUNTER You throw
   Match WIELDWEAPONADDCOUNTER You pick up
   Match WIELDWEAPONADDCOUNTER position to dodge
   Match WIELDWEAPONADDCOUNTER you are already dodging
   Match WIELDWEAPONADDCOUNTER position to parry
   Match WIELDWEAPONRESETCOUNTER Encumbrance :
   Match WIELDWEAPONWAITTARGET nothing else to face!
   Match WIELDWEAPONADVANCE close enough to attack

   put %COMBATMOVE%c

   Matchwait

WIELDWEAPONWAITTARGET:

   Match WIELDWEAPONRESETCOUNTER melee range
   Match WIELDWEAPONADVANCE at you
   Match WIELDWEAPONADVANCE missle range
   Match WIELDWEAPONADVANCE pole weapon range
   Match WIELDWEAPONWAITLONGER You assess your combat situation...

   put ASSES

   Matchwait

WIELDWEAPONADVANCE:

   Match WIELDWEAPONADVANCE ...wait
   Match WIELDWEAPONRESETCOUNTER You close to melee range
   Match WIELDWEAPONRESETCOUNTER You are already at melee
   Match WIELDWEAPONRESETCOUNTER You turn to face
   Match WIELDWEAPONWAITLONGER You begin to advance
   Match WIELDWEAPONWAITLONGER You are already advancing

   put ADVANCE

   Matchwait

WIELDWEAPONWAITLONGER:

   Match WIELDWEAPONADVANCE begins to advance on you!
   Match WIELDWEAPONADVANCE is still a distance away from you and is closing steadily.
   Match WIELDWEAPONADVANCE closes to pole weapon range on you!
   Match WIELDWEAPONRESETCOUNTER to melee range

   Matchwait

################################################################################
################################################################################
#begin LOCKPICKING function

LOCKPICKING:

#   LOCKPICKINGGETTOOLS:

#      Match LOCKPICKINGGETTOOLS ...wait
#      Match LOCKPICKINGPICK You get a
#      Match LOCKPICKINGPICK You are already holding
#      Match LOCKPICKINGNOTOOLS What were you referring

#      put get lockpick

#      Matchwait

   LOCKPICKINGPICK:

      put %HUMTHISTUNE

      Match LOCKPICKINGPICK ...wait
#      Match LOCKPICKINGGETTOOLS useless lockpick
#      Match LOCKPICKINGGETTOOLS appropriate tool and try again
      Match LOCKPICKINGBOXISOPEN not even locked, why bother?
      Match LOCKPICKINGEXPCHECK Roundtime:

      put pick my %2 blind

      Matchwait

   LOCKPICKINGEXPCHECK:

      Match LOCKPICKINGSTOWTOOLS mind lock
      Match LOCKPICKINGPICK EXP HELP

      put exp skill lock

      Matchwait

   LOCKPICKINGNOTOOLS:

      echo #################################################
      echo #                                               #
      echo # You have no lockpicks to use in this training #
      echo #                                               #
      echo #################################################

      goto LOCKPICKINGSTOWBOX

   LOCKPICKINGBOXISOPEN:

      setvariable BOXISOPEN 1
      
      goto LOCKPICKINGSTOWTOOLS%BOXISOPEN

   LOCKPICKINGSTOWTOOLS:

       goto LOCKPICKINGSTOWBOX
#      Match LOCKPICKINGSTOWTOOLS ...wait
#      Match LOCKPICKINGSTOWBOX What were you referring
#      Match LOCKPICKINGSTOWBOX You put your

#      put put lock in %LOCKPICKSTORAGECONTAINER

#      Matchwait

   LOCKPICKINGSTOWTOOLS1:

       goto LOCKPICKINGOPENBOX
#      Match LOCKPICKINGSTOWTOOLS1 ...wait
#      Match LOCKPICKINGOPENBOX What were you referring
#      Match LOCKPICKINGOPENBOX You put your

#      put put lock in %LOCKPICKSTORAGECONTAINER

#      Matchwait

   LOCKPICKINGOPENBOX:

      Match LOCKPICKINGOPENBOX ...wait
      Match LOCKPICKINGDISMANTLEBOX You open
      Match LOCKPICKINGSHIFTDOWN What were you referring to

      put open my %2

      Matchwait

   LOCKPICKINGDISMANTLEBOX:

      Match LOCKPICKINGDISMANTLEBOX ...wait
      Match LOCKPICKINGDISMANTLEBOX you'd like to dump the contents
      Match LOCKPICKINGSHIFTDOWN move your hands in a practiced maneuver
      Match LOCKPICKINGSHIFTDOWN casually study the
      Match LOCKPICKINGSHIFTDOWN Rolling your shoulders to loosen them

      put dismantle my %2 press

      Matchwait

   LOCKPICKINGSTOWBOX:

      Match LOCKPICKINGSTOWBOX ...wait
      Match LOCKPICKINGSHIFTDOWN What were you referring
      Match LOCKPICKINGSHIFTDOWN You put your

      put put my %2 in %LARGESTORAGECONTAINER

      Matchwait

   LOCKPICKINGSHIFTDOWN:

      shift

      goto NEXTFUNCTION

#end LOCKPICKING function
################################################################################
################################################################################
#begin POWERPERCEIVE function (This function used to be part of the main POWERPERCEIVE function and would be called 

provided the main one ran out of mana. It has been separated so it can be accessed by itself using the POWERPERCEIVE 

LABEL.)

POWERPERCEIVE:

   POWERPERCEIVECONCENTRATE:

      pause 2

      put conc all

      put %HUMTHISTUNE

      waitfor Roundtime

   POWERPERCEIVEKATAMBA:

      pause

      put perc katamba

      waitfor Roundtime

   POWERPERCEIVEXIBAR:

      pause

      put perc xibar

      waitfor Roundtime

   POWERPERCEIVEYAVASH:

      pause

      put perc yavash

      waitfor Roundtime

   POWERPERCEIVEMOON:

      pause

      put perc moon

      waitfor Roundtime

   POWERPERCEIVEMOONMANIP:

      pause 2

      put perc moonlight manip

      put %HUMTHISTUNE

      waitfor Roundtime

   POWERPERCEIVETRANSDUCTION:

      pause

      put perc transduction

      waitfor Roundtime

   POWERPERCEIVEPERCEPTIONBOOK:

      pause

      put perc perception

      waitfor Roundtime

   POWERPERCEIVEPSYCHPROJ:

      pause

      put perc psych project

      waitfor Roundtime

   POWERPERCEIVESTELLAR:

      pause

      put perc stellar

      waitfor Roundtime

   POWERPERCEIVEPLANET:

      pause

      put perc planet

      waitfor Roundtime

   POWERPERCEIVEWATCHERS:

      pause

      put perc watchers

      waitfor Roundtime

   POWERPERCEIVESELF:

      pause

      put perc self

      waitfor Roundtime

   POWERPERCEIVEAREA:

      pause

      put perc area

      waitfor Roundtime

      goto POWERPERCEIVECHECKEXP

   POWERPERCEIVECHECKEXP:

      Match POWERPERCEIVEENDFUNCTION mind lock
      Match POWERPERCEIVE EXP HELP

      put exp skill power perc

      Matchwait

   POWERPERCEIVEENDFUNCTION:

      goto NEXTFUNCTION
      exit

#end POWERPERCEIVE function
################################################################################
################################################################################
#begin MAGIC function

MAGIC:

   save MAGICSOD

   counter set 0

   MAGICSODGETTOOLS:

   MAGICEXPCHECK0:
   MAGICEXPCHECK1:
   MAGICEXPCHECK2:
   MAGICEXPCHECK3:
   MAGICEXPCHECK4:

   MAGICMANACHECK:

      Match MAGICSODSTOWTOOLS S>>>>>>>>|_
      Match MAGICSODSTOWTOOLS S>>>>>>>|_
      Match MAGICSODSTOWTOOLS S>>>>>>|_
      Match MAGICSODSTOWTOOLS S>>>>>|_
      Match MAGICSODSTOWTOOLS S>>>>|_
      Match MAGICSODSTOWTOOLS S>>>|_
      Match MAGICSODSTOWTOOLS S>>|_
      Match MAGICSODSTOWTOOLS S>|_
      Match MAGICSODSTOWTOOLS S|_
      Match MAGICSOD MANA HELP

      put mana

      Matchwait

   MAGICSOD:

      setvariable RETURNPOINTER MAGICSOD

      Match KILLHUMMING should stop playing before
      Match KILLSPELLPREP You are already preparing
      Match MAGICSOD ...wait
      Match MAGICSODSTOWTOOLS You have to strain
      Match MAGICSODCHARGEORB Seal of Deflection spell

      put prep SEAL OF DEFLECTION 5

      Matchwait

   MAGICSODCHARGEORB:

      Match MAGICSODCHARGEORB ...wait
      Match MAGICSODSTOWTOOLS cannot harness that much power
      Match MAGICSODFOCUSORB Roundtime

      put charge my %CAMBRINTHDEVICE 20

      Matchwait

   MAGICSODFOCUSORB:

      put focus my %CAMBRINTHDEVICE

      Match MAGICSODFOCUSORB ...wait
      Match MAGICSOINCREASECOUNTER forge a magical link to it
      Match MAGICSOINCREASECOUNTER is intact
      Matchwait

   MAGICSOINCREASECOUNTER:

      counter add 1
      goto MAGICSODCAST

   MAGICSODCAST:

      Match MAGICSODCAST ...wait
      Match MAGICEXPCHECK%c shifting plexus
      Match MAGICSODSTOWTOOLS backfires
      Match MAGICSODSTOWTOOLS You are unable to harness

      put cast

      Matchwait

   MAGICSODNOTOOLS:

      save MAGICSODNOTOOLS

      Match MAGICSODNOTOOLS ...wait
      Match MAGICENDFUNCTION You have to strain
      Match MAGICSODFULLPREP Seal of Deflection spell

      put prep SEAL OF DEFLECTION 20

      Matchwait

   MAGICSODFULLPREP:

      waitfor You feel fully prepared
      goto MAGICSODCAST

   MAGICEXPCHECK5:
   MAGICEXPMAGIC:

      counter set 0

      Match MAGICEXPHARNESS mind lock
      Match MAGICMANACHECK EXP HELP for more information

      put exp skill primary magic

      Matchwait

   MAGICEXPHARNESS:

      Match MAGICEXPMAGDEVICES mind lock
      Match MAGICMANACHECK EXP HELP for more information

      put exp skill harness

      Matchwait

   MAGICEXPMAGDEVICES:

      Match MAGICSODSTOWTOOLS mind lock
      Match MAGICMANACHECK EXP HELP for more information

      put exp skill magical devices

      Matchwait

   MAGICSODSTOWTOOLS:

      goto NEXTFUNCTION
      exit

#end MAGIC function
################################################################################
################################################################################
#begin ASTROLOGY function (this function will hum/study/observe/get a prism/align/predict/appraise)

ASTROLOGY:

   ASTROLOGYDECLAREVARIABLES:

      setvariable TEMPBODYCOUNTER 0
      setvariable TEMPSKILLCOUNTER 0
      setvariable TEMPOBSCOUNTER 0

      ASTROLOGYCOUNTERSTART:

         counter set 0

      ASTROLOGYCOUNTERINCREASE:

         counter set %TEMPBODYCOUNTER
         counter add 1
         goto ASTROLOGYBODY%c

      ASTROLOGYBODY1:

         setvariable ASTROLOGYBODY sun
         setvariable ASTROLOGYSKILL1 survival
         setvariable ASTROLOGYSKILL2 offense
         setvariable TEMPBODYCOUNTER %c
         counter set 1
         goto ASTROLOGYPG

      ASTROLOGYBODY2:

         setvariable ASTROLOGYBODY Magpie
         setvariable ASTROLOGYSKILL1 survival
         setvariable ASTROLOGYSKILL2 defense
         setvariable TEMPBODYCOUNTER %c
         counter set 1
         goto ASTROLOGYPG

      ASTROLOGYBODY3:

         setvariable ASTROLOGYBODY Spider
         setvariable ASTROLOGYSKILL1 offense
         setvariable ASTROLOGYSKILL2 magic
         setvariable TEMPBODYCOUNTER %c
         counter set 1
         goto ASTROLOGYPG

      ASTROLOGYBODY4:

         setvariable ASTROLOGYBODY Toad
         setvariable ASTROLOGYSKILL1 survival
         setvariable ASTROLOGYSKILL2 defense
         setvariable TEMPBODYCOUNTER %c
         counter set 1
         goto ASTROLOGYPG

   ASTROLOGYPG:

      Match ASTROLOGYPG ...wait
      Match ASTROLOGYPGCAST Roundtime
      Match ASTROLOGYEND2 You can't see the sky clearly enough

      put stop hum
      put prep pg 30
      put predict weather

      Matchwait

   ASTROLOGYPGCAST:

      Match ASTROLOGYPGCAST ...wait
      Match ASTROLOGYSTUDY The world around you

      put cast

      Matchwait

   ASTROLOGYSTUDY:

      Match ASTROLOGYSTUDY ...wait
      Match ASTROLOGYOBSERVE%c You manage to memorize the pattern of the sigil
      Match ASTROLOGYSTUDYFAIL but fail to find
      Match ASTROLOGYOBSERVE%c You are unable to comprehend the nature of the sigil
      Match ASTROLOGYOBSERVE%c Your head is still swimming from your last attempts at comprehending
      Match ASTROLOGYOBSERVE%c You've already memorized
      Match ASTROLOGYEND2 You should try that where you can see the sky
      Match ASTROLOGYEND2 That's a bit hard to do while inside

      put %HUMTHISTUNE
      put STUDY %ASTROLOGYBODY

      Matchwait

   ASTROLOGYSTUDYFAIL:

      goto ASTROLOGYCOUNTERINCREASE

   ASTROLOGYOBSERVE1:

      pause

      counter add 1
      setvariable TEMPOBSCOUNTER %c
      counter set 1
      setvariable ASTROLOGYPTR1 ASTROLOGYALIGN

      Match ASTROLOGYOBSERVE1 ...wait
      Match ASTROLOGYOBSERVE1 You see nothing regarding the future
      Match ASTROLOGYGETPRISM You learned something useful from your observation.
      Match ASTROLOGYGETPRISM quite what you were hoping for

      put OBSERVE %ASTROLOGYBODY

      Matchwait

   ASTROLOGYALIGN:
   ASTROLOGYALIGN1:
   ASTROLOGYALIGN2:
 
      pause

      Match ASTROLOGYALIGN ...wait
      Match ASTROLOGYTURNPRISM You focus internally and align yourself 

      put ALIGN %ASTROLOGYSKILL%c
      counter add 1

      Matchwait

   ASTROLOGYTURNPRISM:

      Match ASTROLOGYTURNPRISM ...wait
      Match ASTROLOGYRAISEPRISM You wind the chain around the prism.

      put TURN PRISM

      Matchwait

   ASTROLOGYRAISEPRISM:

      setvariable ASTROLOGYPTR1 ASTROLOGYALIGN

      Match ASTROLOGYRAISEPRISM ...wait
      Match ASTROLOGYALIGN%c You focus your sight on the prism as it spins
      Match ASTROLOGYALIGN%c It seems to lack focus and slows to a stop
      Match ASTROLOGYGETPRISM you lose your grip and drop it to the
      Match ASTROLOGYTURNPRISM That's not quite wound up enough yet

      put RAISE PRISM

      Matchwait

   ASTROLOGYALIGN3:
   ASTROLOGYANALYZE:

      pause

      counter set 1
      setvariable ASTROLOGYPTR1 ASTROLOGYAPPRAISE

      Match ASTROLOGYANALYZE ...wait
      Match ASTROLOGYSTOWPRISM Roundtime

      put PREDICT ANALYZE

      Matchwait

   ASTROLOGYAPPRAISE:

      Match ASTROLOGYAPPRAISE ...wait
      Match ASTROLOGYSTOWPOUCH Roundtime

      put get pouch from case in cloak
      put appraise my pouch quick

      Matchwait

   ASTROLOGYSTOWPOUCH:

      Match ASTROLOGYSTOWPOUCH ...wait
      Match ASTROLOGYWAIT You put your

      put put pouch in case in my cloak

      Matchwait

   ASTROLOGYOBSERVE2:

      counter subtract 2

   ASTROLOGYWAIT:

      Match ASTROLOGYWAIT ...wait
      Match EXPASTROLOGY %ASTROLOGYBODY fades.

      counter add 1

      put predict event
      put study sky

      Matchwait

   EXPASTROLOGY:

      Match ASTROLOGYEND mind lock
      Match ASTROLOGYPG EXP HELP for more information

      put exp skill astrology

      Matchwait

   ASTROLOGYGETPRISM:

      Match ASTROLOGYGETPRISM ...wait
      Match %ASTROLOGYPTR1 You get a
      Match %ASTROLOGYPTR1 You pick up a
      Match %ASTROLOGYPTR1 You are already holding that
      Match ASTROLOGYEND1 What were you referring to?

      put get prism

      Matchwait

   ASTROLOGYSTOWPRISM:

      Match ASTROLOGYSTOWPRISM ...wait
      Match %ASTROLOGYPTR1 You put your

      put put prism in my cloak

      Matchwait

   ASTROLOGYRESETCOUNTER:

      counter set 1
      goto %ASTROLOGYPTR2

   ASTROLOGYEND1:

      echo ######################
      echo # FIND A PRISM FIRST #
      echo # Function ending    #
      echo ######################

      goto ASTROLOGYEND

   ASTROLOGYEND2:

      echo #################################
      echo # GO OUTSIDE UNDER THE OPEN SKY #
      echo # Function ending               #
      echo #################################

      goto ASTROLOGYEND

   ASTROLOGYBODY5:
   ASTROLOGYEND:
      goto NEXTFUNCTION
      exit

#end ASTROLOGY function
################################################################################
################################################################################
#begin GLOBALWEAPONRESET function

GLOBALWEAPONRESET:

   Match %s at you
   Match %s melee
   Matchwait

#end GLOBALWEAPONRESET function
################################################################################
################################################################################
#begin KILLHUMMING function

   KILLHUMMING:

      put stop hum

      goto %RETURNPOINTER

#end KILLHUMMING function
################################################################################
################################################################################
#begin KILLSPELLPREP function

   KILLSPELLPREP:

      put release

      Match KILLSPELLPREP ...wait
      Match %RETURNPOINTER RELEASE HELP
      Matchwait

#end KILLSPELLPREP function
################################################################################
################################################################################

######################### SPELL PREPARATION FUNCTIONS ##########################

################################################################################
################################################################################
ANTIMAGIC:
BARRIERSPELLS:
BARRIER:

   BARRIERSPELL1:

   setvariable SPELLRETURNPOINTER BARRIERSPELL2
   goto GPSY

   BARRIERSPELL2:

   setvariable SPELLRETURNPOINTER BARRIERSPELL3
   goto GSOD

   BARRIERSPELL3:

   setvariable SPELLRETURNPOINTER NEXTFUNCTION
   goto GSHEAR

################################################################################
################################################################################
#cap is 69 mana TENEBROUS SENSE SPELL

GTENEBROUSSENSE:
GTS:

setvariable SPELLTOPREP TENEB SENSE
setvariable SPELLBASEMANA 29
setvariable SPELLMANAHARNESS 20
setvariable SPELLMANAINCREMENTS 2
setvariable GLOBALSPELLTARGET
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP

GTENEBROUSSENSEAT:
GTSAT:

shift
setvariable SPELLTOPREP TENEB SENSE
setvariable SPELLBASEMANA 29
setvariable SPELLMANAHARNESS 20
setvariable SPELLMANAINCREMENTS 2
setvariable GLOBALSPELLTARGET %1
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP

################################################################################
################################################################################
#cap is 55 mana WHOLE DISPLACEMENT SPELL

GWHOLEDISPLACEMENT:
GWD:

setvariable SPELLTOPREP WHOLE DISPLACEMENT
setvariable SPELLBASEMANA 35
setvariable SPELLMANAHARNESS 20
setvariable SPELLMANAINCREMENTS 1
setvariable GLOBALSPELLTARGET
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP

GWHOLEDISPLACEMENTAT:
GWDAT:

shift
setvariable SPELLTOPREP WHOLE DISPLACEMENT
setvariable SPELLBASEMANA 35
setvariable SPELLMANAHARNESS 20
setvariable SPELLMANAINCREMENTS 1
setvariable GLOBALSPELLTARGET %1
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP

################################################################################
################################################################################
#cap is 54 mana TELEKINETIC THROW SPELL

GTKTAT:

shift
setvariable SPELLTOPREP TKT
setvariable SPELLBASEMANA 34
setvariable SPELLMANAHARNESS 20
setvariable SPELLMANAINCREMENTS 1
setvariable GLOBALSPELLTARGET %1
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP

################################################################################
################################################################################
#cap is 45 mana TELEKINETIC STORM SPELL

GTKS:
GTSK:

setvariable SPELLTOPREP TKS
setvariable SPELLBASEMANA 25
setvariable SPELLMANAHARNESS 20
setvariable SPELLMANAINCREMENTS 1
setvariable GLOBALSPELLTARGET
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP

################################################################################
################################################################################
#cap is 60 mana SHEAR SPELL

GSHEAR:

setvariable SPELLTOPREP SHEAR
setvariable SPELLBASEMANA 30
setvariable SPELLMANAHARNESS 30
setvariable SPELLMANAINCREMENTS 1
setvariable GLOBALSPELLTARGET
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP

################################################################################
################################################################################
#cap is 50 mana DARKNESS SPELL

GDARKNESS:
GDARK:

setvariable SPELLTOPREP DARKNESS
setvariable SPELLBASEMANA 25
setvariable SPELLMANAHARNESS 25
setvariable SPELLMANAINCREMENTS 1
setvariable GLOBALSPELLTARGET
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP

################################################################################
################################################################################
#cap is 52 mana SHADOW WEB SPELL

GSHADOWWEB:
GWEB:

setvariable SPELLTOPREP SHADOW WEB
setvariable SPELLBASEMANA 22
setvariable SPELLMANAHARNESS 30
setvariable SPELLMANAINCREMENTS 1
setvariable GLOBALSPELLTARGET
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


################################################################################
################################################################################
#cap is 33 mana PARTIAL DISPLACEMENT SPELL

GPDAT:

shift
setvariable SPELLTOPREP PARTIAL DISPLAC
setvariable SPELLBASEMANA 15
setvariable SPELLMANAHARNESS 18
setvariable SPELLMANAINCREMENTS 1
setvariable GLOBALSPELLTARGET %1
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP

################################################################################
################################################################################
#cap is 75 mana IMBUE SPELL

GIMBUEAT:

shift
setvariable SPELLTOPREP IMBUE
setvariable SPELLBASEMANA 25
setvariable SPELLMANAHARNESS 25
setvariable SPELLMANAINCREMENTS 2
setvariable GLOBALSPELLTARGET %1
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP

################################################################################
################################################################################
#cap is 48 mana DINAZEN OLKAR SPELL

GDOAT:

shift
setvariable SPELLTOPREP DINAZ OLKAR
setvariable SPELLBASEMANA 18
setvariable SPELLMANAHARNESS 30
setvariable SPELLMANAINCREMENTS 1
setvariable GLOBALSPELLTARGET %1
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP

################################################################################
################################################################################
#cap is 36 mana CRYSTAL SPIKE SPELL

GCRSAT:

shift
setvariable SPELLTOPREP CRYSTAL SPIKE
setvariable SPELLBASEMANA 20
setvariable SPELLMANAHARNESS 16
setvariable SPELLMANAINCREMENTS 1
setvariable GLOBALSPELLTARGET %1
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP

################################################################################
################################################################################
#cap is 50 mana CLARIFY GEM SPELL

GCGAT:

shift
setvariable SPELLTOPREP CLARIFY GEM
setvariable SPELLBASEMANA 20
setvariable SPELLMANAHARNESS 30
setvariable SPELLMANAINCREMENTS 1
setvariable GLOBALSPELLTARGET %1
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP

################################################################################
################################################################################
#cap is 42 mana BURN SPELL

GBURNAT:

shift
setvariable SPELLTOPREP BURN
setvariable SPELLBASEMANA 12
setvariable SPELLMANAHARNESS 30
setvariable SPELLMANAINCREMENTS 1
setvariable GLOBALSPELLTARGET %1
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP

################################################################################
################################################################################
#cap is 55 mana UNLEASH SPELL

GUNLEASHAT:

shift
setvariable SPELLTOPREP UNLEASH
setvariable SPELLBASEMANA 25
setvariable SPELLMANAHARNESS 30
setvariable SPELLMANAINCREMENTS 1
setvariable GLOBALSPELLTARGET %1
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP

################################################################################
################################################################################
#cap is 55 mana PIERCING GAZE SPELL

GPIERCINGGAZE:
GPG:

setvariable SPELLTOPREP PIERCING GAZE
setvariable SPELLBASEMANA 15
setvariable SPELLMANAHARNESS 20
setvariable SPELLMANAINCREMENTS 2
setvariable GLOBALSPELLTARGET
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP

GPIERCINGGAZEAT:
GPGAT:

shift
setvariable SPELLTOPREP PIERCING GAZE
setvariable SPELLBASEMANA 15
setvariable SPELLMANAHARNESS 20
setvariable SPELLMANAINCREMENTS 2
setvariable GLOBALSPELLTARGET %1
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP

################################################################################
################################################################################
#cap is 70 mana CLEAR VISION SPELL

GCLEARVISION:
GCV:

setvariable SPELLTOPREP CLEAR VISION
setvariable SPELLBASEMANA 20
setvariable SPELLMANAHARNESS 25
setvariable SPELLMANAINCREMENTS 2
setvariable GLOBALSPELLTARGET
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP

GCLEARVISIONAT:
GCVAT:

shift
setvariable SPELLTOPREP CLEAR VISION
setvariable SPELLBASEMANA 20
setvariable SPELLMANAHARNESS 25
setvariable SPELLMANAINCREMENTS 2
setvariable GLOBALSPELLTARGET %1
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP

################################################################################
################################################################################
#cap is 60 mana AURA SIGHT SPELL

GAUS:

setvariable SPELLTOPREP AURA SIGHT
setvariable SPELLBASEMANA 20
setvariable SPELLMANAHARNESS 20
setvariable SPELLMANAINCREMENTS 2
setvariable GLOBALSPELLTARGET
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP

GAUSAT:

shift
setvariable SPELLTOPREP AURA SIGHT
setvariable SPELLBASEMANA 20
setvariable SPELLMANAHARNESS 20
setvariable SPELLMANAINCREMENTS 2
setvariable GLOBALSPELLTARGET %1
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP

################################################################################
################################################################################
#cap is 73 mana SHADOWLING SPELL

GSHADOWLING:

setvariable SPELLTOPREP SHADOWLING
setvariable SPELLBASEMANA 23
setvariable SPELLMANAHARNESS 25
setvariable SPELLMANAINCREMENTS 2
setvariable GLOBALSPELLTARGET
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP

################################################################################
################################################################################
#cap is 54 mana SHADOW SERVANT SPELL

GSHADOWSERVANTPYRAMIDS:

setvariable SPELLRETURNPOINTER GSHADOWSERVANTGETPYRAMIDS

GSHADOWSERVANT:

setvariable SPELLTOPREP SHADOW SERVANT
setvariable SPELLBASEMANA 44
setvariable SPELLMANAHARNESS 10
setvariable SPELLMANAINCREMENTS 1
setvariable GLOBALSPELLTARGET
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP

   GSHADOWSERVANTGETPYRAMIDS:

      save NEXTFUNCTION

      Match GSHADOWSERVANTGETPYRAMIDS ...wait
      Match %s stares at you in confusion
      Match %s To whom are you speaking
      Match GSHADOWSERVANTDROPPYRAMIDS pyramid and hands it to you

      put ask servant for pyramid

      Matchwait

   GSHADOWSERVANTDROPPYRAMIDS:

      match GSHADOWSERVANTDROPPYRAMIDS ...wait
      match GSHADOWSERVANTGETPYRAMIDS You drop

      put drop pyramid

      Matchwait

   goto NEXTFUNCTION

################################################################################
################################################################################
#cap is 40 mana STARLIGHT SPHERE SPELL

GSLSAT:

shift
setvariable SPELLTOPREP STARLIGHT SPHERE
setvariable SPELLBASEMANA 20
setvariable SPELLMANAHARNESS 20
setvariable SPELLMANAINCREMENTS 1
setvariable GLOBALSPELLTARGET %1
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP

################################################################################
################################################################################
#cap is 45 mana STRANGE ARROW SPELL

GSAAT:

shift
setvariable SPELLTOPREP STRANGE ARROW
setvariable SPELLBASEMANA 20
setvariable SPELLMANAHARNESS 25
setvariable SPELLMANAINCREMENTS 1
setvariable GLOBALSPELLTARGET %1
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP

################################################################################
################################################################################
#cap is 66 mana PSYCHIC SHIELD SPELL

GPSY:

setvariable SPELLTOPREP PSYCH SHIELD 
setvariable SPELLBASEMANA 26
setvariable SPELLMANAHARNESS 20
setvariable SPELLMANAINCREMENTS 2
setvariable GLOBALSPELLTARGET
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP

GPSYAT:

shift
setvariable SPELLTOPREP PSYCH SHIELD 
setvariable SPELLBASEMANA 26
setvariable SPELLMANAHARNESS 20
setvariable SPELLMANAINCREMENTS 2
setvariable GLOBALSPELLTARGET %1
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP

################################################################################
################################################################################
#cap is 50 mana SEAL OF DEFLECTION SPELL

GSOD:

setvariable SPELLTOPREP SEAL OF DEFLECT
setvariable SPELLBASEMANA 10
setvariable SPELLMANAHARNESS 20
setvariable SPELLMANAINCREMENTS 2
setvariable GLOBALSPELLTARGET
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP

################################################################################
################################################################################
#cap is 62 mana SEVER THREAD SPELL

GSEVERTHREADAT:
GSEVERAT:

setvariable SPELLTOPREP SEVER THREAD
setvariable SPELLBASEMANA 32
setvariable SPELLMANAHARNESS 30
setvariable SPELLMANAINCREMENTS 1
shift
setvariable GLOBALSPELLTARGET %1
setvariable SPELLADDITIONALCOMMAND PREDICT SEVER %GLOBALSPELLTARGET
goto GLOBALSPELLPREP

################################################################################
################################################################################
#cap is 50 mana LOCATE SPELL

GLOCATE:
GLOC:

setvariable SPELLTOPREP LOCATE
setvariable SPELLBASEMANA 20
setvariable SPELLMANAHARNESS 30
setvariable SPELLMANAINCREMENTS 1
setvariable GLOBALSPELLTARGET
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP

GLOCATEAT:
GLOCAT:

shift
setvariable SPELLTOPREP LOCATE
setvariable SPELLBASEMANA 20
setvariable SPELLMANAHARNESS 30
setvariable SPELLMANAINCREMENTS 1
setvariable GLOBALSPELLTARGET %1
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP

################################################################################
################################################################################
#cap is 65 mana MENTAL BLAST SPELL

GMENTALBLASTAT:
GMBAT:

shift
setvariable SPELLTOPREP MENTAL BLAST
setvariable SPELLBASEMANA 35
setvariable SPELLMANAHARNESS 30
setvariable SPELLMANAINCREMENTS 1
setvariable GLOBALSPELLTARGET %1
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP

################################################################################
################################################################################
#cap is 58 mana TEZIRAH'S VEIL SPELL

GTEZIRAHSVEILAT:
GTVAT:

shift
setvariable SPELLTOPREP TEZIRA VEIL
setvariable SPELLBASEMANA 28
setvariable SPELLMANAHARNESS 30
setvariable SPELLMANAINCREMENTS 1
setvariable GLOBALSPELLTARGET %1
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP

################################################################################
################################################################################
#cap is 75 mana RIPPLE SPELL (cannot cap this spell at 770PM yet) current total
#mana with no leak is 55

GRIPPLE:
GRIP:

setvariable SPELLTOPREP RIPPLE
setvariable SPELLBASEMANA 25
setvariable SPELLMANAHARNESS 30
setvariable SPELLMANAINCREMENTS 1
setvariable GLOBALSPELLTARGET
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP

################################################################################
################################################################################
#cap is 60 mana DAZZLE SPELL

GDAZZLE:
GDAZ:

setvariable SPELLTOPREP DAZZLE
setvariable SPELLBASEMANA 30
setvariable SPELLMANAHARNESS 30
setvariable SPELLMANAINCREMENTS 1
setvariable GLOBALSPELLTARGET
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP

GDAZZLEAT:
GDAZAT:

shift
setvariable SPELLTOPREP DAZZLE
setvariable SPELLBASEMANA 30
setvariable SPELLMANAHARNESS 30
setvariable SPELLMANAINCREMENTS 1
setvariable GLOBALSPELLTARGET %1
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP

################################################################################
################################################################################
#cap is 60 mana SHADOWS SPELL

GSHADOWS:
GSHAD:

setvariable SPELLTOPREP SHADOWS
setvariable SPELLBASEMANA 30
setvariable SPELLMANAHARNESS 30
setvariable SPELLMANAINCREMENTS 1
setvariable GLOBALSPELLTARGET
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP

GSHADOWSAT:
GSHADAT:

shift
setvariable SPELLTOPREP SHADOWS
setvariable SPELLBASEMANA 30
setvariable SPELLMANAHARNESS 30
setvariable SPELLMANAINCREMENTS 1
setvariable GLOBALSPELLTARGET %1
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP

################################################################################
################################################################################
#cap is 56 mana SEER'S SENSE SPELL

GSEERSSENSE:
GSEERS:
GSEER:

setvariable SPELLTOPREP SEER
setvariable SPELLBASEMANA 26
setvariable SPELLMANAHARNESS 30
setvariable SPELLMANAINCREMENTS 1
setvariable GLOBALSPELLTARGET
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP

GSEERSSENSEAT:
GSEERSAT:
GSEERAT:

shift
setvariable SPELLTOPREP SEER
setvariable SPELLBASEMANA 26
setvariable SPELLMANAHARNESS 30
setvariable SPELLMANAINCREMENTS 1
setvariable GLOBALSPELLTARGET %1
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP

################################################################################
################################################################################
#cap is 120 mana FOCUS MOONBEAM SPELL

GFOCUSMOONBEAMAT:
GFMAT:

shift
setvariable SPELLTOPREP FOC MOON
setvariable SPELLBASEMANA 20
setvariable SPELLMANAHARNESS 20
setvariable SPELLMANAINCREMENTS 5
setvariable GLOBALSPELLTARGET %1
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP

################################################################################
################################################################################
#cap is 45 mana CONTINGENCY SPELL

GCONTINGENCYAT:

shift
setvariable SPELLTOPREP CONTINGENCY
setvariable SPELLBASEMANA 25
setvariable SPELLMANAHARNESS 20
setvariable SPELLMANAINCREMENTS 1
setvariable GLOBALSPELLTARGET %1
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP

################################################################################
################################################################################
#cap is 43 mana CAGE OF LIGHT SPELL

GCAGEOFLIGHT:
GCOLAT:

shift
setvariable SPELLTOPREP CAGE OF LIGHT
setvariable SPELLBASEMANA 23
setvariable SPELLMANAHARNESS 20
setvariable SPELLMANAINCREMENTS 1
setvariable GLOBALSPELLTARGET %1
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP

################################################################################
################################################################################
#cap is 60 mana DISTANT GAZE SPELL

GDISTANTGAZEAT:
GDGAT:

shift
setvariable SPELLTOPREP DISTANT GAZE
setvariable SPELLBASEMANA 10
setvariable SPELLMANAHARNESS 10
setvariable SPELLMANAINCREMENTS 1
setvariable GLOBALSPELLTARGET %1
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP

################################################################################
################################################################################
#cap is 71 mana EASE BURDEN SPELL

GEASE:

setvariable SPELLTOPREP EASE
setvariable SPELLBASEMANA 21
setvariable SPELLMANAHARNESS 25
setvariable SPELLMANAINCREMENTS 2
setvariable GLOBALSPELLTARGET
setvariable SPELLADDITIONALCOMMAND ENCUMB
goto GLOBALSPELLPREP

GEASEAT:

shift
setvariable SPELLTOPREP EASE
setvariable SPELLBASEMANA 21
setvariable SPELLMANAHARNESS 25
setvariable SPELLMANAINCREMENTS 2
setvariable GLOBALSPELLTARGET %1
setvariable SPELLADDITIONALCOMMAND 
goto GLOBALSPELLPREP

################################################################################
################################################################################
#cap is 65 mana SPHERE OF PROTECTION SPELL

GSOP:

setvariable SPELLTOPREP SPHERE OF PROTECT
setvariable SPELLBASEMANA 10
setvariable SPELLMANAHARNESS 25
setvariable SPELLMANAINCREMENTS 2
setvariable GLOBALSPELLTARGET
setvariable SPELLADDITIONALCOMMAND 
goto GLOBALSPELLPREP

GSOPAT:

shift
setvariable SPELLTOPREP SPHERE OF PROTECT
setvariable SPELLBASEMANA 10
setvariable SPELLMANAHARNESS 25
setvariable SPELLMANAINCREMENTS 2
setvariable GLOBALSPELLTARGET %1
setvariable SPELLADDITIONALCOMMAND 
goto GLOBALSPELLPREP

################################################################################
################################################################################
#cap is 66 mana ETHEREAL SHIELD SPELL

GES:

setvariable SPELLTOPREP ETHEREAL SHIELD
setvariable SPELLBASEMANA 26
setvariable SPELLMANAHARNESS 20
setvariable SPELLMANAINCREMENTS 2
setvariable GLOBALSPELLTARGET
setvariable SPELLADDITIONALCOMMAND 
goto GLOBALSPELLPREP

GESAT:

shift
setvariable SPELLTOPREP ETHEREAL SHIELD
setvariable SPELLBASEMANA 26
setvariable SPELLMANAHARNESS 20
setvariable SPELLMANAINCREMENTS 2
setvariable GLOBALSPELLTARGET %1
setvariable SPELLADDITIONALCOMMAND 
goto GLOBALSPELLPREP

################################################################################
################################################################################
#begin GLOBAL SPELLCASTING FUNCTION

GLOBALSPELLPREP:

   setvariable RETURNPOINTER GSPELLPREP
   counter set %SPELLMANAINCREMENTS

   GSPELLPREP:

      Match GSPELLPREP ...wait
      Match KILLHUMMING You should stop playing
      Match KILLSPELLPREP You are already preparing
      Match KILLSPELLPREP You have to strain
      Match GSPELLPREPFULLPREP %SPELLPREPMESSAGE

      put prep %SPELLTOPREP %SPELLBASEMANA

      Matchwait

   GSPELLPREPFULLPREP:

      waitfor You feel fully prepared
      goto GSPELLPREPMANACHECK

   GSPELLPREPMANACHECK:

      Match %SPELLRETURNPOINTER S>>>>>>>|_
      Match %SPELLRETURNPOINTER S>>>>>>|_
      Match %SPELLRETURNPOINTER S>>>>>|_
      Match %SPELLRETURNPOINTER S>>>>|_
      Match %SPELLRETURNPOINTER S>>>|_
      Match %SPELLRETURNPOINTER S>>|_
      Match %SPELLRETURNPOINTER S>|_
      Match %SPELLRETURNPOINTER S|_
      Match GSPELLPREPHARNESS%c MANA HELP

      put mana

      Matchwait

   GSPELLPREPHARNESS10:
   GSPELLPREPHARNESS9:
   GSPELLPREPHARNESS8:
   GSPELLPREPHARNESS7:
   GSPELLPREPHARNESS6:
   GSPELLPREPHARNESS5:
   GSPELLPREPHARNESS4:
   GSPELLPREPHARNESS3:
   GSPELLPREPHARNESS2:
   GSPELLPREPHARNESS1:

      put harness %SPELLMANAHARNESS

      Match GSPELLPREPHARNESS%c ...wait
      Match GSPELLPREPUPDATECOUNTER You tap into the mana from
      Match KILLSPELLPREP You strain, but cannot harness
      Matchwait

   GSPELLPREPUPDATECOUNTER:

      counter subtract 1

      goto GSPELLPREPMANACHECK

   GSPELLPREPHARNESS0:

   GSPELLPREPSPELLCAST:

      Match GSPELLPREPSPELLCAST ...wait
      Match GSPELLPREPFINISH You gesture

      put cast %GLOBALSPELLTARGET

      Matchwait

   GSPELLPREPFINISH:

      put %SPELLADDITIONALCOMMAND
      goto %SPELLRETURNPOINTER

#end GLOBAL SPELLPREP FUNCTION
################################################################################
################################################################################

#############################INFORMATIONAL SCRIPTS##############################

################################################################################
################################################################################

TIMERS:

echo ###########################################################################
echo
echo This is a list of confirmed timers:
echo HUNT - 75s
echo STUDY SKY - 20s
echo STUDY CELESTIAL BODY - 120s
echo OBSERVE CELESTIAL BODY - 120s-240s
echo PREDICT ANALYZE - 90s
echo HIDE (in front of the same critters) - 45s
echo FLEE 2-5 mins
echo
echo ########################################################################### 
exit

################################################################################
################################################################################

#################################TRAVEL SCRIPTS#################################

################################################################################
################################################################################

TRAVEL:

   setvariable STARTINGLOCATION none
   counter set 0

   Match CROSSINGLOCATION [Strand Communal Center, Common Room]
   Match CROSSINGLOCATIONADJUST [Communal Center, Veranda]
   Match AESRYLOCATION [Tona Kertigen, Bank Vault]
   Match AESRYLOCATIONADJUST [Aesry Surlaenis'a, Staho Pivo'hrr'schu'Mus]
   Match SHARDLOCATION [Lady Atladene's Salon, Entryway]
   Match SHARDLOCATIONADJUST [First Bank of Ilithi, Exchange Vault]
   Match MERKRESHLOCATION [Alydendael, Front Gardens]
   Match MERKRESHLOCATIONADJUST [Wharf End, Mer'Kresh]
   Match RIVERHAVENLOCATION [Armiger's Mansion, Foyer]
   Match RIVERHAVENLOCATIONADJUST [Riverhaven, Tree-shaded Lane]
   Match RATHALOCATION [Sshoi-sson Palace, Provincial Bank Foyer]
   Match RATHALOCATIONADJUST [Sshoi-sson Palace, Portico]
   Match ELBAINSLOCATION [Beech Glade, Trail]
   Match ELBAINSLOCATIONADJUST [Outside the Circle, The Ironwoods]
   Match MUSPARILOCATION [Velakan Trade Road]
   Match MUSPARILOCATIONADJUST [Old Lata'arna Keep, Exchange Vault]
   Match HIBLOCATION [The Stony Hub, Entryway]
   Match HIBLOCATIONADJUST [Inner Hibarnhvidar, Tower Base]

   put look

   Matchwait

   CROSSINGLOCATION:

      setvariable STARTINGLOCATION CROSSING
      counter set 1
      goto SELECTLOCATION

   CROSSINGLOCATIONADJUST:

      move go door
      goto TRAVEL

   AESRYLOCATION:

      setvariable STARTINGLOCATION AESRY
      counter set 2
      goto SELECTLOCATION

   AESRYLOCATIONADJUST:

      move n
      move e
      move go gate
      move go door
      move n
      move w
      move go vault
      goto TRAVEL

   SHARDLOCATION:

      setvariable STARTINGLOCATION SHARD
      counter set 3
      goto SELECTLOCATION

   SHARDLOCATIONADJUST:

      move out
      move w
      move out
      move e
      move go brid
      move e
      move e
      move e
      move n
      move ne
      move e
      move n
      move go home
      goto TRAVEL

   MERKRESHLOCATION:

      setvariable STARTINGLOCATION MER'KRESH
      counter set 4
      goto SELECTLOCATION

   MERKRESHLOCATIONADJUST:

      move nw
      move nw
      move ne
      move ne
      move n
      move n
      move n
      move n
      move go gate
      goto TRAVEL

   RIVERHAVENLOCATION:

      setvariable STARTINGLOCATION RIVERHAVEN
      counter set 5
      goto SELECTLOCATION

   RIVERHAVENLOCATIONADJUST:

      move go gate
      move se
      move climb stair
      move go door
      goto TRAVEL

   RATHALOCATION:

      setvariable STARTINGLOCATION RATHA
      counter set 6
      goto SELECTLOCATION

   RATHALOCATIONADJUST:

      move go door
      move e
      goto TRAVEL

   ELBAINSLOCATION:

      setvariable STARTINGLOCATION ELBAIN'S
      counter set 7
      goto SELECTLOCATION

   ELBAINSLOCATIONADJUST:

      move go tree
      move s
      move s
      goto TRAVEL

   MUSPARILOCATION:

      setvariable STARTINGLOCATION MUSPAR'I
      counter set 8
      goto SELECTLOCATION

   MUSPARILOCATIONADJUST:

      move w
      move n
      move climb stair
      move s
      move climb stair
      move se
      move sw
      move climb stair
      move go gate
      move se
      move se
      move se
      move se
      move go gate
      move w
      goto TRAVEL

   HIBLOCATION:

      setvariable STARTINGLOCATION HIBARNHVIDAR
      counter set 9
      goto SELECTLOCATION

   HIBLOCATIONADJUST:

      move climb stair
      move nw
      move ne
      move ne
      move se
      move climb stair
      move se
      move s
      move go recess
      move sw
      move nw
      move nw
      move n
      move ne
      move ne
      move go door
      move climb stair
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move e
      move go entryway
      goto TRAVEL

   SELECTLOCATION:

      pause
      ECHO ######################################################################
      ECHO ################You are currently in %STARTINGLOCATION###############
      ECHO ######################################################################

      ECHO ############################################################
      ECHO Please select your destination from the following:
      ECHO 1.CROSSING
      ECHO 2.AESRY
      ECHO 3.SHARD
      ECHO 4.MERKRESH
      ECHO 5.RIVERHAVEN
      ECHO 6.RATHA
      ECHO 7.ELBAINS
      ECHO 8.MUSPARI
      ECHO 9.HIBARN
      ECHO Type out the location without the number in CAPS! (ie HIBARN)
      ECHO #############################################################

      Match %cCROSSING CROSSING
      Match %cAESRY AESRY
      Match %cSHARD SHARD
      Match %cMERKRESH MERKRESH
      Match %cRIVERHAVEN RIVERHAVEN
      Match %cRATHA RATHA
      Match %cELBAINS ELBAINS
      Match %cMUSPARI MUSPARI
      Match %cHIBARN HIBARN

      Matchwait     

   1CROSSING:

      ECHO #####################
      ECHO #Already in CROSSING#
      ECHO #####################
      exit

   1AESRY:

      move go portal
      exit

   1SHARD:

      move go portal

      move n
      move e
      move go gate
      move go door
      move n
      move w
      move go vault
      move go portal
      exit

   1MERKRESH:

      move go portal

      move n
      move e
      move go gate
      move go door
      move n
      move w
      move go vault
      move go portal

      move out
      move w
      move out
      move e
      move go brid
      move e
      move e
      move e
      move n
      move ne
      move e
      move n
      move go home
      move go port
      exit

   1RIVERHAVEN:

      move go portal

      move n
      move e
      move go gate
      move go door
      move n
      move w
      move go vault
      move go portal

      move out
      move w
      move out
      move e
      move go brid
      move e
      move e
      move e
      move n
      move ne
      move e
      move n
      move go home
      move go port

      move nw
      move nw
      move ne
      move ne
      move n
      move n
      move n
      move n
      move go gate
      move go portal
      exit

   1RATHA:

      move go portal

      move n
      move e
      move go gate
      move go door
      move n
      move w
      move go vault
      move go portal

      move out
      move w
      move out
      move e
      move go brid
      move e
      move e
      move e
      move n
      move ne
      move e
      move n
      move go home
      move go port

      move nw
      move nw
      move ne
      move ne
      move n
      move n
      move n
      move n
      move go gate
      move go portal

      move go gate
      move se
      move climb stair
      move go door
      move go portal
      exit

   1ELBAINS:

      move go portal

      move n
      move e
      move go gate
      move go door
      move n
      move w
      move go vault
      move go portal

      move out
      move w
      move out
      move e
      move go brid
      move e
      move e
      move e
      move n
      move ne
      move e
      move n
      move go home
      move go port

      move nw
      move nw
      move ne
      move ne
      move n
      move n
      move n
      move n
      move go gate
      move go portal

      move go gate
      move se
      move climb stair
      move go door
      move go portal

      move go door
      move e
      move go portal
      exit

   1MUSPARI:

      move go portal

      move n
      move e
      move go gate
      move go door
      move n
      move w
      move go vault
      move go portal

      move out
      move w
      move out
      move e
      move go brid
      move e
      move e
      move e
      move n
      move ne
      move e
      move n
      move go home
      move go port

      move nw
      move nw
      move ne
      move ne
      move n
      move n
      move n
      move n
      move go gate
      move go portal

      move go gate
      move se
      move climb stair
      move go door
      move go portal

      move go door
      move e
      move go portal

      move go tree
      move s
      move s
      move go portal
      exit

   1HIBARN:

      move go portal

      move n
      move e
      move go gate
      move go door
      move n
      move w
      move go vault
      move go portal

      move out
      move w
      move out
      move e
      move go brid
      move e
      move e
      move e
      move n
      move ne
      move e
      move n
      move go home
      move go port

      move nw
      move nw
      move ne
      move ne
      move n
      move n
      move n
      move n
      move go gate
      move go portal

      move go gate
      move se
      move climb stair
      move go door
      move go portal

      move go door
      move e
      move go portal

      move go tree
      move s
      move s
      move go portal

      move w
      move n
      move climb stair
      move s
      move climb stair
      move se
      move sw
      move climb stair
      move go gate
      move se
      move se
      move se
      move se
      move go gate
      move w
      move go portal
      exit

   2CROSSING:

      move go portal

      move out
      move w
      move out
      move e
      move go brid
      move e
      move e
      move e
      move n
      move ne
      move e
      move n
      move go home
      move go port

      move nw
      move nw
      move ne
      move ne
      move n
      move n
      move n
      move n
      move go gate
      move go portal

      move go gate
      move se
      move climb stair
      move go door
      move go portal

      move go door
      move e
      move go portal

      move go tree
      move s
      move s
      move go portal

      move w
      move n
      move climb stair
      move s
      move climb stair
      move se
      move sw
      move climb stair
      move go gate
      move se
      move se
      move se
      move se
      move go gate
      move w
      move go portal

      move climb stair
      move nw
      move ne
      move ne
      move se
      move climb stair
      move se
      move s
      move go recess
      move sw
      move nw
      move nw
      move n
      move ne
      move ne
      move go door
      move climb stair
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move e
      move go entryway
      move go portal
      exit

   2AESRY:

      ECHO #####################
      ECHO ###Already in AESRY##
      ECHO #####################
      exit

   2SHARD:

      move go portal
      exit

   2MERKRESH:

      move go portal

      move out
      move w
      move out
      move e
      move go brid
      move e
      move e
      move e
      move n
      move ne
      move e
      move n
      move go home
      move go port
      exit

   2RIVERHAVEN:

      move go portal

      move out
      move w
      move out
      move e
      move go brid
      move e
      move e
      move e
      move n
      move ne
      move e
      move n
      move go home
      move go port

      move nw
      move nw
      move ne
      move ne
      move n
      move n
      move n
      move n
      move go gate
      move go portal
      exit

   2RATHA:

      move go portal

      move out
      move w
      move out
      move e
      move go brid
      move e
      move e
      move e
      move n
      move ne
      move e
      move n
      move go home
      move go port

      move nw
      move nw
      move ne
      move ne
      move n
      move n
      move n
      move n
      move go gate
      move go portal

      move go gate
      move se
      move climb stair
      move go door
      move go portal
      exit

   2ELBAINS:

      move go portal

      move out
      move w
      move out
      move e
      move go brid
      move e
      move e
      move e
      move n
      move ne
      move e
      move n
      move go home
      move go port

      move nw
      move nw
      move ne
      move ne
      move n
      move n
      move n
      move n
      move go gate
      move go portal

      move go gate
      move se
      move climb stair
      move go door
      move go portal

      move go door
      move e
      move go portal
      exit

   2MUSPARI:

      move go portal

      move out
      move w
      move out
      move e
      move go brid
      move e
      move e
      move e
      move n
      move ne
      move e
      move n
      move go home
      move go port

      move nw
      move nw
      move ne
      move ne
      move n
      move n
      move n
      move n
      move go gate
      move go portal

      move go gate
      move se
      move climb stair
      move go door
      move go portal

      move go door
      move e
      move go portal

      move go tree
      move s
      move s
      move go portal
      exit

   2HIBARN:

      move go portal

      move out
      move w
      move out
      move e
      move go brid
      move e
      move e
      move e
      move n
      move ne
      move e
      move n
      move go home
      move go port

      move nw
      move nw
      move ne
      move ne
      move n
      move n
      move n
      move n
      move go gate
      move go portal

      move go gate
      move se
      move climb stair
      move go door
      move go portal

      move go door
      move e
      move go portal

      move go tree
      move s
      move s
      move go portal

      move w
      move n
      move climb stair
      move s
      move climb stair
      move se
      move sw
      move climb stair
      move go gate
      move se
      move se
      move se
      move se
      move go gate
      move w
      move go portal
      exit

   3CROSSING:

      move go portal

      move nw
      move nw
      move ne
      move ne
      move n
      move n
      move n
      move n
      move go gate
      move go portal

      move go gate
      move se
      move climb stair
      move go door
      move go portal

      move go door
      move e
      move go portal

      move go tree
      move s
      move s
      move go portal

      move w
      move n
      move climb stair
      move s
      move climb stair
      move se
      move sw
      move climb stair
      move go gate
      move se
      move se
      move se
      move se
      move go gate
      move w
      move go portal

      move climb stair
      move nw
      move ne
      move ne
      move se
      move climb stair
      move se
      move s
      move go recess
      move sw
      move nw
      move nw
      move n
      move ne
      move ne
      move go door
      move climb stair
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move e
      move go entryway
      move go portal
      exit

   3AESRY:

      move go portal

      move nw
      move nw
      move ne
      move ne
      move n
      move n
      move n
      move n
      move go gate
      move go portal

      move go gate
      move se
      move climb stair
      move go door
      move go portal

      move go door
      move e
      move go portal

      move go tree
      move s
      move s
      move go portal

      move w
      move n
      move climb stair
      move s
      move climb stair
      move se
      move sw
      move climb stair
      move go gate
      move se
      move se
      move se
      move se
      move go gate
      move w
      move go portal

      move climb stair
      move nw
      move ne
      move ne
      move se
      move climb stair
      move se
      move s
      move go recess
      move sw
      move nw
      move nw
      move n
      move ne
      move ne
      move go door
      move climb stair
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move e
      move go entryway
      move go portal

      move go door
      move go portal
      exit

   3SHARD:

      ECHO #####################
      ECHO ###Already in SHARD##
      ECHO #####################
      exit

   3MERKRESH:

      move go portal
      exit

   3RIVERHAVEN:

      move go portal

      move nw
      move nw
      move ne
      move ne
      move n
      move n
      move n
      move n
      move go gate
      move go portal
      exit

   3RATHA:

      move go portal

      move nw
      move nw
      move ne
      move ne
      move n
      move n
      move n
      move n
      move go gate
      move go portal

      move go gate
      move se
      move climb stair
      move go door
      move go portal
      exit

   3ELBAINS:

      move go portal

      move nw
      move nw
      move ne
      move ne
      move n
      move n
      move n
      move n
      move go gate
      move go portal

      move go gate
      move se
      move climb stair
      move go door
      move go portal

      move go door
      move e
      move go portal
      exit

   3MUSPARI:

      move go portal

      move nw
      move nw
      move ne
      move ne
      move n
      move n
      move n
      move n
      move go gate
      move go portal

      move go gate
      move se
      move climb stair
      move go door
      move go portal

      move go door
      move e
      move go portal

      move go tree
      move s
      move s
      move go portal
      exit

   3HIBARN:

      move go portal

      move nw
      move nw
      move ne
      move ne
      move n
      move n
      move n
      move n
      move go gate
      move go portal

      move go gate
      move se
      move climb stair
      move go door
      move go portal

      move go door
      move e
      move go portal

      move go tree
      move s
      move s
      move go portal

      move w
      move n
      move climb stair
      move s
      move climb stair
      move se
      move sw
      move climb stair
      move go gate
      move se
      move se
      move se
      move se
      move go gate
      move w
      move go portal
      exit

   4CROSSING:

      move go portal

      move go gate
      move se
      move climb stair
      move go door
      move go portal

      move go door
      move e
      move go portal

      move go tree
      move s
      move s
      move go portal

      move w
      move n
      move climb stair
      move s
      move climb stair
      move se
      move sw
      move climb stair
      move go gate
      move se
      move se
      move se
      move se
      move go gate
      move w
      move go portal

      move climb stair
      move nw
      move ne
      move ne
      move se
      move climb stair
      move se
      move s
      move go recess
      move sw
      move nw
      move nw
      move n
      move ne
      move ne
      move go door
      move climb stair
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move e
      move go entryway
      move go portal
      exit

   4AESRY:

      move go portal

      move go gate
      move se
      move climb stair
      move go door
      move go portal

      move go door
      move e
      move go portal

      move go tree
      move s
      move s
      move go portal

      move w
      move n
      move climb stair
      move s
      move climb stair
      move se
      move sw
      move climb stair
      move go gate
      move se
      move se
      move se
      move se
      move go gate
      move w
      move go portal

      move climb stair
      move nw
      move ne
      move ne
      move se
      move climb stair
      move se
      move s
      move go recess
      move sw
      move nw
      move nw
      move n
      move ne
      move ne
      move go door
      move climb stair
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move e
      move go entryway
      move go portal

      move go door
      move go portal
      exit

   4SHARD:

      move go portal

      move go gate
      move se
      move climb stair
      move go door
      move go portal

      move go door
      move e
      move go portal

      move go tree
      move s
      move s
      move go portal

      move w
      move n
      move climb stair
      move s
      move climb stair
      move se
      move sw
      move climb stair
      move go gate
      move se
      move se
      move se
      move se
      move go gate
      move w
      move go portal

      move climb stair
      move nw
      move ne
      move ne
      move se
      move climb stair
      move se
      move s
      move go recess
      move sw
      move nw
      move nw
      move n
      move ne
      move ne
      move go door
      move climb stair
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move e
      move go entryway
      move go portal

      move go door
      move go portal

      move n
      move e
      move go gate
      move go door
      move n
      move w
      move go vault
      move go portal
      exit

   4MERKRESH:

      ECHO #######################
      ECHO ##Already in MERKRESH##
      ECHO #######################
      exit

   4RIVERHAVEN:

      move go portal
      exit

   4RATHA:

      move go portal

      move go gate
      move se
      move climb stair
      move go door
      move go portal
      exit

   4ELBAINS:

      move go portal

      move go gate
      move se
      move climb stair
      move go door
      move go portal

      move go door
      move e
      move go portal
      exit

   4MUSPARI:

      move go portal

      move go gate
      move se
      move climb stair
      move go door
      move go portal

      move go door
      move e
      move go portal

      move go tree
      move s
      move s
      move go portal
      exit

   4HIBARN:

      move go portal

      move go gate
      move se
      move climb stair
      move go door
      move go portal

      move go door
      move e
      move go portal

      move go tree
      move s
      move s
      move go portal

      move climb stair
      move nw
      move ne
      move ne
      move se
      move climb stair
      move se
      move s
      move go recess
      move sw
      move nw
      move nw
      move n
      move ne
      move ne
      move go door
      move climb stair
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move e
      move go entryway
      move go portal
      exit

   5CROSSING:

      move go portal

      move go door
      move e
      move go portal

      move go tree
      move s
      move s
      move go portal

      move w
      move n
      move climb stair
      move s
      move climb stair
      move se
      move sw
      move climb stair
      move go gate
      move se
      move se
      move se
      move se
      move go gate
      move w
      move go portal

      move climb stair
      move nw
      move ne
      move ne
      move se
      move climb stair
      move se
      move s
      move go recess
      move sw
      move nw
      move nw
      move n
      move ne
      move ne
      move go door
      move climb stair
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move e
      move go entryway
      move go portal
      exit

   5AESRY:

      move go portal

      move go door
      move e
      move go portal

      move go tree
      move s
      move s
      move go portal

      move w
      move n
      move climb stair
      move s
      move climb stair
      move se
      move sw
      move climb stair
      move go gate
      move se
      move se
      move se
      move se
      move go gate
      move w
      move go portal

      move climb stair
      move nw
      move ne
      move ne
      move se
      move climb stair
      move se
      move s
      move go recess
      move sw
      move nw
      move nw
      move n
      move ne
      move ne
      move go door
      move climb stair
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move e
      move go entryway
      move go portal

      move go door
      move go portal
      exit

   5SHARD:

      move go portal

      move go door
      move e
      move go portal

      move go tree
      move s
      move s
      move go portal

      move w
      move n
      move climb stair
      move s
      move climb stair
      move se
      move sw
      move climb stair
      move go gate
      move se
      move se
      move se
      move se
      move go gate
      move w
      move go portal

      move climb stair
      move nw
      move ne
      move ne
      move se
      move climb stair
      move se
      move s
      move go recess
      move sw
      move nw
      move nw
      move n
      move ne
      move ne
      move go door
      move climb stair
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move e
      move go entryway
      move go portal

      move go door
      move go portal

      move n
      move e
      move go gate
      move go door
      move n
      move w
      move go vault
      move go portal
      exit

   5MERKRESH:

      move go portal

      move go door
      move e
      move go portal

      move go tree
      move s
      move s
      move go portal

      move w
      move n
      move climb stair
      move s
      move climb stair
      move se
      move sw
      move climb stair
      move go gate
      move se
      move se
      move se
      move se
      move go gate
      move w
      move go portal

      move climb stair
      move nw
      move ne
      move ne
      move se
      move climb stair
      move se
      move s
      move go recess
      move sw
      move nw
      move nw
      move n
      move ne
      move ne
      move go door
      move climb stair
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move e
      move go entryway
      move go portal

      move go door
      move go portal

      move n
      move e
      move go gate
      move go door
      move n
      move w
      move go vault
      move go portal

      move out
      move w
      move out
      move e
      move go brid
      move e
      move e
      move e
      move n
      move ne
      move e
      move n
      move go home
      move go port
      exit

   5RIVERHAVEN:

      ECHO ###########################
      ECHO ###Already in RIVERHAVEN###
      ECHO ###########################
      exit

   5RATHA:

      move go portal
      exit

   5ELBAINS:

      move go portal

      move go door
      move e
      move go portal
      exit

   5MUSPARI:

      move go portal

      move go door
      move e
      move go portal

      move go tree
      move s
      move s
      move go portal
      exit

   5HIBARN:

      move go portal

      move go door
      move e
      move go portal

      move go tree
      move s
      move s
      move go portal

      move w
      move n
      move climb stair
      move s
      move climb stair
      move se
      move sw
      move climb stair
      move go gate
      move se
      move se
      move se
      move se
      move go gate
      move w
      move go portal
      exit

   6CROSSING:

      move go portal

      move go tree
      move s
      move s
      move go portal

      move w
      move n
      move climb stair
      move s
      move climb stair
      move se
      move sw
      move climb stair
      move go gate
      move se
      move se
      move se
      move se
      move go gate
      move w
      move go portal

      move climb stair
      move nw
      move ne
      move ne
      move se
      move climb stair
      move se
      move s
      move go recess
      move sw
      move nw
      move nw
      move n
      move ne
      move ne
      move go door
      move climb stair
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move e
      move go entryway
      move go portal
      exit

   6AESRY:

      move go portal

      move go tree
      move s
      move s
      move go portal

      move w
      move n
      move climb stair
      move s
      move climb stair
      move se
      move sw
      move climb stair
      move go gate
      move se
      move se
      move se
      move se
      move go gate
      move w
      move go portal

      move climb stair
      move nw
      move ne
      move ne
      move se
      move climb stair
      move se
      move s
      move go recess
      move sw
      move nw
      move nw
      move n
      move ne
      move ne
      move go door
      move climb stair
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move e
      move go entryway
      move go portal

      move go door
      move go portal
      exit

   6SHARD:

      move go portal

      move go tree
      move s
      move s
      move go portal

      move w
      move n
      move climb stair
      move s
      move climb stair
      move se
      move sw
      move climb stair
      move go gate
      move se
      move se
      move se
      move se
      move go gate
      move w
      move go portal

      move climb stair
      move nw
      move ne
      move ne
      move se
      move climb stair
      move se
      move s
      move go recess
      move sw
      move nw
      move nw
      move n
      move ne
      move ne
      move go door
      move climb stair
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move e
      move go entryway
      move go portal

      move go door
      move go portal

      move n
      move e
      move go gate
      move go door
      move n
      move w
      move go vault
      move go portal
      exit

   6MERKRESH:

      move go portal

      move go tree
      move s
      move s
      move go portal

      move w
      move n
      move climb stair
      move s
      move climb stair
      move se
      move sw
      move climb stair
      move go gate
      move se
      move se
      move se
      move se
      move go gate
      move w
      move go portal

      move climb stair
      move nw
      move ne
      move ne
      move se
      move climb stair
      move se
      move s
      move go recess
      move sw
      move nw
      move nw
      move n
      move ne
      move ne
      move go door
      move climb stair
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move e
      move go entryway
      move go portal

      move go door
      move go portal

      move n
      move e
      move go gate
      move go door
      move n
      move w
      move go vault
      move go portal

      move out
      move w
      move out
      move e
      move go brid
      move e
      move e
      move e
      move n
      move ne
      move e
      move n
      move go home
      move go port
      exit

   6RIVERHAVEN:

      move go portal

      move go tree
      move s
      move s
      move go portal

      move w
      move n
      move climb stair
      move s
      move climb stair
      move se
      move sw
      move climb stair
      move go gate
      move se
      move se
      move se
      move se
      move go gate
      move w
      move go portal

      move climb stair
      move nw
      move ne
      move ne
      move se
      move climb stair
      move se
      move s
      move go recess
      move sw
      move nw
      move nw
      move n
      move ne
      move ne
      move go door
      move climb stair
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move e
      move go entryway
      move go portal

      move go door
      move go portal

      move n
      move e
      move go gate
      move go door
      move n
      move w
      move go vault
      move go portal

      move out
      move w
      move out
      move e
      move go brid
      move e
      move e
      move e
      move n
      move ne
      move e
      move n
      move go home
      move go port

      move nw
      move nw
      move ne
      move ne
      move n
      move n
      move n
      move n
      move go gate
      move go portal
      exit

   6RATHA:

      ECHO #####################
      ECHO ###Already in RATHA##
      ECHO #####################
      exit

   6ELBAINS:

      move go portal
      exit

   6MUSPARI:

      move go portal

      move go tree
      move s
      move s
      move go portal
      exit

   6HIBARN:

      move go portal

      move go tree
      move s
      move s
      move go portal

      move w
      move n
      move climb stair
      move s
      move climb stair
      move se
      move sw
      move climb stair
      move go gate
      move se
      move se
      move se
      move se
      move go gate
      move w
      move go portal
      exit

   7CROSSING:

      move go portal

      move w
      move n
      move climb stair
      move s
      move climb stair
      move se
      move sw
      move climb stair
      move go gate
      move se
      move se
      move se
      move se
      move go gate
      move w
      move go portal

      move climb stair
      move nw
      move ne
      move ne
      move se
      move climb stair
      move se
      move s
      move go recess
      move sw
      move nw
      move nw
      move n
      move ne
      move ne
      move go door
      move climb stair
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move e
      move go entryway
      move go portal
      exit

   7AESRY:

      move go portal

      move w
      move n
      move climb stair
      move s
      move climb stair
      move se
      move sw
      move climb stair
      move go gate
      move se
      move se
      move se
      move se
      move go gate
      move w
      move go portal

      move climb stair
      move nw
      move ne
      move ne
      move se
      move climb stair
      move se
      move s
      move go recess
      move sw
      move nw
      move nw
      move n
      move ne
      move ne
      move go door
      move climb stair
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move e
      move go entryway
      move go portal

      move go door
      move go portal
      exit

   7SHARD:

      move go portal

      move w
      move n
      move climb stair
      move s
      move climb stair
      move se
      move sw
      move climb stair
      move go gate
      move se
      move se
      move se
      move se
      move go gate
      move w
      move go portal

      move climb stair
      move nw
      move ne
      move ne
      move se
      move climb stair
      move se
      move s
      move go recess
      move sw
      move nw
      move nw
      move n
      move ne
      move ne
      move go door
      move climb stair
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move e
      move go entryway
      move go portal

      move go door
      move go portal

      move n
      move e
      move go gate
      move go door
      move n
      move w
      move go vault
      move go portal
      exit

   7MERKRESH:

      move go portal

      move w
      move n
      move climb stair
      move s
      move climb stair
      move se
      move sw
      move climb stair
      move go gate
      move se
      move se
      move se
      move se
      move go gate
      move w
      move go portal

      move climb stair
      move nw
      move ne
      move ne
      move se
      move climb stair
      move se
      move s
      move go recess
      move sw
      move nw
      move nw
      move n
      move ne
      move ne
      move go door
      move climb stair
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move e
      move go entryway
      move go portal

      move go door
      move go portal

      move n
      move e
      move go gate
      move go door
      move n
      move w
      move go vault
      move go portal
      move out
      move w
      move out
      move e
      move go brid
      move e
      move e
      move e
      move n
      move ne
      move e
      move n
      move go home
      move go port
      exit

   7RIVERHAVEN:

      move go portal

      move w
      move n
      move climb stair
      move s
      move climb stair
      move se
      move sw
      move climb stair
      move go gate
      move se
      move se
      move se
      move se
      move go gate
      move w
      move go portal

      move climb stair
      move nw
      move ne
      move ne
      move se
      move climb stair
      move se
      move s
      move go recess
      move sw
      move nw
      move nw
      move n
      move ne
      move ne
      move go door
      move climb stair
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move e
      move go entryway
      move go portal

      move go door
      move go portal

      move n
      move e
      move go gate
      move go door
      move n
      move w
      move go vault
      move go portal
      move out
      move w
      move out
      move e
      move go brid
      move e
      move e
      move e
      move n
      move ne
      move e
      move n
      move go home
      move go port

      move nw
      move nw
      move ne
      move ne
      move n
      move n
      move n
      move n
      move go gate
      move go portal
      exit

   7RATHA:

      move go portal

      move w
      move n
      move climb stair
      move s
      move climb stair
      move se
      move sw
      move climb stair
      move go gate
      move se
      move se
      move se
      move se
      move go gate
      move w
      move go portal

      move climb stair
      move nw
      move ne
      move ne
      move se
      move climb stair
      move se
      move s
      move go recess
      move sw
      move nw
      move nw
      move n
      move ne
      move ne
      move go door
      move climb stair
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move e
      move go entryway
      move go portal

      move go door
      move go portal

      move n
      move e
      move go gate
      move go door
      move n
      move w
      move go vault
      move go portal
      move out
      move w
      move out
      move e
      move go brid
      move e
      move e
      move e
      move n
      move ne
      move e
      move n
      move go home
      move go port

      move nw
      move nw
      move ne
      move ne
      move n
      move n
      move n
      move n
      move go gate
      move go portal

      move go gate
      move se
      move climb stair
      move go door
      move go portal
      exit

   7ELBAINS:

      ECHO ########################
      ECHO ###Already in ELBAINS###
      ECHO ########################
      exit

   7MUSPARI:

      move go portal
      exit

   7HIBARN:

      move go portal

      move w
      move n
      move climb stair
      move s
      move climb stair
      move se
      move sw
      move climb stair
      move go gate
      move se
      move se
      move se
      move se
      move go gate
      move w
      move go portal
      exit

   8CROSSING:

      move go portal

      move climb stair
      move nw
      move ne
      move ne
      move se
      move climb stair
      move se
      move s
      move go recess
      move sw
      move nw
      move nw
      move n
      move ne
      move ne
      move go door
      move climb stair
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move e
      move go entryway
      move go portal
      exit

   8AESRY:

      move go portal

      move climb stair
      move nw
      move ne
      move ne
      move se
      move climb stair
      move se
      move s
      move go recess
      move sw
      move nw
      move nw
      move n
      move ne
      move ne
      move go door
      move climb stair
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move e
      move go entryway
      move go portal

      move go door
      move go portal
      exit

   8SHARD:

      move go portal

      move climb stair
      move nw
      move ne
      move ne
      move se
      move climb stair
      move se
      move s
      move go recess
      move sw
      move nw
      move nw
      move n
      move ne
      move ne
      move go door
      move climb stair
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move e
      move go entryway
      move go portal

      move go door
      move go portal

      move n
      move e
      move go gate
      move go door
      move n
      move w
      move go vault
      move go portal
      exit

   8MERKRESH:

      move go portal

      move climb stair
      move nw
      move ne
      move ne
      move se
      move climb stair
      move se
      move s
      move go recess
      move sw
      move nw
      move nw
      move n
      move ne
      move ne
      move go door
      move climb stair
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move e
      move go entryway
      move go portal

      move go door
      move go portal

      move n
      move e
      move go gate
      move go door
      move n
      move w
      move go vault
      move go portal

      move out
      move w
      move out
      move e
      move go brid
      move e
      move e
      move e
      move n
      move ne
      move e
      move n
      move go home
      move go port
      exit

   8RIVERHAVEN:

      move go portal

      move climb stair
      move nw
      move ne
      move ne
      move se
      move climb stair
      move se
      move s
      move go recess
      move sw
      move nw
      move nw
      move n
      move ne
      move ne
      move go door
      move climb stair
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move e
      move go entryway
      move go portal

      move go door
      move go portal

      move n
      move e
      move go gate
      move go door
      move n
      move w
      move go vault
      move go portal

      move out
      move w
      move out
      move e
      move go brid
      move e
      move e
      move e
      move n
      move ne
      move e
      move n
      move go home
      move go port

      move nw
      move nw
      move ne
      move ne
      move n
      move n
      move n
      move n
      move go gate
      move go portal
      exit

   8RATHA:

      move go portal

      move climb stair
      move nw
      move ne
      move ne
      move se
      move climb stair
      move se
      move s
      move go recess
      move sw
      move nw
      move nw
      move n
      move ne
      move ne
      move go door
      move climb stair
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move e
      move go entryway
      move go portal

      move go door
      move go portal

      move n
      move e
      move go gate
      move go door
      move n
      move w
      move go vault
      move go portal

      move out
      move w
      move out
      move e
      move go brid
      move e
      move e
      move e
      move n
      move ne
      move e
      move n
      move go home
      move go port

      move nw
      move nw
      move ne
      move ne
      move n
      move n
      move n
      move n
      move go gate
      move go portal

      move go gate
      move se
      move climb stair
      move go door
      move go portal
      exit

   8ELBAINS:

      move go portal

      move climb stair
      move nw
      move ne
      move ne
      move se
      move climb stair
      move se
      move s
      move go recess
      move sw
      move nw
      move nw
      move n
      move ne
      move ne
      move go door
      move climb stair
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move e
      move go entryway
      move go portal

      move go door
      move go portal

      move n
      move e
      move go gate
      move go door
      move n
      move w
      move go vault
      move go portal

      move out
      move w
      move out
      move e
      move go brid
      move e
      move e
      move e
      move n
      move ne
      move e
      move n
      move go home
      move go port

      move nw
      move nw
      move ne
      move ne
      move n
      move n
      move n
      move n
      move go gate
      move go portal

      move go gate
      move se
      move climb stair
      move go door
      move go portal

      move go door
      move e
      move go portal
      exit

   8MUSPARI:

      ECHO ########################
      ECHO ###Already in MUSPARI###
      ECHO ########################
      exit

   8HIBARN:

      move go portal
      exit

   9CROSSING:

      move go portal
      exit

   9AESRY:

      move go portal

      move go door
      move go portal
      exit

   9SHARD:

      move go portal

      move go door
      move go portal

      move n
      move e
      move go gate
      move go door
      move n
      move w
      move go vault
      move go portal
      exit

   9MERKRESH:

      move go portal

      move go door
      move go portal

      move n
      move e
      move go gate
      move go door
      move n
      move w
      move go vault
      move go portal

      move out
      move w
      move out
      move e
      move go brid
      move e
      move e
      move e
      move n
      move ne
      move e
      move n
      move go home
      move go port
      exit

   9RIVERHAVEN:

      move go portal

      move go door
      move go portal

      move n
      move e
      move go gate
      move go door
      move n
      move w
      move go vault
      move go portal

      move out
      move w
      move out
      move e
      move go brid
      move e
      move e
      move e
      move n
      move ne
      move e
      move n
      move go home
      move go port

      move nw
      move nw
      move ne
      move ne
      move n
      move n
      move n
      move n
      move go gate
      move go portal
      exit

   9RATHA:

      move go portal

      move go door
      move go portal

      move n
      move e
      move go gate
      move go door
      move n
      move w
      move go vault
      move go portal

      move out
      move w
      move out
      move e
      move go brid
      move e
      move e
      move e
      move n
      move ne
      move e
      move n
      move go home
      move go port

      move nw
      move nw
      move ne
      move ne
      move n
      move n
      move n
      move n
      move go gate
      move go portal

      move go gate
      move se
      move climb stair
      move go door
      move go portal
      exit

   9ELBAINS:

      move go portal

      move go door
      move go portal

      move n
      move e
      move go gate
      move go door
      move n
      move w
      move go vault
      move go portal

      move out
      move w
      move out
      move e
      move go brid
      move e
      move e
      move e
      move n
      move ne
      move e
      move n
      move go home
      move go port

      move nw
      move nw
      move ne
      move ne
      move n
      move n
      move n
      move n
      move go gate
      move go portal

      move go gate
      move se
      move climb stair
      move go door
      move go portal

      move go door
      move e
      move go portal
      exit

   9MUSPARI:

      move go portal

      move go door
      move go portal

      move n
      move e
      move go gate
      move go door
      move n
      move w
      move go vault
      move go portal

      move out
      move w
      move out
      move e
      move go brid
      move e
      move e
      move e
      move n
      move ne
      move e
      move n
      move go home
      move go port

      move nw
      move nw
      move ne
      move ne
      move n
      move n
      move n
      move n
      move go gate
      move go portal

      move go gate
      move se
      move climb stair
      move go door
      move go portal

      move go door
      move e
      move go portal

      move go tree
      move s
      move s
      move go portal
      exit

   9HIBARN:

      ECHO ####################
      ECHO ###Already in HIB###
      ECHO ####################
      exit

##################################################################################

      ECHO #########################################################
      ECHO Please select your destination from the following:
      ECHO CROSSING
      ECHO AESRY
      ECHO SHARD
      ECHO MERKRESH
      ECHO RIVERHAVEN
      ECHO RATHA
      ECHO ELBAINS
      ECHO MUSPARI
      ECHO HIBARN
      ECHO Simply say outloud where you wish to go (ie say SHARD) and 
      ECHO capitalize the location!
      ECHO ##########################################################

      ECHO #####################
      ECHO ###Already in ###
      ECHO #####################
      exit

#(crossing arrival)

      move go door
      move go portal

#(crossing departure)
#(aesry arrival)

      move n
      move e
      move go gate
      move go door
      move n
      move w
      move go vault
      move go portal

#(aesry departure)
#(shard arrival)

      move out
      move w
      move out
      move e
      move go brid
      move e
      move e
      move e
      move n
      move ne
      move e
      move n
      move go home
      move go port

#(shard departure)
#(merkeresh arrival)

      move nw
      move nw
      move ne
      move ne
      move n
      move n
      move n
      move n
      move go gate
      move go portal

#(merkeresh departure)
#(riverhaven arrival)

      move go gate
      move se
      move climb stair
      move go door
      move go portal

#(riverhaven departure)
#(ratha arrival)

      move go door
      move e
      move go portal

#(ratha departure)
#(elbains arrival)

      move go tree
      move s
      move s
      move go portal

#(ebains departure)
#(muspari arrival)

      move w
      move n
      move climb stair
      move s
      move climb stair
      move se
      move sw
      move climb stair
      move go gate
      move se
      move se
      move se
      move se
      move go gate
      move w
      move go portal

#(muspari departure)
#(hibarn arrival)

      move climb stair
      move nw
      move ne
      move ne
      move se
      move climb stair
      move se
      move s
      move go recess
      move sw
      move nw
      move nw
      move n
      move ne
      move ne
      move go door
      move climb stair
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move s
      move e
      move go entryway
      move go portal

#(hibarn departure)
#(crossing arrival)

      exit
################################################################################
################################################################################

################################UTILITY SCRIPTS#################################

################################################################################
################################################################################
#begin RPA function

RPA:

shift

if_1 put rpa bestow %1 1
if_2 put rpa bestow %2 1
if_3 put rpa bestow %3 1
if_4 put rpa bestow %4 1
if_5 pause 1
if_5 put rpa bestow %5 1
if_6 put rpa bestow %6 1
if_7 put rpa bestow %7 1
if_8 pause 1
if_8 put rpa bestow %8 1
if_9 put rpa bestow %9 1

exit

#end RPA function
################################################################################
################################################################################
#begin CLARIFYGEMS function

CLARIFYGEMS:

   SETVARIABLE GEMLOCATION red pouch in haversack
   SETVARIABLE GEMSTORAGE
   SETVARIABLE GEMTYPE

   CLARIFYGEMSCASTAUS:

      setvariable SPELLRETURNPOINTER CLARIFYGEMSCASTPG

      goto GAUS

   CLARIFYGEMSCASTPG:

      setvariable SPELLRETURNPOINTER CLARIFYGEMSIDGEM

      goto GPG

CLARIFYGEMSNOSPELLS:
   CLARIFYGEMSIDGEM:

      Match SAVERUBY ruby
      Match SAVEBLOODSTONE bloodstone
      Match SAVEQUARTZ quartz
      Match SAVEJADE jade
      Match SAVEGARNET garnet
      Match SAVEMORGANITE morganite
      Match SAVETANZANITE tanzanite
      Match SAVECARNELIAN carnelian
      Match SAVECORAL coral
      Match SAVEAQUAMARINE aquamarine
      Match SAVEMOONSTONE moonstone
      Match SAVESUNSTONE sunstone
      Match SAVEONYX onyx
      Match SAVEKUNZITE kunzite
      Match SAVEAGATE agate
      Match SAVETSAVORITE tsavorite
      Match SAVEHEMATITE hematite
      Match SAVECITRINE citrine
      Match SAVESAPPHIRE sapphire
      Match SAVEZIRCON zircon
      Match SAVETOPAZ topaz
      Match SAVESPINEL spinel
      Match SAVECRYSTAL crystal
      Match SAVELAZULI lazuli
      Match SAVEPEARL pearl
      Match SAVEANDALUSITE andalusite
      Match SAVEPERIDOT peridot
      Match SAVECHALCEDONY chalcedony
      Match SAVETOURMALINE tourmaline
      Match SAVEDIOPSIDE diopside
      Match SAVECHRYSOPRASE chrysoprase
      Match SAVECHRYSOBERYL chrysoberyl
      Match SAVEBERYL beryl
      Match SAVEAMBER amber
      Match SAVEIOLITE iolite
      Match SAVETURQUOISE turquoise
      Match SAVEAMETHYST amethyst
      Match SAVEALEXANDRITE alexandrite
      Match SAVEEMERALD emerald
      Match SAVESTARSTONE star-stone
      Match NEXTFUNCTION There is nothing in there.

      put look in %GEMLOCATION

      Matchwait

   SAVESTARSTONE:

      setvariable GEMTYPE star
      goto CLARIFYGEMSGETGEM

   SAVEEMERALD:

      setvariable GEMTYPE emerald
      goto CLARIFYGEMSGETGEM

   SAVEALEXANDRITE:

      setvariable GEMTYPE alexandrite
      goto CLARIFYGEMSGETGEM

   SAVEAMETHYST:

      setvariable GEMTYPE amethyst
      goto CLARIFYGEMSGETGEM

   SAVECHRYSOBERYL:

      setvariable GEMTYPE chrysoberyl
      goto CLARIFYGEMSGETGEM


   SAVETURQUOISE:

      setvariable GEMTYPE turquoise
      goto CLARIFYGEMSGETGEM

   SAVEIOLITE:

      setvariable GEMTYPE iolite
      goto CLARIFYGEMSGETGEM

   SAVEAMBER:

      setvariable GEMTYPE amber
      goto CLARIFYGEMSGETGEM

   SAVEBERYL:

      setvariable GEMTYPE beryl
      goto CLARIFYGEMSGETGEM

   SAVECHRYSOPRASE:

      setvariable GEMTYPE chrysoprase
      goto CLARIFYGEMSGETGEM

   SAVEDIOPSIDE:

      setvariable GEMTYPE diopside
      goto CLARIFYGEMSGETGEM

   SAVETOURMALINE:

      setvariable GEMTYPE tourmaline
      goto CLARIFYGEMSGETGEM

   SAVECHALCEDONY:

      setvariable GEMTYPE chalcedony
      goto CLARIFYGEMSGETGEM

   SAVEPERIDOT:

      setvariable GEMTYPE peridot
      goto CLARIFYGEMSGETGEM

   SAVEANDALUSITE:

      setvariable GEMTYPE andalusite
      goto CLARIFYGEMSGETGEM

   SAVEPEARL:

      setvariable GEMTYPE pearl
      goto CLARIFYGEMSGETGEM

   SAVELAZULI:

      setvariable GEMTYPE lazuli
      goto CLARIFYGEMSGETGEM

   SAVECRYSTAL:

      setvariable GEMTYPE crystal
      goto CLARIFYGEMSGETGEM

   SAVESPINEL:

      setvariable GEMTYPE spinel
      goto CLARIFYGEMSGETGEM

   SAVETOPAZ:

      setvariable GEMTYPE topaz
      goto CLARIFYGEMSGETGEM

   SAVEZIRCON:

      setvariable GEMTYPE zircon
      goto CLARIFYGEMSGETGEM

   SAVESAPPHIRE:

      setvariable GEMTYPE sapphire
      goto CLARIFYGEMSGETGEM

   SAVECITRINE:

      setvariable GEMTYPE citrine
      goto CLARIFYGEMSGETGEM

   SAVEHEMATITE:

      setvariable GEMTYPE hematite
      goto CLARIFYGEMSGETGEM

   SAVETSAVORITE:

      setvariable GEMTYPE tsavorite
      goto CLARIFYGEMSGETGEM

   SAVEAGATE:

      setvariable GEMTYPE agate
      goto CLARIFYGEMSGETGEM

   SAVEKUNZITE:

      setvariable GEMTYPE kunzite
      goto CLARIFYGEMSGETGEM

   SAVEONYX:

      setvariable GEMTYPE onyx
      goto CLARIFYGEMSGETGEM

   SAVESUNSTONE:

      setvariable GEMTYPE sunstone
      goto CLARIFYGEMSGETGEM

   SAVEMOONSTONE:

      setvariable GEMTYPE moonstone
      goto CLARIFYGEMSGETGEM

   SAVEAQUAMARINE:

      setvariable GEMTYPE aquamarine
      goto CLARIFYGEMSGETGEM

   SAVECORAL:

      setvariable GEMTYPE coral
      goto CLARIFYGEMSGETGEM

   SAVECARNELIAN:

      setvariable GEMTYPE carnelian
      goto CLARIFYGEMSGETGEM

   SAVETANZANITE:

      setvariable GEMTYPE tanzanite
      goto CLARIFYGEMSGETGEM

   SAVEMORGANITE:

      setvariable GEMTYPE morganite
      goto CLARIFYGEMSGETGEM

   SAVEGARNET:

      setvariable GEMTYPE garnet
      goto CLARIFYGEMSGETGEM

   SAVEJADE:

      setvariable GEMTYPE jade
      goto CLARIFYGEMSGETGEM

   SAVEQUARTZ:

      setvariable GEMTYPE quartz
      goto CLARIFYGEMSGETGEM

   SAVEBLOODSTONE:

      setvariable GEMTYPE bloodstone
      goto CLARIFYGEMSGETGEM

   SAVERUBY:

      setvariable GEMTYPE ruby
      goto CLARIFYGEMSGETGEM

   CLARIFYGEMSGETGEM:

      Match CLARIFYGEMSGETGEM ...wait
      Match CLARIFYGEMSSORTSIZEHUGE large
      Match CLARIFYGEMSSORTSIZEHUGE huge
      Match CLARIFYGEMSSORTSIZENORMAL medium
      Match CLARIFYGEMSSORTSIZENORMAL small
      Match CLARIFYGEMSSORTSIZENORMAL tiny
      Match CLARIFYGEMSIDGEM What were you referring to?
      Match CLARIFYGEMSNOHANDS You need a free hand to pick that up.

      put get %GEMTYPE from %GEMLOCATION

      Matchwait

   CLARIFYGEMSSORTSIZEHUGE:

      setvariable GEMSTORAGE purple pouch in haversack
      goto CLARIFYGEMSPREPCG

   CLARIFYGEMSSORTSIZENORMAL:

      setvariable GEMSTORAGE black pouch in haversack
      goto CLARIFYGEMSPREPCG

   CLARIFYGEMSPREPCG:

      setvariable RETURNPOINTER CLARIFYGEMSHARNESSMANA1

      Match CLARIFYGEMSPREPCG ...wait
      Match CLARIFYGEMSWAITTOCAST %SPELLPREPMESSAGE

      put prep clarify gem 10

      Matchwait

   CLARIFYGEMSWAITTOCAST:

      pause 15

   CLARIFYGEMSCHECKMANA:

      Match CLARIFYGEMSOUTOFMANA S>>>>>>>>|_
      Match CLARIFYGEMSOUTOFMANA S>>>>>>>|_
      Match CLARIFYGEMSOUTOFMANA S>>>>>>|_
      Match CLARIFYGEMSOUTOFMANA S>>>>>|_
      Match CLARIFYGEMSOUTOFMANA S>>>>|_
      Match CLARIFYGEMSOUTOFMANA S>>>|_
      Match CLARIFYGEMSOUTOFMANA S>>|_
      Match CLARIFYGEMSOUTOFMANA S>|_
      Match CLARIFYGEMSOUTOFMANA S|_
      Match %RETURNPOINTER MANA HELP

      put mana

      Matchwait

   CLARIFYGEMSHARNESSMANA1:

      setvariable RETURNPOINTER CLARIFYGEMSHARNESSMANA2

      Match CLARIFYGEMSHARNESSMANA1 ...wait
      Match CLARIFYGEMSCHECKMANA You tap into the mana from twenty
      Match CLARIFYGEMSOUTOFMANA You are unable to harnesss

      put harn 20

      Matchwait

   CLARIFYGEMSHARNESSMANA2:

      setvariable RETURNPOINTER NEXTFUNCTION

      Match CLARIFYGEMSHARNESSMANA2 ...wait
      Match CLARIFYGEMSCASTCG You tap into the mana from twenty
      Match CLARIFYGEMSOUTOFMANA You are unable to harnesss

      put harn 20

      Matchwait

   CLARIFYGEMSCASTCG:

      Match CLARIFYGEMSCASTCG ...wait
      Match CLARIFYGEMSIDGEM I could not find what you were referring to.
      Match CLARIFYGEMSSTOREGEM 4 seconds.
      Match CLARIFYGEMSSTOREGEM gleams with new luster.
      Match CLARIFYGEMSNOMOONS You need a visible moon for this.
      Match CLARIFYGEMSCASTPG 6 seconds.
      Match CLARIFYGEMSCASTPG Without insight of the
      Match CLARIFYGEMSGETGEM shatters!

      put cast my %GEMTYPE

      Matchwait

   CLARIFYGEMSSTOREGEM:

      Match CLARIFYGEMSSTOREGEM ...wait
      Match CLARIFYGEMSUNKNOWNERROR What were you referring to?
      Match CLARIFYGEMSGETGEM You put your
      Match CLARIFYGEMSGETGEM You open your

      put put my %GEMTYPE in %GEMSTORAGE

      Matchwait

   CLARIFYGEMSNOHANDS:

      echo ===================================
      echo ==Both hands full! Abrupt ending.==
      echo ===================================

      exit

   CLARIFYGEMSOUTOFMANA:

      echo ===================================
      echo ==You are out of MANA.           ==
      echo ===================================

      exit

   CLARIFYGEMSNOMOONS:

      Match CLARIFYGEMSNOMOONS ...wait
      Match CLARIFYGEMSNOMOONSMSG You put your

      put put my %GEMTYPE in %GEMLOCATION

      Matchwait

      CLARIFYGEMSNOMOONSMSG:

         echo =======================================================
         echo ==No moons available, try again later. Abrupt ending ==
         echo =======================================================

         exit

   CLARIFYGEMSUNKNOWNERROR:

      echo =======================================================
      echo ==Either the gem shattered and the script did not see==
      echo ==it, or your storage location is not valid.         ==
      echo ==Abrupt ending.                                     ==
      echo =======================================================

      exit

#end CLARIFYGEMS function
################################################################################
################################################################################
#begin MAKEROPE function

MAKEROPE:

   counter set %2

   MAKEROPE1:
   MAKEROPE2:
   MAKEROPE3:
   MAKEROPE4:
   MAKEROPE5:

      MAKEROPEFORAGEGRASS:

         put forage grass

         Match MAKEROPEFORAGEGRASS ...wait
         Match MAKEROPEBRAIDGRASS find some grass
         Match MAKEROPEFORAGEGRASS Roundtime
         Matchwait

      MAKEROPEBRAIDGRASS:

         put braid my grass

         Match MAKEROPEBRAIDGRASS ...wait
         Match MAKEROPEPULLGRASS bundling rope
         Match MAKEROPEBRAIDGRASS Roundtime
         Matchwait

      MAKEROPEPULLGRASS:

         put pull my grass

         Match MAKEROPEPULLGRASS ...wait
         Match MAKEROPEPULLGRASS Roundtime
         Match MAKEROPESTOREROPE new bundling rope
         Matchwait

      MAKEROPESTOREROPE:

         put put my rope in my %LARGESTORAGECONTAINER

         counter subtract 1

         goto MAKEROPE%c

   MAKEROPE0:

      goto NEXTFUNCTION

#end MAKEROPE function
################################################################################
################################################################################
#begin HERB listing function

HERB:
HERBS:

   echo BODY PART===|=============EXTERNAL===========================INTERNAL
   echo
   echo Head========|=nemoih (root/pulp/powder/potion)===|===eghmok (moss/potion)
   echo Neck========|=georin (grass/pulp/salve)==========|===riolur (leaf/pulp/powder/tea)
   echo Limbs=======|=jadice (flower/pulp/powder/potion)=|===yelith (root/pulp/powder/potion)
   echo Chest=======|=plovik (leaf/pulp/tea)=============|===ithor potion
   echo Abdomen=====|=nilos (grass/salve)================|===muljin (sap/paste)
   echo Back========|=hulnik (grass/pulp/powder/potion)==|===blocil (berries/pulp/powder/potion)
   echo =================================================|===junliar (stem/solution)
   echo Eyes========|=sufil (sap/paste/mash)=============|===aevaes solution
   echo Skin/Nerves=|=aloe (leaf/crushed aloe/balm)======|===lujeakave elixir
   echo
   echo BODY PART===|=============EXTERNAL SCARS=====================INTERNAL SCARS
   echo 
   echo Head/Eye====|=qun (pollen/?)=====================|===hulij elixir
   echo Body========|=genich (stem/?)====================|===potion
   echo Limbs=======|=jadice (pollen/paste/potion)=======|===nuloe (stem/?)
   echo All=========|=cebi (root/pulp/powder/?)==========|===hisan salve

   HERBEND:

      goto NEXTFUNCTION

################################################################################
################################################################################
#begin NEXTFUNCTION

NEXTFUNCTION:

   shift
   goto %1