Training (script): Difference between revisions

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

<pre>
<pre>


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


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


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


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


if_1 save NEXTFUNCTION
if_1 goto %1%


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

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

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


START:
START:


echo #####################################################################
echo

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

===============================================================================================================================
put RESYNC
waitfor >
put INVFIX
put INVFIX
waitfor >
put AWAKE
put AWAKE
waitfor >

echo


echo #####################################################################
===============================================================================================================================
put INV CHECK
put INV CHECK
echo #####################################################################
waitfor >
echo

===============================================================================================================================
put EXP ALL
put EXP ALL
waitfor >
waitfor Circle:
echo #####################################################################
echo

===============================================================================================================================
put HEAL
put HEAL
waitfor >
waitfor Your body
echo #####################################################################
echo

===============================================================================================================================
put STAT FULL
put STAT FULL
waitfor >
waitfor Brave Adventurers
echo #####################################################################
echo

===============================================================================================================================
put INFO
put INFO
waitfor >
waitfor Name:
echo #####################################################################
echo

===============================================================================================================================
put RPA PIRP
put RPA PIRP
waitfor >
waitfor You currently have
echo #####################################################################
echo

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

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

echo

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

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

put EXP FIXWALL
put HIDE
put HIDE


goto NEXTFUNCTION
shift
goto %1


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


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


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


FIRSTAID:
setvariable RETURNPOINTER GPGPREPSPELL


FIRSTAIDGETTHIRDCOMPENDIUM:
GPGPREPSPELL:


counter set 1
put %HUMTHISTUNE


put prep PIERCING GAZE 25
put sort compendium in %LARGESTORAGECONTAINER


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


put look in %LARGESTORAGECONTAINER
GPGFULLPREP:


waitfor You feel fully prepared

setvariable RETURNPOINTER %s%

GPGHARNESS1:
GPGHARNESS2:

put harness 15

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


FIRSTAID2COMPENDIUMS:
GPGUPDATECOUNTER:


setvariable TOTALCOMPENDIUMS second
counter add 1
counter set 2
goto FIRSTAIDCOUNTERCOPY


FIRSTAID1COMPENDIUM:
goto GPGHARNESS%c%

GPGHARNESS3:
GPGHARNESS4:
GPGHARNESS5:
GPGHARNESS6:
GPGHARNESS7:
GPGHARNESS8:
GPGHARNESS9:
GPGHARNESS10:

GPGSPELLCAST:

counter set 0

put cast %GLOBALSPELLTARGET%

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

GPIERCINGGAZEAT:
GPGAT:

if_2 setvariable GLOBALSPELLTARGET %2%
goto GPIERCINGGAZE

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

GCLEARVISION:

GCV:

setvariable RETURNPOINTER GCVPREPSPELL

GCVPREPSPELL:


setvariable TOTALCOMPENDIUMS first
counter set 1
counter set 1
goto FIRSTAIDCOUNTERCOPY


FIRSTAIDCOUNTERCOPY:
put prep CLEAR VISION 30


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


FIRSTAIDGETCOMPENDIUM1:
GCVFULLPREP:
FIRSTAIDGETCOMPENDIUM2:
FIRSTAIDGETCOMPENDIUM3:
FIRSTAIDGETCOMPENDIUM4:
FIRSTAIDGETCOMPENDIUM5:


Match FIRSTAIDGETCOMPENDIUM5 ...wait
waitfor You feel fully prepared
Match FIRSTAIDOPENCOMPENDIUM You get a
Match FIRSTAIDNOCOMPENDIUMS What are you referring to?


put get %TOTALCOMPENDIUMS compendium from %LARGESTORAGECONTAINER
setvariable RETURNPOINTER %s%


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


FIRSTAIDGETCOMPENDIUM0:
GCVUPDATECOUNTER:


counter add 1
goto NEXTFUNCTION


FIRSTAIDOPENCOMPENDIUM:
goto GCVHARNESS%c%


counter set 9
GCVHARNESS3:
GCVHARNESS4:
GCVHARNESS5:
GCVHARNESS6:
GCVHARNESS7:
GCVHARNESS8:
GCVHARNESS9:
GCVHARNESS10:


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


counter set 0
put open my compendium

put cast %GLOBALSPELLTARGET%


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


FIRSTAIDSTUDYCOMPENDIUM:
GCLEARVISIONAT:
GCVAT:


put %HUMTHISTUNE
if_2 setvariable GLOBALSPELLTARGET %2%
goto GCLEARVISION


Match FIRSTAIDSTUDYCOMPENDIUM ...wait
#end GLOBAL CLEAR VISION v2 function (THIS FUNCTION HAS BEEN FIXED2)
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
#begin GLOBAL AURA SIGHT v2 function (THIS FUNCTION HAS BEEN FIXED2)
Match FIRSTAIDSTUDYCOMPENDIUM gradually absorbing more of the knowledge
Match FIRSTAIDERROR You study the sky but fail to find anything


put study my compendium
GAURASIGHT:


Matchwait
GAUS:


FIRSTAIDTURNCOMPENDIUM9:
setvariable RETURNPOINTER GAUSPREPSPELL
FIRSTAIDTURNCOMPENDIUM8:
FIRSTAIDTURNCOMPENDIUM7:
FIRSTAIDTURNCOMPENDIUM6:
FIRSTAIDTURNCOMPENDIUM5:
FIRSTAIDTURNCOMPENDIUM4:
FIRSTAIDTURNCOMPENDIUM3:
FIRSTAIDTURNCOMPENDIUM2:
FIRSTAIDTURNCOMPENDIUM1:


counter subtract 1
GAUSPREPSPELL:


Match FIRSTAIDTURNCOMPENDIUM10 ...wait
counter set 1
Match FIRSTAIDSTUDYCOMPENDIUM You turn to the section


put prep AURA SIGHT 30
put turn my compendium


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
Matchwait


FIRSTAIDTURNCOMPENDIUM0:
GAUSFULLPREP:


waitfor You feel fully prepared
counter set %TEMPCOUNTER
counter subtract 1
goto FIRSTAIDSTORECOMPENDIUM


FIRSTAIDSTORECOMPENDIUM:
setvariable RETURNPOINTER %s%


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


put put my compendium in my %LARGESTORAGECONTAINER
put harness 15


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


FIRSTAIDNOCOMPENDIUMS:
GAUSUPDATECOUNTER:


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


goto GAUSHARNESS%c%
exit


GAUSHARNESS3:
FIRSTAIDERROR:
GAUSHARNESS4:
GAUSHARNESS5:
GAUSHARNESS6:
GAUSHARNESS7:
GAUSHARNESS8:
GAUSHARNESS9:
GAUSHARNESS10:


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


counter set 0
exit


#end FIRSTAID function
put cast
################################################################################
################################################################################
#begin PERCEPTION function


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


setvariable PERCEPTIONMATERIAL SILVER ZOMBIES
#end GLOBAL AURA SIGHT v2 function (THIS FUNCTION HAS BEEN FIXED2)
==================================================================================
==================================================================================
#begin GLOBAL SHADOWS v2 function (THIS FUNCTION HAS BEEN FIXED2)


PERCEPTIONSUPSPELLS:
GSHADOWSSPELL:


save PERCEPTIONGETTOOLS
GSHADOWS:
goto GCLEARVISION


PERCEPTIONGETTOOLS:
setvariable RETURNPOINTER GSHADOWSPREPSPELL


pause
GSHADOWSPREPSPELL:


counter set 1
put get %PERCEPTIONMATERIAL


Match PERCEPTIONGETTOOLS ...wait
put prep SHADOWS 30
Match PERCEPTIONWORK You get

Match GSHADOWSPREPSPELL ...wait
Match PERCEPTIONWORK already holding that
Match KILLHUMMING You should stop playing
Match NEXTFUNCTION could not find what
Match KILLSPELLPREP You are already preparing
Match KILLSPELLPREP You have to strain
Match GSHADOWSFULLPREP %SPELLPREPMESSAGE%
Matchwait
Matchwait


PERCEPTIONWORK:
GSHADOWSFULLPREP:


pause
waitfor You feel fully prepared

setvariable RETURNPOINTER %s%

GSHADOWSHARNESS1:
GSHADOWSHARNESS2:


put harness 15
put %HUMTHISTUNE
put juggle my %PERCEPTIONMATERIAL


Match GSHADOWSHARNESS%c% ...wait
Match PERCEPTIONWORK ...wait
Match GSHADOWSUPDATECOUNTER You tap into the mana from
Match EXPPERCEPTION Roundtime
Match KILLSPELLPREP You strain, but cannot harness
Match PERCEPTIONSTOWTOOLS Your injuries make juggling impossible
Matchwait
Matchwait


EXPPERCEPTION:
GSHADOWSUPDATECOUNTER:


counter add 1
put exp skill perception


Match PERCEPTIONSTOWTOOLS dazed
goto GSHADOWSHARNESS%c%
Match PERCEPTIONSTOWTOOLS mind lock
Match PERCEPTIONWORK EXP HELP for more information
Matchwait


PERCEPTIONSTOWTOOLS:
GSHADOWSHARNESS3:
GSHADOWSHARNESS4:
GSHADOWSHARNESS5:
GSHADOWSHARNESS6:
GSHADOWSHARNESS7:
GSHADOWSHARNESS8:
GSHADOWSHARNESS9:
GSHADOWSHARNESS10:


put put %PERCEPTIONMATERIAL in my %LARGESTORAGECONTAINER
GSHADOWSSPELLCAST:


counter set 0
put %HUMTHISTUNE
waitfor finish humming


goto NEXTFUNCTION
put cast %GLOBALSPELLTARGET%


#end PERCEPTION function
Match GSHADOWSSPELLCAST ...wait
################################################################################
Match %s% You gesture
################################################################################
Matchwait
#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:
GSHADOWSSPELLAT:
GSHADOWSAT:


FORAGINGDECLAREVARIABLES:
if_2 setvariable GLOBALSPELLTARGET %2%
goto GSHADOWSSPELL


setvariable ITEM1 stem
#end GLOBAL SHADOWS v2 function (THIS FUNCTION HAS BEEN FIXED2)
setvariable ITEM2 rock
==================================================================================
counter set 0
==================================================================================
#begin GLOBAL SEER'S SENSE v2 function (THIS FUNCTION HAS BEEN FIXED2)


FORAGINGCOUNTERINCREASE:
GSEERSSENSE:
GSEERS:


counter add 1
GSEER:
goto FORAGINGHUM%c


FORAGINGHUM:
setvariable RETURNPOINTER GSEERPREPSPELL
FORAGINGHUM1:
FORAGINGHUM2:


put %HUMTHISTUNE
GSEERPREPSPELL:
goto FORAGINGKICKPILE


FORAGINGKICKPILE:
counter set 1


Match FORAGINGKICKPILE ...wait
put prep SEER SENSE 26
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


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:


counter set 0

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:


goto WIELDWEAPON
counter set 0


################################################################################
put cast
################################################################################
QS:
SS:


setvariable COMBATMOVE1 DODGE
Match GSHADOWLINGSPELLCAST ...wait
setvariable COMBATMOVE2 FEINT
Match %s% You gesture
setvariable COMBATMOVE3 DRAW
Matchwait
setvariable COMBATMOVE4 SLICE
setvariable COMBATMOVE5 SWEEP
setvariable COMBATMOVE6 CHOP
setvariable COMBATMOVE7 ENC


counter set 1
#end GLOBAL SHADOWLING v2 function (THIS FUNCTION HAS BEEN FIXED2)
==================================================================================
==================================================================================
#begin GLOBAL SHADOW SERVANT v2 function (THIS FUNCTION HAS BEEN FIXED2)


goto WIELDWEAPON
GSHADOWSERVANTSPELL:


################################################################################
GSHADOWSERVANT:
################################################################################
HALBERD:


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


counter set 1
GSHADOWSERVANTPREPSPELL:


goto WIELDWEAPON
counter set 1


################################################################################
put prep SHADOW SERVANT 44
################################################################################
HT:
LT:


setvariable COMBATMOVE1 THROW
Match GSHADOWSERVANTPREPSPELL ...wait
setvariable COMBATMOVE2 GET %2 %3
Match KILLHUMMING You should stop playing
setvariable COMBATMOVE3 ENC
Match KILLSPELLPREP You are already preparing
Match KILLSPELLPREP You have to strain
Match GSHADOWSERVANTFULLPREP %SPELLPREPMESSAGE%
Matchwait


counter set 1
GSHADOWSERVANTFULLPREP:


goto WIELDWEAPON
waitfor You feel fully prepared


################################################################################
setvariable RETURNPOINTER %s%
################################################################################
#begin WIELDWEAPON function


WIELDWEAPONRESETCOUNTER:
GSHADOWSERVANTHARNESS1:


counter set 1
put harness 10


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


WIELDWEAPONADDCOUNTER:
GSHADOWSERVANTUPDATECOUNTER:


counter add 1
counter add 1


goto GSHADOWSERVANTHARNESS%c%
goto WIELDWEAPON


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


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


put %COMBATMOVE%c
counter set 0


put cast
Matchwait


WIELDWEAPONWAITTARGET:
Match GSHADOWSERVANTSPELLCAST ...wait
Match %s% You gesture
Matchwait


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


put ASSES
save GSHADOWSERVANTGETPYRAMIDS


Matchwait
goto GSHADOWSERVANT


WIELDWEAPONADVANCE:
GSHADOWSERVANTGETPYRAMIDS:


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


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


Matchwait
put ask servant for pyramid


WIELDWEAPONWAITLONGER:
Matchwait


Match WIELDWEAPONADVANCE begins to advance on you!
GSHADOWSERVANTDROPPYRAMIDS:
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
match GSHADOWSERVANTDROPPYRAMIDS ...wait
match GSHADOWSERVANTGETPYRAMIDS You drop


################################################################################
put drop pyramid
################################################################################
#begin LOCKPICKING function


LOCKPICKING:
Matchwait


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


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


# put get lockpick
GSLS:


# Matchwait
setvariable RETURNPOINTER GSLSPREPSPELL


GSLSTESTTIME:
LOCKPICKINGPICK:


put time
put %HUMTHISTUNE


Match GSLSPREPSPELL night
Match LOCKPICKINGPICK ...wait
Match GSLSPREPSPELL sunset
# Match LOCKPICKINGGETTOOLS useless lockpick
Match GSLSPREPSPELL evening
# Match LOCKPICKINGGETTOOLS appropriate tool and try again
Match GSLSSPELLFAIL sunrise
Match LOCKPICKINGBOXISOPEN not even locked, why bother?
Match GSLSSPELLFAIL dawn
Match LOCKPICKINGEXPCHECK Roundtime:
Match GSLSSPELLFAIL midday
Match GSLSSPELLFAIL morning
Matchwait


put pick my %2 blind
GSLSPREPSPELL:


counter set 1

put prep STARLIGHT SPHERE 20

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:
counter set 0


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


# put put lock in %LOCKPICKSTORAGECONTAINER
Match GSLSSPELLCAST ...wait
Match %s% You gesture
Matchwait


# Matchwait
GSLSSPELLFAIL:


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


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


# put put lock in %LOCKPICKSTORAGECONTAINER
#end GLOBAL STARLIGHT SPHERE v2 function (THIS FUNCTION HAS BEEN FIXED2)
==================================================================================
==================================================================================
#begin GLOBAL PSYCHIC SHIELD v2 function (THIS FUNCTION HAS BEEN FIXED2)


# Matchwait
GPSYCHICSHIELD:


LOCKPICKINGOPENBOX:
GPSY:


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


put open my %2
GPSYPREPSPELL:


counter set 1

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
Match LOCKPICKINGSHIFTDOWN casually study the
Match LOCKPICKINGSHIFTDOWN Rolling your shoulders to loosen them


setvariable RETURNPOINTER %s%
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


put put my %2 in %LARGESTORAGECONTAINER
goto GPSYHARNESS%c%


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

GPSYSPELLCAST:

counter set 0

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:


counter set 0
pause


put cast %GLOBALMOON%
put perc yavash


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


POWERPERCEIVEMOON:
GFOCUSMOONBEAMAT:
GFMAT:


