Training (script): Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
m (Created page with '<pre> #Mind States are as follows #clear 0/34 #dabbling 1/34 #perusing 2/34 #learning 3/34 #thoughtful 4/34 #thinking 5/34 #considering 6/34 #pondering 7/3...')
 
mNo edit summary
 
(17 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 TARANT ROMAN
setvariable HUMTHISTUNE HUM CONCERT ROMANT
setvariable CAMBRINTHDEVICE CAMBRINTH ORB
setvariable CAMBRINTHDEVICE NESTLED ARMBAND
setvariable GLOBALSPELLTARGET
setvariable GLOBALSPELLTARGET
setvariable TIMETOFULLPREP 20
setvariable TIMETOFULLPREP 20
setvariable GLOBALMOON NONE
setvariable GLOBALMOON
setvariable FORAGEFORITEM CHERRY STICK
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:


put cast %GLOBALSPELLTARGET%

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


FIRSTAIDGETCOMPENDIUM0:
GPIERCINGGAZEAT:
GPGAT:


goto NEXTFUNCTION
if_2 setvariable GLOBALSPELLTARGET %2%
goto GPIERCINGGAZE


FIRSTAIDOPENCOMPENDIUM:
#end GLOBAL PIERCING GAZE v2 function (THIS FUNCTION HAS BEEN FIXED2)
==================================================================================
==================================================================================
#begin GLOBAL CLEAR VISION v2 function (THIS FUNCTION HAS BEEN FIXED2)


counter set 9
GCLEARVISION:


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


put open my compendium
setvariable RETURNPOINTER GCVPREPSPELL


GCVPREPSPELL:

counter set 1

put prep CLEAR VISION 30

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


FIRSTAIDSTUDYCOMPENDIUM:
GCVFULLPREP:


put %HUMTHISTUNE
waitfor You feel fully prepared


Match FIRSTAIDSTUDYCOMPENDIUM ...wait
setvariable RETURNPOINTER %s%
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
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


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


counter add 1
counter subtract 1


Match FIRSTAIDTURNCOMPENDIUM10 ...wait
goto GCVHARNESS%c%
Match FIRSTAIDSTUDYCOMPENDIUM You turn to the section


put turn my compendium
GCVHARNESS3:
GCVHARNESS4:
GCVHARNESS5:
GCVHARNESS6:
GCVHARNESS7:
GCVHARNESS8:
GCVHARNESS9:
GCVHARNESS10:


GCVSPELLCAST:

put cast %GLOBALSPELLTARGET%

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


FIRSTAIDTURNCOMPENDIUM0:
GCLEARVISIONAT:
GCVAT:


counter set %TEMPCOUNTER
if_2 setvariable GLOBALSPELLTARGET %2%
goto GCLEARVISION
counter subtract 1
goto FIRSTAIDSTORECOMPENDIUM


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


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


put put my compendium in my %LARGESTORAGECONTAINER
GAUS:


Matchwait
setvariable RETURNPOINTER GAUSPREPSPELL


FIRSTAIDNOCOMPENDIUMS:
GAUSPREPSPELL:


echo ===========================================
counter set 1
echo =You have no compendiums for this training=
echo ===========================================


put prep AURA SIGHT 30
exit


FIRSTAIDERROR:
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


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


exit
waitfor You feel fully prepared


#end FIRSTAID function
setvariable RETURNPOINTER %s%
################################################################################
################################################################################
#begin PERCEPTION function


PERCEPTION:
GAUSHARNESS1:
GAUSHARNESS2:


setvariable PERCEPTIONMATERIAL SILVER ZOMBIES
put harness 15


PERCEPTIONSUPSPELLS:
Match GAUSHARNESS%c% ...wait
Match GAUSUPDATECOUNTER You tap into the mana from
Match KILLSPELLPREP You strain, but cannot harness
Matchwait


save PERCEPTIONGETTOOLS
GAUSUPDATECOUNTER:
goto GCLEARVISION


PERCEPTIONGETTOOLS:
counter add 1


goto GAUSHARNESS%c%
pause


put get %PERCEPTIONMATERIAL
GAUSHARNESS3:
GAUSHARNESS4:
GAUSHARNESS5:
GAUSHARNESS6:
GAUSHARNESS7:
GAUSHARNESS8:
GAUSHARNESS9:
GAUSHARNESS10:


Match PERCEPTIONGETTOOLS ...wait
GAUSSPELLCAST:
Match PERCEPTIONWORK You get

Match PERCEPTIONWORK already holding that
put cast
Match NEXTFUNCTION could not find what

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


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


pause
GSHADOWSSPELL:


put %HUMTHISTUNE
GSHADOWS:
put juggle my %PERCEPTIONMATERIAL


Match PERCEPTIONWORK ...wait
setvariable RETURNPOINTER GSHADOWSPREPSPELL
Match EXPPERCEPTION Roundtime

Match PERCEPTIONSTOWTOOLS Your injuries make juggling impossible
GSHADOWSPREPSPELL:

counter set 1

put prep SHADOWS 30

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


EXPPERCEPTION:
GSHADOWSFULLPREP:


waitfor You feel fully prepared
put exp skill perception


Match PERCEPTIONSTOWTOOLS dazed
setvariable RETURNPOINTER %s%
Match PERCEPTIONSTOWTOOLS mind lock

Match PERCEPTIONWORK EXP HELP for more information
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
Matchwait


PERCEPTIONSTOWTOOLS:
GSHADOWSUPDATECOUNTER:


put put %PERCEPTIONMATERIAL in my %LARGESTORAGECONTAINER
counter add 1


put %HUMTHISTUNE
goto GSHADOWSHARNESS%c%
waitfor finish humming


goto NEXTFUNCTION
GSHADOWSHARNESS3:
GSHADOWSHARNESS4:
GSHADOWSHARNESS5:
GSHADOWSHARNESS6:
GSHADOWSHARNESS7:
GSHADOWSHARNESS8:
GSHADOWSHARNESS9:
GSHADOWSHARNESS10:


#end PERCEPTION function
GSHADOWSSPELLCAST:
################################################################################
################################################################################
#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:
put cast %GLOBALSPELLTARGET%


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


setvariable ITEM1 stem
GSHADOWSSPELLAT:
setvariable ITEM2 rock
GSHADOWSAT:
counter set 0


FORAGINGCOUNTERINCREASE:
if_2 setvariable GLOBALSPELLTARGET %2%
goto GSHADOWSSPELL


counter add 1
#end GLOBAL SHADOWS v2 function (THIS FUNCTION HAS BEEN FIXED2)
goto FORAGINGHUM%c
==================================================================================
==================================================================================
#begin GLOBAL SEER'S SENSE v2 function (THIS FUNCTION HAS BEEN FIXED2)


FORAGINGHUM:
GSEERSSENSE:
FORAGINGHUM1:
GSEERS:
FORAGINGHUM2:


put %HUMTHISTUNE
GSEER:
goto FORAGINGKICKPILE


FORAGINGKICKPILE:
setvariable RETURNPOINTER GSEERPREPSPELL


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


counter set 1
put kick pile


put prep SEER SENSE 26

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:
FORAGINGSTART:


Match FORAGINGSTART ...wait
waitfor You feel fully prepared
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.


setvariable RETURNPOINTER %s%
put collect %ITEM%c


GSEERHARNESS1:
GSEERHARNESS2:

put harness 15

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


FORAGINGCLUTTER:
GSEERUPDATECOUNTER:


counter add 1
pause 2
goto FORAGINGKICKPILE


EXPFORAGING:
goto GSEERHARNESS%c%


Match FORAGINGEND mind lock
GSEERHARNESS3:
Match FORAGINGHUM EXP HELP for more information
GSEERHARNESS4:
GSEERHARNESS5:
GSEERHARNESS6:
GSEERHARNESS7:
GSEERHARNESS8:
GSEERHARNESS9:
GSEERHARNESS10:


put exp skill perception
GSEERSPELLCAST:


put cast %GLOBALSPELLTARGET%

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


GSEERSSENSEAT:
FORAGINGHUM3:
GSEERSAT:
FORAGINGEND:
GSEERAT:


goto NEXTFUNCTION
if_2 setvariable GLOBALSPELLTARGET %2%
goto GSEERSSENSE
exit


#end GLOBAL SEER'S SENSE v2 function (THIS FUNCTION HAS BEEN FIXED2)
#end FORAGING function
################################################################################
==================================================================================
################################################################################
==================================================================================
LE:
#begin GLOBAL SHADOWLING v2 function (THIS FUNCTION HAS BEEN FIXED2)


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


counter set 1
GSHADOWLING:


goto WIELDWEAPON
setvariable RETURNPOINTER GSHADOWLINGPREPSPELL


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


setvariable COMBATMOVE1 DODGE
counter set 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
put prep SHADOWLING 30


goto WIELDWEAPON
Match GSHADOWLINGPREPSPELL ...wait
Match KILLHUMMING You should stop playing
Match KILLSPELLPREP You are already preparing
Match KILLSPELLPREP You have to strain
Match GSHADOWLINGFULLPREP %SPELLPREPMESSAGE%
Matchwait


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


setvariable COMBATMOVE1 DODGE
waitfor You feel fully prepared
setvariable COMBATMOVE2 FEINT
setvariable COMBATMOVE3 SWEEP
setvariable COMBATMOVE4 DRAW
setvariable COMBATMOVE5 SLICE
setvariable COMBATMOVE6 ENC


counter set 1
setvariable RETURNPOINTER %s%


goto WIELDWEAPON
GSHADOWLINGHARNESS1:
GSHADOWLINGHARNESS2:


################################################################################
put harness 15
################################################################################
BRAWLING:


setvariable COMBATMOVE1 DODGE
Match GSHADOWLINGHARNESS%c% ...wait
setvariable COMBATMOVE2 FEINT
Match GSHADOWLINGUPDATECOUNTER You tap into the mana from
setvariable COMBATMOVE3 SWEEP
Match KILLSPELLPREP You strain, but cannot harness
setvariable COMBATMOVE4 KICK
Matchwait
setvariable COMBATMOVE5 SLICE
setvariable COMBATMOVE6 GOUGE
setvariable COMBATMOVE7 ELBOW
setvariable COMBATMOVE8 ENC


counter set 1
GSHADOWLINGUPDATECOUNTER:


goto WIELDWEAPON
counter add 1


################################################################################
goto GSHADOWLINGHARNESS%c%
################################################################################
PIKE:


setvariable COMBATMOVE1 DODGE
GSHADOWLINGHARNESS3:
setvariable COMBATMOVE2 JAB
GSHADOWLINGHARNESS4:
setvariable COMBATMOVE3 SWEEP
GSHADOWLINGHARNESS5:
setvariable COMBATMOVE4 THRUST
GSHADOWLINGHARNESS6:
setvariable COMBATMOVE5 FEINT
GSHADOWLINGHARNESS7:
setvariable COMBATMOVE6 LUNGE
GSHADOWLINGHARNESS8:
setvariable COMBATMOVE7 DRAW
GSHADOWLINGHARNESS9:
setvariable COMBATMOVE8 ENC
GSHADOWLINGHARNESS10:


counter set 1
GSHADOWLINGSPELLCAST:


put cast
goto WIELDWEAPON


################################################################################
Match GSHADOWLINGSPELLCAST ...wait
################################################################################
Match %s% You gesture
QS:
Matchwait
SS:


setvariable COMBATMOVE1 DODGE
#end GLOBAL SHADOWLING v2 function (THIS FUNCTION HAS BEEN FIXED2)
setvariable COMBATMOVE2 FEINT
==================================================================================
setvariable COMBATMOVE3 DRAW
==================================================================================
setvariable COMBATMOVE4 SLICE
#begin GLOBAL SHADOW SERVANT v2 function (THIS FUNCTION HAS BEEN FIXED2)
setvariable COMBATMOVE5 SWEEP
setvariable COMBATMOVE6 CHOP
setvariable COMBATMOVE7 ENC


counter set 1
GSHADOWSERVANTSPELL:


goto WIELDWEAPON
GSHADOWSERVANT:


################################################################################
setvariable RETURNPOINTER GSHADOWSERVANTPREPSPELL
################################################################################
HALBERD:


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


counter set 1
counter set 1


goto WIELDWEAPON
put prep SHADOW SERVANT 44


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


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


counter set 1
waitfor You feel fully prepared


goto WIELDWEAPON
setvariable RETURNPOINTER %s%


################################################################################
GSHADOWSERVANTHARNESS1:
################################################################################
#begin WIELDWEAPON function


WIELDWEAPONRESETCOUNTER:
put harness 10


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


goto WIELDWEAPON
GSHADOWSERVANTUPDATECOUNTER:


WIELDWEAPONADDCOUNTER:
counter add 1


counter add 1
goto GSHADOWSERVANTHARNESS%c%


goto WIELDWEAPON
GSHADOWSERVANTHARNESS2:
GSHADOWSERVANTHARNESS3:
GSHADOWSERVANTHARNESS4:
GSHADOWSERVANTHARNESS5:
GSHADOWSERVANTHARNESS6:
GSHADOWSERVANTHARNESS7:
GSHADOWSERVANTHARNESS8:
GSHADOWSERVANTHARNESS9:
GSHADOWSERVANTHARNESS10:


WIELDWEAPON:
GSHADOWSERVANTSPELLCAST:


Match WIELDWEAPON ...wait
put cast
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
Match GSHADOWSERVANTSPELLCAST ...wait
Match %s% You gesture
Matchwait


Matchwait
GSHADOWSERVANTPYRAMIDS:


WIELDWEAPONWAITTARGET:
save GSHADOWSERVANTGETPYRAMIDS


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


put ASSES
GSHADOWSERVANTGETPYRAMIDS:


Matchwait
save NEXTFUNCTION


WIELDWEAPONADVANCE:
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


Match WIELDWEAPONADVANCE ...wait
put ask servant for pyramid
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


Matchwait
put ADVANCE


Matchwait
GSHADOWSERVANTDROPPYRAMIDS:


WIELDWEAPONWAITLONGER:
match GSHADOWSERVANTDROPPYRAMIDS ...wait
match GSHADOWSERVANTGETPYRAMIDS You drop


Match WIELDWEAPONADVANCE begins to advance on you!
put drop pyramid
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
Matchwait


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


LOCKPICKING:
GSTARLIGHTSPHERE:


# LOCKPICKINGGETTOOLS:
GSLS:


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


# put get lockpick
GSLSTESTTIME:


put time
# Matchwait


LOCKPICKINGPICK:
Match GSLSPREPSPELL night
Match GSLSPREPSPELL sunset
Match GSLSPREPSPELL evening
Match GSLSSPELLFAIL sunrise
Match GSLSSPELLFAIL dawn
Match GSLSSPELLFAIL midday
Match GSLSSPELLFAIL morning
Matchwait


put %HUMTHISTUNE
GSLSPREPSPELL:


counter set 1
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 prep STARLIGHT SPHERE 20
put pick my %2 blind


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


LOCKPICKINGEXPCHECK:
GSLSFULLPREP:


Match LOCKPICKINGSTOWTOOLS mind lock
waitfor You feel fully prepared
Match LOCKPICKINGPICK EXP HELP


put exp skill lock
setvariable RETURNPOINTER %s%

GSLSHARNESS1:


put harness 10

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


LOCKPICKINGNOTOOLS:
GSLSUPDATECOUNTER:


echo #################################################
counter add 1
echo # #
echo # You have no lockpicks to use in this training #
echo # #
echo #################################################


goto GSLSHARNESS%c%
goto LOCKPICKINGSTOWBOX


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


setvariable BOXISOPEN 1
GSLSSPELLCAST:
goto LOCKPICKINGSTOWTOOLS%BOXISOPEN


LOCKPICKINGSTOWTOOLS:
put cast RAVEN


goto LOCKPICKINGSTOWBOX
Match GSLSSPELLCAST ...wait
Match %s% You gesture
# Match LOCKPICKINGSTOWTOOLS ...wait
# Match LOCKPICKINGSTOWBOX What were you referring
Matchwait
# Match LOCKPICKINGSTOWBOX You put your


# put put lock in %LOCKPICKSTORAGECONTAINER
GSLSSPELLFAIL:


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


LOCKPICKINGSTOWTOOLS1:
goto %s%


goto LOCKPICKINGOPENBOX
#end GLOBAL STARLIGHT SPHERE v2 function (THIS FUNCTION HAS BEEN FIXED2)
# Match LOCKPICKINGSTOWTOOLS1 ...wait
==================================================================================
# Match LOCKPICKINGOPENBOX What were you referring
==================================================================================
# Match LOCKPICKINGOPENBOX You put your
#begin GLOBAL PSYCHIC SHIELD v2 function (THIS FUNCTION HAS BEEN FIXED2)


# put put lock in %LOCKPICKSTORAGECONTAINER
GPSYCHICSHIELD:


# Matchwait
GPSY:


LOCKPICKINGOPENBOX:
setvariable RETURNPOINTER GPSYPREPSPELL


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


counter set 1
put open my %2


put prep PSYCHIC SHIELD 26

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


LOCKPICKINGDISMANTLEBOX:
GPSYFULLPREP:


Match LOCKPICKINGDISMANTLEBOX ...wait
waitfor You feel fully prepared
Match LOCKPICKINGDISMANTLEBOX you'd like to dump the contents

Match LOCKPICKINGSHIFTDOWN move your hands in a practiced maneuver
setvariable RETURNPOINTER %s%
Match LOCKPICKINGSHIFTDOWN casually study the
Match LOCKPICKINGSHIFTDOWN Rolling your shoulders to loosen them


put dismantle my %2 press
GPSYHARNESS1:
GPSYHARNESS2:


put harness 20

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


LOCKPICKINGSTOWBOX:
GPSYUPDATECOUNTER:


Match LOCKPICKINGSTOWBOX ...wait
counter add 1
Match LOCKPICKINGSHIFTDOWN What were you referring

Match LOCKPICKINGSHIFTDOWN You put your
goto GPSYHARNESS%c%


put put my %2 in %LARGESTORAGECONTAINER
GPSYHARNESS3:
GPSYHARNESS4:
GPSYHARNESS5:
GPSYHARNESS6:
GPSYHARNESS7:
GPSYHARNESS8:
GPSYHARNESS9:
GPSYHARNESS10:


GPSYSPELLCAST:

put cast %GLOBALSPELLTARGET%

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


LOCKPICKINGSHIFTDOWN:
GPSYCHICSHIELDAT:
GPSYAT:


shift
if_2 setvariable GLOBALSPELLTARGET %2%
goto GPSYCHICSHIELD


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


#end LOCKPICKING function
GFOCUSMOONBEAM:
################################################################################
################################################################################
#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
GFM:


LABEL.)
setvariable RETURNPOINTER GFMPREPSPELL


