Training (script): Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(8 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?
setvariable RETURNPOINTER %s%


put get %TOTALCOMPENDIUMS compendium from %LARGESTORAGECONTAINER
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 prep SHADOWS 30
put get %PERCEPTIONMATERIAL


Match GSHADOWSPREPSPELL ...wait
Match PERCEPTIONGETTOOLS ...wait
Match KILLHUMMING You should stop playing
Match PERCEPTIONWORK You get
Match KILLSPELLPREP You are already preparing
Match PERCEPTIONWORK already holding that
Match KILLSPELLPREP You have to strain
Match NEXTFUNCTION could not find what
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
GSHADOWSHARNESS3:
GSHADOWSHARNESS4:
GSHADOWSHARNESS5:
GSHADOWSHARNESS6:
GSHADOWSHARNESS7:
GSHADOWSHARNESS8:
GSHADOWSHARNESS9:
GSHADOWSHARNESS10:

GSHADOWSSPELLCAST:

counter set 0

put cast %GLOBALSPELLTARGET%

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


PERCEPTIONSTOWTOOLS:
GSHADOWSSPELLAT:
GSHADOWSAT:


put put %PERCEPTIONMATERIAL in my %LARGESTORAGECONTAINER
if_2 setvariable GLOBALSPELLTARGET %2%
goto GSHADOWSSPELL


put %HUMTHISTUNE
#end GLOBAL SHADOWS v2 function (THIS FUNCTION HAS BEEN FIXED2)
waitfor finish humming
==================================================================================
==================================================================================
#begin GLOBAL SEER'S SENSE v2 function (THIS FUNCTION HAS BEEN FIXED2)


goto NEXTFUNCTION
GSEERSSENSE:
GSEERS:


#end PERCEPTION function
GSEER:
################################################################################
################################################################################
#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:
setvariable RETURNPOINTER GSEERPREPSPELL


FORAGINGDECLAREVARIABLES:
GSEERPREPSPELL:


setvariable ITEM1 stem
counter set 1
setvariable ITEM2 rock
counter set 0


FORAGINGCOUNTERINCREASE:
put prep SEER SENSE 26

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

GSEERFULLPREP:

waitfor You feel fully prepared

setvariable RETURNPOINTER %s%

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

GSEERUPDATECOUNTER:


counter add 1
counter add 1
goto FORAGINGHUM%c


FORAGINGHUM:
goto GSEERHARNESS%c%
FORAGINGHUM1:
FORAGINGHUM2:


put %HUMTHISTUNE
GSEERHARNESS3:
goto FORAGINGKICKPILE
GSEERHARNESS4:
GSEERHARNESS5:
GSEERHARNESS6:
GSEERHARNESS7:
GSEERHARNESS8:
GSEERHARNESS9:
GSEERHARNESS10:


FORAGINGKICKPILE:
GSEERSPELLCAST:


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


put cast %GLOBALSPELLTARGET%
put kick pile


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


GSEERSSENSEAT:
FORAGINGSTART:
GSEERSAT:
GSEERAT:


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


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


GSHADOWLINGSPELL:

GSHADOWLING:

setvariable RETURNPOINTER GSHADOWLINGPREPSPELL

GSHADOWLINGPREPSPELL:

counter set 1

put prep SHADOWLING 30

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
Matchwait


FORAGINGCLUTTER:
GSHADOWLINGFULLPREP:


pause 2
waitfor You feel fully prepared
goto FORAGINGKICKPILE


EXPFORAGING:
setvariable RETURNPOINTER %s%


Match FORAGINGEND mind lock
GSHADOWLINGHARNESS1:
Match FORAGINGHUM EXP HELP for more information
GSHADOWLINGHARNESS2:


put harness 15
put exp skill perception


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


FORAGINGHUM3:
GSHADOWLINGUPDATECOUNTER:
FORAGINGEND:


counter add 1
goto NEXTFUNCTION
exit


#end FORAGING function
goto GSHADOWLINGHARNESS%c%
################################################################################
################################################################################
LE:


setvariable COMBATMOVE1 DODGE
GSHADOWLINGHARNESS3:
setvariable COMBATMOVE2 FEINT %2
GSHADOWLINGHARNESS4:
setvariable COMBATMOVE3 DRAW %2
GSHADOWLINGHARNESS5:
setvariable COMBATMOVE4 SLICE %2
GSHADOWLINGHARNESS6:
setvariable COMBATMOVE5 CHOP %2
GSHADOWLINGHARNESS7:
setvariable COMBATMOVE6 ENC
GSHADOWLINGHARNESS8:
GSHADOWLINGHARNESS9:
GSHADOWLINGHARNESS10:


counter set 1
GSHADOWLINGSPELLCAST:


goto WIELDWEAPON
counter set 0


################################################################################
put cast
################################################################################
ME:
HE:
2HE:


setvariable COMBATMOVE1 DODGE
Match GSHADOWLINGSPELLCAST ...wait
setvariable COMBATMOVE2 FEINT
Match %s% You gesture
setvariable COMBATMOVE3 DRAW
Matchwait
setvariable COMBATMOVE4 SWEEP
setvariable COMBATMOVE5 SLICE
setvariable COMBATMOVE6 CHOP
setvariable COMBATMOVE7 SLICE
setvariable COMBATMOVE8 CHOP
setvariable COMBATMOVE9 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:
################################################################################
LB:
MB:
HB:
2HB:


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


counter set 1
GSHADOWSERVANTPREPSPELL:


goto WIELDWEAPON
counter set 1


################################################################################
put prep SHADOW SERVANT 44
################################################################################
BRAWLING:


setvariable COMBATMOVE1 DODGE
Match GSHADOWSERVANTPREPSPELL ...wait
setvariable COMBATMOVE2 FEINT
Match KILLHUMMING You should stop playing
setvariable COMBATMOVE3 SWEEP
Match KILLSPELLPREP You are already preparing
setvariable COMBATMOVE4 KICK
Match KILLSPELLPREP You have to strain
setvariable COMBATMOVE5 SLICE
Match GSHADOWSERVANTFULLPREP %SPELLPREPMESSAGE%
setvariable COMBATMOVE6 GOUGE
Matchwait
setvariable COMBATMOVE7 ELBOW
setvariable COMBATMOVE8 ENC


counter set 1
GSHADOWSERVANTFULLPREP:


goto WIELDWEAPON
waitfor You feel fully prepared


################################################################################
setvariable RETURNPOINTER %s%
################################################################################
PIKE:


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


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


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


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


counter set 1
goto GSHADOWSERVANTHARNESS%c%


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


################################################################################
GSHADOWSERVANTSPELLCAST:
################################################################################
HALBERD:


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


put cast
counter set 1


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


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


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


counter set 1
goto GSHADOWSERVANT


goto WIELDWEAPON
GSHADOWSERVANTGETPYRAMIDS:


################################################################################
save NEXTFUNCTION
################################################################################
#begin WIELDWEAPON function


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


counter set 1
put ask servant for pyramid


Matchwait
goto WIELDWEAPON


WIELDWEAPONADDCOUNTER:
GSHADOWSERVANTDROPPYRAMIDS:


counter add 1
match GSHADOWSERVANTDROPPYRAMIDS ...wait
match GSHADOWSERVANTGETPYRAMIDS You drop


goto WIELDWEAPON
put drop pyramid


WIELDWEAPON:
Matchwait


Match WIELDWEAPON ...wait
#end GLOBAL SHADOW SERVANT v2 function (THIS FUNCTION HAS BEEN FIXED2)
Match WIELDWEAPONADDCOUNTER You feint
==================================================================================
Match WIELDWEAPONADDCOUNTER You jab
==================================================================================
Match WIELDWEAPONADDCOUNTER You step backward and
#begin GLOBAL STARLIGHT SPHERE v2 function (THIS FUNCTION HAS BEEN FIXED2)
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
GSTARLIGHTSPHERE:


GSLS:
Matchwait


WIELDWEAPONWAITTARGET:
setvariable RETURNPOINTER GSLSPREPSPELL


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


put time
put ASSES


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


WIELDWEAPONADVANCE:
GSLSPREPSPELL:


Match WIELDWEAPONADVANCE ...wait
counter set 1
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 prep STARLIGHT SPHERE 20
put ADVANCE


Matchwait
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


WIELDWEAPONWAITLONGER:
GSLSFULLPREP:


Match WIELDWEAPONADVANCE begins to advance on you!
waitfor You feel fully prepared
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
setvariable RETURNPOINTER %s%


################################################################################
GSLSHARNESS1:
################################################################################
#begin LOCKPICKING function


LOCKPICKING:
put harness 10


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


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


counter add 1
# put get lockpick


goto GSLSHARNESS%c%
# Matchwait


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


put %HUMTHISTUNE
GSLSSPELLCAST:


counter set 0
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 cast RAVEN
put pick my %2 blind


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


LOCKPICKINGEXPCHECK:
GSLSSPELLFAIL:


Match LOCKPICKINGSTOWTOOLS mind lock
echo ============================================
Match LOCKPICKINGPICK EXP HELP
echo = =
echo = The spell Starlight Sphere cannot be =
echo = cast during the day. Try again at night. =
echo = =
echo ============================================


goto %s%
put exp skill lock


#end GLOBAL STARLIGHT SPHERE v2 function (THIS FUNCTION HAS BEEN FIXED2)
==================================================================================
==================================================================================
#begin GLOBAL PSYCHIC SHIELD v2 function (THIS FUNCTION HAS BEEN FIXED2)

GPSYCHICSHIELD:

GPSY:

setvariable RETURNPOINTER GPSYPREPSPELL

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


LOCKPICKINGNOTOOLS:
GPSYFULLPREP:


echo #################################################
waitfor You feel fully prepared
echo # #
echo # You have no lockpicks to use in this training #
echo # #
echo #################################################


goto LOCKPICKINGSTOWBOX
setvariable RETURNPOINTER %s%


LOCKPICKINGBOXISOPEN:
GPSYHARNESS1:
GPSYHARNESS2:


put harness 20
setvariable BOXISOPEN 1
goto LOCKPICKINGSTOWTOOLS%BOXISOPEN


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


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


# put put lock in %LOCKPICKSTORAGECONTAINER
counter add 1


goto GPSYHARNESS%c%
# Matchwait


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


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


# put put lock in %LOCKPICKSTORAGECONTAINER
counter set 0


# Matchwait
put cast %GLOBALSPELLTARGET%


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


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


if_2 setvariable GLOBALSPELLTARGET %2%
put open my %2
goto GPSYCHICSHIELD


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

GFOCUSMOONBEAM:

GFM:

setvariable RETURNPOINTER GFMPREPSPELL

GFMPREPSPELL:

counter set 1

put prep FOCUS MOONBEAM 20

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


LOCKPICKINGDISMANTLEBOX:
GFMFULLPREP:


Match LOCKPICKINGDISMANTLEBOX ...wait
pause 10
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


GFMHARNESS1:
GFMHARNESS2:
GFMHARNESS3:
GFMHARNESS4:
GFMHARNESS5:

put harness 20

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


LOCKPICKINGSTOWBOX:
GFMUPDATECOUNTER:


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


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


GFMHARNESS6:
GFMHARNESS7:
GFMHARNESS8:
GFMHARNESS9:
GFMHARNESS10:

GFMSPELLCAST:

counter set 0

put cast %GLOBALMOON%

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


LOCKPICKINGSHIFTDOWN:
GFOCUSMOONBEAMAT:
GFMAT:


shift
if_2 setvariable GLOBALMOON %2%
goto GFOCUSMOONBEAM


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


#end LOCKPICKING function
GSEALOFDEFLECTION:
################################################################################
################################################################################
#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
GSOD:


LABEL.)
setvariable RETURNPOINTER GSODPREPSPELL