pause
if_2 setvariable GLOBALMOON %2%
goto GFOCUSMOONBEAM


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


waitfor Roundtime
GSEALOFDEFLECTION:


POWERPERCEIVEMOONMANIP:
GSOD:


pause 2
setvariable RETURNPOINTER GSODPREPSPELL


put perc moonlight manip
GSODPREPSPELL:


counter set 1
put %HUMTHISTUNE


waitfor Roundtime
put prep SEAL OF DEFLECTION 20


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


pause
GSODFULLPREP:


waitfor You feel fully prepared
put perc transduction


waitfor Roundtime
setvariable RETURNPOINTER %s%


POWERPERCEIVEPERCEPTIONBOOK:
GSODHARNESS1:
GSODHARNESS2:


put harness 15
pause


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


waitfor Roundtime
GSODUPDATECOUNTER:


POWERPERCEIVEPSYCHPROJ:
counter add 1


goto GSODHARNESS%c%
pause


put perc psych project
GSODHARNESS3:
GSODHARNESS4:
GSODHARNESS5:
GSODHARNESS6:
GSODHARNESS7:
GSODHARNESS8:
GSODHARNESS9:
GSODHARNESS10:


waitfor Roundtime
GSODSPELLCAST:


POWERPERCEIVESTELLAR:
counter set 0


pause
put cast %GLOBALSPELLTARGET%


Match GSODSPELLCAST ...wait
put perc stellar
Match %s% You gesture
Matchwait


waitfor Roundtime
GSEALOFDEFLECTIONAT:
GSODAT:


POWERPERCEIVEPLANET:
if_2 setvariable GLOBALSPELLTARGET %2%
goto GSEALOFDEFLECTION


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


put perc planet
GSEVERTHREAD:


waitfor Roundtime
GSET:


POWERPERCEIVEWATCHERS:
setvariable RETURNPOINTER GSETPREPSPELL


pause
GSETPREPSPELL:


counter set 1
put perc watchers


put prep SEVER THREAD 22
waitfor Roundtime


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


pause
GSETFULLPREP:


waitfor You feel fully prepared
put perc self


waitfor Roundtime
setvariable RETURNPOINTER %s%


POWERPERCEIVEAREA:
GSETHARNESS1:
GSETHARNESS2:


put harness 20
pause


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


waitfor Roundtime
GSETUPDATECOUNTER:


goto POWERPERCEIVECHECKEXP
counter add 1


POWERPERCEIVECHECKEXP:
goto GSETHARNESS%c%


Match POWERPERCEIVEENDFUNCTION mind lock
GSETHARNESS3:
Match POWERPERCEIVE EXP HELP
GSETHARNESS4:
GSETHARNESS5:
GSETHARNESS6:
GSETHARNESS7:
GSETHARNESS8:
GSETHARNESS9:
GSETHARNESS10:


put exp skill power perc
GSETSPELLCAST:


counter set 0

put cast %GLOBALSPELLTARGET%

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:


counter set 0
put focus my %CAMBRINTHDEVICE

put cast %GLOBALSPELLTARGET%


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


counter set 0
put exp skill primary magic

put cast %GLOBALSPELLTARGET%


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)


GTEZIRAHSVEIL:

GTV:

setvariable RETURNPOINTER GTVPREPSPELL

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


MAGICEXPMAGDEVICES:
GTVFULLPREP:


Match MAGICSODSTOWTOOLS mind lock
pause 16
Match MAGICMANACHECK EXP HELP for more information


put exp skill magical devices
setvariable RETURNPOINTER %s%


GTVHARNESS1:
GTVHARNESS2:

put harness 15

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


MAGICSODSTOWTOOLS:
GTVUPDATECOUNTER:


counter add 1
goto NEXTFUNCTION
exit


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


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


ASTROLOGYDECLAREVARIABLES:
GTVSPELLCAST:


counter set 0
setvariable TEMPBODYCOUNTER 0
setvariable TEMPSKILLCOUNTER 0
setvariable TEMPOBSCOUNTER 0


ASTROLOGYCOUNTERSTART:
put cast %GLOBALSPELLTARGET%


Match GTVSPELLCAST ...wait
counter set 0
Match %s% You gesture
Matchwait


ASTROLOGYCOUNTERINCREASE:
GTEZIRAHSVEILAT:
GTVAT:


counter set %TEMPBODYCOUNTER
if_2 setvariable GLOBALSPELLTARGET %2%
goto GTEZIRAHSVEIL
counter add 1
goto ASTROLOGYBODY%c


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


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


ASTROLOGYBODY2:
GRIPPLE:


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


ASTROLOGYBODY3:
GRIPPLEPREPSPELL:


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


put prep RIPPLE 20
ASTROLOGYBODY4:


setvariable ASTROLOGYBODY Toad
Match GRIPPLEPREPSPELL ...wait
setvariable ASTROLOGYSKILL1 survival
Match KILLHUMMING You should stop playing
setvariable ASTROLOGYSKILL2 defense
Match KILLSPELLPREP You are already preparing
setvariable TEMPBODYCOUNTER %c
Match KILLSPELLPREP You have to strain
counter set 1
Match GRIPPLEFULLPREP %SPELLPREPMESSAGE%
Matchwait
goto ASTROLOGYPG


GRIPPLEFULLPREP:
ASTROLOGYPG:


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


setvariable RETURNPOINTER %s%
put stop hum
put prep pg 30
put predict weather


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


ASTROLOGYPGCAST:
GRIPPLEUPDATECOUNTER:


counter add 1
Match ASTROLOGYPGCAST ...wait
Match ASTROLOGYSTUDY The world around you

goto GRIPPLEHARNESS%c%

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

GRIPPLESPELLCAST:

counter set 0


put cast
put cast


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


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


Match ASTROLOGYSTUDY ...wait
GCONTINGENCYSPELL:
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
GCONTINGENCY:
put STUDY %ASTROLOGYBODY


setvariable RETURNPOINTER GCONTINGENCYPREPSPELL

GCONTINGENCYPREPSPELL:

counter set 1

put prep CONTINGENCY 25

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


ASTROLOGYSTUDYFAIL:
GCONTINGENCYFULLPREP:


goto ASTROLOGYCOUNTERINCREASE
waitfor You feel fully prepared


ASTROLOGYOBSERVE1:
setvariable RETURNPOINTER %s%


pause
GCONTINGENCYHARNESS1:

put harness 20

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

GCONTINGENCYUPDATECOUNTER:


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


Match ASTROLOGYOBSERVE1 ...wait
goto GCONTINGENCYHARNESS%c%
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
GCONTINGENCYHARNESS2:
GCONTINGENCYHARNESS3:
GCONTINGENCYHARNESS4:
GCONTINGENCYHARNESS5:
GCONTINGENCYHARNESS6:
GCONTINGENCYHARNESS7:
GCONTINGENCYHARNESS8:
GCONTINGENCYHARNESS9:
GCONTINGENCYHARNESS10:


GCONTINGENCYSPELLCAST:

counter set 0

put cast %GLOBALMOON%

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


ASTROLOGYALIGN:
GCONTINGENCYSPELLAT:
GCONTINGENCYAT:
ASTROLOGYALIGN1:
ASTROLOGYALIGN2:
pause


Match ASTROLOGYALIGN ...wait
if_2 setvariable GLOBALMOON %2%
Match ASTROLOGYTURNPRISM You focus internally and align yourself
goto GCONTINGENCY


put ALIGN %ASTROLOGYSKILL%c
#end GLOBAL CONTINGENCY v2 function (THIS FUNCTION HAS BEEN FIXED2)
counter add 1
==================================================================================
==================================================================================
#begin GLOBAL CAGE OF LIGHT v2 function (THIS FUNCTION HAS BEEN FIXED2)


GCAGEOFLIGHT:

GCOL:

setvariable RETURNPOINTER GCOLPREPSPELL

GCOLPREPSPELL:

counter set 1

put prep CAGE OF LIGHT 23

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


ASTROLOGYTURNPRISM:
GCOLFULLPREP:


Match ASTROLOGYTURNPRISM ...wait
waitfor You feel fully prepared
Match ASTROLOGYRAISEPRISM You wind the chain around the prism.


setvariable RETURNPOINTER %s%
put TURN PRISM


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


ASTROLOGYRAISEPRISM:
GCOLUPDATECOUNTER:


setvariable ASTROLOGYPTR1 ASTROLOGYALIGN
counter add 1


Match ASTROLOGYRAISEPRISM ...wait
goto GCOLHARNESS%c%
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
GCOLHARNESS2:
Match ASTROLOGYGETPRISM you lose your grip and drop it to the
GCOLHARNESS3:
Match ASTROLOGYTURNPRISM That's not quite wound up enough yet
GCOLHARNESS4:
GCOLHARNESS5:
GCOLHARNESS6:
GCOLHARNESS7:
GCOLHARNESS8:
GCOLHARNESS9:
GCOLHARNESS10:

GCOLSPELLCAST:

counter set 0


put cast %GLOBALMOON%
put RAISE PRISM


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


GCAGEOFLIGHTAT:
ASTROLOGYALIGN3:
ASTROLOGYANALYZE:
GCOLAT:


pause
if_2 setvariable GLOBALMOON %2%
goto GCAGEOFLIGHT

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

GDAZZLESPELL:

GDAZZLE:

setvariable RETURNPOINTER GDAZZLEPREPSPELL

GDAZZLEPREPSPELL:


counter set 1
counter set 1
setvariable ASTROLOGYPTR1 ASTROLOGYAPPRAISE


put prep DAZZLE 20
Match ASTROLOGYANALYZE ...wait
Match ASTROLOGYSTOWPRISM Roundtime


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


GDAZZLEFULLPREP:

waitfor You feel fully prepared

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


ASTROLOGYAPPRAISE:
GDAZZLEUPDATECOUNTER:


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


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


GDAZZLEHARNESS3:
GDAZZLEHARNESS4:
GDAZZLEHARNESS5:
GDAZZLEHARNESS6:
GDAZZLEHARNESS7:
GDAZZLEHARNESS8:
GDAZZLEHARNESS9:
GDAZZLEHARNESS10:

GDAZZLESPELLCAST:

counter set 0

put cast %GLOBALSPELLTARGET%

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


ASTROLOGYSTOWPOUCH:
GDAZZLESPELLAT:
GDAZZLEAT:


Match ASTROLOGYSTOWPOUCH ...wait
if_2 setvariable GLOBALSPELLTARGET %2%
Match ASTROLOGYWAIT You put your
goto GDAZZLESPELL


put put pouch in case in my cloak
#end GLOBAL DAZZLE function (THIS FUNCTION HAS BEEN FIXED)
==================================================================================
==================================================================================
#begin GLOBAL EASE BURDEN function (THIS FUNCTION HAS BEEN FIXED)


GEASEBURDEN:

GEASE:

setvariable RETURNPOINTER GEASEPREPSPELL

GEASEPREPSPELL:

counter set 1

put prep EASE 30

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


ASTROLOGYOBSERVE2:
GEASEFULLPREP:


counter subtract 2
waitfor You feel fully prepared


ASTROLOGYWAIT:
setvariable RETURNPOINTER %s%

GEASEHARNESS1:
GEASEHARNESS2:

put harness 20

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


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


counter add 1
counter add 1


goto GEASEHARNESS%c%
put predict event
put study sky


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


GEASESPELLCAST:
EXPASTROLOGY:


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


put cast %GLOBALSPELLTARGET%
put exp skill astrology
put encumb


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


ASTROLOGYGETPRISM:
GEASEBURDENAT:
GEASEAT:


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


put get prism
#end GLOBAL EASE BURDEN function (THIS FUNCTION HAS BEEN FIXED)
==================================================================================
==================================================================================
#begin GLOBAL DISTANT GAZE function (THIS FUNCTION HAS BEEN FIXED2)


GDISTANTGAZE:

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

GDG:

setvariable RETURNPOINTER GDGPREPSPELL

GDGPREPSPELL:

counter set 1

put prep DISTANT GAZE 20

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


ASTROLOGYSTOWPRISM:
GDGFULLPREP:


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


put put prism in my cloak
setvariable RETURNPOINTER %s%


GDGHARNESS1:
GDGHARNESS2:

put harness 20

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


ASTROLOGYRESETCOUNTER:
GDGUPDATECOUNTER:


counter add 1
counter set 1
goto %ASTROLOGYPTR2


ASTROLOGYEND1:
goto GDGHARNESS%c%


echo ######################
GDGHARNESS3:
echo # FIND A PRISM FIRST #
GDGHARNESS4:
echo # Function ending #
GDGHARNESS5:
echo ######################
GDGHARNESS6:
GDGHARNESS7:
GDGHARNESS8:
GDGHARNESS9:
GDGHARNESS10:


goto ASTROLOGYEND
GDGSPELLCAST:


ASTROLOGYEND2:
counter set 0


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


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


GDISTANTGAZEAT:
ASTROLOGYBODY5:
GDGAT:
ASTROLOGYEND:
goto NEXTFUNCTION
exit


#end ASTROLOGY function
if_2 setvariable GLOBALMOON %2%
################################################################################
goto GDISTANTGAZE
################################################################################
#begin GLOBALWEAPONRESET function


GLOBALWEAPONRESET:
#end GLOBAL DISTANT GAZE function (THIS FUNCTION HAS BEEN FIXED2)
==================================================================================
==================================================================================
#begin GLOBAL SPHERE OF PROTECTION function (THIS FUNCTION HAS BEEN FIXED)


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


#end GLOBALWEAPONRESET function
####################################################################################################
################################################################################
#
################################################################################
# This is a global function which will prep the spell SPHERE OF PROTECTION at minimum mana and then
#begin KILLHUMMING function
# 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.)
#
####################################################################################################


GSOP:
KILLHUMMING:
GLOBALSOP:


put prep SPHERE OF PROTECTION
put stop hum


Match GLOBALSOP ...wait
goto %RETURNPOINTER
Match GLOBALSOPREL You have to strain
Match GLOBALSOPCAST Sphere of Protection spell
Matchwait


#end KILLHUMMING function
GLOBALSOPCAST:
################################################################################
################################################################################
#begin KILLSPELLPREP function


KILLSPELLPREP:
pause 2


put cast
put release


Match GLOBALSOPCAST ...wait
Match KILLSPELLPREP ...wait
Match GLOBALSOPREL doesn't do much good.
Match %RETURNPOINTER RELEASE HELP
Match GLOBALSOPREL You are unable to harness
goto GLOBALSOP
Matchwait
Matchwait


#end KILLSPELLPREP function
GLOBALSOPREL:
################################################################################
################################################################################


######################### SPELL PREPARATION FUNCTIONS ##########################
put rel
goto %s%


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


BARRIERSPELL1:
PERCEPTION:


setvariable PERCEPTIONMATERIAL SILVER ZOMBIES
setvariable SPELLRETURNPOINTER BARRIERSPELL2
goto GPSY


BARRIERSPELL2:
PERCEPTIONSUPSPELLS:


setvariable SPELLRETURNPOINTER BARRIERSPELL3
save PERCEPTIONGETTOOLS
goto GCLEARVISION
goto GSOD


BARRIERSPELL3:
PERCEPTIONGETTOOLS:


setvariable SPELLRETURNPOINTER NEXTFUNCTION
pause
goto GSHEAR


################################################################################
put get %PERCEPTIONMATERIAL%
################################################################################
#cap is 69 mana TENEBROUS SENSE SPELL


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


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


GTENEBROUSSENSEAT:
pause
GTSAT:


shift
put %HUMTHISTUNE%
setvariable SPELLTOPREP TENEB SENSE
put juggle my %PERCEPTIONMATERIAL%
setvariable SPELLBASEMANA 29
setvariable SPELLMANAHARNESS 20
setvariable SPELLMANAINCREMENTS 2
setvariable GLOBALSPELLTARGET %1
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


################################################################################
Match PERCEPTIONWORK ...wait
################################################################################
Match EXPPERCEPTION Roundtime
#cap is 55 mana WHOLE DISPLACEMENT SPELL
Matchwait