POWERPERCEIVE:
GFMPREPSPELL:


POWERPERCEIVECONCENTRATE:
counter set 1


put prep FOCUS MOONBEAM 20
pause 2


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


put %HUMTHISTUNE
GFMFULLPREP:


pause 10
waitfor Roundtime


POWERPERCEIVEKATAMBA:
setvariable RETURNPOINTER %s%


pause
GFMHARNESS1:
GFMHARNESS2:
GFMHARNESS3:
GFMHARNESS4:
GFMHARNESS5:


put harness 20
put perc katamba


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


POWERPERCEIVEXIBAR:
GFMUPDATECOUNTER:


counter add 1
pause


goto GFMHARNESS%c%
put perc xibar


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


POWERPERCEIVEYAVASH:
GFMSPELLCAST:


put cast %GLOBALMOON%
pause


Match GFMSPELLCAST ...wait
put perc yavash
Match %s% You gesture
Matchwait


waitfor Roundtime
GFOCUSMOONBEAMAT:
GFMAT:


POWERPERCEIVEMOON:
if_2 setvariable GLOBALMOON %2%
goto GFOCUSMOONBEAM


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


put perc moon
GSEALOFDEFLECTION:


waitfor Roundtime
GSOD:


POWERPERCEIVEMOONMANIP:
setvariable RETURNPOINTER GSODPREPSPELL


pause 2
GSODPREPSPELL:


counter set 1
put perc moonlight manip


put prep SEAL OF DEFLECTION 20
put %HUMTHISTUNE


waitfor Roundtime
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


POWERPERCEIVETRANSDUCTION:
GSODFULLPREP:


pause
waitfor You feel fully prepared


put perc transduction
setvariable RETURNPOINTER %s%


waitfor Roundtime
GSODHARNESS1:
GSODHARNESS2:


POWERPERCEIVEPERCEPTIONBOOK:
put harness 15


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


put perc perception
GSODUPDATECOUNTER:


counter add 1
waitfor Roundtime


POWERPERCEIVEPSYCHPROJ:
goto GSODHARNESS%c%


pause
GSODHARNESS3:
GSODHARNESS4:
GSODHARNESS5:
GSODHARNESS6:
GSODHARNESS7:
GSODHARNESS8:
GSODHARNESS9:
GSODHARNESS10:


put perc psych project
GSODSPELLCAST:


waitfor Roundtime
put cast %GLOBALSPELLTARGET%


POWERPERCEIVESTELLAR:
Match GSODSPELLCAST ...wait
Match %s% You gesture
Matchwait