POWERPERCEIVE:
GSODPREPSPELL:


POWERPERCEIVECONCENTRATE:
counter set 1


pause 2
put prep SEAL OF DEFLECTION 20


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


put %HUMTHISTUNE
GSODFULLPREP:


waitfor You feel fully prepared
waitfor Roundtime


POWERPERCEIVEKATAMBA:
setvariable RETURNPOINTER %s%


pause
GSODHARNESS1:
GSODHARNESS2:


put harness 15
put perc katamba


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


POWERPERCEIVEXIBAR:
GSODUPDATECOUNTER:


counter add 1
pause


goto GSODHARNESS%c%
put perc xibar


waitfor Roundtime
GSODHARNESS3:
GSODHARNESS4:
GSODHARNESS5:
GSODHARNESS6:
GSODHARNESS7:
GSODHARNESS8:
GSODHARNESS9:
GSODHARNESS10:


POWERPERCEIVEYAVASH:
GSODSPELLCAST:


counter set 0
pause


put cast %GLOBALSPELLTARGET%
put perc yavash


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


POWERPERCEIVEMOON:
GSEALOFDEFLECTIONAT:
GSODAT:


pause
if_2 setvariable GLOBALSPELLTARGET %2%
goto GSEALOFDEFLECTION


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


waitfor Roundtime
GSEVERTHREAD:


POWERPERCEIVEMOONMANIP:
GSET:


pause 2
setvariable RETURNPOINTER GSETPREPSPELL


put perc moonlight manip
GSETPREPSPELL:


counter set 1
put %HUMTHISTUNE


put prep SEVER THREAD 22
waitfor Roundtime


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


waitfor Roundtime
setvariable RETURNPOINTER %s%


POWERPERCEIVEPERCEPTIONBOOK:
GSETHARNESS1:
GSETHARNESS2:


put harness 20
pause


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


waitfor Roundtime
GSETUPDATECOUNTER:


POWERPERCEIVEPSYCHPROJ:
counter add 1


goto GSETHARNESS%c%
pause


put perc psych project
GSETHARNESS3:
GSETHARNESS4:
GSETHARNESS5:
GSETHARNESS6:
GSETHARNESS7:
GSETHARNESS8:
GSETHARNESS9:
GSETHARNESS10:


waitfor Roundtime
GSETSPELLCAST:


POWERPERCEIVESTELLAR:
counter set 0


pause
put cast %GLOBALSPELLTARGET%


Match GSETSPELLCAST ...wait
put perc stellar
Match GSETPREDICTSEVERTARGET You gesture
Matchwait


waitfor Roundtime
GSETPREDICTSEVERTARGET:


POWERPERCEIVEPLANET:
put predict sever %GLOBALSPELLTARGET%


pause
Match GSETPREDICTSEVERTARGET ...wait
Match %s% Roundtime
Matchwait


put perc planet
GSEVERTHREADAT:
GSETAT:


waitfor Roundtime
if_2 setvariable GLOBALSPELLTARGET %2%
goto GSEVERTHREAD


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


pause
GLOCATESPELL:


put perc watchers
GLOCATE:


waitfor Roundtime
setvariable RETURNPOINTER GLOCATEPREPSPELL


POWERPERCEIVESELF:
GLOCATEPREPSPELL:


counter set 1
pause


put prep LOCATE 20
put perc self


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


POWERPERCEIVEAREA:
GLOCATEFULLPREP:


pause
waitfor You feel fully prepared


setvariable RETURNPOINTER %s%
put perc area


waitfor Roundtime
GLOCATEHARNESS1:
GLOCATEHARNESS2:


put harness 15
goto POWERPERCEIVECHECKEXP


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


Match POWERPERCEIVEENDFUNCTION mind lock
GLOCATEUPDATECOUNTER:
Match POWERPERCEIVE EXP HELP


counter add 1
put exp skill power perc


goto GLOCATEHARNESS%c%

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

GLOCATESPELLCAST:

counter set 0

put cast %GLOBALSPELLTARGET%

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


POWERPERCEIVEENDFUNCTION:
GLOCATESPELLAT:
GLOCATEAT:


goto NEXTFUNCTION
if_2 setvariable GLOBALSPELLTARGET %2%
goto GLOCATESPELL
exit


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


MAGIC:
GMENTALBLAST:


save MAGICSOD
GMB:


counter set 0
setvariable RETURNPOINTER GMBPREPSPELL


MAGICSODGETTOOLS:
GMBPREPSPELL:


MAGICEXPCHECK0:
counter set 1
MAGICEXPCHECK1:
MAGICEXPCHECK2:
MAGICEXPCHECK3:
MAGICEXPCHECK4:


MAGICMANACHECK:
put prep MENTAL BLAST 25


Match GMBPREPSPELL ...wait
Match MAGICSODSTOWTOOLS S>>>>>>>>|_
Match KILLHUMMING You should stop playing
Match MAGICSODSTOWTOOLS S>>>>>>>|_
Match KILLSPELLPREP You are already preparing
Match MAGICSODSTOWTOOLS S>>>>>>|_
Match KILLSPELLPREP You have to strain
Match MAGICSODSTOWTOOLS S>>>>>|_
Match GMBFULLPREP %SPELLPREPMESSAGE%
Match MAGICSODSTOWTOOLS S>>>>|_
Match MAGICSODSTOWTOOLS S>>>|_
Matchwait
Match MAGICSODSTOWTOOLS S>>|_
Match MAGICSODSTOWTOOLS S>|_
Match MAGICSODSTOWTOOLS S|_
Match MAGICSOD MANA HELP


put mana
GMBFULLPREP:


pause 16

setvariable RETURNPOINTER %s%

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


MAGICSOD:
GMBUPDATECOUNTER:


setvariable RETURNPOINTER MAGICSOD
counter add 1


Match KILLHUMMING should stop playing before
goto GMBHARNESS%c%
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
GMBHARNESS3:
GMBHARNESS4:
GMBHARNESS5:
GMBHARNESS6:
GMBHARNESS7:
GMBHARNESS8:
GMBHARNESS9:
GMBHARNESS10:

GMBSPELLCAST:

counter set 0

put cast %GLOBALSPELLTARGET%


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


MAGICSODCHARGEORB:
GMENTALBLASTAT:
GMBAT:


Match MAGICSODCHARGEORB ...wait
if_2 setvariable GLOBALSPELLTARGET %2%
Match MAGICSODSTOWTOOLS cannot harness that much power
goto GMENTALBLAST
Match MAGICSODFOCUSORB Roundtime


put charge my %CAMBRINTHDEVICE 20
#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


MAGICSODFOCUSORB:
GTVFULLPREP:


put focus my %CAMBRINTHDEVICE
pause 16


Match MAGICSODFOCUSORB ...wait
setvariable RETURNPOINTER %s%
Match MAGICSOINCREASECOUNTER forge a magical link to it

Match MAGICSOINCREASECOUNTER is intact
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


MAGICSOINCREASECOUNTER:
GTVUPDATECOUNTER:


counter add 1
counter add 1
goto MAGICSODCAST


MAGICSODCAST:
goto GTVHARNESS%c%


Match MAGICSODCAST ...wait
GTVHARNESS3:
Match MAGICEXPCHECK%c shifting plexus
GTVHARNESS4:
Match MAGICSODSTOWTOOLS backfires
GTVHARNESS5:
Match MAGICSODSTOWTOOLS You are unable to harness
GTVHARNESS6:
GTVHARNESS7:
GTVHARNESS8:
GTVHARNESS9:
GTVHARNESS10:


put cast
GTVSPELLCAST:

counter set 0

put cast %GLOBALSPELLTARGET%


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


GTEZIRAHSVEILAT:
MAGICSODNOTOOLS:
GTVAT:


save MAGICSODNOTOOLS
if_2 setvariable GLOBALSPELLTARGET %2%
goto GTEZIRAHSVEIL


Match MAGICSODNOTOOLS ...wait
#end GLOBAL TEZIRAH'S VEIL v2 function (THIS FUNCTION HAS BEEN FIXED2)
Match MAGICENDFUNCTION You have to strain
==================================================================================
Match MAGICSODFULLPREP Seal of Deflection spell
==================================================================================
#begin GLOBAL RIPPLE v2 function (THIS FUNCTION HAS BEEN FIXED2)


put prep SEAL OF DEFLECTION 20
GRIPPLESPELL:


GRIPPLE:

setvariable RETURNPOINTER GRIPPLEPREPSPELL

GRIPPLEPREPSPELL:

counter set 1

put prep RIPPLE 20

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


MAGICSODFULLPREP:
GRIPPLEFULLPREP:


waitfor You feel fully prepared
waitfor You feel fully prepared
goto MAGICSODCAST


MAGICEXPCHECK5:
setvariable RETURNPOINTER %s%
MAGICEXPMAGIC:


counter set 0
GRIPPLEHARNESS1:


put harness 20
Match MAGICEXPHARNESS mind lock
Match MAGICMANACHECK EXP HELP for more information

put exp skill primary magic


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


MAGICEXPHARNESS:
GRIPPLEUPDATECOUNTER:


Match MAGICEXPMAGDEVICES mind lock
counter add 1
Match MAGICMANACHECK EXP HELP for more information


goto GRIPPLEHARNESS%c%
put exp skill harness


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


MAGICEXPMAGDEVICES:
GRIPPLESPELLCAST:


Match MAGICSODSTOWTOOLS mind lock
counter set 0
Match MAGICMANACHECK EXP HELP for more information


put cast
put exp skill magical devices


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


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


goto NEXTFUNCTION
GCONTINGENCYSPELL:
exit


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


ASTROLOGY:
setvariable RETURNPOINTER GCONTINGENCYPREPSPELL


ASTROLOGYDECLAREVARIABLES:
GCONTINGENCYPREPSPELL:


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


put prep CONTINGENCY 25
ASTROLOGYCOUNTERSTART:


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


ASTROLOGYCOUNTERINCREASE:
GCONTINGENCYFULLPREP:


counter set %TEMPBODYCOUNTER
waitfor You feel fully prepared
counter add 1
goto ASTROLOGYBODY%c


ASTROLOGYBODY1:
setvariable RETURNPOINTER %s%


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


put harness 20
ASTROLOGYBODY2:


setvariable ASTROLOGYBODY Magpie
Match GCONTINGENCYHARNESS%c% ...wait
setvariable ASTROLOGYSKILL1 survival
Match GCONTINGENCYUPDATECOUNTER You tap into the mana from
setvariable ASTROLOGYSKILL2 defense
Match KILLSPELLPREP You strain, but cannot harness
setvariable TEMPBODYCOUNTER %c
Matchwait
counter set 1
goto ASTROLOGYPG


ASTROLOGYBODY3:
GCONTINGENCYUPDATECOUNTER:


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


ASTROLOGYBODY4:
goto GCONTINGENCYHARNESS%c%


setvariable ASTROLOGYBODY Toad
GCONTINGENCYHARNESS2:
setvariable ASTROLOGYSKILL1 survival
GCONTINGENCYHARNESS3:
setvariable ASTROLOGYSKILL2 defense
GCONTINGENCYHARNESS4:
setvariable TEMPBODYCOUNTER %c
GCONTINGENCYHARNESS5:
counter set 1
GCONTINGENCYHARNESS6:
goto ASTROLOGYPG
GCONTINGENCYHARNESS7:
GCONTINGENCYHARNESS8:
GCONTINGENCYHARNESS9:
GCONTINGENCYHARNESS10:


ASTROLOGYPG:
GCONTINGENCYSPELLCAST:


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


put cast %GLOBALMOON%
put stop hum
put prep pg 30
put predict weather


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


ASTROLOGYPGCAST:
GCONTINGENCYSPELLAT:
GCONTINGENCYAT:


Match ASTROLOGYPGCAST ...wait
if_2 setvariable GLOBALMOON %2%
Match ASTROLOGYSTUDY The world around you
goto GCONTINGENCY


put cast
#end GLOBAL CONTINGENCY v2 function (THIS FUNCTION HAS BEEN FIXED2)
==================================================================================
==================================================================================
#begin GLOBAL CAGE OF LIGHT v2 function (THIS FUNCTION HAS BEEN FIXED2)