GWHOLEDISPLACEMENT:
EXPPERCEPTION:
GWD:


setvariable SPELLTOPREP WHOLE DISPLACEMENT
put exp skill perception
setvariable SPELLBASEMANA 35
setvariable SPELLMANAHARNESS 20
setvariable SPELLMANAINCREMENTS 1
setvariable GLOBALSPELLTARGET
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


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


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


################################################################################
put put %PERCEPTIONMATERIAL% in my %LARGESTORAGECONTAINER%
################################################################################
#cap is 54 mana TELEKINETIC THROW SPELL


GTKTAT:
put %HUMTHISTUNE%
waitfor finish humming


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


################################################################################
#end PERCEPTION function (THIS FUNCTION HAS BEEN FIXED)
################################################################################
==================================================================================
#cap is 45 mana TELEKINETIC STORM SPELL
==================================================================================
#begin POWERPERCEIVE function (THIS FUNCTION HAS BEEN FIXED)


GTKS:
POWERPERCEIVE:
GTSK:


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


################################################################################
save POWERPERCEIVEPREPSHADOWLING
################################################################################
goto GAURASIGHT
#cap is 60 mana SHEAR SPELL


GSHEAR:
POWERPERCEIVEPREPSHADOWLING:


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


################################################################################
put prep SHADOWLING
################################################################################
#cap is 50 mana DARKNESS SPELL


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


setvariable SPELLTOPREP DARKNESS
POWERPERCEIVEPERCSHADOWLING:
setvariable SPELLBASEMANA 25
setvariable SPELLMANAHARNESS 25
setvariable SPELLMANAINCREMENTS 1
setvariable GLOBALSPELLTARGET
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


################################################################################
put perc SHADOWLING
################################################################################
#cap is 52 mana SHADOW WEB SPELL


GSHADOWWEB:
Match POWERPERCEIVEPERCSHADOWLING ...wait
GWEB:
Match POWERPERCEIVEFPREPSHADOWLING could not find
Match POWERPERCEIVEFPREPSHADOWLING shadowling
Matchwait


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


waitfor You feel fully prepared to cast


################################################################################
POWERPERCEIVERELSHADOWLING:
################################################################################
#cap is 33 mana PARTIAL DISPLACEMENT SPELL


GPDAT:
put release SHADOWLING


shift
Match POWERPERCEIVERELSHADOWLING ...wait
setvariable SPELLTOPREP PARTIAL DISPLAC
Match POWERPERCEIVECASTSHADOWLING shadowling
setvariable SPELLBASEMANA 15
Matchwait
setvariable SPELLMANAHARNESS 18
setvariable SPELLMANAINCREMENTS 1
setvariable GLOBALSPELLTARGET %1
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


################################################################################
POWERPERCEIVECASTSHADOWLING:
################################################################################
#cap is 75 mana IMBUE SPELL


GIMBUEAT:
put cast


shift
Match POWERPERCEIVECASTSHADOWLING ...wait
setvariable SPELLTOPREP IMBUE
Match EXPPOWERPERCEIVE unable to harness
setvariable SPELLBASEMANA 25
Match POWERPERCEIVEPREPSHADOWLING diminutive phantasmal form
setvariable SPELLMANAHARNESS 25
Matchwait
setvariable SPELLMANAINCREMENTS 2
setvariable GLOBALSPELLTARGET %1
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


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


GDOAT:
pause


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


################################################################################
put exp skill pp
################################################################################
#cap is 36 mana CRYSTAL SPIKE SPELL


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


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


################################################################################
put mana
################################################################################
#cap is 50 mana CLARIFY GEM SPELL


GCGAT:
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 CLARIFY GEM
==================================================================================
setvariable SPELLBASEMANA 20
==================================================================================
setvariable SPELLMANAHARNESS 30
#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 42 mana BURN SPELL


GBURNAT:
POWERPERCEIVE4:


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


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


GUNLEASHAT:
put conc all


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


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


GPIERCINGGAZE:
pause
GPG:


setvariable SPELLTOPREP PIERCING GAZE
put perc katamba
setvariable SPELLBASEMANA 15
setvariable SPELLMANAHARNESS 20
setvariable SPELLMANAINCREMENTS 2
setvariable GLOBALSPELLTARGET
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


GPIERCINGGAZEAT:
waitfor Roundtime
GPGAT:


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


################################################################################
pause
################################################################################
#cap is 70 mana CLEAR VISION SPELL


GCLEARVISION:
put perc xibar
GCV:


setvariable SPELLTOPREP CLEAR VISION
waitfor Roundtime
setvariable SPELLBASEMANA 20
setvariable SPELLMANAHARNESS 25
setvariable SPELLMANAINCREMENTS 2
setvariable GLOBALSPELLTARGET
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


GCLEARVISIONAT:
POWERPERCEIVEYAVASH:
GCVAT:


shift
pause
setvariable SPELLTOPREP CLEAR VISION
setvariable SPELLBASEMANA 20
setvariable SPELLMANAHARNESS 25
setvariable SPELLMANAINCREMENTS 2
setvariable GLOBALSPELLTARGET %1
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


################################################################################
put perc yavash
################################################################################
#cap is 60 mana AURA SIGHT SPELL


GAUS:
waitfor Roundtime


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


GAUSAT:
pause


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


################################################################################
waitfor Roundtime
################################################################################
#cap is 73 mana SHADOWLING SPELL


GSHADOWLING:
POWERPERCEIVEMOONMANIP:


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


################################################################################
put perc moonlight manip
################################################################################
#cap is 54 mana SHADOW SERVANT SPELL


GSHADOWSERVANTPYRAMIDS:
waitfor Roundtime


setvariable SPELLRETURNPOINTER GSHADOWSERVANTGETPYRAMIDS
POWERPERCEIVETRANSDUCTION:


GSHADOWSERVANT:
pause


setvariable SPELLTOPREP SHADOW SERVANT
put perc transduction
setvariable SPELLBASEMANA 44
setvariable SPELLMANAHARNESS 10
setvariable SPELLMANAINCREMENTS 1
setvariable GLOBALSPELLTARGET
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


GSHADOWSERVANTGETPYRAMIDS:
waitfor Roundtime


save NEXTFUNCTION
POWERPERCEIVEPERCEPTIONBOOK:


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


put perc perception
put ask servant for pyramid


waitfor Roundtime
Matchwait


GSHADOWSERVANTDROPPYRAMIDS:
POWERPERCEIVEPSYCHPROJ:


match GSHADOWSERVANTDROPPYRAMIDS ...wait
pause
match GSHADOWSERVANTGETPYRAMIDS You drop


put perc psych project
put drop pyramid


waitfor Roundtime
Matchwait


goto NEXTFUNCTION
POWERPERCEIVESTELLAR:


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


GSLSAT:
put perc stellar


shift
waitfor Roundtime
setvariable SPELLTOPREP STARLIGHT SPHERE
setvariable SPELLBASEMANA 20
setvariable SPELLMANAHARNESS 20
setvariable SPELLMANAINCREMENTS 1
setvariable GLOBALSPELLTARGET %1
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


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


GSAAT:
pause


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


################################################################################
waitfor Roundtime
################################################################################
#cap is 66 mana PSYCHIC SHIELD SPELL


GPSY:
POWERPERCEIVEWATCHERS:


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


GPSYAT:
put perc watchers


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


################################################################################
POWERPERCEIVESELF:
################################################################################
#cap is 50 mana SEAL OF DEFLECTION SPELL


GSOD:
pause


setvariable SPELLTOPREP SEAL OF DEFLECT
put perc self
setvariable SPELLBASEMANA 10
setvariable SPELLMANAHARNESS 20
setvariable SPELLMANAINCREMENTS 2
setvariable GLOBALSPELLTARGET
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


################################################################################
waitfor Roundtime
################################################################################
#cap is 62 mana SEVER THREAD SPELL


GSEVERTHREADAT:
POWERPERCEIVEAREA:
GSEVERAT:


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


################################################################################
put perc area
################################################################################
#cap is 50 mana LOCATE SPELL


GLOCATE:
waitfor Roundtime
GLOC:


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


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


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


################################################################################
put release
################################################################################
#cap is 65 mana MENTAL BLAST SPELL


GMENTALBLASTAT:
POWERPERCEIVE3INITIALSHADOWLING:
GMBAT:


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


################################################################################
put prep SHADOWLING
################################################################################
#cap is 58 mana TEZIRAH'S VEIL SPELL


GTEZIRAHSVEILAT:
Match POWERPERCEIVE3INITIALSHADOWLING ...wait
GTVAT:
Match NEXTFUNCTION you aren't sure you can get enough
Match KILLHUMMING should stop playing before
Match POWERPERCEIVE3INITIALSHADOWLINGCONT %SPELLPREPMESSAGE%
Matchwait


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


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


GRIPPLE:
put cast
GRIP:


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


################################################################################
put prep SHADOWLING
################################################################################
#cap is 60 mana DAZZLE SPELL


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


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


GDAZZLEAT:
pause
GDAZAT:


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


################################################################################
Match POWERPERCEIVE3HIDE ...wait
################################################################################
Match POWERPERCEIVE3STALK Roundtime:
#cap is 60 mana SHADOWS SPELL
Matchwait


GSHADOWS:
POWERPERCEIVE3STALK:
GSHAD:


setvariable SPELLTOPREP SHADOWS
put stalk SHADOWLING
setvariable SPELLBASEMANA 30
setvariable SPELLMANAHARNESS 30
setvariable SPELLMANAINCREMENTS 1
setvariable GLOBALSPELLTARGET
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


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


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


################################################################################
put perceive SHADOWLING
################################################################################
#cap is 56 mana SEER'S SENSE SPELL


GSEERSSENSE:
Match POWERPERCEIVE3PERCEIVE ...wait
GSEERS:
Match EXPPOWERPERCEIVE3 Roundtime:
GSEER:
Matchwait


setvariable SPELLTOPREP SEER
EXPPOWERPERCEIVE3:
setvariable SPELLBASEMANA 26
setvariable SPELLMANAHARNESS 30
setvariable SPELLMANAINCREMENTS 1
setvariable GLOBALSPELLTARGET
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


GSEERSSENSEAT:
put exp skill pp
GSEERSAT:
GSEERAT:


shift
Match NEXTFUNCTION mind lock
setvariable SPELLTOPREP SEER
Match POWERPERCEIVE3CHECKMANA EXP HELP for more information
setvariable SPELLBASEMANA 26
Matchwait
setvariable SPELLMANAHARNESS 30
setvariable SPELLMANAINCREMENTS 1
setvariable GLOBALSPELLTARGET %1
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


################################################################################
POWERPERCEIVE3CHECKMANA:
################################################################################
#cap is 120 mana FOCUS MOONBEAM SPELL


GFOCUSMOONBEAMAT:
pause 2
GFMAT:


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


################################################################################
Match POWERPERCEIVE3CASTSHADOWLING >100%]
################################################################################
Match POWERPERCEIVE3CASTSHADOWLING >|100%]
#cap is 45 mana CONTINGENCY SPELL
Match POWERPERCEIVE3CASTSHADOWLING >|_100%]
Match POWERPERCEIVE3CASTSHADOWLING >|__100%]
Match POWERPERCEIVE3CASTSHADOWLING >|___100%]
Match POWERPERCEIVE3CASTSHADOWLING >|____100%]
Match POWERPERCEIVE3CASTSHADOWLING >|_____100%]
Match POWERPERCEIVE3CHECKMANA MANA HELP for more.
Matchwait


GCONTINGENCYAT:
POWERPERCEIVE3CASTSHADOWLING:


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


################################################################################
Match POWERPERCEIVE3PREPSHADOWLING form of a shadowling
################################################################################
Match NEXTFUNCTION unable to harness sufficient
#cap is 43 mana CAGE OF LIGHT SPELL
Matchwait


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


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


################################################################################
AMBUSHRETREAT:
################################################################################
#cap is 60 mana DISTANT GAZE SPELL


GDISTANTGAZEAT:
put retreat
GDGAT:


shift
Match AMBUSHRETREAT ...wait
setvariable SPELLTOPREP DISTANT GAZE
Match AMBUSHHIDE You retreat
setvariable SPELLBASEMANA 10
Match AMBUSHHIDE far away as you can get!
setvariable SPELLMANAHARNESS 10
Matchwait
setvariable SPELLMANAINCREMENTS 1
setvariable GLOBALSPELLTARGET %1
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


################################################################################
AMBUSHHIDE:
################################################################################
#cap is 71 mana EASE BURDEN SPELL


GEASE:
put hide


setvariable SPELLTOPREP EASE
Match AMBUSHHIDE ...wait
setvariable SPELLBASEMANA 21
Match AMBUSHRETREAT ruining your hiding attempt!
setvariable SPELLMANAHARNESS 25
Match AMBUSHRETREAT escape its notice!
setvariable SPELLMANAINCREMENTS 2
Match AMBUSHADVANCE unobserved
setvariable GLOBALSPELLTARGET
Match AMBUSHADVANCE you're already hidden!
setvariable SPELLADDITIONALCOMMAND ENCUMB
Matchwait
goto GLOBALSPELLPREP


GEASEAT:
AMBUSHADVANCE:


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


################################################################################
Match AMBUSHADVANCEPAUSE ...wait
################################################################################
Match AMBUSHSTALK stealthily advance
#cap is 65 mana SPHERE OF PROTECTION SPELL
Match AMBUSHRETREAT begin to advance
Match AMBUSHRETREAT already at melee
Match AMBUSHFACENEXT advance towards?
Matchwait


GSOP:
AMBUSHADVANCEPAUSE:


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


GSOPAT:
goto AMBUSHADVANCE


shift
AMBUSHFACENEXT:
setvariable SPELLTOPREP SPHERE OF PROTECT
setvariable SPELLBASEMANA 10
setvariable SPELLMANAHARNESS 25
setvariable SPELLMANAINCREMENTS 2
setvariable GLOBALSPELLTARGET %1
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


################################################################################
put face next
################################################################################
#cap is 66 mana ETHEREAL SHIELD SPELL


GES:
Match AMBUSHFACENEXT ...wait
Match NEXTFUNCTION nothing else to face
Match AMBUSHADVANCE You turn to face
Matchwait


setvariable SPELLTOPREP ETHEREAL SHIELD
AMBUSHSTALK:
setvariable SPELLBASEMANA 26
setvariable SPELLMANAHARNESS 20
setvariable SPELLMANAINCREMENTS 2
setvariable GLOBALSPELLTARGET
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


GESAT:
put stalk


shift
Match AMBUSHSTALK ...wait
setvariable SPELLTOPREP ETHEREAL SHIELD
Match AMBUSHHIDE hidden first!
setvariable SPELLBASEMANA 26
Match AMBUSHAMBUSH move into position to stalk
setvariable SPELLMANAHARNESS 20
Match AMBUSHAMBUSH already stalking
setvariable SPELLMANAINCREMENTS 2
Match NEXTFUNCTION nothing else to face!
setvariable GLOBALSPELLTARGET %1
Matchwait
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


################################################################################
AMBUSHAMBUSH:
################################################################################
#begin GLOBAL SPELLCASTING FUNCTION


GLOBALSPELLPREP:
waitfor melee


setvariable RETURNPOINTER GSPELLPREP
put ambush
counter set %SPELLMANAINCREMENTS


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


Match GSPELLPREP ...wait
AMBUSHPARRY:
Match KILLHUMMING You should stop playing
Match KILLSPELLPREP You are already preparing
Match KILLSPELLPREP You have to strain
Match GSPELLPREPFULLPREP %SPELLPREPMESSAGE


put parry
put prep %SPELLTOPREP %SPELLBASEMANA


Match AMBUSHPARRYPAUSE ...wait
Match AMBUSHEXPHIDING move into a position
Match AMBUSHRETREAT already in a position
Matchwait
Matchwait


GSPELLPREPFULLPREP:
AMBUSHPARRYPAUSE:


waitfor You feel fully prepared
pause
goto GSPELLPREPMANACHECK


GSPELLPREPMANACHECK:
goto AMBUSHPARRY