pause
GSEALOFDEFLECTIONAT:
GSODAT:


put perc stellar
if_2 setvariable GLOBALSPELLTARGET %2%
goto GSEALOFDEFLECTION


waitfor Roundtime
#end GLOBAL SEAL OF DEFLECTION v2 function (THIS FUNCTION HAS BEEN FIXED2)
==================================================================================
==================================================================================
#begin GLOBAL SEVER THREAD v2 function (THIS FUNCTION HAS BEEN FIXED2)


POWERPERCEIVEPLANET:
GSEVERTHREAD:


GSET:
pause


put perc planet
setvariable RETURNPOINTER GSETPREPSPELL


waitfor Roundtime
GSETPREPSPELL:


POWERPERCEIVEWATCHERS:
counter set 1


pause
put prep SEVER THREAD 22


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


waitfor Roundtime
GSETFULLPREP:


POWERPERCEIVESELF:
waitfor You feel fully prepared


pause
setvariable RETURNPOINTER %s%


put perc self
GSETHARNESS1:
GSETHARNESS2:


put harness 20
waitfor Roundtime


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


pause
GSETUPDATECOUNTER:


counter add 1
put perc area


goto GSETHARNESS%c%
waitfor Roundtime


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


POWERPERCEIVECHECKEXP:
GSETSPELLCAST:


Match POWERPERCEIVEENDFUNCTION mind lock
put cast %GLOBALSPELLTARGET%
Match POWERPERCEIVE EXP HELP

put exp skill power perc


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


POWERPERCEIVEENDFUNCTION:
GSETPREDICTSEVERTARGET:


goto NEXTFUNCTION
put predict sever %GLOBALSPELLTARGET%
exit


#end POWERPERCEIVE function
Match GSETPREDICTSEVERTARGET ...wait
################################################################################
Match %s% Roundtime
################################################################################
Matchwait
#begin MAGIC function


MAGIC:
GSEVERTHREADAT:
GSETAT:


save MAGICSOD
if_2 setvariable GLOBALSPELLTARGET %2%
goto GSEVERTHREAD


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


MAGICSODGETTOOLS:
GLOCATESPELL:


GLOCATE:
MAGICEXPCHECK0:
MAGICEXPCHECK1:
MAGICEXPCHECK2:
MAGICEXPCHECK3:
MAGICEXPCHECK4:


MAGICMANACHECK:
setvariable RETURNPOINTER GLOCATEPREPSPELL


Match MAGICSODSTOWTOOLS S>>>>>>>>|_
GLOCATEPREPSPELL:
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 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:
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
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


MAGICSODCHARGEORB:
GLOCATEUPDATECOUNTER:


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


put charge my %CAMBRINTHDEVICE 20
goto GLOCATEHARNESS%c%


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


MAGICSODFOCUSORB:
GLOCATESPELLCAST:


put cast %GLOBALSPELLTARGET%
put focus my %CAMBRINTHDEVICE


Match GLOCATESPELLCAST ...wait
Match MAGICSODFOCUSORB ...wait
Match %s% You gesture
Match MAGICSOINCREASECOUNTER forge a magical link to it
Match MAGICSOINCREASECOUNTER is intact
Matchwait
Matchwait


MAGICSOINCREASECOUNTER:
GLOCATESPELLAT:
GLOCATEAT:


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


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


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


GMB:
put cast


setvariable RETURNPOINTER GMBPREPSPELL

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


GMBFULLPREP:
MAGICSODNOTOOLS:


pause 16
save MAGICSODNOTOOLS


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


put prep SEAL OF DEFLECTION 20
GMBHARNESS1:
GMBHARNESS2:


put harness 20

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


MAGICSODFULLPREP:
GMBUPDATECOUNTER:


counter add 1
waitfor You feel fully prepared
goto MAGICSODCAST


MAGICEXPCHECK5:
goto GMBHARNESS%c%
MAGICEXPMAGIC:


counter set 0
GMBHARNESS3:
GMBHARNESS4:
GMBHARNESS5:
GMBHARNESS6:
GMBHARNESS7:
GMBHARNESS8:
GMBHARNESS9:
GMBHARNESS10:


Match MAGICEXPHARNESS mind lock
GMBSPELLCAST:
Match MAGICMANACHECK EXP HELP for more information


put cast %GLOBALSPELLTARGET%
put exp skill primary magic


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


GMENTALBLASTAT:
MAGICEXPHARNESS:
GMBAT:


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


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


Matchwait
GTEZIRAHSVEIL:


MAGICEXPMAGDEVICES:
GTV:


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


put exp skill magical devices
GTVPREPSPELL:


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


MAGICSODSTOWTOOLS:
GTVFULLPREP:


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:
GTVHARNESS1:
GTVHARNESS2:


ASTROLOGYDECLAREVARIABLES:
put harness 15


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


ASTROLOGYCOUNTERSTART:
GTVUPDATECOUNTER:


counter add 1
counter set 0


ASTROLOGYCOUNTERINCREASE:
goto GTVHARNESS%c%


counter set %TEMPBODYCOUNTER
GTVHARNESS3:
counter add 1
GTVHARNESS4:
goto ASTROLOGYBODY%c
GTVHARNESS5:
GTVHARNESS6:
GTVHARNESS7:
GTVHARNESS8:
GTVHARNESS9:
GTVHARNESS10:


ASTROLOGYBODY1:
GTVSPELLCAST:


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


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


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


ASTROLOGYBODY3:
if_2 setvariable GLOBALSPELLTARGET %2%
goto GTEZIRAHSVEIL


setvariable ASTROLOGYBODY Spider
#end GLOBAL TEZIRAH'S VEIL v2 function (THIS FUNCTION HAS BEEN FIXED2)
setvariable ASTROLOGYSKILL1 offense
==================================================================================
setvariable ASTROLOGYSKILL2 magic
==================================================================================
setvariable TEMPBODYCOUNTER %c
#begin GLOBAL RIPPLE v2 function (THIS FUNCTION HAS BEEN FIXED2)
counter set 1
goto ASTROLOGYPG


ASTROLOGYBODY4:
GRIPPLESPELL:


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


ASTROLOGYPG:
setvariable RETURNPOINTER GRIPPLEPREPSPELL


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


counter set 1
put stop hum
put prep pg 30
put predict weather


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:
ASTROLOGYPGCAST:


Match ASTROLOGYPGCAST ...wait
waitfor You feel fully prepared
Match ASTROLOGYSTUDY The world around you


put cast
setvariable RETURNPOINTER %s%


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


ASTROLOGYSTUDY:
GRIPPLEUPDATECOUNTER:


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 GRIPPLEHARNESS%c%
put %HUMTHISTUNE
put STUDY %ASTROLOGYBODY


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

GRIPPLESPELLCAST:

put cast

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


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


goto ASTROLOGYCOUNTERINCREASE
GCONTINGENCYSPELL:


ASTROLOGYOBSERVE1:
GCONTINGENCY:


pause
setvariable RETURNPOINTER GCONTINGENCYPREPSPELL

GCONTINGENCYPREPSPELL:


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


Match ASTROLOGYOBSERVE1 ...wait
put prep CONTINGENCY 25
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


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


ASTROLOGYALIGN:
GCONTINGENCYFULLPREP:
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


Matchwait
GCONTINGENCYHARNESS1:


ASTROLOGYTURNPRISM:
put harness 20


Match GCONTINGENCYHARNESS%c% ...wait
Match ASTROLOGYTURNPRISM ...wait
Match GCONTINGENCYUPDATECOUNTER You tap into the mana from
Match ASTROLOGYRAISEPRISM You wind the chain around the prism.
Match KILLSPELLPREP You strain, but cannot harness
Matchwait


put TURN PRISM
GCONTINGENCYUPDATECOUNTER:


counter add 1
Matchwait


ASTROLOGYRAISEPRISM:
goto GCONTINGENCYHARNESS%c%


setvariable ASTROLOGYPTR1 ASTROLOGYALIGN
GCONTINGENCYHARNESS2:
GCONTINGENCYHARNESS3:
GCONTINGENCYHARNESS4:
GCONTINGENCYHARNESS5:
GCONTINGENCYHARNESS6:
GCONTINGENCYHARNESS7:
GCONTINGENCYHARNESS8:
GCONTINGENCYHARNESS9:
GCONTINGENCYHARNESS10:


Match ASTROLOGYRAISEPRISM ...wait
GCONTINGENCYSPELLCAST:
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 cast %GLOBALMOON%
put RAISE PRISM


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


ASTROLOGYALIGN3:
GCONTINGENCYSPELLAT:
ASTROLOGYANALYZE:
GCONTINGENCYAT:


pause
if_2 setvariable GLOBALMOON %2%
goto GCONTINGENCY


counter set 1
#end GLOBAL CONTINGENCY v2 function (THIS FUNCTION HAS BEEN FIXED2)
setvariable ASTROLOGYPTR1 ASTROLOGYAPPRAISE
==================================================================================
==================================================================================
#begin GLOBAL CAGE OF LIGHT v2 function (THIS FUNCTION HAS BEEN FIXED2)


Match ASTROLOGYANALYZE ...wait
GCAGEOFLIGHT:
Match ASTROLOGYSTOWPRISM Roundtime


put PREDICT ANALYZE
GCOL:


Matchwait
setvariable RETURNPOINTER GCOLPREPSPELL


ASTROLOGYAPPRAISE:
GCOLPREPSPELL:


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


put prep CAGE OF LIGHT 23
put get pouch from case in cloak
put appraise my pouch quick


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


ASTROLOGYSTOWPOUCH:
GCOLFULLPREP:


Match ASTROLOGYSTOWPOUCH ...wait
waitfor You feel fully prepared
Match ASTROLOGYWAIT You put your


put put pouch in case in my cloak
setvariable RETURNPOINTER %s%


GCOLHARNESS1:

put harness 20

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


ASTROLOGYOBSERVE2:
GCOLUPDATECOUNTER:


counter add 1
counter subtract 2


ASTROLOGYWAIT:
goto GCOLHARNESS%c%


Match ASTROLOGYWAIT ...wait
GCOLHARNESS2:
Match EXPASTROLOGY %ASTROLOGYBODY fades.
GCOLHARNESS3:
GCOLHARNESS4:
GCOLHARNESS5:
GCOLHARNESS6:
GCOLHARNESS7:
GCOLHARNESS8:
GCOLHARNESS9:
GCOLHARNESS10:


counter add 1
GCOLSPELLCAST:


put cast %GLOBALMOON%
put predict event
put study sky


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


GCAGEOFLIGHTAT:
EXPASTROLOGY:
GCOLAT:


if_2 setvariable GLOBALMOON %2%
Match ASTROLOGYEND mind lock
Match ASTROLOGYPG EXP HELP for more information
goto GCAGEOFLIGHT


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


Matchwait
GDAZZLESPELL:


ASTROLOGYGETPRISM:
GDAZZLE:


Match ASTROLOGYGETPRISM ...wait
setvariable RETURNPOINTER GDAZZLEPREPSPELL
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
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:
put cast %GLOBALSPELLTARGET%


echo #################################
Match GDAZZLESPELLCAST ...wait
echo # GO OUTSIDE UNDER THE OPEN SKY #
Match %s% You gesture
echo # Function ending #
Matchwait
echo #################################


goto ASTROLOGYEND
GDAZZLESPELLAT:
GDAZZLEAT:


ASTROLOGYBODY5:
if_2 setvariable GLOBALSPELLTARGET %2%
ASTROLOGYEND:
goto GDAZZLESPELL
goto NEXTFUNCTION
exit


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


GLOBALWEAPONRESET:
GEASEBURDEN:


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


#end GLOBALWEAPONRESET function
setvariable RETURNPOINTER GEASEPREPSPELL
################################################################################
################################################################################
#begin KILLHUMMING function


GEASEPREPSPELL:
KILLHUMMING:


counter set 1
put stop hum


put prep EASE 30
goto %RETURNPOINTER


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


GEASEFULLPREP:
KILLSPELLPREP:


put release
waitfor You feel fully prepared


setvariable RETURNPOINTER %s%
Match KILLSPELLPREP ...wait
Match %RETURNPOINTER RELEASE HELP

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:
put cast %GLOBALSPELLTARGET%


setvariable SPELLRETURNPOINTER BARRIERSPELL3
Match GEASESPELLCAST ...wait
goto GSOD
Match %s% You gesture
Matchwait


GEASEBURDENAT:
BARRIERSPELL3:
GEASEAT:


if_2 setvariable GLOBALSPELLTARGET %2%
setvariable SPELLRETURNPOINTER NEXTFUNCTION
goto GEASEBURDEN
goto GSHEAR


################################################################################
#end GLOBAL EASE BURDEN function (THIS FUNCTION HAS BEEN FIXED)
################################################################################
==================================================================================
#cap is 69 mana TENEBROUS SENSE SPELL
==================================================================================
#begin GLOBAL DISTANT GAZE function (THIS FUNCTION HAS BEEN FIXED2)


GTENEBROUSSENSE:
GDISTANTGAZE:
GTS:


setvariable SPELLTOPREP TENEB SENSE
####################################################################################################
setvariable SPELLBASEMANA 29
#
setvariable SPELLMANAHARNESS 20
# Prepares distant gaze at 20 and harnesses twice 20 for a total of 60. It will cast it on the
setvariable SPELLMANAINCREMENTS 2
# GLOBALMOON variable which must be determined prior so both functions must be called for it to
setvariable GLOBALSPELLTARGET
# function properly
setvariable SPELLADDITIONALCOMMAND
#
goto GLOBALSPELLPREP
####################################################################################################


GTENEBROUSSENSEAT:
GDG:
GTSAT:


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


################################################################################
GDGPREPSPELL:
################################################################################
#cap is 55 mana WHOLE DISPLACEMENT SPELL


GWHOLEDISPLACEMENT:
counter set 1
GWD:


setvariable SPELLTOPREP WHOLE DISPLACEMENT
put prep DISTANT GAZE 20
setvariable SPELLBASEMANA 35
setvariable SPELLMANAHARNESS 20
setvariable SPELLMANAINCREMENTS 1
setvariable GLOBALSPELLTARGET
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


GWHOLEDISPLACEMENTAT:
Match GDGPREPSPELL ...wait
GWDAT:
Match KILLHUMMING You should stop playing
Match KILLSPELLPREP You are already preparing
Match KILLSPELLPREP You have to strain
Match GDGFULLPREP %SPELLPREPMESSAGE%
Matchwait


shift
GDGFULLPREP:
setvariable SPELLTOPREP WHOLE DISPLACEMENT
setvariable SPELLBASEMANA 35
setvariable SPELLMANAHARNESS 20
setvariable SPELLMANAINCREMENTS 1
setvariable GLOBALSPELLTARGET %1
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


################################################################################
waitfor You feel fully prepared
################################################################################
#cap is 54 mana TELEKINETIC THROW SPELL


GTKTAT:
setvariable RETURNPOINTER %s%


shift
GDGHARNESS1:
setvariable SPELLTOPREP TKT
GDGHARNESS2:
setvariable SPELLBASEMANA 34
setvariable SPELLMANAHARNESS 20
setvariable SPELLMANAINCREMENTS 1
setvariable GLOBALSPELLTARGET %1
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


################################################################################
put harness 20
################################################################################
#cap is 45 mana TELEKINETIC STORM SPELL


GTKS:
Match GDGHARNESS%c% ...wait
GTSK:
Match GDGUPDATECOUNTER You tap into the mana from
Match KILLSPELLPREP You strain, but cannot harness
Matchwait


setvariable SPELLTOPREP TKS
GDGUPDATECOUNTER:
setvariable SPELLBASEMANA 25
setvariable SPELLMANAHARNESS 20
setvariable SPELLMANAINCREMENTS 1
setvariable GLOBALSPELLTARGET
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


################################################################################
counter add 1
################################################################################
#cap is 60 mana SHEAR SPELL


GSHEAR:
goto GDGHARNESS%c%


setvariable SPELLTOPREP SHEAR
GDGHARNESS3:
setvariable SPELLBASEMANA 30
GDGHARNESS4:
setvariable SPELLMANAHARNESS 30
GDGHARNESS5:
setvariable SPELLMANAINCREMENTS 1
GDGHARNESS6:
setvariable GLOBALSPELLTARGET
GDGHARNESS7:
setvariable SPELLADDITIONALCOMMAND
GDGHARNESS8:
goto GLOBALSPELLPREP
GDGHARNESS9:
GDGHARNESS10:


################################################################################
GDGSPELLCAST:
################################################################################
#cap is 50 mana DARKNESS SPELL


GDARKNESS:
put cast %GLOBALMOON%
GDARK:


setvariable SPELLTOPREP DARKNESS
Match GDGSPELLCAST ...wait
setvariable SPELLBASEMANA 25
Match %s% You gesture
setvariable SPELLMANAHARNESS 25
Matchwait
setvariable SPELLMANAINCREMENTS 1
setvariable GLOBALSPELLTARGET
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


################################################################################
GDISTANTGAZEAT:
################################################################################
GDGAT:
#cap is 52 mana SHADOW WEB SPELL


GSHADOWWEB:
if_2 setvariable GLOBALMOON %2%
GWEB:
goto GDISTANTGAZE


setvariable SPELLTOPREP SHADOW WEB
#end GLOBAL DISTANT GAZE function (THIS FUNCTION HAS BEEN FIXED2)
setvariable SPELLBASEMANA 22
==================================================================================
setvariable SPELLMANAHARNESS 30
==================================================================================
setvariable SPELLMANAINCREMENTS 1
#begin GLOBAL SPHERE OF PROTECTION function (THIS FUNCTION HAS BEEN FIXED)
setvariable GLOBALSPELLTARGET
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


GSPHEREOFPROTECTION:


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


GPDAT:
GSOP:
GLOBALSOP:


shift
put prep SPHERE OF PROTECTION
setvariable SPELLTOPREP PARTIAL DISPLAC
setvariable SPELLBASEMANA 15
setvariable SPELLMANAHARNESS 18
setvariable SPELLMANAINCREMENTS 1
setvariable GLOBALSPELLTARGET %1
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


################################################################################
Match GLOBALSOP ...wait
################################################################################
Match GLOBALSOPREL You have to strain
#cap is 75 mana IMBUE SPELL
Match GLOBALSOPCAST Sphere of Protection spell
Matchwait


GIMBUEAT:
GLOBALSOPCAST:


shift
pause 2
setvariable SPELLTOPREP IMBUE
setvariable SPELLBASEMANA 25
setvariable SPELLMANAHARNESS 25
setvariable SPELLMANAINCREMENTS 2
setvariable GLOBALSPELLTARGET %1
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


################################################################################
put cast
################################################################################
#cap is 48 mana DINAZEN OLKAR SPELL


GDOAT:
Match GLOBALSOPCAST ...wait
Match GLOBALSOPREL doesn't do much good.
Match GLOBALSOPREL You are unable to harness
goto GLOBALSOP
Matchwait


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


################################################################################
put rel
################################################################################
goto %s%
#cap is 36 mana CRYSTAL SPIKE SPELL


GCRSAT:
#end GLOBAL SPHERE OF PROTECTION function (THIS FUNCTION HAS BEEN FIXED)
==================================================================================
==================================================================================
#begin PERCEPTION function (THIS FUNCTION HAS BEEN FIXED)


shift
PERCEPTION:
setvariable SPELLTOPREP CRYSTAL SPIKE
setvariable SPELLBASEMANA 20
setvariable SPELLMANAHARNESS 16
setvariable SPELLMANAINCREMENTS 1
setvariable GLOBALSPELLTARGET %1
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


################################################################################
setvariable PERCEPTIONMATERIAL SILVER ZOMBIES
################################################################################
#cap is 50 mana CLARIFY GEM SPELL


GCGAT:
PERCEPTIONSUPSPELLS:


shift
save PERCEPTIONGETTOOLS
setvariable SPELLTOPREP CLARIFY GEM
goto GCLEARVISION
setvariable SPELLBASEMANA 20
setvariable SPELLMANAHARNESS 30
setvariable SPELLMANAINCREMENTS 1
setvariable GLOBALSPELLTARGET %1
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


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


GBURNAT:
pause


shift
put get %PERCEPTIONMATERIAL%
setvariable SPELLTOPREP BURN
setvariable SPELLBASEMANA 12
setvariable SPELLMANAHARNESS 30
setvariable SPELLMANAINCREMENTS 1
setvariable GLOBALSPELLTARGET %1
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


################################################################################
Match PERCEPTIONGETTOOLS ...wait
################################################################################
Match PERCEPTIONWORK You get
#cap is 55 mana UNLEASH SPELL
Match PERCEPTIONWORK already holding that
Match NEXTFUNCTION could not find what
Matchwait


GUNLEASHAT:
PERCEPTIONWORK:


shift
pause
setvariable SPELLTOPREP UNLEASH
setvariable SPELLBASEMANA 25
setvariable SPELLMANAHARNESS 30
setvariable SPELLMANAINCREMENTS 1
setvariable GLOBALSPELLTARGET %1
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


################################################################################
put %HUMTHISTUNE%
################################################################################
put juggle my %PERCEPTIONMATERIAL%
#cap is 55 mana PIERCING GAZE SPELL