Matchwait
GCAGEOFLIGHT:


GCOL:
ASTROLOGYSTUDY:


Match ASTROLOGYSTUDY ...wait
setvariable RETURNPOINTER GCOLPREPSPELL
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
GCOLPREPSPELL:
put STUDY %ASTROLOGYBODY


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


ASTROLOGYSTUDYFAIL:
GCOLFULLPREP:


goto ASTROLOGYCOUNTERINCREASE
waitfor You feel fully prepared


ASTROLOGYOBSERVE1:
setvariable RETURNPOINTER %s%


pause
GCOLHARNESS1:

put harness 20

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

GCOLUPDATECOUNTER:


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


Match ASTROLOGYOBSERVE1 ...wait
goto GCOLHARNESS%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
GCOLHARNESS2:
GCOLHARNESS3:
GCOLHARNESS4:
GCOLHARNESS5:
GCOLHARNESS6:
GCOLHARNESS7:
GCOLHARNESS8:
GCOLHARNESS9:
GCOLHARNESS10:


GCOLSPELLCAST:

counter set 0

put cast %GLOBALMOON%

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


GCAGEOFLIGHTAT:
ASTROLOGYALIGN:
GCOLAT:
ASTROLOGYALIGN1:
ASTROLOGYALIGN2:
pause


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


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


GDAZZLESPELL:

GDAZZLE:

setvariable RETURNPOINTER GDAZZLEPREPSPELL

GDAZZLEPREPSPELL:

counter set 1

put prep DAZZLE 20

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


ASTROLOGYTURNPRISM:
GDAZZLEFULLPREP:


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


setvariable RETURNPOINTER %s%
put TURN PRISM


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


ASTROLOGYRAISEPRISM:
GDAZZLEUPDATECOUNTER:


setvariable ASTROLOGYPTR1 ASTROLOGYALIGN
counter add 1


Match ASTROLOGYRAISEPRISM ...wait
goto GDAZZLEHARNESS%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
Match ASTROLOGYGETPRISM you lose your grip and drop it to the
Match ASTROLOGYTURNPRISM That's not quite wound up enough yet


put RAISE PRISM
GDAZZLEHARNESS3:
GDAZZLEHARNESS4:
GDAZZLEHARNESS5:
GDAZZLEHARNESS6:
GDAZZLEHARNESS7:
GDAZZLEHARNESS8:
GDAZZLEHARNESS9:
GDAZZLEHARNESS10:


GDAZZLESPELLCAST:

counter set 0

put cast %GLOBALSPELLTARGET%

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


GDAZZLESPELLAT:
ASTROLOGYALIGN3:
ASTROLOGYANALYZE:
GDAZZLEAT:


pause
if_2 setvariable GLOBALSPELLTARGET %2%
goto GDAZZLESPELL

#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
counter set 1
setvariable ASTROLOGYPTR1 ASTROLOGYAPPRAISE


put prep EASE 30
Match ASTROLOGYANALYZE ...wait
Match ASTROLOGYSTOWPRISM Roundtime


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


GEASEFULLPREP:

waitfor You feel fully prepared

setvariable RETURNPOINTER %s%

GEASEHARNESS1:
GEASEHARNESS2:

put harness 20

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


ASTROLOGYAPPRAISE:
GEASEUPDATECOUNTER:


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


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


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

GEASESPELLCAST:

counter set 0

put cast %GLOBALSPELLTARGET%
put encumb

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


ASTROLOGYSTOWPOUCH:
GEASEBURDENAT:
GEASEAT:


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


put put pouch in case in my cloak
#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


ASTROLOGYOBSERVE2:
GDGFULLPREP:


counter subtract 2
waitfor You feel fully prepared


ASTROLOGYWAIT:
setvariable RETURNPOINTER %s%


Match ASTROLOGYWAIT ...wait
GDGHARNESS1:
Match EXPASTROLOGY %ASTROLOGYBODY fades.
GDGHARNESS2:

put harness 20

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

GDGUPDATECOUNTER:


counter add 1
counter add 1


goto GDGHARNESS%c%
put predict event
put study sky


GDGHARNESS3:
GDGHARNESS4:
GDGHARNESS5:
GDGHARNESS6:
GDGHARNESS7:
GDGHARNESS8:
GDGHARNESS9:
GDGHARNESS10:

GDGSPELLCAST:

counter set 0

put cast %GLOBALMOON%

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


GDISTANTGAZEAT:
EXPASTROLOGY:
GDGAT:


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


put exp skill astrology
#end GLOBAL DISTANT GAZE function (THIS FUNCTION HAS BEEN FIXED2)
==================================================================================
==================================================================================
#begin GLOBAL SPHERE OF PROTECTION function (THIS FUNCTION HAS BEEN FIXED)


GSPHEREOFPROTECTION:

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

GSOP:
GLOBALSOP:

put prep SPHERE OF PROTECTION

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


ASTROLOGYGETPRISM:
GLOBALSOPCAST:


Match ASTROLOGYGETPRISM ...wait
pause 2
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 cast
put get prism


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


ASTROLOGYSTOWPRISM:
GLOBALSOPREL:


Match ASTROLOGYSTOWPRISM ...wait
put rel
goto %s%
Match %ASTROLOGYPTR1 You put your


put put prism in my cloak
#end GLOBAL SPHERE OF PROTECTION function (THIS FUNCTION HAS BEEN FIXED)
==================================================================================
==================================================================================
#begin PERCEPTION function (THIS FUNCTION HAS BEEN FIXED)


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
Matchwait


ASTROLOGYRESETCOUNTER:
PERCEPTIONWORK:


pause
counter set 1
goto %ASTROLOGYPTR2


ASTROLOGYEND1:
put %HUMTHISTUNE%
put juggle my %PERCEPTIONMATERIAL%


Match PERCEPTIONWORK ...wait
echo ######################
echo # FIND A PRISM FIRST #
Match EXPPERCEPTION Roundtime
echo # Function ending #
Matchwait
echo ######################


goto ASTROLOGYEND
EXPPERCEPTION:


ASTROLOGYEND2:
put exp skill perception


echo #################################
Match PERCEPTIONSTOWTOOLS dazed
echo # GO OUTSIDE UNDER THE OPEN SKY #
Match PERCEPTIONSTOWTOOLS mind lock
echo # Function ending #
Match PERCEPTIONWORK EXP HELP for more information
echo #################################
Matchwait


goto ASTROLOGYEND
PERCEPTIONSTOWTOOLS:

put put %PERCEPTIONMATERIAL% in my %LARGESTORAGECONTAINER%

put %HUMTHISTUNE%
waitfor finish humming


ASTROLOGYBODY5:
ASTROLOGYEND:
goto NEXTFUNCTION
goto NEXTFUNCTION
exit


#end PERCEPTION function (THIS FUNCTION HAS BEEN FIXED)
#end ASTROLOGY function
################################################################################
==================================================================================
################################################################################
==================================================================================
#begin POWERPERCEIVE function (THIS FUNCTION HAS BEEN FIXED)
#begin GLOBALWEAPONRESET function


GLOBALWEAPONRESET:
POWERPERCEIVE:


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


#end GLOBALWEAPONRESET function
save POWERPERCEIVEPREPSHADOWLING
################################################################################
goto GAURASIGHT
################################################################################
#begin KILLHUMMING function


KILLHUMMING:
POWERPERCEIVEPREPSHADOWLING:


pause
put stop hum


put prep SHADOWLING
goto %RETURNPOINTER


#end KILLHUMMING function
Match POWERPERCEIVEPREPSHADOWLING ...wait
################################################################################
Match EXPPOWERPERCEIVE you aren't sure you can get enough
################################################################################
Match POWERPERCEIVEPERCSHADOWLING %SPELLPREPMESSAGE%
#begin KILLSPELLPREP function
Matchwait


KILLSPELLPREP:
POWERPERCEIVEPERCSHADOWLING:


put perc SHADOWLING
put release