Match %SPELLRETURNPOINTER S>>>>>>>|_
EXPHIDING:
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 exp skill hiding
put mana


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


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


put harness %SPELLMANAHARNESS
pause


Match GSPELLPREPHARNESS%c ...wait
put exp skill stalking
Match GSPELLPREPUPDATECOUNTER You tap into the mana from

Match NEXTFUNCTION mind lock
Match KILLSPELLPREP You strain, but cannot harness
Match AMBUSHRETREAT EXP HELP for more information
Matchwait
Matchwait


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


counter subtract 1
FORAGING:


goto GSPELLPREPMANACHECK
FORAGINGSUPSPELLS:


GSPELLPREPHARNESS0:
save FORAGINGSTART
goto GCLEARVISION


GSPELLPREPSPELLCAST:
FORAGINGSTART:


Match GSPELLPREPSPELLCAST ...wait
counter add 1
Match GSPELLPREPFINISH You gesture

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


put forage %FORAGEFORITEM%
put cast %GLOBALSPELLTARGET


Matchwait
Matchwait


GSPELLPREPFINISH:
FORAGINGSTORE:


put %SPELLADDITIONALCOMMAND
if_2 Match FORAGINGSTORE ...wait
goto %SPELLRETURNPOINTER
if_2 Match EXPFORAGING%c% You put your
if_2 Match EXPFORAGING%c% You drop


#end GLOBAL SPELLPREP FUNCTION
if_2 put put %FORAGEFORITEM% in %2%
################################################################################
################################################################################


#############################INFORMATIONAL SCRIPTS##############################
if_2 Matchwait


################################################################################
Match FORAGINGSTORE ...wait
################################################################################
Match EXPFORAGING%c% You put your
Match EXPFORAGING%c% You drop


TIMERS:
put put %FORAGEFORITEM% in my %LARGESTORAGECONTAINER%


echo ###########################################################################
Matchwait
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


################################################################################
EXPFORAGING1:
################################################################################
EXPFORAGING2:
EXPFORAGING3:
EXPFORAGING4:


#################################TRAVEL SCRIPTS#################################
goto FORAGINGSTART


################################################################################
EXPFORAGING5:
################################################################################


TRAVEL:
counter set 0


setvariable STARTINGLOCATION none
put %HUMTHISTUNE%
counter set 0


Match CROSSINGLOCATION [Strand Communal Center, Common Room]
Match FORAGINGEND mind lock
Match CROSSINGLOCATIONADJUST [Communal Center, Veranda]
Match FORAGINGSTART EXP HELP for more information
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 exp skill foraging
put look


Matchwait
Matchwait


CROSSINGLOCATION:
FORAGINGEND:


setvariable STARTINGLOCATION CROSSING
if_2 shift
counter set 1
goto SELECTLOCATION


CROSSINGLOCATIONADJUST:
goto NEXTFUNCTION


move go door
#end FORAGING function (THIS FUNCTION HAS BEEN FIXED)
goto TRAVEL
==================================================================================
==================================================================================
#begin FIRSTAID function (THIS FUNCTION HAS BEEN FIXED)


AESRYLOCATION:
FIRSTAID:


setvariable STARTINGLOCATION AESRY
FIRSTAIDGETTHIRDCOMPENDIUM:
counter set 2
goto SELECTLOCATION


AESRYLOCATIONADJUST:
put %HUMTHISTUNE%


move n
put sort compendium in %LARGESTORAGECONTAINER%
move e
move go gate
move go door
move n
move w
move go vault
goto TRAVEL


SHARDLOCATION:
Match FIRSTAID2COMPENDIUMS a grey leather compendium, a leather compendium,
Match FIRSTAID2COMPENDIUMS a leather compendium, a grey leather compendium,
Match FIRSTAID1COMPENDIUM a leather compendium,
Match FIRSTAID1COMPENDIUM a grey leather compendium,


setvariable STARTINGLOCATION SHARD
put look in %LARGESTORAGECONTAINER%
counter set 3
goto SELECTLOCATION


SHARDLOCATIONADJUST:
Matchwait


move out
FIRSTAID2COMPENDIUMS:
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 TOTALCOMPENDIUMS second
counter set 2
goto FIRSTAIDCOUNTERCOPY


setvariable STARTINGLOCATION MER'KRESH
FIRSTAID1COMPENDIUM:
counter set 4
goto SELECTLOCATION


MERKRESHLOCATIONADJUST:
setvariable TOTALCOMPENDIUMS first
counter set 1
goto FIRSTAIDCOUNTERCOPY


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


RIVERHAVENLOCATION:
setvariable TEMPCOUNTER %c%
goto FIRSTAIDGETCOMPENDIUM%c%


setvariable STARTINGLOCATION RIVERHAVEN
FIRSTAIDGETCOMPENDIUM1:
counter set 5
FIRSTAIDGETCOMPENDIUM2:
goto SELECTLOCATION
FIRSTAIDGETCOMPENDIUM3:
FIRSTAIDGETCOMPENDIUM4:
FIRSTAIDGETCOMPENDIUM5:


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


move go gate
put get %TOTALCOMPENDIUMS% compendium from %LARGESTORAGECONTAINER%
move se
move climb stair
move go door
goto TRAVEL


RATHALOCATION:
Matchwait


setvariable STARTINGLOCATION RATHA
FIRSTAIDGETCOMPENDIUM0:
counter set 6
goto SELECTLOCATION


RATHALOCATIONADJUST:
goto NEXTFUNCTION


move go door
FIRSTAIDOPENCOMPENDIUM:
move e
goto TRAVEL


ELBAINSLOCATION:
counter set 9


setvariable STARTINGLOCATION ELBAIN'S
Match FIRSTAIDOPENCOMPENDIUM ...wait
counter set 7
Match FIRSTAIDSTUDYCOMPENDIUM That is already open!
goto SELECTLOCATION
Match FIRSTAIDSTUDYCOMPENDIUM You open your


ELBAINSLOCATIONADJUST:
put open my compendium


Matchwait
move go tree
move s
move s
goto TRAVEL


MUSPARILOCATION:
FIRSTAIDSTUDYCOMPENDIUM:


setvariable STARTINGLOCATION MUSPAR'I
put %HUMTHISTUNE%
counter set 8
goto SELECTLOCATION


MUSPARILOCATIONADJUST:
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
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:
Matchwait


setvariable STARTINGLOCATION HIBARNHVIDAR
FIRSTAIDTURNCOMPENDIUM9:
counter set 9
FIRSTAIDTURNCOMPENDIUM8:
goto SELECTLOCATION
FIRSTAIDTURNCOMPENDIUM7:
FIRSTAIDTURNCOMPENDIUM6:
FIRSTAIDTURNCOMPENDIUM5:
FIRSTAIDTURNCOMPENDIUM4:
FIRSTAIDTURNCOMPENDIUM3:
FIRSTAIDTURNCOMPENDIUM2:
FIRSTAIDTURNCOMPENDIUM1:


HIBLOCATIONADJUST:
counter subtract 1


move climb stair
Match FIRSTAIDTURNCOMPENDIUM10 ...wait
move nw
Match FIRSTAIDSTUDYCOMPENDIUM You turn to the section
move ne
move ne
move se
move climb stair
move se
move s
move go recess
move sw
move nw
move nw
move n
move ne
move ne
move go door
move climb stair
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move e
move go entryway
goto TRAVEL


SELECTLOCATION:
put turn my compendium


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


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


counter set %TEMPCOUNTER%
Match %cCROSSING CROSSING
counter subtract 1
Match %cAESRY AESRY
Match %cSHARD SHARD
goto FIRSTAIDSTORECOMPENDIUM
Match %cMERKRESH MERKRESH
Match %cRIVERHAVEN RIVERHAVEN
Match %cRATHA RATHA
Match %cELBAINS ELBAINS
Match %cMUSPARI MUSPARI
Match %cHIBARN HIBARN


Matchwait
FIRSTAIDSTORECOMPENDIUM:


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


ECHO #####################
put put my compendium in my %LARGESTORAGECONTAINER%
ECHO #Already in CROSSING#
ECHO #####################
exit


1AESRY:
Matchwait

FIRSTAIDNOCOMPENDIUMS:

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


move go portal
exit
exit


FIRSTAIDERROR:
1SHARD:


move go portal
echo =====================================================
echo =For some reason you are not holding your compendium=
echo =====================================================


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


1MERKRESH:
#end FIRSTAID function (THIS FUNCTION HAS BEEN FIXED)
==================================================================================
==================================================================================
#begin FIRSTAID2 function (THIS FUNCTION HAS BEEN FIXED)


move go portal
FIRSTAID2:


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


put look
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:
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
exit


move N
1RATHA:
counter add 1
goto FIRSTAID2WORMCHECK


move go portal
FIRSTAID2MOVE2:


move NE
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


FIRSTAID2MOVE3:
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 E
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


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


move SE
1ELBAINS:
counter add 1
goto FIRSTAID2WORMCHECK


move go portal
FIRSTAID2MOVE5:


move S
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


move out
FIRSTAID2MOVE6:
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 SW
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


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


move W
move go door
counter set 1
move e
goto FIRSTAID2WORMCHECK
move go portal
exit


1MUSPARI:
FIRSTAID2WORMCHECK:


put look DAMIAN
move go portal


move n
Match FIRSTAID2MOVE%c% You are in good shape
move e
Match FIRSTAID2REMOVEWORMRL on your right leg
move go gate
Match FIRSTAID2REMOVEWORMLL on your left leg
move go door
Match FIRSTAID2WORMFIND You are wearing
Matchwait
move n
move w
move go vault
move go portal


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


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


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


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


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


1HIBARN:
put tend my left leg
waitfor seconds.
goto FIRSTAID2EXPCHECK


move go portal
FIRSTAID2EXPCHECK:


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


move out
Match FIRSTAID2DONE mind lock
move w
Match FIRSTAID2WORMCHECK EXP HELP
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


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


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


move go door
FIRSTAID2DONE:
move e
move go portal


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


move w
#end FIRSTAID2 function (THIS FUNCTION HAS BEEN FIXED)
move n
==================================================================================
move climb stair
==================================================================================
move s
#begin MAKEROPE function (THIS FUNCTION HAS BEEN FIXED)
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:
MAKEROPE:


move go portal
counter set %2%


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


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


put forage grass
move go gate
move se
move climb stair
move go door
move go portal


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


MAKEROPEBRAIDGRASS:
move go tree
move s
move s
move go portal


put braid my grass
move w
move n
move climb stair
move s
move climb stair
move se
move sw
move climb stair
move go gate
move se
move se
move se
move se
move go gate
move w
move go portal


move climb stair
Match MAKEROPEBRAIDGRASS ...wait
move nw
Match MAKEROPEPULLGRASS bundling rope
move ne
Match MAKEROPEBRAIDGRASS Roundtime
Matchwait
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:
MAKEROPEPULLGRASS:


put pull my grass
ECHO #####################
ECHO ###Already in AESRY##
ECHO #####################
exit


2SHARD:
Match MAKEROPEPULLGRASS ...wait
Match MAKEROPEPULLGRASS Roundtime
Match MAKEROPESTOREROPE new bundling rope
Matchwait


MAKEROPESTOREROPE:
move go portal
exit


2MERKRESH:
put put my rope in my %LARGESTORAGECONTAINER%


counter subtract 1
move go portal


goto MAKEROPE%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
exit


MAKEROPE0:
2RIVERHAVEN:


goto NEXTFUNCTION
move go portal


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


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


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


2ELBAINS:
ASTROLOGYSUPSPELLS:


goto GPIERCINGGAZE
move go portal


move out
ASTROLOGYSUPSPELLS2:
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 ASTROLOGYSTUDYKATAMBA
move nw
goto GAURASIGHT
move nw
move ne
move ne
move n
move n
move n
move n
move go gate
move go portal


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


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


2MUSPARI:
ASTROLOGYSTUDYSKY:


pause
move go portal


put %HUMTHISTUNE%
move out
put study SKY
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 ASTROLOGYSTUDYSKY ...wait
move nw
Match ASTROLOGYBRIEFPAUSE You feel it is too soon
move ne
Match ASTROLOGY%c% You feel a lingering sense
move ne
Match ASTROLOGYPREDICTEVENT unable to sense additional information
move n
Match ASTROLOGYPREDICTEVENT Seconds.
Matchwait
move n
move n
move n
move go gate
move go portal


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


pause 5
move go door
move e
goto ASTROLOGYSTUDYSKY
move go portal


ASTROLOGY1:
move go tree
ASTROLOGY2:
move s
ASTROLOGY3:
move s
ASTROLOGY4:
move go portal
ASTROLOGY5:
exit
ASTROLOGYADJUSTCTR:


2HIBARN:
counter add 1
pause 11
goto ASTROLOGYSTUDYSKY


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


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


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


put predict EVENT
move go gate
move se
move climb stair
move go door
move go portal


move go door
Match ASTROLOGYPREDICTEVENT ...wait
move e
Match ASTROLOGYADJUSTCTR You focus inwardly searching for insight
Matchwait
move go portal


move go tree
ASTROLOGYSTUDYKATAMBA:
move s
move s
move go portal


save ASTROLOGYSTUDYKATAMBA
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
3CROSSING:


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


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


save ASTROLOGYSTUDYXIBAR
move go door
move e
move go portal


pause
move go tree
move s
move s
move go portal


put study XIBAR
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


Match ASTROLOGYKILLRT ...wait
move climb stair
move nw
Match ASTROLOGYEXPLORE You manage to memorize
move ne
Match ASTROLOGYEXPLORE focus on grasping it better.
move ne
Match ASTROLOGYEXPLORE still swimming
move se
Match ASTROLOGYCASTPIERCINGGAZE clouds hinder
move climb stair
Match ASTROLOGYSTUDYYAVASH You are unable to comprehend
move se
Match ASTROLOGYSTUDYYAVASH fail to find
Matchwait
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:
ASTROLOGYSTUDYYAVASH:


save ASTROLOGYSTUDYYAVASH
move go portal


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


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


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


move go tree
ASTROLOGYSTUDYSUN:
move s
move s
move go portal


save ASTROLOGYSTUDYSUN
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


pause
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


put study SUN
move go door
move go portal
exit


3SHARD:
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


ECHO #####################
ASTROLOGYSTUDYWOLF:
ECHO ###Already in SHARD##
ECHO #####################
exit


3MERKRESH:
save ASTROLOGYSTUDYWOLF


pause
move go portal
exit


3RIVERHAVEN:
put study WOLF


Match ASTROLOGYKILLRT ...wait
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 ASTROLOGYSTUDYRAVEN You are unable to comprehend
Match ASTROLOGYSTUDYRAVEN fail to find
Matchwait


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


3RATHA:
save ASTROLOGYSTUDYRAVEN


pause
move go portal


put study RAVEN
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 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
exit
Match ASTROLOGYSTUDYCAT You are unable to comprehend
Match ASTROLOGYSTUDYCAT fail to find
Matchwait


3ELBAINS:
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.
exit
Match ASTROLOGYEXPLORE still swimming
Match ASTROLOGYCASTPIERCINGGAZE clouds hinder
Match ASTROLOGYSTUDYRAM You are unable to comprehend
Match ASTROLOGYSTUDYRAM fail to find
Matchwait


3MUSPARI:
ASTROLOGYSTUDYRAM:


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


move go tree
ASTROLOGYSTUDYMAGPIE:
move s
move s
move go portal
exit


3HIBARN:
save ASTROLOGYSTUDYMAGPIE


pause
move go portal


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


move go door
ASTROLOGYSTUDYHEART:
move e
move go portal


save ASTROLOGYSTUDYHEART
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
exit


4CROSSING:
put study HEART


Match ASTROLOGYKILLRT ...wait
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 ASTROLOGYSTUDYGIANT You are unable to comprehend
Match ASTROLOGYSTUDYGIANT fail to find
Matchwait


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


save ASTROLOGYSTUDYGIANT
move go door
move e
move go portal


pause
move go tree
move s
move s
move go portal


put study GIANT
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