GPIERCINGGAZE:
Match PERCEPTIONWORK ...wait
GPG:
Match EXPPERCEPTION Roundtime
Matchwait


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


GPIERCINGGAZEAT:
put exp skill perception
GPGAT:


shift
Match PERCEPTIONSTOWTOOLS dazed
setvariable SPELLTOPREP PIERCING GAZE
Match PERCEPTIONSTOWTOOLS mind lock
setvariable SPELLBASEMANA 15
Match PERCEPTIONWORK EXP HELP for more information
setvariable SPELLMANAHARNESS 20
Matchwait
setvariable SPELLMANAINCREMENTS 2
setvariable GLOBALSPELLTARGET %1
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


################################################################################
PERCEPTIONSTOWTOOLS:
################################################################################
#cap is 70 mana CLEAR VISION SPELL


GCLEARVISION:
put put %PERCEPTIONMATERIAL% in my %LARGESTORAGECONTAINER%
GCV:


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


GCLEARVISIONAT:
goto NEXTFUNCTION
GCVAT:


shift
#end PERCEPTION function (THIS FUNCTION HAS BEEN FIXED)
setvariable SPELLTOPREP CLEAR VISION
==================================================================================
setvariable SPELLBASEMANA 20
==================================================================================
setvariable SPELLMANAHARNESS 25
#begin POWERPERCEIVE function (THIS FUNCTION HAS BEEN FIXED)
setvariable SPELLMANAINCREMENTS 2
setvariable GLOBALSPELLTARGET %1
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


################################################################################
POWERPERCEIVE:
################################################################################
#cap is 60 mana AURA SIGHT SPELL


GAUS:
POWERPERCEIVESUPSPELLS:


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


GAUSAT:
POWERPERCEIVEPREPSHADOWLING:


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


################################################################################
put prep SHADOWLING
################################################################################
#cap is 73 mana SHADOWLING SPELL


GSHADOWLING:
Match POWERPERCEIVEPREPSHADOWLING ...wait
Match EXPPOWERPERCEIVE you aren't sure you can get enough
Match POWERPERCEIVEPERCSHADOWLING %SPELLPREPMESSAGE%
Matchwait


setvariable SPELLTOPREP SHADOWLING
POWERPERCEIVEPERCSHADOWLING:
setvariable SPELLBASEMANA 23
setvariable SPELLMANAHARNESS 25
setvariable SPELLMANAINCREMENTS 2
setvariable GLOBALSPELLTARGET
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


################################################################################
put perc SHADOWLING
################################################################################
#cap is 54 mana SHADOW SERVANT SPELL


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


setvariable SPELLRETURNPOINTER GSHADOWSERVANTGETPYRAMIDS
POWERPERCEIVEFPREPSHADOWLING:


GSHADOWSERVANT:
waitfor You feel fully prepared to cast


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


GSHADOWSERVANTGETPYRAMIDS:
put release SHADOWLING


save NEXTFUNCTION
Match POWERPERCEIVERELSHADOWLING ...wait
Match POWERPERCEIVECASTSHADOWLING shadowling
Matchwait


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


put cast
put ask servant for pyramid


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
setvariable SPELLMANAINCREMENTS 1
setvariable GLOBALSPELLTARGET %1
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


################################################################################
main one ran out of mana. It has been separated so it can be accessed by itself using the POWERPERCEIVE4 LABEL.)
################################################################################
#cap is 45 mana STRANGE ARROW SPELL


GSAAT:
POWERPERCEIVE4:


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


################################################################################
pause
################################################################################
#cap is 66 mana PSYCHIC SHIELD SPELL


GPSY:
put conc all


setvariable SPELLTOPREP PSYCH SHIELD
waitfor Roundtime
setvariable SPELLBASEMANA 26
setvariable SPELLMANAHARNESS 20
setvariable SPELLMANAINCREMENTS 2
setvariable GLOBALSPELLTARGET
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


GPSYAT:
POWERPERCEIVEKATAMBA:


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


################################################################################
put perc katamba
################################################################################
#cap is 50 mana SEAL OF DEFLECTION SPELL


GSOD:
waitfor Roundtime


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


################################################################################
pause
################################################################################
#cap is 62 mana SEVER THREAD SPELL


GSEVERTHREADAT:
put perc xibar
GSEVERAT:


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


################################################################################
POWERPERCEIVEYAVASH:
################################################################################
#cap is 50 mana LOCATE SPELL


GLOCATE:
pause
GLOC:


setvariable SPELLTOPREP LOCATE
put perc yavash
setvariable SPELLBASEMANA 20
setvariable SPELLMANAHARNESS 30
setvariable SPELLMANAINCREMENTS 1
setvariable GLOBALSPELLTARGET
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


GLOCATEAT:
waitfor Roundtime
GLOCAT:


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


################################################################################
pause
################################################################################
#cap is 65 mana MENTAL BLAST SPELL


GMENTALBLASTAT:
put perc moon
GMBAT:


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


################################################################################
POWERPERCEIVEMOONMANIP:
################################################################################
#cap is 58 mana TEZIRAH'S VEIL SPELL


GTEZIRAHSVEILAT:
pause 2
GTVAT:


shift
put perc moonlight manip
setvariable SPELLTOPREP TEZIRA VEIL
setvariable SPELLBASEMANA 28
setvariable SPELLMANAHARNESS 30
setvariable SPELLMANAINCREMENTS 1
setvariable GLOBALSPELLTARGET %1
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


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


GRIPPLE:
POWERPERCEIVETRANSDUCTION:
GRIP:


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


################################################################################
put perc transduction
################################################################################
#cap is 60 mana DAZZLE SPELL


GDAZZLE:
waitfor Roundtime
GDAZ:


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


GDAZZLEAT:
pause
GDAZAT:


shift
put perc perception
setvariable SPELLTOPREP DAZZLE
setvariable SPELLBASEMANA 30
setvariable SPELLMANAHARNESS 30
setvariable SPELLMANAINCREMENTS 1
setvariable GLOBALSPELLTARGET %1
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


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


GSHADOWS:
POWERPERCEIVEPSYCHPROJ:
GSHAD:


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


GSHADOWSAT:
put perc psych project
GSHADAT:


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


################################################################################
POWERPERCEIVESTELLAR:
################################################################################
#cap is 56 mana SEER'S SENSE SPELL


GSEERSSENSE:
pause
GSEERS:
GSEER:


setvariable SPELLTOPREP SEER
put perc stellar
setvariable SPELLBASEMANA 26
setvariable SPELLMANAHARNESS 30
setvariable SPELLMANAINCREMENTS 1
setvariable GLOBALSPELLTARGET
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


GSEERSSENSEAT:
waitfor Roundtime
GSEERSAT:
GSEERAT:


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


################################################################################
pause
################################################################################
#cap is 120 mana FOCUS MOONBEAM SPELL


GFOCUSMOONBEAMAT:
put perc planet
GFMAT:


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


################################################################################
POWERPERCEIVEWATCHERS:
################################################################################
#cap is 45 mana CONTINGENCY SPELL


GCONTINGENCYAT:
pause


shift
put perc watchers
setvariable SPELLTOPREP CONTINGENCY
setvariable SPELLBASEMANA 25
setvariable SPELLMANAHARNESS 20
setvariable SPELLMANAINCREMENTS 1
setvariable GLOBALSPELLTARGET %1
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


################################################################################
waitfor Roundtime
################################################################################
#cap is 43 mana CAGE OF LIGHT SPELL


GCAGEOFLIGHT:
POWERPERCEIVESELF:
GCOLAT:


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


################################################################################
put perc self
################################################################################
#cap is 60 mana DISTANT GAZE SPELL


GDISTANTGAZEAT:
waitfor Roundtime
GDGAT:


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


################################################################################
pause
################################################################################
#cap is 71 mana EASE BURDEN SPELL


GEASE:
put perc area


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


GEASEAT:
goto NEXTFUNCTION


shift
#end POWERPERCEIVE4 function
setvariable SPELLTOPREP EASE
==================================================================================
setvariable SPELLBASEMANA 21
==================================================================================
setvariable SPELLMANAHARNESS 25
#begin POWERPERCEIVE3 function (THIS FUNCTION HAS BEEN FIXED)
setvariable SPELLMANAINCREMENTS 2
setvariable GLOBALSPELLTARGET %1
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


################################################################################
POWERPERCEIVE3:
################################################################################
#cap is 65 mana SPHERE OF PROTECTION SPELL


GSOP:
put release


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


GSOPAT:
setvariable RETURNPOINTER POWERPERCEIVE3INITIALSHADOWLING


shift
put prep SHADOWLING
setvariable SPELLTOPREP SPHERE OF PROTECT
setvariable SPELLBASEMANA 10
setvariable SPELLMANAHARNESS 25
setvariable SPELLMANAINCREMENTS 2
setvariable GLOBALSPELLTARGET %1
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


################################################################################
Match POWERPERCEIVE3INITIALSHADOWLING ...wait
################################################################################
Match NEXTFUNCTION you aren't sure you can get enough
#cap is 66 mana ETHEREAL SHIELD SPELL
Match KILLHUMMING should stop playing before
Match POWERPERCEIVE3INITIALSHADOWLINGCONT %SPELLPREPMESSAGE%
Matchwait


GES:
POWERPERCEIVE3INITIALSHADOWLINGCONT:


setvariable SPELLTOPREP ETHEREAL SHIELD
pause 10
setvariable SPELLBASEMANA 26
setvariable SPELLMANAHARNESS 20
setvariable SPELLMANAINCREMENTS 2
setvariable GLOBALSPELLTARGET
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


GESAT:
put cast


shift
POWERPERCEIVE3PREPSHADOWLING:
setvariable SPELLTOPREP ETHEREAL SHIELD
setvariable SPELLBASEMANA 26
setvariable SPELLMANAHARNESS 20
setvariable SPELLMANAINCREMENTS 2
setvariable GLOBALSPELLTARGET %1
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


################################################################################
put prep SHADOWLING
################################################################################
#begin GLOBAL SPELLCASTING FUNCTION


GLOBALSPELLPREP:
Match POWERPERCEIVE3PREPSHADOWLING ...wait
Match NEXTFUNCTION you aren't sure you can get enough
Match POWERPERCEIVE3HIDE %SPELLPREPMESSAGE%
Matchwait


setvariable RETURNPOINTER GSPELLPREP
POWERPERCEIVE3HIDE:
counter set %SPELLMANAINCREMENTS


pause
GSPELLPREP:


put hide
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
Match POWERPERCEIVE3HIDE ...wait
Match POWERPERCEIVE3STALK Roundtime:
Matchwait


POWERPERCEIVE3STALK:

put stalk SHADOWLING

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:


Match FORAGINGSTART ...wait
move go gate
move se
Match FORAGINGSTORE %FORAGEFORITEM%
Match FORAGINGSTART Roundtime
move climb stair
move go door
goto TRAVEL


RATHALOCATION:
put forage %FORAGEFORITEM%


setvariable STARTINGLOCATION RATHA
Matchwait
counter set 6
goto SELECTLOCATION


RATHALOCATIONADJUST:
FORAGINGSTORE:


if_2 Match FORAGINGSTORE ...wait
move go door
if_2 Match EXPFORAGING You
move e
goto TRAVEL


ELBAINSLOCATION:
if_2 put put %FORAGEFORITEM% in %2%


setvariable STARTINGLOCATION ELBAIN'S
if_2 Matchwait
counter set 7
goto SELECTLOCATION


ELBAINSLOCATIONADJUST:
Match FORAGINGSTORE ...wait
Match EXPFORAGING You put your


move go tree
put put %FORAGEFORITEM% in my %LARGESTORAGECONTAINER%
move s
move s
goto TRAVEL


MUSPARILOCATION:
Matchwait


setvariable STARTINGLOCATION MUSPAR'I
EXPFORAGING:
counter set 8
goto SELECTLOCATION


MUSPARILOCATIONADJUST:
put %HUMTHISTUNE%


put exp skill foraging
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:
Match FORAGINGEND mind lock
Match %s% EXP HELP for more information
Matchwait


setvariable STARTINGLOCATION HIBARNHVIDAR
FORAGINGEND:
counter set 9
goto SELECTLOCATION


HIBLOCATIONADJUST:
if_2 shift


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
goto TRAVEL


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


pause
FIRSTAID:
ECHO ######################################################################
ECHO ################You are currently in %STARTINGLOCATION###############
ECHO ######################################################################


ECHO ############################################################
FIRSTAIDGETTHIRDCOMPENDIUM:
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 #############################################################


put %HUMTHISTUNE%
Match %cCROSSING CROSSING
put get THIRD compendium
Match %cAESRY AESRY
put look my compendium
Match %cSHARD SHARD
Match %cMERKRESH MERKRESH
Match %cRIVERHAVEN RIVERHAVEN
Match %cRATHA RATHA
Match %cELBAINS ELBAINS
Match %cMUSPARI MUSPARI
Match %cHIBARN HIBARN


Matchwait
Match DWARVENCOMPENDIUM Dwarven
Match ELOTHEANCOMPENDIUM Elothean
Match GIDIICOMPENDIUM Gidii
Matchwait


1CROSSING:
DWARVENCOMPENDIUM:


ECHO #####################
counter set 0
goto FIRSTAIDADVANCECOUNTER
ECHO #Already in CROSSING#
ECHO #####################
exit


1AESRY:
ELOTHEANCOMPENDIUM:


counter set 8
move go portal
exit
goto FIRSTAIDADVANCECOUNTER


GIDIICOMPENDIUM:
1SHARD:


counter set 13
move go portal
goto FIRSTAIDADVANCECOUNTER


move n
FIRSTAIDCOMPENDIUM:
move e
FIRSTAIDCOMPENDIUMPART1:
setvariable PAGE DWARVEN
move go gate
goto FIRSTAIDTURNCOMPENDIUM
move go door
move n
FIRSTAIDCOMPENDIUMPART2:
setvariable PAGE HALFLING
move w
goto FIRSTAIDTURNCOMPENDIUM
move go vault
move go portal
FIRSTAIDCOMPENDIUMPART3:
setvariable PAGE HUMAN
exit
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


1MERKRESH:
FIRSTAIDADVANCECOUNTER:


counter add 1
move go portal
goto FIRSTAIDCOMPENDIUMPART%c%


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


move out
put turn compendium to %PAGE%
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:
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
exit


1RATHA:
FIRSTAIDSTOREEQUIPFINISHED:


move go portal
put put my compendium in my %LARGESTORAGECONTAINER%
goto NEXTFUNCTION


move n
#end FIRSTAID function (THIS FUNCTION HAS BEEN FIXED)
move e
==================================================================================
move go gate
==================================================================================
move go door
#begin FIRSTAID2 function (THIS FUNCTION HAS BEEN FIXED)
move n
move w
move go vault
move go portal


move out
FIRSTAID2:
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
FIRSTAID2LOCATIONCHECK:
move nw
move ne
move ne
move n
move n
move n
move n
move go gate
move go portal


put look
move go gate
move se
move climb stair
move go door
move go portal
exit


1ELBAINS:
Match FIRSTAID2RELOCATE In The Water
Match FIRSTAID2LOCCHEKCFAILED Obvious
Matchwait


move go portal
FIRSTAID2RELOCATE:


counter set 1
move n
move e
move go gate
move go door
move n
move w
move go vault
move go portal


goto FIRSTAID2MOVE%c%
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
FIRSTAID2MOVE1:
move nw
move ne
move ne
move n
move n
move n
move n
move go gate
move go portal


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


FIRSTAID2MOVE2:
move go door
move e
move go portal
exit


move NE
1MUSPARI:
counter add 1
goto FIRSTAID2WORMCHECK


move go portal
FIRSTAID2MOVE3:


move E
move n
counter add 1
move e
goto FIRSTAID2WORMCHECK
move go gate
move go door
move n
move w
move go vault
move go portal


FIRSTAID2MOVE4:
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 SE
move nw
counter add 1
move nw
goto FIRSTAID2WORMCHECK
move ne
move ne
move n
move n
move n
move n
move go gate
move go portal


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


move S
move go door
counter add 1
move e
goto FIRSTAID2WORMCHECK
move go portal


move go tree
FIRSTAID2MOVE6:
move s
move s
move go portal
exit


move SW
1HIBARN:
counter add 1
goto FIRSTAID2WORMCHECK


move go portal
FIRSTAID2MOVE7:


move W
move n
counter set 1
move e
goto FIRSTAID2WORMCHECK
move go gate
move go door
move n
move w
move go vault
move go portal


move out
FIRSTAID2WORMCHECK:
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 DAMIAN
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 FIRSTAID2MOVE%c% You are in good shape
move se
Match FIRSTAID2REMOVEWORMRL on your right leg
move climb stair
Match FIRSTAID2REMOVEWORMLL on your left leg
move go door
Match FIRSTAID2WORMFIND You are wearing
Matchwait
move go portal


move go door
FIRSTAID2WORMFIND:
move e
move go portal


pause 5
move go tree
put look DAMIAN
move s
move s
move go portal
Match FIRSTAID2REMOVEWORMRL on your right leg
Match FIRSTAID2REMOVEWORMLL on your left leg
Match FIRSTAID2WORMFIND You are wearing
Matchwait


move w
FIRSTAID2REMOVEWORMRL:
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 tend my right leg
waitfor seconds.
goto FIRSTAID2EXPCHECK


move go portal
FIRSTAID2REMOVEWORMLL:


put tend my left leg
move out
waitfor seconds.
move w
goto FIRSTAID2EXPCHECK
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
FIRSTAID2EXPCHECK:
move nw
move ne
move ne
move n
move n
move n
move n
move go gate
move go portal


put exp skill fa
move go gate
move se
move climb stair
move go door
move go portal


Match FIRSTAID2DONE mind lock
move go door
move e
Match FIRSTAID2WORMCHECK EXP HELP
Matchwait
move go portal


move go tree
FIRSTAID2LOCCHECKFAILED:
move s
move s
move go portal


echo
move w
move n
echo ************************************************************************
move climb stair
echo You must be located in the Crocodile Marsh for this script to start. It
move s
echo is located just south and east of the north bank of the ferry to River-
move climb stair
echo haven. Go to the marsh, past the reeds, and start this script again.
move se
echo You must be in [The Marsh, In The Water].
move sw
echo ************************************************************************
echo
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
FIRSTAID2DONE:
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:
goto NEXTFUNCTION


ECHO #####################
#end FIRSTAID2 function (THIS FUNCTION HAS BEEN FIXED)
ECHO ###Already in AESRY##
==================================================================================
ECHO #####################
==================================================================================
exit
#begin MAKEROPE function (THIS FUNCTION HAS BEEN FIXED)


2SHARD:
MAKEROPE:


move go portal
counter set %2%
exit


MAKEROPE1:
2MERKRESH:
MAKEROPE2:
MAKEROPE3:
MAKEROPE4:
MAKEROPE5:


MAKEROPEFORAGEGRASS:
move go portal


put forage grass
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:
Match MAKEROPEFORAGEGRASS ...wait
Match MAKEROPEBRAIDGRASS find some grass
Match MAKEROPEFORAGEGRASS Roundtime
Matchwait


MAKEROPEBRAIDGRASS:
move go portal


put braid my grass
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 MAKEROPEBRAIDGRASS ...wait
move nw
Match MAKEROPEPULLGRASS bundling rope
move ne
Match MAKEROPEBRAIDGRASS Roundtime
Matchwait
move ne
move n
move n
move n
move n
move go gate
move go portal
exit


2RATHA:
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
exit


2ELBAINS:
counter subtract 1


goto MAKEROPE%c%
move go portal


MAKEROPE0:
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


goto NEXTFUNCTION
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
#end MAKEROPE function (THIS FUNCTION HAS BEEN FIXED)
move se
==================================================================================
move climb stair
==================================================================================
move go door
#begin ASTROLOGY function (THIS FUNCTION HAS BEEN FIXED)
move go portal


move go door
ASTROLOGY:
move e
move go portal
exit


2MUSPARI:
counter set 1
save ASTROLOGYSUPSPELLS2


move go portal
ASTROLOGYINDOORCHECK:


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
move go port


put obs weather
move nw
move nw
move ne
move ne
move n
move n
move n
move n
move go gate
move go portal


Match ASTROLOGYKILLRT ...wait
move go gate
move se
Match ASTROLOGYFUNCTIONEND you can see the sky
move climb stair
Match ASTROLOGYSUPSPELLS You glance outside.
move go door
Match ASTROLOGYSUPSPELLS You glance up at the sky
Matchwait
move go portal


move go door
ASTROLOGYSUPSPELLS:
move e
move go portal


goto GPIERCINGGAZE
move go tree
move s
move s
move go portal
exit


2HIBARN:
ASTROLOGYSUPSPELLS2:


save ASTROLOGYSTUDYKATAMBA
move go portal
goto GAURASIGHT


move out
ASTROLOGYRESETCTR:
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


counter set 1
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
ASTROLOGYSTUDYSKY:
move se
move climb stair
move go door
move go portal


pause
move go door
move e
move go portal


put %HUMTHISTUNE%
move go tree
put study SKY
move s
move s
move go portal