Match POWERPERCEIVEPERCSHADOWLING ...wait
Match KILLSPELLPREP ...wait
Match POWERPERCEIVEFPREPSHADOWLING could not find
Match %RETURNPOINTER RELEASE HELP
Match POWERPERCEIVEFPREPSHADOWLING shadowling
Matchwait
Matchwait


#end KILLSPELLPREP function
POWERPERCEIVEFPREPSHADOWLING:
################################################################################
################################################################################


######################### SPELL PREPARATION FUNCTIONS ##########################
waitfor You feel fully prepared to cast


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


BARRIERSPELL1:
put release SHADOWLING


setvariable SPELLRETURNPOINTER BARRIERSPELL2
Match POWERPERCEIVERELSHADOWLING ...wait
goto GPSY
Match POWERPERCEIVECASTSHADOWLING shadowling
Matchwait


BARRIERSPELL2:
POWERPERCEIVECASTSHADOWLING:


setvariable SPELLRETURNPOINTER BARRIERSPELL3
put cast
goto GSOD


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


setvariable SPELLRETURNPOINTER NEXTFUNCTION
EXPPOWERPERCEIVE:
goto GSHEAR


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


GTENEBROUSSENSE:
put perc SERVANT
GTS:


setvariable SPELLTOPREP TENEB SENSE
put exp skill pp
setvariable SPELLBASEMANA 29
setvariable SPELLMANAHARNESS 20
setvariable SPELLMANAINCREMENTS 2
setvariable GLOBALSPELLTARGET
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


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


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


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


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


setvariable SPELLTOPREP WHOLE DISPLACEMENT
#end POWERPERCEIVE function (THIS FUNCTION HAS BEEN FIXED)
setvariable SPELLBASEMANA 35
==================================================================================
setvariable SPELLMANAHARNESS 20
==================================================================================
setvariable SPELLMANAINCREMENTS 1
#begin POWERPERCEIVE4 function (This function used to be part of the main POWERPERCEIVE function and would be called provided the
setvariable GLOBALSPELLTARGET
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


GWHOLEDISPLACEMENTAT:
main one ran out of mana. It has been separated so it can be accessed by itself using the POWERPERCEIVE4 LABEL.)
GWDAT:


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


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


GTKTAT:
pause


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


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


GTKS:
POWERPERCEIVEKATAMBA:
GTSK:


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


################################################################################
put perc katamba
################################################################################
#cap is 60 mana SHEAR SPELL


GSHEAR:
waitfor Roundtime


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


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


GDARKNESS:
put perc xibar
GDARK:


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


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


GSHADOWWEB:
pause
GWEB:


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


waitfor Roundtime


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


GPDAT:
pause


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


################################################################################
waitfor Roundtime
################################################################################
#cap is 75 mana IMBUE SPELL


GIMBUEAT:
POWERPERCEIVEMOONMANIP:


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


################################################################################
put perc moonlight manip
################################################################################
#cap is 48 mana DINAZEN OLKAR SPELL


GDOAT:
waitfor Roundtime


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


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


GCRSAT:
put perc transduction


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


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


GCGAT:
pause


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


################################################################################
waitfor Roundtime
################################################################################
#cap is 42 mana BURN SPELL


GBURNAT:
POWERPERCEIVEPSYCHPROJ:


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


################################################################################
put perc psych project
################################################################################
#cap is 55 mana UNLEASH SPELL


GUNLEASHAT:
waitfor Roundtime


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


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


GPIERCINGGAZE:
put perc stellar
GPG:


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


GPIERCINGGAZEAT:
POWERPERCEIVEPLANET:
GPGAT:


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


################################################################################
put perc planet
################################################################################
#cap is 70 mana CLEAR VISION SPELL


GCLEARVISION:
waitfor Roundtime
GCV:


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


GCLEARVISIONAT:
pause
GCVAT:


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


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


GAUS:
POWERPERCEIVESELF:


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


GAUSAT:
put perc self


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


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


GSHADOWLING:
pause


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


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


GSHADOWSERVANTPYRAMIDS:
goto POWERPERCEIVE4CHECKEXP


setvariable SPELLRETURNPOINTER GSHADOWSERVANTGETPYRAMIDS
POWERPERCEIVE4CHECKEXP:


GSHADOWSERVANT:
Match POWERPERCEIVE4ENDFUNCTION mind lock
Match POWERPERCEIVE4 EXP HELP


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


GSHADOWSERVANTGETPYRAMIDS:
Matchwait


save NEXTFUNCTION
#end POWERPERCEIVE4 function
==================================================================================
==================================================================================
#begin POWERPERCEIVE3 function (THIS FUNCTION HAS BEEN FIXED)


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


put release
put ask servant for pyramid


Matchwait
POWERPERCEIVE3INITIALSHADOWLING:


GSHADOWSERVANTDROPPYRAMIDS:
setvariable RETURNPOINTER POWERPERCEIVE3INITIALSHADOWLING


match GSHADOWSERVANTDROPPYRAMIDS ...wait
put prep SHADOWLING
match GSHADOWSERVANTGETPYRAMIDS You drop

put drop pyramid


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


goto NEXTFUNCTION
POWERPERCEIVE3INITIALSHADOWLINGCONT:


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


GSLSAT:
put cast


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


################################################################################
put prep SHADOWLING
################################################################################
#cap is 45 mana STRANGE ARROW SPELL


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


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


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


GPSY:
put hide


setvariable SPELLTOPREP PSYCH SHIELD
Match POWERPERCEIVE3HIDE ...wait
setvariable SPELLBASEMANA 26
Match POWERPERCEIVE3STALK Roundtime:
setvariable SPELLMANAHARNESS 20
Matchwait
setvariable SPELLMANAINCREMENTS 2
setvariable GLOBALSPELLTARGET
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


GPSYAT:
POWERPERCEIVE3STALK:


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


################################################################################
Match POWERPERCEIVE3STALK ...wait
################################################################################
Match POWERPERCEIVE3HIDE ruining your hiding place
#cap is 50 mana SEAL OF DEFLECTION SPELL
Match POWERPERCEIVE3PERCEIVE move into position to stalk
Matchwait


GSOD:
POWERPERCEIVE3PERCEIVE:


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


################################################################################
Match POWERPERCEIVE3PERCEIVE ...wait
################################################################################
Match EXPPOWERPERCEIVE3 Roundtime:
#cap is 62 mana SEVER THREAD SPELL
Matchwait


GSEVERTHREADAT:
EXPPOWERPERCEIVE3:
GSEVERAT:


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


################################################################################
Match NEXTFUNCTION mind lock
################################################################################
Match POWERPERCEIVE3CHECKMANA EXP HELP for more information
#cap is 50 mana LOCATE SPELL
Matchwait


GLOCATE:
POWERPERCEIVE3CHECKMANA:
GLOC:


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


GLOCATEAT:
put mana
GLOCAT:


shift
Match POWERPERCEIVE3CASTSHADOWLING >100%]
setvariable SPELLTOPREP LOCATE
Match POWERPERCEIVE3CASTSHADOWLING >|100%]
setvariable SPELLBASEMANA 20
Match POWERPERCEIVE3CASTSHADOWLING >|_100%]
setvariable SPELLMANAHARNESS 30
Match POWERPERCEIVE3CASTSHADOWLING >|__100%]
setvariable SPELLMANAINCREMENTS 1
Match POWERPERCEIVE3CASTSHADOWLING >|___100%]
setvariable GLOBALSPELLTARGET %1
Match POWERPERCEIVE3CASTSHADOWLING >|____100%]
setvariable SPELLADDITIONALCOMMAND
Match POWERPERCEIVE3CASTSHADOWLING >|_____100%]
goto GLOBALSPELLPREP
Match POWERPERCEIVE3CHECKMANA MANA HELP for more.
Matchwait


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


GMENTALBLASTAT:
put cast
GMBAT:


shift
Match POWERPERCEIVE3PREPSHADOWLING form of a shadowling
setvariable SPELLTOPREP MENTAL BLAST
Match NEXTFUNCTION unable to harness sufficient
setvariable SPELLBASEMANA 35
Matchwait
setvariable SPELLMANAHARNESS 30
setvariable SPELLMANAINCREMENTS 1
setvariable GLOBALSPELLTARGET %1
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