Match ASTROLOGYKILLRT ...wait
move climb stair
move nw
Match ASTROLOGYEXPLORE You manage to memorize
move ne
Match ASTROLOGYEXPLORE focus on grasping it better.
move ne
Match ASTROLOGYEXPLORE still swimming
move se
Match ASTROLOGYCASTPIERCINGGAZE clouds hinder
move climb stair
Match ASTROLOGYSTUDYSPIDER You are unable to comprehend
move se
Match ASTROLOGYSTUDYSPIDER fail to find
Matchwait
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:
ASTROLOGYSTUDYSPIDER:


save ASTROLOGYSTUDYSPIDER
move go portal


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


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


move w
ASTROLOGYCASTPIERCINGGAZE:
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


goto GPIERCINGGAZE
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
ASTROLOGYEXPLORE:
move go portal
exit


4SHARD:
put exp lore all


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


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


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


move go tree
ASTROLOGYFUNCTIONEND:
move s
move s
move go portal


put %HUMTHISTUNE%
move w
waitfor finish humming
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


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


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


4MERKRESH:
save MAGIC2SOD


ECHO #######################
counter set 0
ECHO ##Already in MERKRESH##
ECHO #######################
exit


4RIVERHAVEN:
MAGIC2SODGETTOOLS:


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


4RATHA:
put get %CAMBRINTHDEVICE%


Matchwait
move go portal


move go gate
MAGIC2EXPCHECK0:
move se
MAGIC2EXPCHECK1:
move climb stair
MAGIC2EXPCHECK2:
move go door
MAGIC2EXPCHECK3:
move go portal
MAGIC2EXPCHECK4:
exit


MAGIC2SOD:
4ELBAINS:


move go portal
setvariable RETURNPOINTER MAGIC2SOD


move go gate
Match KILLHUMMING should stop playing before
Match MAGIC2SOD ...wait
move se
move climb stair
Match MAGIC2SODSTOWTOOLS You have to strain
move go door
Match MAGIC2SODCHARGEORB Seal of Deflection spell
move go portal


put prep SEAL OF DEFLECTION 5
move go door
move e
move go portal
exit


4MUSPARI:
Matchwait


move go portal
MAGIC2SODCHARGEORB:


Match MAGIC2SODCHARGEORB ...wait
move go gate
move se
Match MAGIC2SODSTOWTOOLS cannot harness that much power
Match MAGIC2SODFOCUSORB Roundtime
move climb stair
move go door
move go portal


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


Matchwait
move go tree
move s
move s
move go portal
exit


4HIBARN:
MAGIC2SODFOCUSORB:


put focus my %CAMBRINTHDEVICE%
move go portal


Match MAGIC2SODFOCUSORB ...wait
move go gate
move se
Match MAGIC2SODCAST forge a magical link to it
Match MAGIC2SODCAST is intact
move climb stair
Matchwait
move go door
move go portal


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 climb stair
move nw
Match MAGIC2EXPCHECK%c% shifting plexus
move ne
Match MAGIC2SODSTOWTOOLS backfires
move ne
Match MAGIC2SODSTOWTOOLS You are unable to harness
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


put cast
5CROSSING:


Matchwait
move go portal


move go door
MAGIC2SODNOTOOLS:
move e
move go portal


save MAGIC2SODNOTOOLS
move go tree
move s
move s
move go portal


move w
Match MAGIC2SODNOTOOLS ...wait
move n
Match MAGIC2ENDFUNCTION You have to strain
move climb stair
Match MAGIC2SODFULLPREP Seal of Deflection spell
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 prep SEAL OF DEFLECTION 20
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:
Matchwait


move go portal
MAGIC2SODFULLPREP:


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


move go tree
MAGIC2EXPCHECK5:
move s
MAGIC2EXPMAGIC:
move s
move go portal


counter set 0
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


Match MAGIC2EXPHARNESS mind lock
move climb stair
move nw
Match MAGIC2SOD 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 primary magic
move go door
move go portal
exit


5SHARD:
Matchwait


move go portal
MAGIC2EXPHARNESS:


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


put exp skill harness
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
MAGIC2EXPMAGDEVICES:
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
Match MAGIC2SODSTOWTOOLS mind lock
move go portal
Match MAGIC2SOD EXP HELP for more information


move n
put exp skill magical devices
move e
move go gate
move go door
move n
move w
move go vault
move go portal
exit


5MERKRESH:
Matchwait


move go portal
MAGIC2SODSTOWTOOLS:


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


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


move w
#end MAGIC2 function (THIS FUNCTION HAS BEEN FIXED)
move n
==================================================================================
move climb stair
==================================================================================
move s
#begin SWIMMING function (THIS FUNCTION HAS BEEN FIXED)
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
SWIMMING:
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
SWIMMINGLOCATIONCHECK:
move go portal


put look
move n
move e
move go gate
move go door
move n
move w
move go vault
move go portal


Match SWIMSOUTH [Mill Pond]
move out
move w
Match SWIMMINGLOCATIONCHECKFAIL Obvious
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


SWIMSOUTH:
5RIVERHAVEN:


ECHO ###########################
pause
ECHO ###Already in RIVERHAVEN###
ECHO ###########################
exit


5RATHA:
put south


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


SWIMNORTH:
5ELBAINS:


save SWIMSOUTH
move go portal


pause
move go door
move e
move go portal
exit


5MUSPARI:
put north


Match SWIMNORTH ...wait
move go portal
Match EXPSWIMMING [Mill Pond]
Match SWIMNORTH Obvious
Match SWIMNORTH fail
Matchwait


move go door
EXPSWIMMING:
move e
move go portal


put exp skill swimming
move go tree
move s
move s
move go portal
exit


5HIBARN:
Match NEXTFUNCTION mind lock
Match %s% EXP HELP for more information
Matchwait


move go portal
SWIMMINGLOCATIONCHECKFAIL:


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


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


move w
#end SWIMMING function (THIS FUNCTION HAS BEEN FIXED)
move n
==================================================================================
move climb stair
==================================================================================
move s
#begin CLIMBING function (THIS FUNCTION HAS BEEN FIXED)
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:
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
exit


6AESRY:
CLIMBTRAILDOWN:


put climb trail
move go portal
move up
move west


CLIMBCREEPERDOWN:
move go tree
move s
move s
move go portal


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


put climb creeper
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
Match CLIMBCREEPERDOWN ...wait
move go portal
Match CLIMBINGSTAND SPLAT
exit
Match CLIMBLADDERDOWN Roundtime
Matchwait


6SHARD:
CLIMBLADDERDOWN:


pause
move go portal


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


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


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


6MERKRESH:
Match CLIMBROPEDOWN ...wait
Match CLIMBROPEUP rope
Matchwait


CLIMBROPEUP:
move go portal


pause
move go tree
move s
move s
move go portal


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


move climb stair
Match CLIMBROPEUP ...wait
move nw
Match CLIMBLADDERUP rope
Matchwait
move ne
move ne
move se
move climb stair
move se
move s
move go recess
move sw
move nw
move nw
move n
move ne
move ne
move go door
move climb stair
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move e
move go entryway
move go portal


CLIMBLADDERUP:
move go door
move go portal


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


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


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


CLIMBCREEPERUP:
move go portal


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


put climb creeper
move w
move n
move climb stair
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 CLIMBCREEPERUP ...wait
move nw
Match CLIMBINGSTAND SPLAT
move ne
Match CLIMBTRAILUP Roundtime
Matchwait
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


CLIMBTRAILUP:
move go door
move go portal


pause
move n
move east
move e
move down
move go gate
put climb trail
move go door
pause
move n
move w
move go vault
move go portal


move out
EXPCLIMBING:
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 exp skill climbing
move nw
move nw
move ne
move ne
move n
move n
move n
move n
move go gate
move go portal
exit


6RATHA:
Match NEXTFUNCTION mind lock
Match CLIMBINGSTART EXP HELP for more information
Matchwait


ECHO #####################
CLIMBINGSTAND:
ECHO ###Already in RATHA##
ECHO #####################
exit


pause
6ELBAINS:
put dance


Match CLIMBINGSTAND ...wait
move go portal
exit
Match %s% You leap to your feet
Matchwait


6MUSPARI:
CLIMBINGLOCATIONCHECKFAIL:


echo
move go portal
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
move go tree
move s
move s
move go portal
exit


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


move go portal
CLIMBING2:


move go tree
CLIMBING2LOCATIONCHECK:
move s
move s
move go portal


put look
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 CLIMBING2START transitional block of busy Commerce Avenue
Match CLIMBING2LOCATIONCHECKFAIL Obvious
Matchwait


move go portal
CLIMBING2START:


move n
move n
move n
move n
move n
move n
move w
move w
move w
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 go gate
move go path
move w
move w
move w
move s
move go portal

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

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


move go door
EXPCLIMBING2:
move go portal


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


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


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


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


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


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


move go portal
COMBATSPELLS:
exit


7HIBARN:
setvariable RETURNPOINTER COMBATSETMYGLOBALMOON
goto KILLHUMMING


move go portal
COMBATSETMYGLOBALMOON:


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


8CROSSING:
setvariable RETURNPOINTER COMBATSUPSPELL1
goto FINDMOON


move go portal
COMBATSUPSPELL1:


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


COMBATSUPSPELL2:
8AESRY:


save COMBATSUPSPELL3
move go portal
goto GDG


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


save COMBATSUPSPELL4
move go door
goto GCONTINGENCY
move go portal
exit


COMBATSUPSPELL4:
8SHARD:


save COMBATSUPSPELL5
move go portal
goto GPSY


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


save COMBATSUPSPELL6
move go door
goto GSHADOWS
move go portal


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


8MERKRESH:
save COMBATSUPSPELL7
goto GSEERSSENSE


move go portal
COMBATSUPSPELL7:


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


move go door
COMBATSUPSPELL8:
move go portal


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


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


8RIVERHAVEN:
save COMBATSUPSPELL10
goto GSOD


move go portal
COMBATSUPSPELL10:


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


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


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


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


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


8RATHA:
ENCHANTINGSUPSPELL2:


save ENCHANTINGSUPSPELL3
move go portal
goto GPIERCINGGAZE


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


save ENCHANTINGSUPSPELL4
move go door
goto GAURASIGHT
move go portal


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


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


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


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


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


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


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


move go door
MEHE2HEPARRY:
move go portal


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


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


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


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


move go door
MEHE2HEFEINT:
move e
move go portal
exit


8MUSPARI:
put FEINT


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


MEHE2HEDRAW:
8HIBARN:


put DRAW
move go portal
exit


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


move go portal
MEHE2HESWEEP:
exit


9AESRY:
put SWEEP


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


move go door
MEHE2HESLICE:
move go portal
exit


9SHARD:
put SLICE


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


move go door
MEHE2HECHOP:
move go portal


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


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


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


move go door
LE:
move go portal


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


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


9RIVERHAVEN:


put PARRY
move go portal


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


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


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


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


LEDRAW:
9RATHA:


put DRAW %2%
move go portal


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


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


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


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


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


9ELBAINS:
put CHOP %2%


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


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


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


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


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


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


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


MBLB2HBFEINT:
9MUSPARI:


put FEINT
move go portal


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


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


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


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


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


put DRAW
move go door
move e
move go portal


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


MBLB2HBSLICE:
9HIBARN:


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


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


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


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


#(crossing arrival)
BRAWLINGPARRY:


save BRAWLINGFEINT
move go door
move go portal


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


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


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


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


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


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


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


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


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


put KICK
move go door
move e
move go portal


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


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


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


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


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


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


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


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


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


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


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


shift
PIKE:


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


exit
save PIKEJAB


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


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


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


CLARIFYGEMSCASTAUS:
put JAB


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


goto GAUS
PIKESWEEP:


CLARIFYGEMSCASTPG:
put SWEEP


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


PIKETHRUST:
goto GPG


CLARIFYGEMSNOSPELLS:
put THRUST
CLARIFYGEMSIDGEM:


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

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


put FEINT
put look in %GEMLOCATION


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


PIKELUNGE:
SAVESTARSTONE:


put LUNGE
setvariable GEMTYPE star
goto CLARIFYGEMSGETGEM


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


setvariable GEMTYPE emerald
PIKEDRAW:
goto CLARIFYGEMSGETGEM


SAVEALEXANDRITE:
put DRAW


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


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


setvariable GEMTYPE amethyst
QS:
goto CLARIFYGEMSGETGEM
SS:


QSPARRY:
SAVECHRYSOBERYL:


setvariable GEMTYPE chrysoberyl
save QSFEINT
goto CLARIFYGEMSGETGEM


put PARRY


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


setvariable GEMTYPE turquoise
QSFEINT:
goto CLARIFYGEMSGETGEM


SAVEIOLITE:
put FEINT


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


QSDRAW:
SAVEAMBER:


put DRAW
setvariable GEMTYPE amber
goto CLARIFYGEMSGETGEM


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


setvariable GEMTYPE beryl
QSSLICE:
goto CLARIFYGEMSGETGEM


SAVECHRYSOPRASE:
put SLICE


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


QSSWEEP:
SAVEDIOPSIDE:


put SWEEP
setvariable GEMTYPE diopside
goto CLARIFYGEMSGETGEM


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


setvariable GEMTYPE tourmaline
QSCHOP:
goto CLARIFYGEMSGETGEM


SAVECHALCEDONY:
put CHOP


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


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


setvariable GEMTYPE peridot
HALBERD:
goto CLARIFYGEMSGETGEM


HALBERDTHRUST:
SAVEANDALUSITE:


setvariable GEMTYPE andalusite
save HALBERDTHRUST
goto CLARIFYGEMSGETGEM


SAVEPEARL:
put THRUST


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


HALBERDSWEEP:
SAVELAZULI:


save HALBERDSWEEP
setvariable GEMTYPE lazuli
goto CLARIFYGEMSGETGEM


SAVECRYSTAL:
put SWEEP


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


HALBERDCHOP:
SAVESPINEL:


save HALBERDCHOP
setvariable GEMTYPE spinel
goto CLARIFYGEMSGETGEM


put CHOP
SAVETOPAZ:


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


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


setvariable GEMTYPE zircon
LOCKPICKING:
goto CLARIFYGEMSGETGEM


SAVESAPPHIRE:
LOCKPICKINGGETTOOLS:


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


SAVECITRINE:
put get lockpick


setvariable GEMTYPE citrine
Matchwait
goto CLARIFYGEMSGETGEM


LOCKPICKINGPICK:
SAVEHEMATITE:


put %HUMTHISTUNE%
setvariable GEMTYPE hematite
goto CLARIFYGEMSGETGEM


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


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


SAVEAGATE:
Matchwait


setvariable GEMTYPE agate
LOCKPICKINGEXPCHECK:
goto CLARIFYGEMSGETGEM


SAVEKUNZITE:
Match LOCKPICKINGSTOWTOOLS mind lock
Match LOCKPICKINGPICK EXP HELP


put exp skill lock
setvariable GEMTYPE kunzite
goto CLARIFYGEMSGETGEM


SAVEONYX:
Matchwait


setvariable GEMTYPE onyx
LOCKPICKINGNOTOOLS:
goto CLARIFYGEMSGETGEM


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


setvariable GEMTYPE sunstone
goto LOCKPICKINGSTOWBOX
goto CLARIFYGEMSGETGEM


SAVEMOONSTONE:
LOCKPICKINGBOXISOPEN:


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


SAVEAQUAMARINE:
LOCKPICKINGSTOWTOOLS:


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


SAVECORAL:
put put lock in %LOCKPICKSTORAGECONTAINER%


setvariable GEMTYPE coral
Matchwait
goto CLARIFYGEMSGETGEM


SAVECARNELIAN:
LOCKPICKINGSTOWTOOLS1:


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


SAVETANZANITE:
put put lock in %LOCKPICKSTORAGECONTAINER%


setvariable GEMTYPE tanzanite
Matchwait
goto CLARIFYGEMSGETGEM


SAVEMORGANITE:
LOCKPICKINGOPENBOX:


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


SAVEGARNET:
put open my %2%


setvariable GEMTYPE garnet
Matchwait
goto CLARIFYGEMSGETGEM


SAVEJADE:
LOCKPICKINGDISMANTLEBOX:


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