move w
Match ASTROLOGYSTUDYSKY ...wait
move n
Match ASTROLOGYBRIEFPAUSE You feel it is too soon
move climb stair
Match ASTROLOGY%c% You feel a lingering sense
move s
Match ASTROLOGYPREDICTEVENT unable to sense additional information
move climb stair
Match ASTROLOGYPREDICTEVENT Seconds.
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
exit


3CROSSING:
ASTROLOGYBRIEFPAUSE:


pause 5
move go portal
goto ASTROLOGYSTUDYSKY


ASTROLOGY1:
move nw
ASTROLOGY2:
move nw
ASTROLOGY3:
move ne
ASTROLOGY4:
move ne
ASTROLOGY5:
move n
ASTROLOGYADJUSTCTR:
move n
move n
move n
move go gate
move go portal


counter add 1
move go gate
pause 11
move se
move climb stair
goto ASTROLOGYSTUDYSKY
move go door
move go portal


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


ASTROLOGYPREDICTEVENT:
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 predict EVENT
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:
Match ASTROLOGYPREDICTEVENT ...wait
Match ASTROLOGYADJUSTCTR You focus inwardly searching for insight
Matchwait


move go portal
ASTROLOGYSTUDYKATAMBA:


save ASTROLOGYSTUDYKATAMBA
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 KATAMBA
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
Match ASTROLOGYCASTPIERCINGGAZE clouds hinder
Match ASTROLOGYSTUDYXIBAR You are unable to comprehend
Match ASTROLOGYSTUDYXIBAR fail to find
Matchwait


move w
ASTROLOGYSTUDYXIBAR:
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 ASTROLOGYSTUDYXIBAR
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 XIBAR


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 ASTROLOGYSTUDYYAVASH You are unable to comprehend
Match ASTROLOGYSTUDYYAVASH fail to find
Matchwait


3MERKRESH:
ASTROLOGYSTUDYYAVASH:


save ASTROLOGYSTUDYYAVASH
move go portal
exit


3RIVERHAVEN:
pause


put study YAVASH
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 ASTROLOGYSTUDYSUN You are unable to comprehend
move n
Match ASTROLOGYSTUDYSUN fail to find
Matchwait
move n
move go gate
move go portal
exit


3RATHA:
ASTROLOGYSTUDYSUN:


save ASTROLOGYSTUDYSUN
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 SUN
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 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
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 ASTROLOGYSTUDYRAVEN You are unable to comprehend
Match ASTROLOGYSTUDYRAVEN fail to find
Matchwait


move go portal
ASTROLOGYSTUDYRAVEN:


save ASTROLOGYSTUDYRAVEN
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 RAVEN
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 ASTROLOGYSTUDYCAT You are unable to comprehend
Match ASTROLOGYSTUDYCAT fail to find
Matchwait


3HIBARN:
ASTROLOGYSTUDYCAT:


save ASTROLOGYSTUDYCAT
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 CAT
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 ASTROLOGYSTUDYRAM You are unable to comprehend
Match ASTROLOGYSTUDYRAM fail to find
Matchwait


move go tree
ASTROLOGYSTUDYRAM:
move s
move s
move go portal


save ASTROLOGYSTUDYRAM
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 RAM
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 ASTROLOGYSTUDYMAGPIE You are unable to comprehend
Match ASTROLOGYSTUDYMAGPIE fail to find
Matchwait


move go door
ASTROLOGYSTUDYMAGPIE:
move e
move go portal


save ASTROLOGYSTUDYMAGPIE
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 MAGPIE
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 ASTROLOGYSTUDYHEART You are unable to comprehend
Match ASTROLOGYSTUDYHEART fail to find
Matchwait


move go portal
ASTROLOGYSTUDYHEART:


save ASTROLOGYSTUDYHEART
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 HEART
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 ASTROLOGYSTUDYGIANT You are unable to comprehend
move sw
Match ASTROLOGYSTUDYGIANT 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
ASTROLOGYSTUDYGIANT:
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 ASTROLOGYSTUDYGIANT
move go door
move go portal
exit


pause
4SHARD:


put study GIANT
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 ASTROLOGYSTUDYSPIDER You are unable to comprehend
Match ASTROLOGYSTUDYSPIDER fail to find
Matchwait


move go door
ASTROLOGYSTUDYSPIDER:
move e
move go portal


save ASTROLOGYSTUDYSPIDER
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 SPIDER
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 ASTROLOGYSTUDYKATAMBA You are unable to comprehend
Match ASTROLOGYSTUDYKATAMBA fail to find
Matchwait


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


4MERKRESH:
goto GPIERCINGGAZE


ECHO #######################
ASTROLOGYEXPLORE:
ECHO ##Already in MERKRESH##
ECHO #######################
exit


4RIVERHAVEN:
put exp lore all


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


ASTROLOGYKILLRT:
4RATHA:


pause
move go portal
goto %s%


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


4ELBAINS:
put %HUMTHISTUNE%
waitfor finish humming


goto NEXTFUNCTION
move go portal


move go gate
#end ASTROLOGY function (THIS FUNCTION HAS BEEN FIXED)
move se
==================================================================================
move climb stair
==================================================================================
move go door
#begin MAGIC2 function (THIS FUNCTION HAS BEEN FIXED)
move go portal


move go door
MAGIC2:
move e
move go portal
exit


4MUSPARI:
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 MAGIC2SODNOTOOLS What were you referring to


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


4HIBARN:
Matchwait


move go portal
MAGIC2EXPCHECK0:
MAGIC2EXPCHECK1:
MAGIC2EXPCHECK2:
MAGIC2EXPCHECK3:
MAGIC2EXPCHECK4:


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


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


put prep SEAL OF DEFLECTION 5
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:
Matchwait


move go portal
MAGIC2SODCHARGEORB:


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


move go tree
put charge my %CAMBRINTHDEVICE% 20
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
MAGIC2SODFOCUSORB:
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:
put focus my %CAMBRINTHDEVICE%


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


move go door
MAGIC2SODCAST:
move e
move go portal


counter add 1
move go tree
move s
move s
move go portal


Match MAGIC2SODCAST ...wait
move w
move n
Match MAGIC2EXPCHECK%c% shifting plexus
move climb stair
Match MAGIC2SODSTOWTOOLS backfires
move s
Match MAGIC2SODSTOWTOOLS You are unable to harness
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 cast
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


Matchwait
move go door
move go portal
exit


5SHARD:
MAGIC2SODNOTOOLS:


save MAGIC2SODNOTOOLS
move go portal


Match MAGIC2SODNOTOOLS ...wait
move go door
move e
Match MAGIC2ENDFUNCTION You have to strain
move go portal
Match MAGIC2SODFULLPREP Seal of Deflection spell


put prep SEAL OF DEFLECTION 20
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
MAGIC2SODFULLPREP:
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


waitfor You feel fully prepared
move go door
goto MAGIC2SODCAST
move go portal


move n
MAGIC2EXPCHECK5:
move e
MAGIC2EXPMAGIC:
move go gate
move go door
move n
move w
move go vault
move go portal
exit


5MERKRESH:
counter set 0


Match MAGIC2EXPHARNESS mind lock
move go portal
Match %s EXP HELP for more information


put exp skill primary magic
move go door
move e
move go portal


Matchwait
move go tree
move s
move s
move go portal


move w
MAGIC2EXPHARNESS:
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 MAGIC2EXPMAGDEVICES mind lock
move nw
Match %s 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
move go portal


put exp skill harness
move go door
move go portal


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


move out
MAGIC2EXPMAGDEVICES:
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:
Match MAGIC2SODSTOWTOOLS mind lock
Match %s EXP HELP for more information


ECHO ###########################
put exp skill magical devices
ECHO ###Already in RIVERHAVEN###
ECHO ###########################
exit


5RATHA:
Matchwait


move go portal
MAGIC2SODSTOWTOOLS:
exit


pause
5ELBAINS:
put stow ORB in %LARGESTORAGECONTAINER%


goto NEXTFUNCTION
move go portal


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


5MUSPARI:
SWIMMING:


move go portal
SWIMMINGLOCATIONCHECK:


put look
move go door
move e
move go portal


Match SWIMSOUTH [Mill Pond]
move go tree
move s
Match SWIMMINGLOCATIONCHECKFAIL Obvious
Matchwait
move s
move go portal
exit


SWIMSOUTH:
5HIBARN:


pause
move go portal


put south
move go door
move e
move go portal


Match SWIMSOUTH ...wait
move go tree
move s
Match SWIMNORTH Maple leaves swirl atop the muddy brown water
Match SWIMSOUTH Obvious
move s
Match SWIMSOUTH fail
move go portal
Match SWIMSOUTH swim south
Matchwait


SWIMNORTH:
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:
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
exit


6AESRY:
put exp skill swimming


Match NEXTFUNCTION mind lock
move go portal
Match %s% EXP HELP for more information
Matchwait


move go tree
SWIMMINGLOCATIONCHECKFAIL:
move s
move s
move go portal


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


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 SWIMMING function (THIS FUNCTION HAS BEEN FIXED)
move go portal
==================================================================================
exit
==================================================================================
#begin CLIMBING function (THIS FUNCTION HAS BEEN FIXED)


6SHARD:
CLIMBING:


move go portal
CLIMBINGLOCATIONCHECK:


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


move w
Match CLIMBINGSTART The Guild Stables
move n
Match CLIMBINGLOCATIONCHECKFAIL 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


move climb stair
CLIMBINGSTART:
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


CLIMBTRAILDOWN:
move go door
move go portal


put climb trail
move n
move up
move e
move west
move go gate
move go door
move n
move w
move go vault
move go portal
exit


6MERKRESH:
CLIMBCREEPERDOWN:


save CLIMBCREEPERDOWN
move go portal
pause


put climb creeper
move go tree
move s
move s
move go portal


move w
Match CLIMBCREEPERDOWN ...wait
move n
Match CLIMBINGSTAND SPLAT
move climb stair
Match CLIMBLADDERDOWN Roundtime
Matchwait
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


CLIMBLADDERDOWN:
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


put climb ladder
move n
move e
move go gate
move go door
move n
move w
move go vault
move go portal


move out
Match CLIMBLADDERDOWN ...wait
move w
Match CLIMBROPEDOWN Round time
Matchwait
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:
CLIMBROPEDOWN:


pause
move go portal


put climb rope
move go tree
move s
move s
move go portal


move w
Match CLIMBROPEDOWN ...wait
move n
Match CLIMBROPEUP rope
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


CLIMBROPEUP:
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


put climb rope
move n
move e
move go gate
move go door
move n
move w
move go vault
move go portal


move out
Match CLIMBROPEUP ...wait
move w
Match CLIMBLADDERUP rope
Matchwait
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


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


pause
6RATHA:


put climb ladder
ECHO #####################
ECHO ###Already in RATHA##
ECHO #####################
exit


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


CLIMBCREEPERUP:
move go portal
exit


6MUSPARI:
save CLIMBCREEPERUP
pause


put climb creeper
move go portal


move go tree
Match CLIMBCREEPERUP ...wait
move s
Match CLIMBINGSTAND SPLAT
move s
Match CLIMBTRAILUP Roundtime
Matchwait
move go portal
exit


6HIBARN:
CLIMBTRAILUP:


pause
move go portal
move east
move down
put climb trail
pause


move go tree
EXPCLIMBING:
move s
move s
move go portal


put exp skill climbing
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:
Match NEXTFUNCTION mind lock
Match CLIMBINGSTART EXP HELP for more information
Matchwait


move go portal
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

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

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 s
move s
move climb peartree
move climb peartree
move n
move n
move nw
move w
move w
move w
move go portal

move climb stair
move nw
move nw
move w
move ne
move w
move ne
move se
move climb stair
move se
move s
move go recess
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 w
move n
move sw
move w
move w
move go vault
move go portal
move out
move w
move w
move climb hill
move out
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 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 se
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,416: 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)


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


SAVERUBY:
put put my %2% in %LARGESTORAGECONTAINER%


setvariable GEMTYPE ruby
Matchwait
goto CLARIFYGEMSGETGEM


CLARIFYGEMSGETGEM:
LOCKPICKINGSHIFTDOWN:


Match CLARIFYGEMSGETGEM ...wait
shift
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
goto NEXTFUNCTION


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


CLARIFYGEMSSORTSIZEHUGE:
FINDMOON:


setvariable MOONFOUNDEAST NONE
setvariable GEMSTORAGE purple pouch in haversack
goto CLARIFYGEMSPREPCG
setvariable MOONFOUNDWEST NONE


CLARIFYGEMSSORTSIZENORMAL:
put prep fm 10


setvariable GEMSTORAGE black pouch in haversack
FINDMOONYAVASH:
goto CLARIFYGEMSPREPCG


CLARIFYGEMSPREPCG:
setvariable FINDMOONNEXTACTION FINDMOONXIBAR


setvariable LOOKINGFORMOON YAVASH
setvariable RETURNPOINTER CLARIFYGEMSHARNESSMANA1


Match CLARIFYGEMSPREPCG ...wait
put perceive YAVASH
Match CLARIFYGEMSWAITTOCAST %SPELLPREPMESSAGE


put prep clarify gem 10
Match FINDMOONYAVASH ...wait
Match FINDMOONEAST degrees above the eastern
Match FINDMOONWEST degrees above the western
Match FINDMOONNO not visible
Matchwait


FINDMOONXIBAR:
Matchwait


CLARIFYGEMSWAITTOCAST:
setvariable FINDMOONNEXTACTION FINDMOONKATAMBA


pause 15
setvariable LOOKINGFORMOON XIBAR


CLARIFYGEMSCHECKMANA:
put perceive XIBAR


Match FINDMOONXIBAR ...wait
Match CLARIFYGEMSOUTOFMANA S>>>>>>>>|_
Match FINDMOONEAST degrees above the eastern
Match CLARIFYGEMSOUTOFMANA S>>>>>>>|_
Match FINDMOONWEST degrees above the western
Match CLARIFYGEMSOUTOFMANA S>>>>>>|_
Match FINDMOONNO not visible
Match CLARIFYGEMSOUTOFMANA S>>>>>|_
Match CLARIFYGEMSOUTOFMANA S>>>>|_
Matchwait
Match CLARIFYGEMSOUTOFMANA S>>>|_
Match CLARIFYGEMSOUTOFMANA S>>|_
Match CLARIFYGEMSOUTOFMANA S>|_
Match CLARIFYGEMSOUTOFMANA S|_
Match %RETURNPOINTER MANA HELP


FINDMOONKATAMBA:
put mana


Matchwait
setvariable FINDMOONNEXTACTION CASTEASTMOON


CLARIFYGEMSHARNESSMANA1:
setvariable LOOKINGFORMOON KATAMBA


setvariable RETURNPOINTER CLARIFYGEMSHARNESSMANA2
put perceive KATAMBA


Match FINDMOONKATAMBA ...wait
Match CLARIFYGEMSHARNESSMANA1 ...wait
Match CLARIFYGEMSCHECKMANA You tap into the mana from twenty
Match FINDMOONEAST degrees above the eastern
Match CLARIFYGEMSOUTOFMANA You are unable to harnesss
Match FINDMOONWEST degrees above the western
Match FINDMOONNO not visible
Matchwait


FINDMOONEAST:
put harn 20


Matchwait
setvariable MOONFOUNDEAST %LOOKINGFORMOON%
goto %FINDMOONNEXTACTION%


CLARIFYGEMSHARNESSMANA2:
FINDMOONWEST:


setvariable MOONFOUNDWEST %LOOKINGFORMOON%
setvariable RETURNPOINTER NEXTFUNCTION
goto %FINDMOONNEXTACTION%


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


put harn 20
goto %FINDMOONNEXTACTION%


CASTEASTMOON:
Matchwait


CLARIFYGEMSCASTCG:
setvariable GLOBALMOON %MOONFOUNDEAST%


Match CASTEASTMOON ...wait
Match CLARIFYGEMSCASTCG ...wait
Match CLARIFYGEMSIDGEM I could not find what you were referring to.
Match %RETURNPOINTER% into the area.
Match CASTWESTMOON three moons
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 %MOONFOUNDEAST%
put cast my %GEMTYPE


Matchwait
Matchwait


CLARIFYGEMSSTOREGEM:
CASTWESTMOON:


Match CLARIFYGEMSSTOREGEM ...wait
setvariable GLOBALMOON %MOONFOUNDWEST%
Match CLARIFYGEMSUNKNOWNERROR What were you referring to?
Match CLARIFYGEMSGETGEM You put your
Match CLARIFYGEMSGETGEM You open your


Match CASTWESTMOON ...wait
put put my %GEMTYPE in %GEMSTORAGE
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
Matchwait


CLARIFYGEMSNOHANDS:
GATHERAMMOSTOW:


echo ===================================
Match GATHERAMMOSTOW ...wait
echo ==Both hands full! Abrupt ending.==
Match GATHERAMMO You put your
echo ===================================


exit
put put %2% in my %AMMUNITIONCONTAINER%


CLARIFYGEMSOUTOFMANA:
Matchwait


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


exit
Match GATHERAMMOUNLOAD ...wait
Match GATHERAMMOFINISHED You unload


CLARIFYGEMSNOMOONS:
put unload


Match CLARIFYGEMSNOMOONS ...wait
Matchwait
Match CLARIFYGEMSNOMOONSMSG You put your


put put my %GEMTYPE in %GEMLOCATION
GATHERAMMOFINISHED:

Match GATHERAMMOFINISHED ...wait
Match NEXTFUNCTION You put your

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


Matchwait
Matchwait


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


echo =======================================================
KILLHUMMING:
echo ==No moons available, try again later. Abrupt ending ==
echo =======================================================


put stop hum
exit


CLARIFYGEMSUNKNOWNERROR:
goto %RETURNPOINTER%


echo =======================================================
#end KILLHUMMING function (THIS FUNCTION HAS BEEN FIXED)
echo ==Either the gem shattered and the script did not see==
==================================================================================
echo ==it, or your storage location is not valid. ==
==================================================================================
echo ==Abrupt ending. ==
#begin KILLSPELLPREP function (THIS FUNCTION HAS BEEN FIXED)
echo =======================================================


exit
KILLSPELLPREP:


#end CLARIFYGEMS function
put release
################################################################################
################################################################################
#begin MAKEROPE function


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


counter set %2
#end KILLSPELLPREP function (THIS FUNCTION HAS BEEN FIXED)
==================================================================================
==================================================================================
#begin RPA function


MAKEROPE1:
if_1 put rpa bestow %1% 1
MAKEROPE2:
if_2 put rpa bestow %2% 1
MAKEROPE3:
if_3 put rpa bestow %3% 1
MAKEROPE4:
if_4 put rpa bestow %4% 1
MAKEROPE5:
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


MAKEROPEFORAGEGRASS:
#end RPA function
==================================================================================
==================================================================================
#begin GLOBAL SPELL TEMPLATE function (THIS FUNCTION HAS BEEN FIXED2)


put forage grass
MAINSPELLNAME:


Match MAKEROPEFORAGEGRASS ...wait
####################################################################################################
Match MAKEROPEBRAIDGRASS find some grass
#
Match MAKEROPEFORAGEGRASS Roundtime
# General description of what this function does including spell prep amount, harnessed amount
Matchwait
# 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.
#
####################################################################################################


MAKEROPEBRAIDGRASS:
SUBSPELLNAME:


put braid my grass
setvariable RETURNPOINTER PREPSPELL


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


counter set 1
MAKEROPEPULLGRASS:


put prep SPELLNAME
put pull my grass


Match PREPSPELL ...wait
Match MAKEROPEPULLGRASS ...wait
Match MAKEROPEPULLGRASS Roundtime
Match KILLHUMMING You should stop playing
Match MAKEROPESTOREROPE new bundling rope
Match KILLSPELLPREP You are already preparing
Match KILLSPELLPREP You have to strain
Matchwait
Match SPELLFULLPREP %SPELLPREPMESSAGE%
Matchwait


MAKEROPESTOREROPE:
SPELLFULLPREP:


put put my rope in my %LARGESTORAGECONTAINER
waitfor You feel fully prepared


counter subtract 1
setvariable RETURNPOINTER %s%


goto MAKEROPE%c
SPELLHARNESS1:
SPELLHARNESS2:


MAKEROPE0:
put harness 20


goto NEXTFUNCTION
Match SPELLHARNESS%c% ...wait
Match SPELLUPDATECOUNTER You tap into the mana from
Match KILLSPELLPREP You strain, but cannot harness
Matchwait


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


HERB:
counter add 1
HERBS:


echo BODY PART===|=============EXTERNAL===========================INTERNAL
goto SPELLHARNESS%c%
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


SPELLHARNESS3:
HERBEND:
SPELLHARNESS4:
SPELLHARNESS5:
SPELLHARNESS6:
SPELLHARNESS7:
SPELLHARNESS8:
SPELLHARNESS9:
SPELLHARNESS10:


goto NEXTFUNCTION
SPELLCAST:


################################################################################
put cast %GLOBALSPELLTARGET%
################################################################################
#begin NEXTFUNCTION


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

MAINSPELLNAMEAT:
SUBSPELLNAMEAT:

if_2 setvariable GLOBALSPELLTARGET %2%
goto MAINSPELLNAME

#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