################################################################################
#end POWERPERCEIVE3 function (THIS FUNCTION HAS BEEN FIXED)
################################################################################
==================================================================================
#cap is 58 mana TEZIRAH'S VEIL SPELL
==================================================================================
#begin AMBUSHING function (THIS FUNCTION HAS BEEN FIXED)


GTEZIRAHSVEILAT:
AMBUSHING:
GTVAT:


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


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


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


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


################################################################################
put hide
################################################################################
#cap is 60 mana DAZZLE SPELL


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


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


GDAZZLEAT:
put advance
GDAZAT:


shift
Match AMBUSHADVANCEPAUSE ...wait
setvariable SPELLTOPREP DAZZLE
Match AMBUSHSTALK stealthily advance
setvariable SPELLBASEMANA 30
Match AMBUSHRETREAT begin to advance
setvariable SPELLMANAHARNESS 30
Match AMBUSHRETREAT already at melee
setvariable SPELLMANAINCREMENTS 1
Match AMBUSHFACENEXT advance towards?
setvariable GLOBALSPELLTARGET %1
Matchwait
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


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


GSHADOWS:
pause
GSHAD:


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


GSHADOWSAT:
AMBUSHFACENEXT:
GSHADAT:


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


################################################################################
Match AMBUSHFACENEXT ...wait
################################################################################
Match NEXTFUNCTION nothing else to face
#cap is 56 mana SEER'S SENSE SPELL
Match AMBUSHADVANCE You turn to face
Matchwait


GSEERSSENSE:
AMBUSHSTALK:
GSEERS:
GSEER:


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


GSEERSSENSEAT:
Match AMBUSHSTALK ...wait
GSEERSAT:
Match AMBUSHHIDE hidden first!
GSEERAT:
Match AMBUSHAMBUSH move into position to stalk
Match AMBUSHAMBUSH already stalking
Match NEXTFUNCTION nothing else to face!
Matchwait


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


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


GFOCUSMOONBEAMAT:
put ambush
GFMAT:


shift
Match AMBUSHAMBUSH ...wait
setvariable SPELLTOPREP FOC MOON
Match AMBUSHGETWEAPON more effective when you use a weapon
setvariable SPELLBASEMANA 20
Match AMBUSHADVANCE if you were closer
setvariable SPELLMANAHARNESS 20
Match AMBUSHPARRY Roundtime
setvariable SPELLMANAINCREMENTS 5
Match AMBUSHRETREAT ambush from plain sight
setvariable GLOBALSPELLTARGET %1
Match NEXTFUNCTION Ambush what?
setvariable SPELLADDITIONALCOMMAND
Matchwait
goto GLOBALSPELLPREP


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


GCONTINGENCYAT:
put parry


shift
Match AMBUSHPARRYPAUSE ...wait
setvariable SPELLTOPREP CONTINGENCY
Match AMBUSHEXPHIDING move into a position
setvariable SPELLBASEMANA 25
Match AMBUSHRETREAT already in a position
setvariable SPELLMANAHARNESS 20
Matchwait
setvariable SPELLMANAINCREMENTS 1
setvariable GLOBALSPELLTARGET %1
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


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


GCAGEOFLIGHT:
pause
GCOLAT:


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


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


GDISTANTGAZEAT:
put exp skill hiding
GDGAT:


shift
Match NEXTFUNCTION mind lock
setvariable SPELLTOPREP DISTANT GAZE
Match EXPSTALKING EXP HELP for more information
setvariable SPELLBASEMANA 10
Matchwait
setvariable SPELLMANAHARNESS 10
setvariable SPELLMANAINCREMENTS 1
setvariable GLOBALSPELLTARGET %1
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


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


GEASE:
pause


setvariable SPELLTOPREP EASE
put exp skill stalking
setvariable SPELLBASEMANA 21
setvariable SPELLMANAHARNESS 25
setvariable SPELLMANAINCREMENTS 2
setvariable GLOBALSPELLTARGET
setvariable SPELLADDITIONALCOMMAND ENCUMB
goto GLOBALSPELLPREP


GEASEAT:
Match NEXTFUNCTION mind lock
Match AMBUSHRETREAT EXP HELP for more information
Matchwait


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


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


GSOP:
FORAGINGDECLAREVARIABLES:


setvariable FORAGINGCONTAINER bag in haversack
setvariable SPELLTOPREP SPHERE OF PROTECT
setvariable SPELLBASEMANA 10
setvariable TEMPCOUNTER
setvariable SPELLMANAHARNESS 25
setvariable ITEM
setvariable SPELLMANAINCREMENTS 2
counter set 0
setvariable GLOBALSPELLTARGET
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


GSOPAT:
FORAGINGCOUNTERINCREASE:


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


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


GES:
setvariable ITEM old button
goto FORAGINGHUM


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


GESAT:
setvariable ITEM riolur leaf
goto FORAGINGHUM


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


################################################################################
setvariable ITEM georin grass
################################################################################
goto FORAGINGHUM
#begin GLOBAL SPELLCASTING FUNCTION


GLOBALSPELLPREP:
FORAGE4:


setvariable ITEM fir stick
setvariable RETURNPOINTER GSPELLPREP
counter set %SPELLMANAINCREMENTS
goto FORAGINGHUM


FORAGE5:
GSPELLPREP:


setvariable ITEM red flower
Match GSPELLPREP ...wait
Match KILLHUMMING You should stop playing
goto FORAGINGHUM
Match KILLSPELLPREP You are already preparing
Match KILLSPELLPREP You have to strain
Match GSPELLPREPFULLPREP %SPELLPREPMESSAGE


put prep %SPELLTOPREP %SPELLBASEMANA
FORAGE6:


Matchwait
setvariable ITEM blue flower
goto FORAGINGHUM


GSPELLPREPFULLPREP:
FORAGE7:


setvariable ITEM oak stick
waitfor You feel fully prepared
goto FORAGINGHUM
goto GSPELLPREPMANACHECK


GSPELLPREPMANACHECK:
FORAGE8:


Match %SPELLRETURNPOINTER S>>>>>>>|_
setvariable ITEM spruce stick
Match %SPELLRETURNPOINTER S>>>>>>|_
goto FORAGINGHUM
Match %SPELLRETURNPOINTER S>>>>>|_
Match %SPELLRETURNPOINTER S>>>>|_
Match %SPELLRETURNPOINTER S>>>|_
Match %SPELLRETURNPOINTER S>>|_
Match %SPELLRETURNPOINTER S>|_
Match %SPELLRETURNPOINTER S|_
Match GSPELLPREPHARNESS%c MANA HELP


FORAGE9:
put mana


Matchwait
setvariable ITEM berries
goto FORAGINGHUM


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


put %HUMTHISTUNE%
put harness %SPELLMANAHARNESS
goto FORAGINGSTART


Match GSPELLPREPHARNESS%c ...wait
FORAGINGSTART:
Match GSPELLPREPUPDATECOUNTER You tap into the mana from
Match KILLSPELLPREP You strain, but cannot harness
Matchwait


GSPELLPREPUPDATECOUNTER:
Match FORAGINGSTART ...wait
Match FORAGINGCOUNTERADD %ITEM%
Match FORAGINGENDCLUTTER The room is too cluttered
Match FORAGINGCOUNTERINCREASE Roundtime


put forage %ITEM%
counter subtract 1


goto GSPELLPREPMANACHECK
Matchwait


GSPELLPREPHARNESS0:
FORAGINGCOUNTERADD:


GSPELLPREPSPELLCAST:
counter add 1
goto FORAGINGSTORE


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


put cast %GLOBALSPELLTARGET
Match FORAGINGSTORE ...wait
Match FORAGINGENDSTORAGE too heavy to go
Match EXPFORAGING%c% You put your
Match EXPFORAGING%c% You drop

put put %ITEM% in %FORAGINGCONTAINER%


Matchwait
Matchwait