SAVEQUARTZ:
put dismantle my %2% press


setvariable GEMTYPE quartz
Matchwait
goto CLARIFYGEMSGETGEM


SAVEBLOODSTONE:
LOCKPICKINGSTOWBOX:


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

put put my %2% in %LARGESTORAGECONTAINER%

Matchwait

LOCKPICKINGSHIFTDOWN:

shift

goto NEXTFUNCTION

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

FINDMOON:

setvariable MOONFOUNDEAST NONE
setvariable MOONFOUNDWEST NONE

put prep fm 10

FINDMOONYAVASH:

setvariable FINDMOONNEXTACTION FINDMOONXIBAR

setvariable LOOKINGFORMOON YAVASH

put perceive YAVASH

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

FINDMOONXIBAR:

setvariable FINDMOONNEXTACTION FINDMOONKATAMBA

setvariable LOOKINGFORMOON XIBAR

put perceive XIBAR

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

FINDMOONKATAMBA:

setvariable FINDMOONNEXTACTION CASTEASTMOON

setvariable LOOKINGFORMOON KATAMBA

put perceive KATAMBA

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

FINDMOONEAST:

setvariable MOONFOUNDEAST %LOOKINGFORMOON%
goto %FINDMOONNEXTACTION%

FINDMOONWEST:

setvariable MOONFOUNDWEST %LOOKINGFORMOON%
goto %FINDMOONNEXTACTION%

FINDMOONNO:

goto %FINDMOONNEXTACTION%

CASTEASTMOON:

setvariable GLOBALMOON %MOONFOUNDEAST%

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

put cast %MOONFOUNDEAST%

Matchwait

CASTWESTMOON:

setvariable GLOBALMOON %MOONFOUNDWEST%

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

put cast %MOONFOUNDWEST%

Matchwait

NOMOONFOUND:

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

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

GATHERAMMO:

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

Matchwait

GATHERAMMOSTOW:

Match GATHERAMMOSTOW ...wait
Match GATHERAMMO You put your

put put %2% in my %AMMUNITIONCONTAINER%

Matchwait

GATHERAMMOUNLOAD:

Match GATHERAMMOUNLOAD ...wait
Match GATHERAMMOFINISHED You unload

put unload

Matchwait

GATHERAMMOFINISHED:

Match GATHERAMMOFINISHED ...wait
Match NEXTFUNCTION You put your

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

Matchwait

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

KILLHUMMING:

put stop hum

goto %RETURNPOINTER%

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

KILLSPELLPREP:

put release

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

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

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

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

CLARIFYGEMS:

SETVARIABLE GEMLOCATION red pouch in haversack
SETVARIABLE GEMSTORAGE
SETVARIABLE GEMTYPE

CLARIFYGEMSCASTPG:

save CLARIFYGEMSIDGEM

goto GPG

CLARIFYGEMSIDGEM:

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

put look in %GEMLOCATION%

Matchwait


SAVERUBY:
SAVERUBY:


setvariable GEMTYPE ruby
setvariable GEMTYPE ruby
goto CLARIFYGEMSGETGEM

SAVEBLOODSTONE:

setvariable GEMTYPE bloodstone
goto CLARIFYGEMSGETGEM
goto CLARIFYGEMSGETGEM


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


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


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


setvariable RETURNPOINTER NEXTFUNCTION
setvariable RETURNPOINTER CLARIFYGEMSHARNESSMANA1


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


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


put perc katamb
pause 15
pause


CLARIFYGEMSCHECKMANA:
put perc xibar
pause


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


put perc planet
put mana

pause
Matchwait

CLARIFYGEMSHARNESSMANA1:

setvariable RETURNPOINTER CLARIFYGEMSHARNESSMANA2

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

put harn 20

Matchwait

CLARIFYGEMSHARNESSMANA2:

setvariable RETURNPOINTER NEXTFUNCTION

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

put harn 20

Matchwait


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


put cast my %GEMTYPE%
put cast my %GEMTYPE


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


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


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


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

exit

CLARIFYGEMSOUTOFMANA:

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


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


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


Matchwait
Matchwait
Line 4,522: Line 6,332:


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


MAKEROPE:
MAINSPELLNAME:


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


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


MAKEROPEFORAGEGRASS:
setvariable RETURNPOINTER PREPSPELL


put forage grass
PREPSPELL:


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


put prep SPELLNAME
MAKEROPEBRAIDGRASS:


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


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


MAKEROPEPULLGRASS:
waitfor You feel fully prepared


put pull my grass
setvariable RETURNPOINTER %s%


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


put harness 20
MAKEROPESTOREROPE:


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


counter subtract 1
SPELLUPDATECOUNTER:


counter add 1
goto MAKEROPE%c


MAKEROPE0:
goto SPELLHARNESS%c%


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


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


HERB:
counter set 0
HERBS:


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


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


goto NEXTFUNCTION
MAINSPELLNAMEAT:
SUBSPELLNAMEAT:


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


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


shift
shift
goto %1

goto %1%

exit

labelError:

if_2 goto NEXTFUNCTION

exit


</pre>
</pre>

Latest revision as of 12:53, 24 March 2011

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



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

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

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


goto %1


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

   START:

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

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

      shift
      goto %1

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

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

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

FIRSTAID:

   FIRSTAIDGETTHIRDCOMPENDIUM:

      put %HUMTHISTUNE

      put sort compendium in %LARGESTORAGECONTAINER

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

      put look in %LARGESTORAGECONTAINER

      Matchwait

   FIRSTAID2COMPENDIUMS:

      setvariable TOTALCOMPENDIUMS second
      counter set 2
      goto FIRSTAIDCOUNTERCOPY

   FIRSTAID1COMPENDIUM:

      setvariable TOTALCOMPENDIUMS first
      counter set 1
      goto FIRSTAIDCOUNTERCOPY

   FIRSTAIDCOUNTERCOPY:

      setvariable TEMPCOUNTER %c
      goto FIRSTAIDGETCOMPENDIUM%c

   FIRSTAIDGETCOMPENDIUM1:
   FIRSTAIDGETCOMPENDIUM2:
   FIRSTAIDGETCOMPENDIUM3:
   FIRSTAIDGETCOMPENDIUM4:
   FIRSTAIDGETCOMPENDIUM5:

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

      put get %TOTALCOMPENDIUMS compendium from %LARGESTORAGECONTAINER

      Matchwait

   FIRSTAIDGETCOMPENDIUM0:

      goto NEXTFUNCTION

   FIRSTAIDOPENCOMPENDIUM:

      counter set 9

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

      put open my compendium

      Matchwait

   FIRSTAIDSTUDYCOMPENDIUM:

      put %HUMTHISTUNE

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

      put study my compendium

      Matchwait

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

      counter subtract 1

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

      put turn my compendium

      Matchwait

   FIRSTAIDTURNCOMPENDIUM0:

      counter set %TEMPCOUNTER
      counter subtract 1
      goto FIRSTAIDSTORECOMPENDIUM

   FIRSTAIDSTORECOMPENDIUM:

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

      put put my compendium in my %LARGESTORAGECONTAINER

      Matchwait

   FIRSTAIDNOCOMPENDIUMS:

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

      exit

   FIRSTAIDERROR:

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

      exit

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

PERCEPTION:

   setvariable PERCEPTIONMATERIAL SILVER ZOMBIES

   PERCEPTIONSUPSPELLS:

      save PERCEPTIONGETTOOLS
      goto GCLEARVISION

   PERCEPTIONGETTOOLS:

      pause

      put get %PERCEPTIONMATERIAL

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

   PERCEPTIONWORK:

      pause

      put %HUMTHISTUNE
      put juggle my %PERCEPTIONMATERIAL

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

   EXPPERCEPTION:

      put exp skill perception

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

   PERCEPTIONSTOWTOOLS:

      put put %PERCEPTIONMATERIAL in my %LARGESTORAGECONTAINER

      put %HUMTHISTUNE
      waitfor finish humming

      goto NEXTFUNCTION

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

FORAGING:

   FORAGINGDECLAREVARIABLES:

   setvariable ITEM1 stem
   setvariable ITEM2 rock
   counter set 0

   FORAGINGCOUNTERINCREASE:

      counter add 1
      goto FORAGINGHUM%c

   FORAGINGHUM:
   FORAGINGHUM1:
   FORAGINGHUM2:

      put %HUMTHISTUNE
      goto FORAGINGKICKPILE

   FORAGINGKICKPILE:

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

      put kick pile

      Matchwait

   FORAGINGSTART:

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

      put collect %ITEM%c

      Matchwait

   FORAGINGCLUTTER:

      pause 2
      goto FORAGINGKICKPILE

   EXPFORAGING:

      Match FORAGINGEND mind lock
      Match FORAGINGHUM EXP HELP for more information

      put exp skill perception

      Matchwait

   FORAGINGHUM3:
   FORAGINGEND:

      goto NEXTFUNCTION
      exit

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

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

   counter set 1

   goto WIELDWEAPON

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

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

   counter set 1

   goto WIELDWEAPON

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

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

   counter set 1

   goto WIELDWEAPON

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

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

   counter set 1

   goto WIELDWEAPON

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

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

   counter set 1

   goto WIELDWEAPON

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

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

   counter set 1

   goto WIELDWEAPON

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

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

   counter set 1

   goto WIELDWEAPON

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

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

   counter set 1

   goto WIELDWEAPON

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

WIELDWEAPONRESETCOUNTER:

   counter set 1

   goto WIELDWEAPON

WIELDWEAPONADDCOUNTER:

   counter add 1

   goto WIELDWEAPON

WIELDWEAPON:

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

   put %COMBATMOVE%c

   Matchwait

WIELDWEAPONWAITTARGET:

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

   put ASSES

   Matchwait

WIELDWEAPONADVANCE:

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

   put ADVANCE

   Matchwait

WIELDWEAPONWAITLONGER:

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

   Matchwait

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

LOCKPICKING:

#   LOCKPICKINGGETTOOLS:

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

#      put get lockpick

#      Matchwait

   LOCKPICKINGPICK:

      put %HUMTHISTUNE

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

      put pick my %2 blind

      Matchwait

   LOCKPICKINGEXPCHECK:

      Match LOCKPICKINGSTOWTOOLS mind lock
      Match LOCKPICKINGPICK EXP HELP

      put exp skill lock

      Matchwait

   LOCKPICKINGNOTOOLS:

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

      goto LOCKPICKINGSTOWBOX

   LOCKPICKINGBOXISOPEN:

      setvariable BOXISOPEN 1
      
      goto LOCKPICKINGSTOWTOOLS%BOXISOPEN

   LOCKPICKINGSTOWTOOLS:

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

#      put put lock in %LOCKPICKSTORAGECONTAINER

#      Matchwait

   LOCKPICKINGSTOWTOOLS1:

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

#      put put lock in %LOCKPICKSTORAGECONTAINER

#      Matchwait

   LOCKPICKINGOPENBOX:

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

      put open my %2

      Matchwait

   LOCKPICKINGDISMANTLEBOX:

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

      put dismantle my %2 press

      Matchwait

   LOCKPICKINGSTOWBOX:

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

      put put my %2 in %LARGESTORAGECONTAINER

      Matchwait

   LOCKPICKINGSHIFTDOWN:

      shift

      goto NEXTFUNCTION

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

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

LABEL.)

POWERPERCEIVE:

   POWERPERCEIVECONCENTRATE:

      pause 2

      put conc all

      put %HUMTHISTUNE

      waitfor Roundtime

   POWERPERCEIVEKATAMBA:

      pause

      put perc katamba

      waitfor Roundtime

   POWERPERCEIVEXIBAR:

      pause

      put perc xibar

      waitfor Roundtime

   POWERPERCEIVEYAVASH:

      pause

      put perc yavash

      waitfor Roundtime

   POWERPERCEIVEMOON:

      pause

      put perc moon

      waitfor Roundtime

   POWERPERCEIVEMOONMANIP:

      pause 2

      put perc moonlight manip

      put %HUMTHISTUNE

      waitfor Roundtime

   POWERPERCEIVETRANSDUCTION:

      pause

      put perc transduction

      waitfor Roundtime

   POWERPERCEIVEPERCEPTIONBOOK:

      pause

      put perc perception

      waitfor Roundtime

   POWERPERCEIVEPSYCHPROJ:

      pause

      put perc psych project

      waitfor Roundtime

   POWERPERCEIVESTELLAR:

      pause

      put perc stellar

      waitfor Roundtime

   POWERPERCEIVEPLANET:

      pause

      put perc planet

      waitfor Roundtime

   POWERPERCEIVEWATCHERS:

      pause

      put perc watchers

      waitfor Roundtime

   POWERPERCEIVESELF:

      pause

      put perc self

      waitfor Roundtime

   POWERPERCEIVEAREA:

      pause

      put perc area

      waitfor Roundtime

      goto POWERPERCEIVECHECKEXP

   POWERPERCEIVECHECKEXP:

      Match POWERPERCEIVEENDFUNCTION mind lock
      Match POWERPERCEIVE EXP HELP

      put exp skill power perc

      Matchwait

   POWERPERCEIVEENDFUNCTION:

      goto NEXTFUNCTION
      exit

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

MAGIC:

   save MAGICSOD

   counter set 0

   MAGICSODGETTOOLS:

   MAGICEXPCHECK0:
   MAGICEXPCHECK1:
   MAGICEXPCHECK2:
   MAGICEXPCHECK3:
   MAGICEXPCHECK4:

   MAGICMANACHECK:

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

      put mana

      Matchwait

   MAGICSOD:

      setvariable RETURNPOINTER MAGICSOD

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

      put prep SEAL OF DEFLECTION 5

      Matchwait

   MAGICSODCHARGEORB:

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

      put charge my %CAMBRINTHDEVICE 20

      Matchwait

   MAGICSODFOCUSORB:

      put focus my %CAMBRINTHDEVICE

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

   MAGICSOINCREASECOUNTER:

      counter add 1
      goto MAGICSODCAST

   MAGICSODCAST:

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

      put cast

      Matchwait

   MAGICSODNOTOOLS:

      save MAGICSODNOTOOLS

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

      put prep SEAL OF DEFLECTION 20

      Matchwait

   MAGICSODFULLPREP:

      waitfor You feel fully prepared
      goto MAGICSODCAST

   MAGICEXPCHECK5:
   MAGICEXPMAGIC:

      counter set 0

      Match MAGICEXPHARNESS mind lock
      Match MAGICMANACHECK EXP HELP for more information

      put exp skill primary magic

      Matchwait

   MAGICEXPHARNESS:

      Match MAGICEXPMAGDEVICES mind lock
      Match MAGICMANACHECK EXP HELP for more information

      put exp skill harness

      Matchwait

   MAGICEXPMAGDEVICES:

      Match MAGICSODSTOWTOOLS mind lock
      Match MAGICMANACHECK EXP HELP for more information

      put exp skill magical devices

      Matchwait

   MAGICSODSTOWTOOLS:

      goto NEXTFUNCTION
      exit

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