GSPELLPREPFINISH:
EXPFORAGING1:
EXPFORAGING2:
EXPFORAGING3:
EXPFORAGING4:


goto FORAGINGSTART
put %SPELLADDITIONALCOMMAND
goto %SPELLRETURNPOINTER


#end GLOBAL SPELLPREP FUNCTION
EXPFORAGING5:
################################################################################
EXPFORAGING6:
################################################################################
EXPFORAGING7:
EXPFORAGING8:
EXPFORAGING9:
EXPFORAGING10:
EXPFORAGING11:


#############################INFORMATIONAL SCRIPTS##############################
counter set 0


################################################################################
Match FORAGINGEND mind lock
################################################################################
Match FORAGINGHUM EXP HELP for more information


TIMERS:
put exp skill foraging


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


################################################################################
FORAGINGENDCLUTTER:
################################################################################


#################################TRAVEL SCRIPTS#################################
echo ========================================
echo =The room is too cluttered to continue.=
echo ========================================
exit


################################################################################
FORAGINGENDSTORAGE:
################################################################################


TRAVEL:
echo =================================
echo =Your storage container is full.=
echo =================================
exit


setvariable STARTINGLOCATION none
FORAGINGEND:
counter set 0


Match CROSSINGLOCATION [Strand Communal Center, Common Room]
goto NEXTFUNCTION
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
#end FORAGING function (THIS FUNCTION HAS BEEN FIXED)
==================================================================================
==================================================================================
#begin FIRSTAID function (THIS FUNCTION HAS BEEN FIXED)


Matchwait
FIRSTAID:


CROSSINGLOCATION:
FIRSTAIDGETTHIRDCOMPENDIUM:


setvariable STARTINGLOCATION CROSSING
put %HUMTHISTUNE%
counter set 1
goto SELECTLOCATION


CROSSINGLOCATIONADJUST:
put sort compendium in %LARGESTORAGECONTAINER%


move go door
Match FIRSTAID2COMPENDIUMS a leather compendium, a leather compendium,
goto TRAVEL
Match FIRSTAID2COMPENDIUMS a leather compendium, a leather compendium,
Match FIRSTAID1COMPENDIUM a leather compendium,


AESRYLOCATION:
put look in %LARGESTORAGECONTAINER%


setvariable STARTINGLOCATION AESRY
Matchwait

FIRSTAID2COMPENDIUMS:

setvariable TOTALCOMPENDIUMS second
counter set 2
counter set 2
goto FIRSTAIDCOUNTERCOPY
goto SELECTLOCATION


AESRYLOCATIONADJUST:
FIRSTAID1COMPENDIUM:


move n
setvariable TOTALCOMPENDIUMS first
counter set 1
move e
goto FIRSTAIDCOUNTERCOPY
move go gate
move go door
move n
move w
move go vault
goto TRAVEL


SHARDLOCATION:
FIRSTAIDCOUNTERCOPY:


setvariable TEMPCOUNTER %c%
setvariable STARTINGLOCATION SHARD
counter set 3
goto FIRSTAIDGETCOMPENDIUM%c%
goto SELECTLOCATION


SHARDLOCATIONADJUST:
FIRSTAIDGETCOMPENDIUM1:
FIRSTAIDGETCOMPENDIUM2:
FIRSTAIDGETCOMPENDIUM3:
FIRSTAIDGETCOMPENDIUM4:
FIRSTAIDGETCOMPENDIUM5:


move out
Match FIRSTAIDGETCOMPENDIUM5 ...wait
move w
Match FIRSTAIDOPENCOMPENDIUM You get a
move out
Match FIRSTAIDNOCOMPENDIUMS What are you referring to?
move e
move go brid
move e
move e
move e
move n
move ne
move e
move n
move go home
goto TRAVEL


MERKRESHLOCATION:
put get %TOTALCOMPENDIUMS% compendium from %LARGESTORAGECONTAINER%


setvariable STARTINGLOCATION MER'KRESH
Matchwait
counter set 4
goto SELECTLOCATION


MERKRESHLOCATIONADJUST:
FIRSTAIDGETCOMPENDIUM0:


goto NEXTFUNCTION
move nw
move nw
move ne
move ne
move n
move n
move n
move n
move go gate
goto TRAVEL


RIVERHAVENLOCATION:
FIRSTAIDOPENCOMPENDIUM:


setvariable STARTINGLOCATION RIVERHAVEN
counter set 9
counter set 5
goto SELECTLOCATION


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


put open my compendium
move go gate
move se
move climb stair
move go door
goto TRAVEL


RATHALOCATION:
Matchwait


setvariable STARTINGLOCATION RATHA
FIRSTAIDSTUDYCOMPENDIUM:
counter set 6
goto SELECTLOCATION


RATHALOCATIONADJUST:
put %HUMTHISTUNE%


move go door
Match FIRSTAIDSTUDYCOMPENDIUM ...wait
move e
Match FIRSTAIDTURNCOMPENDIUM%c% Why do you need to study this chart again?
goto TRAVEL
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


ELBAINSLOCATION:
put study my compendium


setvariable STARTINGLOCATION ELBAIN'S
Matchwait
counter set 7
goto SELECTLOCATION


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


counter subtract 1
move go tree
move s
move s
goto TRAVEL


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


setvariable STARTINGLOCATION MUSPAR'I
put turn my compendium
counter set 8
goto SELECTLOCATION


MUSPARILOCATIONADJUST:
Matchwait


move w
FIRSTAIDTURNCOMPENDIUM0:
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:
counter set %TEMPCOUNTER%
counter subtract 1
goto FIRSTAIDSTORECOMPENDIUM


setvariable STARTINGLOCATION HIBARNHVIDAR
FIRSTAIDSTORECOMPENDIUM:
counter set 9
goto SELECTLOCATION


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


move climb stair
put put my compendium in my %LARGESTORAGECONTAINER%
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:
Matchwait


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


ECHO ############################################################
echo ===========================================
echo =You have no compendiums for this training=
ECHO Please select your destination from the following:
ECHO 1.CROSSING
echo ===========================================
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
exit
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
FIRSTAIDERROR:


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


ECHO #####################
ECHO #Already in CROSSING#
ECHO #####################
exit
exit


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


move go portal
FIRSTAID2:
exit


1SHARD:
FIRSTAID2LOCATIONCHECK:


put look
move go portal


move n
Match FIRSTAID2RELOCATE In The Water
move e
Match FIRSTAID2LOCCHEKCFAILED Obvious
Matchwait
move go gate
move go door
move n
move w
move go vault
move go portal
exit


1MERKRESH:
FIRSTAID2RELOCATE:


counter set 1
move go portal


goto FIRSTAID2MOVE%c%
move n
move e
move go gate
move go door
move n
move w
move go vault
move go portal


move out
FIRSTAID2MOVE1:
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 N
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
exit


FIRSTAID2MOVE4:
1RATHA:


move SE
move go portal
counter add 1
goto FIRSTAID2WORMCHECK


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


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


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


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


FIRSTAID2MOVE7:
1ELBAINS:


move W
move go portal
counter set 1
goto FIRSTAID2WORMCHECK


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


put look DAMIAN
move out
move w
move out
move e
move go brid
move e
move e
move e
move n
move ne
move e
move n
move go home
move go port


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


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


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


1MUSPARI:
FIRSTAID2REMOVEWORMRL:


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


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


put tend my left leg
move out
waitfor seconds.
move w
goto FIRSTAID2EXPCHECK
move out
move e
move go brid
move e
move e
move e
move n
move ne
move e
move n
move go home
move go port


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


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


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


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


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


move go portal
FIRSTAID2DONE:


goto NEXTFUNCTION
move n
move e
move go gate
move go door
move n
move w
move go vault
move go portal


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


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


move go gate
counter set %2%
move se
move climb stair
move go door
move go portal


move go door
MAKEROPE1:
MAKEROPE2:
move e
move go portal
MAKEROPE3:
MAKEROPE4:
MAKEROPE5:


MAKEROPEFORAGEGRASS:
move go tree
move s
move s
move go portal


put forage 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
exit