ASTROLOGY:

   ASTROLOGYDECLAREVARIABLES:

      setvariable TEMPBODYCOUNTER 0
      setvariable TEMPSKILLCOUNTER 0
      setvariable TEMPOBSCOUNTER 0

      ASTROLOGYCOUNTERSTART:

         counter set 0

      ASTROLOGYCOUNTERINCREASE:

         counter set %TEMPBODYCOUNTER
         counter add 1
         goto ASTROLOGYBODY%c

      ASTROLOGYBODY1:

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

      ASTROLOGYBODY2:

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

      ASTROLOGYBODY3:

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

      ASTROLOGYBODY4:

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

   ASTROLOGYPG:

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

      put stop hum
      put prep pg 30
      put predict weather

      Matchwait

   ASTROLOGYPGCAST:

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

      put cast

      Matchwait

   ASTROLOGYSTUDY:

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

      put %HUMTHISTUNE
      put STUDY %ASTROLOGYBODY

      Matchwait

   ASTROLOGYSTUDYFAIL:

      goto ASTROLOGYCOUNTERINCREASE

   ASTROLOGYOBSERVE1:

      pause

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

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

      put OBSERVE %ASTROLOGYBODY

      Matchwait

   ASTROLOGYALIGN:
   ASTROLOGYALIGN1:
   ASTROLOGYALIGN2:
 
      pause

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

      put ALIGN %ASTROLOGYSKILL%c
      counter add 1

      Matchwait

   ASTROLOGYTURNPRISM:

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

      put TURN PRISM

      Matchwait

   ASTROLOGYRAISEPRISM:

      setvariable ASTROLOGYPTR1 ASTROLOGYALIGN

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

      put RAISE PRISM

      Matchwait

   ASTROLOGYALIGN3:
   ASTROLOGYANALYZE:

      pause

      counter set 1
      setvariable ASTROLOGYPTR1 ASTROLOGYAPPRAISE

      Match ASTROLOGYANALYZE ...wait
      Match ASTROLOGYSTOWPRISM Roundtime

      put PREDICT ANALYZE

      Matchwait

   ASTROLOGYAPPRAISE:

      Match ASTROLOGYAPPRAISE ...wait
      Match ASTROLOGYSTOWPOUCH Roundtime

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

      Matchwait

   ASTROLOGYSTOWPOUCH:

      Match ASTROLOGYSTOWPOUCH ...wait
      Match ASTROLOGYWAIT You put your

      put put pouch in case in my cloak

      Matchwait

   ASTROLOGYOBSERVE2:

      counter subtract 2

   ASTROLOGYWAIT:

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

      counter add 1

      put predict event
      put study sky

      Matchwait

   EXPASTROLOGY:

      Match ASTROLOGYEND mind lock
      Match ASTROLOGYPG EXP HELP for more information

      put exp skill astrology

      Matchwait

   ASTROLOGYGETPRISM:

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

      put get prism

      Matchwait

   ASTROLOGYSTOWPRISM:

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

      put put prism in my cloak

      Matchwait

   ASTROLOGYRESETCOUNTER:

      counter set 1
      goto %ASTROLOGYPTR2

   ASTROLOGYEND1:

      echo ######################
      echo # FIND A PRISM FIRST #
      echo # Function ending    #
      echo ######################

      goto ASTROLOGYEND

   ASTROLOGYEND2:

      echo #################################
      echo # GO OUTSIDE UNDER THE OPEN SKY #
      echo # Function ending               #
      echo #################################

      goto ASTROLOGYEND

   ASTROLOGYBODY5:
   ASTROLOGYEND:
      goto NEXTFUNCTION
      exit

#end ASTROLOGY function
################################################################################
################################################################################
#begin GLOBALWEAPONRESET function

GLOBALWEAPONRESET:

   Match %s at you
   Match %s melee
   Matchwait

#end GLOBALWEAPONRESET function
################################################################################
################################################################################
#begin KILLHUMMING function

   KILLHUMMING:

      put stop hum

      goto %RETURNPOINTER

#end KILLHUMMING function
################################################################################
################################################################################
#begin KILLSPELLPREP function

   KILLSPELLPREP:

      put release

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

#end KILLSPELLPREP function
################################################################################
################################################################################

######################### SPELL PREPARATION FUNCTIONS ##########################

################################################################################
################################################################################
ANTIMAGIC:
BARRIERSPELLS:
BARRIER:

   BARRIERSPELL1:

   setvariable SPELLRETURNPOINTER BARRIERSPELL2
   goto GPSY

   BARRIERSPELL2:

   setvariable SPELLRETURNPOINTER BARRIERSPELL3
   goto GSOD

   BARRIERSPELL3:

   setvariable SPELLRETURNPOINTER NEXTFUNCTION
   goto GSHEAR

################################################################################
################################################################################
#cap is 69 mana TENEBROUS SENSE SPELL

GTENEBROUSSENSE:
GTS:

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

GTENEBROUSSENSEAT:
GTSAT:

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

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

GWHOLEDISPLACEMENT:
GWD:

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

GWHOLEDISPLACEMENTAT:
GWDAT:

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

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

GTKTAT:

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

################################################################################
################################################################################
#cap is 45 mana TELEKINETIC STORM SPELL

GTKS:
GTSK:

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

################################################################################
################################################################################
#cap is 60 mana SHEAR SPELL

GSHEAR:

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

################################################################################
################################################################################
#cap is 50 mana DARKNESS SPELL

GDARKNESS:
GDARK:

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

################################################################################
################################################################################
#cap is 52 mana SHADOW WEB SPELL

GSHADOWWEB:
GWEB:

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


################################################################################
################################################################################
#cap is 33 mana PARTIAL DISPLACEMENT SPELL

GPDAT:

shift
setvariable SPELLTOPREP PARTIAL DISPLAC
setvariable SPELLBASEMANA 15
setvariable SPELLMANAHARNESS 18
setvariable SPELLMANAINCREMENTS 1
setvariable GLOBALSPELLTARGET %1
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP

################################################################################
################################################################################
#cap is 75 mana IMBUE SPELL

GIMBUEAT:

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

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

GDOAT:

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

################################################################################
################################################################################
#cap is 36 mana CRYSTAL SPIKE SPELL

GCRSAT:

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

################################################################################
################################################################################
#cap is 50 mana CLARIFY GEM SPELL

GCGAT:

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

################################################################################
################################################################################
#cap is 42 mana BURN SPELL

GBURNAT:

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

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

GUNLEASHAT:

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

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

GPIERCINGGAZE:
GPG:

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

GPIERCINGGAZEAT:
GPGAT:

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

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

GCLEARVISION:
GCV:

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

GCLEARVISIONAT:
GCVAT:

shift
setvariable SPELLTOPREP CLEAR VISION
setvariable SPELLBASEMANA 20
setvariable SPELLMANAHARNESS 25
setvariable SPELLMANAINCREMENTS 2
setvariable GLOBALSPELLTARGET %1
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP

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

GAUS:

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

GAUSAT:

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

################################################################################
################################################################################
#cap is 73 mana SHADOWLING SPELL

GSHADOWLING:

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

################################################################################
################################################################################
#cap is 54 mana SHADOW SERVANT SPELL

GSHADOWSERVANTPYRAMIDS:

setvariable SPELLRETURNPOINTER GSHADOWSERVANTGETPYRAMIDS

GSHADOWSERVANT:

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

   GSHADOWSERVANTGETPYRAMIDS:

      save NEXTFUNCTION

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

      put ask servant for pyramid

      Matchwait

   GSHADOWSERVANTDROPPYRAMIDS:

      match GSHADOWSERVANTDROPPYRAMIDS ...wait
      match GSHADOWSERVANTGETPYRAMIDS You drop

      put drop pyramid

      Matchwait

   goto NEXTFUNCTION

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

GSLSAT:

shift
setvariable SPELLTOPREP STARLIGHT SPHERE
setvariable SPELLBASEMANA 20
setvariable SPELLMANAHARNESS 20
setvariable SPELLMANAINCREMENTS 1
setvariable GLOBALSPELLTARGET %1
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP

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

GSAAT:

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

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

GPSY:

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

GPSYAT:

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

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

GSOD:

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

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

GSEVERTHREADAT:
GSEVERAT:

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

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

GLOCATE:
GLOC:

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

GLOCATEAT:
GLOCAT:

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

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

GMENTALBLASTAT:
GMBAT:

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

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

GTEZIRAHSVEILAT:
GTVAT:

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

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

GRIPPLE:
GRIP:

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

################################################################################
################################################################################
#cap is 60 mana DAZZLE SPELL

GDAZZLE:
GDAZ:

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

GDAZZLEAT:
GDAZAT:

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

################################################################################
################################################################################
#cap is 60 mana SHADOWS SPELL

GSHADOWS:
GSHAD:

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

GSHADOWSAT:
GSHADAT:

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

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

GSEERSSENSE:
GSEERS:
GSEER:

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

GSEERSSENSEAT:
GSEERSAT:
GSEERAT:

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

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

GFOCUSMOONBEAMAT:
GFMAT:

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

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

GCONTINGENCYAT:

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

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

GCAGEOFLIGHT:
GCOLAT:

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

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

GDISTANTGAZEAT:
GDGAT:

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

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

GEASE:

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

GEASEAT:

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

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

GSOP:

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

GSOPAT:

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

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

GES:

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

GESAT:

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

################################################################################
################################################################################
#begin GLOBAL SPELLCASTING FUNCTION

GLOBALSPELLPREP:

   setvariable RETURNPOINTER GSPELLPREP
   counter set %SPELLMANAINCREMENTS

   GSPELLPREP:

      Match GSPELLPREP ...wait
      Match KILLHUMMING You should stop playing
      Match KILLSPELLPREP You are already preparing
      Match KILLSPELLPREP You have to strain
      Match GSPELLPREPFULLPREP %SPELLPREPMESSAGE

      put prep %SPELLTOPREP %SPELLBASEMANA

      Matchwait

   GSPELLPREPFULLPREP:

      waitfor You feel fully prepared
      goto GSPELLPREPMANACHECK

   GSPELLPREPMANACHECK:

      Match %SPELLRETURNPOINTER S>>>>>>>|_
      Match %SPELLRETURNPOINTER S>>>>>>|_
      Match %SPELLRETURNPOINTER S>>>>>|_
      Match %SPELLRETURNPOINTER S>>>>|_
      Match %SPELLRETURNPOINTER S>>>|_
      Match %SPELLRETURNPOINTER S>>|_
      Match %SPELLRETURNPOINTER S>|_
      Match %SPELLRETURNPOINTER S|_
      Match GSPELLPREPHARNESS%c MANA HELP

      put mana

      Matchwait

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

      put harness %SPELLMANAHARNESS

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

   GSPELLPREPUPDATECOUNTER:

      counter subtract 1

      goto GSPELLPREPMANACHECK

   GSPELLPREPHARNESS0:

   GSPELLPREPSPELLCAST:

      Match GSPELLPREPSPELLCAST ...wait
      Match GSPELLPREPFINISH You gesture

      put cast %GLOBALSPELLTARGET

      Matchwait

   GSPELLPREPFINISH:

      put %SPELLADDITIONALCOMMAND
      goto %SPELLRETURNPOINTER

#end GLOBAL SPELLPREP FUNCTION
################################################################################
################################################################################

#############################INFORMATIONAL SCRIPTS##############################

################################################################################
################################################################################

TIMERS:

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

################################################################################
################################################################################

#################################TRAVEL SCRIPTS#################################

################################################################################
################################################################################

TRAVEL:

   setvariable STARTINGLOCATION none
   counter set 0

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

   put look

   Matchwait

   CROSSINGLOCATION:

      setvariable STARTINGLOCATION CROSSING
      counter set 1
      goto SELECTLOCATION

   CROSSINGLOCATIONADJUST:

      move go door
      goto TRAVEL

   AESRYLOCATION:

      setvariable STARTINGLOCATION AESRY
      counter set 2
      goto SELECTLOCATION

   AESRYLOCATIONADJUST:

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

   SHARDLOCATION:

      setvariable STARTINGLOCATION SHARD
      counter set 3
      goto SELECTLOCATION

   SHARDLOCATIONADJUST:

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

   MERKRESHLOCATION:

      setvariable STARTINGLOCATION MER'KRESH
      counter set 4
      goto SELECTLOCATION

   MERKRESHLOCATIONADJUST:

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

   RIVERHAVENLOCATION:

      setvariable STARTINGLOCATION RIVERHAVEN
      counter set 5
      goto SELECTLOCATION

   RIVERHAVENLOCATIONADJUST:

      move go gate
      move se
      move climb stair
      move go door
      goto TRAVEL

   RATHALOCATION:

      setvariable STARTINGLOCATION RATHA
      counter set 6
      goto SELECTLOCATION

   RATHALOCATIONADJUST:

      move go door
      move e
      goto TRAVEL

   ELBAINSLOCATION:

      setvariable STARTINGLOCATION ELBAIN'S
      counter set 7
      goto SELECTLOCATION

   ELBAINSLOCATIONADJUST:

      move go tree
      move s
      move s
      goto TRAVEL

   MUSPARILOCATION:

      setvariable STARTINGLOCATION MUSPAR'I
      counter set 8
      goto SELECTLOCATION

   MUSPARILOCATIONADJUST:

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

   HIBLOCATION:

      setvariable STARTINGLOCATION HIBARNHVIDAR
      counter set 9
      goto SELECTLOCATION

   HIBLOCATIONADJUST:

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

   SELECTLOCATION:

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

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

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

      Matchwait     

   1CROSSING:

      ECHO #####################
      ECHO #Already in CROSSING#
      ECHO #####################
      exit

   1AESRY:

      move go portal
      exit

   1SHARD:

      move go portal

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

   1MERKRESH:

      move go portal

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

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

   1RIVERHAVEN:

      move go portal

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

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

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

   1RATHA:

      move go portal

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

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

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

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

   1ELBAINS:

      move go portal

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

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

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

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

      move go door
      move e
      move go portal
      exit

   1MUSPARI:

      move go portal

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

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

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

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

      move go door
      move e
      move go portal

      move go tree
      move s
      move s
      move go portal
      exit

   1HIBARN:

      move go portal

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

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

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

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

      move go door
      move e
      move go portal

      move go tree
      move s
      move s
      move go portal

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

   2CROSSING:

      move go portal

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

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

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

      move go door
      move e
      move go portal

      move go tree
      move s
      move s
      move go portal

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

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

   2AESRY:

      ECHO #####################
      ECHO ###Already in AESRY##
      ECHO #####################
      exit

   2SHARD:

      move go portal
      exit

   2MERKRESH:

      move go portal

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

   2RIVERHAVEN:

      move go portal

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

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

   2RATHA:

      move go portal

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

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

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

   2ELBAINS:

      move go portal

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

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

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

      move go door
      move e
      move go portal
      exit

   2MUSPARI:

      move go portal

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

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

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

      move go door
      move e
      move go portal

      move go tree
      move s
      move s
      move go portal
      exit

   2HIBARN:

      move go portal

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

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

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

      move go door
      move e
      move go portal

      move go tree
      move s
      move s
      move go portal

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

   3CROSSING:

      move go portal

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

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

      move go door
      move e
      move go portal

      move go tree
      move s
      move s
      move go portal

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

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

   3AESRY:

      move go portal

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

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

      move go door
      move e
      move go portal

      move go tree
      move s
      move s
      move go portal

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

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

      move go door
      move go portal
      exit

   3SHARD:

      ECHO #####################
      ECHO ###Already in SHARD##
      ECHO #####################
      exit

   3MERKRESH:

      move go portal
      exit

   3RIVERHAVEN:

      move go portal

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

   3RATHA:

      move go portal

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

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

   3ELBAINS:

      move go portal

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

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

      move go door
      move e
      move go portal
      exit

   3MUSPARI:

      move go portal

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

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

      move go door
      move e
      move go portal

      move go tree
      move s
      move s
      move go portal
      exit

   3HIBARN:

      move go portal

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

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

      move go door
      move e
      move go portal

      move go tree
      move s
      move s
      move go portal

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

   4CROSSING:

      move go portal

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

      move go door
      move e
      move go portal

      move go tree
      move s
      move s
      move go portal

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

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

   4AESRY:

      move go portal

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

      move go door
      move e
      move go portal

      move go tree
      move s
      move s
      move go portal

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

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

      move go door
      move go portal
      exit

   4SHARD:

      move go portal

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

      move go door
      move e
      move go portal

      move go tree
      move s
      move s
      move go portal

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

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

      move go door
      move go portal

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

   4MERKRESH:

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

   4RIVERHAVEN:

      move go portal
      exit

   4RATHA:

      move go portal

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

   4ELBAINS:

      move go portal

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

      move go door
      move e
      move go portal
      exit

   4MUSPARI:

      move go portal

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

      move go door
      move e
      move go portal

      move go tree
      move s
      move s
      move go portal
      exit

   4HIBARN:

      move go portal

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

      move go door
      move e
      move go portal

      move go tree
      move s
      move s
      move go portal

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

   5CROSSING:

      move go portal

      move go door
      move e
      move go portal

      move go tree
      move s
      move s
      move go portal

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

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

   5AESRY:

      move go portal

      move go door
      move e
      move go portal

      move go tree
      move s
      move s
      move go portal

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

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

      move go door
      move go portal
      exit

   5SHARD:

      move go portal

      move go door
      move e
      move go portal

      move go tree
      move s
      move s
      move go portal

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

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

      move go door
      move go portal

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

   5MERKRESH:

      move go portal

      move go door
      move e
      move go portal

      move go tree
      move s
      move s
      move go portal

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

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

      move go door
      move go portal

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

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

   5RIVERHAVEN:

      ECHO ###########################
      ECHO ###Already in RIVERHAVEN###
      ECHO ###########################
      exit

   5RATHA:

      move go portal
      exit

   5ELBAINS:

      move go portal

      move go door
      move e
      move go portal
      exit

   5MUSPARI:

      move go portal

      move go door
      move e
      move go portal

      move go tree
      move s
      move s
      move go portal
      exit

   5HIBARN:

      move go portal

      move go door
      move e
      move go portal

      move go tree
      move s
      move s
      move go portal

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

   6CROSSING:

      move go portal

      move go tree
      move s
      move s
      move go portal

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

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

   6AESRY:

      move go portal

      move go tree
      move s
      move s
      move go portal

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

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

      move go door
      move go portal
      exit

   6SHARD:

      move go portal

      move go tree
      move s
      move s
      move go portal

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

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

      move go door
      move go portal

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

   6MERKRESH:

      move go portal

      move go tree
      move s
      move s
      move go portal

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

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

      move go door
      move go portal

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

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

   6RIVERHAVEN:

      move go portal

      move go tree
      move s
      move s
      move go portal

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

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

      move go door
      move go portal

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

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

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

   6RATHA:

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

   6ELBAINS:

      move go portal
      exit

   6MUSPARI:

      move go portal

      move go tree
      move s
      move s
      move go portal
      exit

   6HIBARN:

      move go portal

      move go tree
      move s
      move s
      move go portal

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

   7CROSSING:

      move go portal

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

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

   7AESRY:

      move go portal

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

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

      move go door
      move go portal
      exit

   7SHARD:

      move go portal

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

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

      move go door
      move go portal

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

   7MERKRESH:

      move go portal

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

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

      move go door
      move go portal

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

   7RIVERHAVEN:

      move go portal

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

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

      move go door
      move go portal

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

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

   7RATHA:

      move go portal

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

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

      move go door
      move go portal

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

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

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

   7ELBAINS:

      ECHO ########################
      ECHO ###Already in ELBAINS###
      ECHO ########################
      exit

   7MUSPARI:

      move go portal
      exit

   7HIBARN:

      move go portal

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

   8CROSSING:

      move go portal

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

   8AESRY:

      move go portal

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

      move go door
      move go portal
      exit

   8SHARD:

      move go portal

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

      move go door
      move go portal

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

   8MERKRESH:

      move go portal

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

      move go door
      move go portal

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

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

   8RIVERHAVEN:

      move go portal

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

      move go door
      move go portal

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

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

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

   8RATHA:

      move go portal

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

      move go door
      move go portal

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

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

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

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

   8ELBAINS:

      move go portal

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

      move go door
      move go portal

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

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

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

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

      move go door
      move e
      move go portal
      exit

   8MUSPARI:

      ECHO ########################
      ECHO ###Already in MUSPARI###
      ECHO ########################
      exit

   8HIBARN:

      move go portal
      exit

   9CROSSING:

      move go portal
      exit

   9AESRY:

      move go portal

      move go door
      move go portal
      exit

   9SHARD:

      move go portal

      move go door
      move go portal

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

   9MERKRESH:

      move go portal

      move go door
      move go portal

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

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

   9RIVERHAVEN:

      move go portal

      move go door
      move go portal

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

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

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

   9RATHA:

      move go portal

      move go door
      move go portal

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

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

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

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

   9ELBAINS:

      move go portal

      move go door
      move go portal

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

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

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

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

      move go door
      move e
      move go portal
      exit

   9MUSPARI:

      move go portal

      move go door
      move go portal

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

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

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

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

      move go door
      move e
      move go portal

      move go tree
      move s
      move s
      move go portal
      exit

   9HIBARN:

      ECHO ####################
      ECHO ###Already in HIB###
      ECHO ####################
      exit

##################################################################################

      ECHO #########################################################
      ECHO Please select your destination from the following:
      ECHO CROSSING
      ECHO AESRY
      ECHO SHARD
      ECHO MERKRESH
      ECHO RIVERHAVEN
      ECHO RATHA
      ECHO ELBAINS
      ECHO MUSPARI
      ECHO HIBARN
      ECHO Simply say outloud where you wish to go (ie say SHARD) and 
      ECHO capitalize the location!
      ECHO ##########################################################

      ECHO #####################
      ECHO ###Already in ###
      ECHO #####################
      exit

#(crossing arrival)

      move go door
      move go portal

#(crossing departure)
#(aesry arrival)

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

#(aesry departure)
#(shard arrival)

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

#(shard departure)
#(merkeresh arrival)

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

#(merkeresh departure)
#(riverhaven arrival)

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

#(riverhaven departure)
#(ratha arrival)

      move go door
      move e
      move go portal

#(ratha departure)
#(elbains arrival)

      move go tree
      move s
      move s
      move go portal

#(ebains departure)
#(muspari arrival)

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

#(muspari departure)
#(hibarn arrival)

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

#(hibarn departure)
#(crossing arrival)

      exit
################################################################################
################################################################################

################################UTILITY SCRIPTS#################################

################################################################################
################################################################################
#begin RPA function

RPA:

shift

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

exit

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

CLARIFYGEMS:

   SETVARIABLE GEMLOCATION red pouch in haversack
   SETVARIABLE GEMSTORAGE
   SETVARIABLE GEMTYPE

   CLARIFYGEMSCASTAUS:

      setvariable SPELLRETURNPOINTER CLARIFYGEMSCASTPG

      goto GAUS

   CLARIFYGEMSCASTPG:

      setvariable SPELLRETURNPOINTER CLARIFYGEMSIDGEM

      goto GPG

CLARIFYGEMSNOSPELLS:
   CLARIFYGEMSIDGEM:

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

      put look in %GEMLOCATION

      Matchwait

   SAVESTARSTONE:

      setvariable GEMTYPE star
      goto CLARIFYGEMSGETGEM

   SAVEEMERALD:

      setvariable GEMTYPE emerald
      goto CLARIFYGEMSGETGEM

   SAVEALEXANDRITE:

      setvariable GEMTYPE alexandrite
      goto CLARIFYGEMSGETGEM

   SAVEAMETHYST:

      setvariable GEMTYPE amethyst
      goto CLARIFYGEMSGETGEM

   SAVECHRYSOBERYL:

      setvariable GEMTYPE chrysoberyl
      goto CLARIFYGEMSGETGEM


   SAVETURQUOISE:

      setvariable GEMTYPE turquoise
      goto CLARIFYGEMSGETGEM

   SAVEIOLITE:

      setvariable GEMTYPE iolite
      goto CLARIFYGEMSGETGEM

   SAVEAMBER:

      setvariable GEMTYPE amber
      goto CLARIFYGEMSGETGEM

   SAVEBERYL:

      setvariable GEMTYPE beryl
      goto CLARIFYGEMSGETGEM

   SAVECHRYSOPRASE:

      setvariable GEMTYPE chrysoprase
      goto CLARIFYGEMSGETGEM

   SAVEDIOPSIDE:

      setvariable GEMTYPE diopside
      goto CLARIFYGEMSGETGEM

   SAVETOURMALINE:

      setvariable GEMTYPE tourmaline
      goto CLARIFYGEMSGETGEM

   SAVECHALCEDONY:

      setvariable GEMTYPE chalcedony
      goto CLARIFYGEMSGETGEM

   SAVEPERIDOT:

      setvariable GEMTYPE peridot
      goto CLARIFYGEMSGETGEM

   SAVEANDALUSITE:

      setvariable GEMTYPE andalusite
      goto CLARIFYGEMSGETGEM

   SAVEPEARL:

      setvariable GEMTYPE pearl
      goto CLARIFYGEMSGETGEM

   SAVELAZULI:

      setvariable GEMTYPE lazuli
      goto CLARIFYGEMSGETGEM

   SAVECRYSTAL:

      setvariable GEMTYPE crystal
      goto CLARIFYGEMSGETGEM

   SAVESPINEL:

      setvariable GEMTYPE spinel
      goto CLARIFYGEMSGETGEM

   SAVETOPAZ:

      setvariable GEMTYPE topaz
      goto CLARIFYGEMSGETGEM

   SAVEZIRCON:

      setvariable GEMTYPE zircon
      goto CLARIFYGEMSGETGEM

   SAVESAPPHIRE:

      setvariable GEMTYPE sapphire
      goto CLARIFYGEMSGETGEM

   SAVECITRINE:

      setvariable GEMTYPE citrine
      goto CLARIFYGEMSGETGEM

   SAVEHEMATITE:

      setvariable GEMTYPE hematite
      goto CLARIFYGEMSGETGEM

   SAVETSAVORITE:

      setvariable GEMTYPE tsavorite
      goto CLARIFYGEMSGETGEM

   SAVEAGATE:

      setvariable GEMTYPE agate
      goto CLARIFYGEMSGETGEM

   SAVEKUNZITE:

      setvariable GEMTYPE kunzite
      goto CLARIFYGEMSGETGEM

   SAVEONYX:

      setvariable GEMTYPE onyx
      goto CLARIFYGEMSGETGEM

   SAVESUNSTONE:

      setvariable GEMTYPE sunstone
      goto CLARIFYGEMSGETGEM

   SAVEMOONSTONE:

      setvariable GEMTYPE moonstone
      goto CLARIFYGEMSGETGEM

   SAVEAQUAMARINE:

      setvariable GEMTYPE aquamarine
      goto CLARIFYGEMSGETGEM

   SAVECORAL:

      setvariable GEMTYPE coral
      goto CLARIFYGEMSGETGEM

   SAVECARNELIAN:

      setvariable GEMTYPE carnelian
      goto CLARIFYGEMSGETGEM

   SAVETANZANITE:

      setvariable GEMTYPE tanzanite
      goto CLARIFYGEMSGETGEM

   SAVEMORGANITE:

      setvariable GEMTYPE morganite
      goto CLARIFYGEMSGETGEM

   SAVEGARNET:

      setvariable GEMTYPE garnet
      goto CLARIFYGEMSGETGEM

   SAVEJADE:

      setvariable GEMTYPE jade
      goto CLARIFYGEMSGETGEM

   SAVEQUARTZ:

      setvariable GEMTYPE quartz
      goto CLARIFYGEMSGETGEM

   SAVEBLOODSTONE:

      setvariable GEMTYPE bloodstone
      goto CLARIFYGEMSGETGEM

   SAVERUBY:

      setvariable GEMTYPE ruby
      goto CLARIFYGEMSGETGEM

   CLARIFYGEMSGETGEM:

      Match CLARIFYGEMSGETGEM ...wait
      Match CLARIFYGEMSSORTSIZEHUGE large
      Match CLARIFYGEMSSORTSIZEHUGE huge
      Match CLARIFYGEMSSORTSIZENORMAL medium
      Match CLARIFYGEMSSORTSIZENORMAL small
      Match CLARIFYGEMSSORTSIZENORMAL tiny
      Match CLARIFYGEMSIDGEM What were you referring to?
      Match CLARIFYGEMSNOHANDS You need a free hand to pick that up.

      put get %GEMTYPE from %GEMLOCATION

      Matchwait

   CLARIFYGEMSSORTSIZEHUGE:

      setvariable GEMSTORAGE purple pouch in haversack
      goto CLARIFYGEMSPREPCG

   CLARIFYGEMSSORTSIZENORMAL:

      setvariable GEMSTORAGE black pouch in haversack
      goto CLARIFYGEMSPREPCG

   CLARIFYGEMSPREPCG:

      setvariable RETURNPOINTER CLARIFYGEMSHARNESSMANA1

      Match CLARIFYGEMSPREPCG ...wait
      Match CLARIFYGEMSWAITTOCAST %SPELLPREPMESSAGE

      put prep clarify gem 10

      Matchwait

   CLARIFYGEMSWAITTOCAST:

      pause 15

   CLARIFYGEMSCHECKMANA:

      Match CLARIFYGEMSOUTOFMANA S>>>>>>>>|_
      Match CLARIFYGEMSOUTOFMANA S>>>>>>>|_
      Match CLARIFYGEMSOUTOFMANA S>>>>>>|_
      Match CLARIFYGEMSOUTOFMANA S>>>>>|_
      Match CLARIFYGEMSOUTOFMANA S>>>>|_
      Match CLARIFYGEMSOUTOFMANA S>>>|_
      Match CLARIFYGEMSOUTOFMANA S>>|_
      Match CLARIFYGEMSOUTOFMANA S>|_
      Match CLARIFYGEMSOUTOFMANA S|_
      Match %RETURNPOINTER MANA HELP

      put mana

      Matchwait

   CLARIFYGEMSHARNESSMANA1:

      setvariable RETURNPOINTER CLARIFYGEMSHARNESSMANA2

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

      put harn 20

      Matchwait

   CLARIFYGEMSHARNESSMANA2:

      setvariable RETURNPOINTER NEXTFUNCTION

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

      put harn 20

      Matchwait

   CLARIFYGEMSCASTCG:

      Match CLARIFYGEMSCASTCG ...wait
      Match CLARIFYGEMSIDGEM I could not find what you were referring to.
      Match CLARIFYGEMSSTOREGEM 4 seconds.
      Match CLARIFYGEMSSTOREGEM gleams with new luster.
      Match CLARIFYGEMSNOMOONS You need a visible moon for this.
      Match CLARIFYGEMSCASTPG 6 seconds.
      Match CLARIFYGEMSCASTPG Without insight of the
      Match CLARIFYGEMSGETGEM shatters!

      put cast my %GEMTYPE

      Matchwait

   CLARIFYGEMSSTOREGEM:

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

      put put my %GEMTYPE in %GEMSTORAGE

      Matchwait

   CLARIFYGEMSNOHANDS:

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

      exit

   CLARIFYGEMSOUTOFMANA:

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

      exit

   CLARIFYGEMSNOMOONS:

      Match CLARIFYGEMSNOMOONS ...wait
      Match CLARIFYGEMSNOMOONSMSG You put your

      put put my %GEMTYPE in %GEMLOCATION

      Matchwait

      CLARIFYGEMSNOMOONSMSG:

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

         exit

   CLARIFYGEMSUNKNOWNERROR:

      echo =======================================================
      echo ==Either the gem shattered and the script did not see==
      echo ==it, or your storage location is not valid.         ==
      echo ==Abrupt ending.                                     ==
      echo =======================================================

      exit

#end CLARIFYGEMS function
################################################################################
################################################################################
#begin MAKEROPE function

MAKEROPE:

   counter set %2

   MAKEROPE1:
   MAKEROPE2:
   MAKEROPE3:
   MAKEROPE4:
   MAKEROPE5:

      MAKEROPEFORAGEGRASS:

         put forage grass

         Match MAKEROPEFORAGEGRASS ...wait
         Match MAKEROPEBRAIDGRASS find some grass
         Match MAKEROPEFORAGEGRASS Roundtime
         Matchwait

      MAKEROPEBRAIDGRASS:

         put braid my grass

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

      MAKEROPEPULLGRASS:

         put pull my grass

         Match MAKEROPEPULLGRASS ...wait
         Match MAKEROPEPULLGRASS Roundtime
         Match MAKEROPESTOREROPE new bundling rope
         Matchwait

      MAKEROPESTOREROPE:

         put put my rope in my %LARGESTORAGECONTAINER

         counter subtract 1

         goto MAKEROPE%c

   MAKEROPE0:

      goto NEXTFUNCTION

#end MAKEROPE function
################################################################################
################################################################################
#begin HERB listing function

HERB:
HERBS:

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

   HERBEND:

      goto NEXTFUNCTION

################################################################################
################################################################################
#begin NEXTFUNCTION

NEXTFUNCTION:

   shift
   goto %1