2CROSSING:
Match MAKEROPEFORAGEGRASS ...wait
Match MAKEROPEBRAIDGRASS find some grass
Match MAKEROPEFORAGEGRASS Roundtime
Matchwait


MAKEROPEBRAIDGRASS:
move go portal


put braid my grass
move out
move w
move out
move e
move go brid
move e
move e
move e
move n
move ne
move e
move n
move go home
move go port


move nw
Match MAKEROPEBRAIDGRASS ...wait
move nw
Match MAKEROPEPULLGRASS bundling rope
move ne
Match MAKEROPEBRAIDGRASS Roundtime
Matchwait
move ne
move n
move n
move n
move n
move go gate
move go portal


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


put pull my grass
move go door
move e
move go portal


move go tree
Match MAKEROPEPULLGRASS ...wait
move s
Match MAKEROPEPULLGRASS Roundtime
move s
Match MAKEROPESTOREROPE new bundling rope
Matchwait
move go portal


MAKEROPESTOREROPE:
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
put put my rope in my %LARGESTORAGECONTAINER%
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:
counter subtract 1


goto MAKEROPE%c%
ECHO #####################
ECHO ###Already in AESRY##
ECHO #####################
exit


MAKEROPE0:
2SHARD:


goto NEXTFUNCTION
move go portal
exit


2MERKRESH:
#end MAKEROPE function (THIS FUNCTION HAS BEEN FIXED)
==================================================================================
==================================================================================
#begin ASTROLOGY function (THIS FUNCTION HAS BEEN FIXED)


move go portal
ASTROLOGY:


counter set 1
move out
move w
save ASTROLOGYSUPSPELLS2
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:
ASTROLOGYINDOORCHECK:


pause
move go portal


put obs weather
move out
move w
move out
move e
move go brid
move e
move e
move e
move n
move ne
move e
move n
move go home
move go port


move nw
Match ASTROLOGYKILLRT ...wait
move nw
Match ASTROLOGYFUNCTIONEND you can see the sky
move ne
Match ASTROLOGYSUPSPELLS You glance outside.
move ne
Match ASTROLOGYSUPSPELLS You glance up at the sky
Matchwait
move n
move n
move n
move n
move go gate
move go portal
exit


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


2ELBAINS:
counter set 1


move go portal
ASTROLOGYSTUDYSKY:


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 %HUMTHISTUNE%
move nw
put study SKY
move nw
move ne
move ne
move n
move n
move n
move n
move go gate
move go portal


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


ASTROLOGYBRIEFPAUSE:
move go door
move e
move go portal
exit


2MUSPARI:
pause 5
goto ASTROLOGYSTUDYSKY


ASTROLOGY1:
move go portal
ASTROLOGY2:
ASTROLOGY3:
ASTROLOGY4:
ASTROLOGY5:
ASTROLOGYADJUSTCTR:


counter add 1
move out
pause 11
move w
move out
goto ASTROLOGYSTUDYSKY
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


ASTROLOGY6:
move nw
ASTROLOGY7:
move nw
ASTROLOGY8:
move ne
goto %s%
move ne
move n
move n
move n
move n
move go gate
move go portal


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


pause
move go door
move e
move go portal


put predict EVENT
move go tree
move s
move s
move go portal
exit


2HIBARN:
Match ASTROLOGYPREDICTEVENT ...wait
Match ASTROLOGYADJUSTCTR You focus inwardly searching for insight
Matchwait


move go portal
ASTROLOGYSTUDYKATAMBA:


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


move go tree
ASTROLOGYSTUDYXIBAR:
move s
move s
move go portal


save ASTROLOGYSTUDYXIBAR
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 XIBAR
move go portal


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


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


save ASTROLOGYSTUDYYAVASH
move go door
move e
move go portal


pause
move go tree
move s
move s
move go portal


put study YAVASH
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 ASTROLOGYSTUDYSUN You are unable to comprehend
move se
Match ASTROLOGYSTUDYSUN 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:
ASTROLOGYSTUDYSUN:


save ASTROLOGYSTUDYSUN
move go portal


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


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


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


move go tree
ASTROLOGYSTUDYWOLF:
move s
move s
move go portal


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


ECHO #####################
ASTROLOGYSTUDYRAVEN:
ECHO ###Already in SHARD##
ECHO #####################
exit


3MERKRESH:
save ASTROLOGYSTUDYRAVEN


pause
move go portal
exit


3RIVERHAVEN:
put study RAVEN


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


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


3RATHA:
save ASTROLOGYSTUDYCAT


pause
move go portal


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


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


3MUSPARI:
ASTROLOGYSTUDYMAGPIE:


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


move go tree
ASTROLOGYSTUDYHEART:
move s
move s
move go portal
exit


3HIBARN:
save ASTROLOGYSTUDYHEART


pause
move go portal


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


move go door
ASTROLOGYSTUDYGIANT:
move e
move go portal


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


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


4CROSSING:
put study GIANT


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


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


save ASTROLOGYSTUDYSPIDER
move go door
move e
move go portal


pause
move go tree
move s
move s
move go portal


put study SPIDER
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 ASTROLOGYSTUDYKATAMBA You are unable to comprehend
move se
Match ASTROLOGYSTUDYKATAMBA 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:
ASTROLOGYCASTPIERCINGGAZE:


goto GPIERCINGGAZE
move go portal


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


put exp lore all
move go door
move e
move go portal


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


move w
ASTROLOGYKILLRT:
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
goto %s%
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
ASTROLOGYFUNCTIONEND:
move go portal
exit


4SHARD:
put %HUMTHISTUNE%
waitfor finish humming


goto NEXTFUNCTION
move go portal


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


move go door
MAGIC2:
move e
move go portal


move go tree
save MAGIC2SOD
move s
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


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


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


put get %CAMBRINTHDEVICE%
move n
move e
move go gate
move go door
move n
move w
move go vault
move go portal
exit


4MERKRESH:
Matchwait


ECHO #######################
MAGIC2EXPCHECK0:
ECHO ##Already in MERKRESH##
MAGIC2EXPCHECK1:
ECHO #######################
MAGIC2EXPCHECK2:
exit
MAGIC2EXPCHECK3:
MAGIC2EXPCHECK4:


MAGIC2MANACHECK:
4RIVERHAVEN:


Match MAGIC2SODSTOWTOOLS S>>>>>_
move go portal
exit
Match MAGIC2SODSTOWTOOLS S>>>>_
Match MAGIC2SODSTOWTOOLS S>>>_
Match MAGIC2SODSTOWTOOLS S>>_
Match MAGIC2SODSTOWTOOLS S>_
Match MAGIC2SODSTOWTOOLS S_
Match MAGIC2SOD MANA HELP


put mana
4RATHA:


Matchwait
move go portal


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


4ELBAINS:
setvariable RETURNPOINTER MAGIC2SOD


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


put prep SEAL OF DEFLECTION 5
move go gate
move se
move climb stair
move go door
move go portal


Matchwait
move go door
move e
move go portal
exit


4MUSPARI:
MAGIC2SODCHARGEORB:


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


move go gate
put charge my %CAMBRINTHDEVICE% 20
move se
move climb stair
move go door
move go portal


Matchwait
move go door
move e
move go portal


move go tree
MAGIC2SODFOCUSORB:
move s
move s
move go portal
exit


4HIBARN:
put focus my %CAMBRINTHDEVICE%


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


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


counter add 1
move go door
goto MAGIC2SODCAST
move e
move go portal


move go tree
MAGIC2SODCAST:
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 MAGIC2MANACHECK 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 MAGIC2MANACHECK 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 MAGIC2MANACHECK 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 go portal

move s
move s
move climb stair
move climb peartree
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,581: 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
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
PIKEFEINT:


put FEINT

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,515: 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,531: 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,543: 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,566: Line 6,273:
Match CLARIFYGEMSGETGEM shatters!
Match CLARIFYGEMSGETGEM shatters!


put cast my %GEMTYPE%
put cast my %GEMTYPE


Matchwait
Matchwait
Line 4,577: 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,583: 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,594: 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,617: 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