Training (script): Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
<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 53: Line 15:
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 >
echo #####################################################################
echo

===============================================================================================================================
put RESYNC
put RESYNC
waitfor >
waitfor >
Line 81: Line 43:
waitfor >
waitfor >


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

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

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

===============================================================================================================================
put HEAL
put HEAL
waitfor >
waitfor >
echo #####################################################################
echo

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

===============================================================================================================================
put INFO
put INFO
waitfor >
waitfor >
echo #####################################################################
echo

===============================================================================================================================
put RPA PIRP
put RPA PIRP
waitfor >
waitfor >
echo #####################################################################
echo

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

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

echo

===============================================================================================================================
put TIME
put TIME
waitfor >
waitfor >
put OBS WEATHER
put OBS WEATHER
waitfor >
waitfor >
echo #####################################################################
echo

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

put EXP FIXWALL
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 (THIS FUNCTION HAS BEEN FIXED)


FIRSTAID:
setvariable RETURNPOINTER GPGPREPSPELL


FIRSTAIDGETTHIRDCOMPENDIUM:
GPGPREPSPELL:


counter set 1
put %HUMTHISTUNE


put prep PIERCING GAZE 25
put sort compendium in %LARGESTORAGECONTAINER


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


put look in %LARGESTORAGECONTAINER
GPGFULLPREP:


waitfor You feel fully prepared

setvariable RETURNPOINTER %s%

GPGHARNESS1:
GPGHARNESS2:

put harness 15

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


FIRSTAID2COMPENDIUMS:
GPGUPDATECOUNTER:


setvariable TOTALCOMPENDIUMS second
counter add 1
counter set 2
goto FIRSTAIDCOUNTERCOPY


FIRSTAID1COMPENDIUM:
goto GPGHARNESS%c%

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

GPGSPELLCAST:

counter set 0

put cast %GLOBALSPELLTARGET%

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

GPIERCINGGAZEAT:
GPGAT:

if_2 setvariable GLOBALSPELLTARGET %2%
goto GPIERCINGGAZE

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

GCLEARVISION:

GCV:

setvariable RETURNPOINTER GCVPREPSPELL

GCVPREPSPELL:


setvariable TOTALCOMPENDIUMS first
counter set 1
counter set 1
goto FIRSTAIDCOUNTERCOPY


FIRSTAIDCOUNTERCOPY:
put prep CLEAR VISION 30


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


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


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


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


GCVHARNESS1:
GCVHARNESS2:

put harness 20

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


FIRSTAIDGETCOMPENDIUM0:
GCVUPDATECOUNTER:


counter add 1
goto NEXTFUNCTION


FIRSTAIDOPENCOMPENDIUM:
goto GCVHARNESS%c%


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


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


counter set 0
put open my compendium

put cast %GLOBALSPELLTARGET%


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


FIRSTAIDSTUDYCOMPENDIUM:
GCLEARVISIONAT:
GCVAT:


put %HUMTHISTUNE
if_2 setvariable GLOBALSPELLTARGET %2%
goto GCLEARVISION


Match FIRSTAIDSTUDYCOMPENDIUM ...wait
#end GLOBAL CLEAR VISION v2 function (THIS FUNCTION HAS BEEN FIXED2)
Match FIRSTAIDTURNCOMPENDIUM%c Why do you need to study this chart again?
==================================================================================
Match FIRSTAIDTURNCOMPENDIUM%c a sudden moment of clarity, the information on the chart
==================================================================================
Match FIRSTAIDSTUDYCOMPENDIUM You begin studying
#begin GLOBAL AURA SIGHT v2 function (THIS FUNCTION HAS BEEN FIXED2)
Match FIRSTAIDSTUDYCOMPENDIUM gradually absorbing more of the knowledge
Match FIRSTAIDERROR You study the sky but fail to find anything


put study my compendium
GAURASIGHT:

GAUS:

setvariable RETURNPOINTER GAUSPREPSPELL


GAUSPREPSPELL:

counter set 1

put prep AURA SIGHT 30

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


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


counter subtract 1
waitfor You feel fully prepared


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


put turn my compendium
GAUSHARNESS1:
GAUSHARNESS2:


put harness 15

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


FIRSTAIDTURNCOMPENDIUM0:
GAUSUPDATECOUNTER:


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


FIRSTAIDSTORECOMPENDIUM:
goto GAUSHARNESS%c%


Match FIRSTAIDSTORECOMPENDIUM ...wait
GAUSHARNESS3:
Match FIRSTAIDERROR What were you referring to?
GAUSHARNESS4:
Match FIRSTAIDCOUNTERCOPY You put your compendium in your
GAUSHARNESS5:
GAUSHARNESS6:
GAUSHARNESS7:
GAUSHARNESS8:
GAUSHARNESS9:
GAUSHARNESS10:


put put my compendium in my %LARGESTORAGECONTAINER
GAUSSPELLCAST:


counter set 0

put cast

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


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


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


GSHADOWS:
exit


FIRSTAIDERROR:
setvariable RETURNPOINTER GSHADOWSPREPSPELL


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


counter set 1
exit


#end FIRSTAID function (THIS FUNCTION HAS BEEN FIXED)
put prep SHADOWS 30
################################################################################
################################################################################
#begin PERCEPTION function (THIS FUNCTION HAS BEEN FIXED)


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


setvariable PERCEPTIONMATERIAL SILVER ZOMBIES
GSHADOWSFULLPREP:


PERCEPTIONSUPSPELLS:
waitfor You feel fully prepared


save PERCEPTIONGETTOOLS
setvariable RETURNPOINTER %s%
goto GCLEARVISION


PERCEPTIONGETTOOLS:
GSHADOWSHARNESS1:
GSHADOWSHARNESS2:


put harness 15
pause


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


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

Match PERCEPTIONWORK already holding that
counter add 1
Match NEXTFUNCTION could not find what

goto GSHADOWSHARNESS%c%

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

GSHADOWSSPELLCAST:

counter set 0

put cast %GLOBALSPELLTARGET%

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


GSHADOWSSPELLAT:
PERCEPTIONWORK:
GSHADOWSAT:


pause
if_2 setvariable GLOBALSPELLTARGET %2%
goto GSHADOWSSPELL


put %HUMTHISTUNE
#end GLOBAL SHADOWS v2 function (THIS FUNCTION HAS BEEN FIXED2)
put juggle my %PERCEPTIONMATERIAL
==================================================================================
==================================================================================
#begin GLOBAL SEER'S SENSE v2 function (THIS FUNCTION HAS BEEN FIXED2)


Match PERCEPTIONWORK ...wait
GSEERSSENSE:
Match EXPPERCEPTION Roundtime
GSEERS:
Match PERCEPTIONSTOWTOOLS Your injuries make juggling impossible

GSEER:

setvariable RETURNPOINTER GSEERPREPSPELL

GSEERPREPSPELL:

counter set 1

put prep SEER SENSE 26

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


GSEERFULLPREP:
EXPPERCEPTION:


waitfor You feel fully prepared
put exp skill perception


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

Match PERCEPTIONWORK EXP HELP for more information
GSEERHARNESS1:
GSEERHARNESS2:

put harness 15

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


PERCEPTIONSTOWTOOLS:
GSEERUPDATECOUNTER:


put put %PERCEPTIONMATERIAL in my %LARGESTORAGECONTAINER
counter add 1


goto GSEERHARNESS%c%
put %HUMTHISTUNE
waitfor finish humming


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


#end PERCEPTION function (THIS FUNCTION HAS BEEN FIXED)
GSEERSPELLCAST:
################################################################################
################################################################################
#begin FORAGING function (THIS FUNCTION HAS BEEN FIXED)


FORAGING:
counter set 0


FORAGINGDECLAREVARIABLES:
put cast %GLOBALSPELLTARGET%


setvariable FORAGINGCONTAINER bag in haversack
Match GSEERSPELLCAST ...wait
setvariable TEMPCOUNTER
Match %s% You gesture
setvariable ITEM
Matchwait
counter set 0


FORAGINGCOUNTERINCREASE:
GSEERSSENSEAT:
GSEERSAT:
GSEERAT:

if_2 setvariable GLOBALSPELLTARGET %2%
goto GSEERSSENSE

#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

GSHADOWLINGFULLPREP:

waitfor You feel fully prepared

setvariable RETURNPOINTER %s%

GSHADOWLINGHARNESS1:
GSHADOWLINGHARNESS2:

put harness 15

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

GSHADOWLINGUPDATECOUNTER:


counter add 1
counter add 1
goto FORAGE%c


FORAGE1:
goto GSHADOWLINGHARNESS%c%


setvariable ITEM old button
GSHADOWLINGHARNESS3:
goto FORAGINGHUM
GSHADOWLINGHARNESS4:
GSHADOWLINGHARNESS5:
GSHADOWLINGHARNESS6:
GSHADOWLINGHARNESS7:
GSHADOWLINGHARNESS8:
GSHADOWLINGHARNESS9:
GSHADOWLINGHARNESS10:


FORAGE2:
GSHADOWLINGSPELLCAST:


counter set 0
setvariable ITEM riolur leaf
goto FORAGINGHUM


put cast
FORAGE3:


setvariable ITEM georin grass
Match GSHADOWLINGSPELLCAST ...wait
Match %s% You gesture
goto FORAGINGHUM
Matchwait


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


setvariable ITEM fir stick
GSHADOWSERVANTSPELL:
goto FORAGINGHUM


GSHADOWSERVANT:
FORAGE5:


setvariable RETURNPOINTER GSHADOWSERVANTPREPSPELL
setvariable ITEM red flower
goto FORAGINGHUM


FORAGE6:
GSHADOWSERVANTPREPSPELL:


counter set 1
setvariable ITEM blue flower
goto FORAGINGHUM


FORAGE7:
put prep SHADOW SERVANT 44


setvariable ITEM oak stick
Match GSHADOWSERVANTPREPSPELL ...wait
goto FORAGINGHUM
Match KILLHUMMING You should stop playing
Match KILLSPELLPREP You are already preparing
Match KILLSPELLPREP You have to strain
Match GSHADOWSERVANTFULLPREP %SPELLPREPMESSAGE%
Matchwait


FORAGE8:
GSHADOWSERVANTFULLPREP:


waitfor You feel fully prepared
setvariable ITEM spruce stick
goto FORAGINGHUM


FORAGE9:
setvariable RETURNPOINTER %s%


setvariable ITEM berries
GSHADOWSERVANTHARNESS1:
goto FORAGINGHUM


FORAGINGHUM:
put harness 10


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


FORAGINGSTART:
GSHADOWSERVANTUPDATECOUNTER:


counter add 1
Match FORAGINGSTART ...wait
Match FORAGINGCOUNTERADD %ITEM
Match FORAGINGENDCLUTTER The room is too cluttered
Match FORAGINGCOUNTERINCREASE Roundtime


put forage %ITEM
goto GSHADOWSERVANTHARNESS%c%


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

GSHADOWSERVANTSPELLCAST:

counter set 0

put cast

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


FORAGINGCOUNTERADD:
GSHADOWSERVANTPYRAMIDS:

save GSHADOWSERVANTGETPYRAMIDS

goto GSHADOWSERVANT

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

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

GSTARLIGHTSPHERE:

GSLS:

setvariable RETURNPOINTER GSLSPREPSPELL

GSLSTESTTIME:

put time

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

GSLSPREPSPELL:

counter set 1

put prep STARLIGHT SPHERE 20

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

GSLSFULLPREP:

waitfor You feel fully prepared

setvariable RETURNPOINTER %s%

GSLSHARNESS1:

put harness 10

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

GSLSUPDATECOUNTER:


counter add 1
counter add 1
goto FORAGINGSTORE


FORAGINGSTORE:
goto GSLSHARNESS%c%


Match FORAGINGSTORE ...wait
GSLSHARNESS2:
Match FORAGINGENDSTORAGE too heavy to go
GSLSHARNESS3:
Match EXPFORAGING%c You put your
GSLSHARNESS4:
Match EXPFORAGING%c You drop
GSLSHARNESS5:
GSLSHARNESS6:
GSLSHARNESS7:
GSLSHARNESS8:
GSLSHARNESS9:
GSLSHARNESS10:


put put %ITEM in %FORAGINGCONTAINER
GSLSSPELLCAST:


counter set 0

put cast RAVEN

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


GSLSSPELLFAIL:
EXPFORAGING1:
EXPFORAGING2:
EXPFORAGING3:
EXPFORAGING4:


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


EXPFORAGING5:
goto %s%
EXPFORAGING6:

EXPFORAGING7:
#end GLOBAL STARLIGHT SPHERE v2 function (THIS FUNCTION HAS BEEN FIXED2)
EXPFORAGING8:
==================================================================================
EXPFORAGING9:
==================================================================================
EXPFORAGING10:
#begin GLOBAL PSYCHIC SHIELD v2 function (THIS FUNCTION HAS BEEN FIXED2)
EXPFORAGING11:

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

GPSYFULLPREP:

waitfor You feel fully prepared

setvariable RETURNPOINTER %s%

GPSYHARNESS1:
GPSYHARNESS2:

put harness 20

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

GPSYUPDATECOUNTER:

counter add 1

goto GPSYHARNESS%c%

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

GPSYSPELLCAST:


counter set 0
counter set 0


Match FORAGINGEND mind lock
put cast %GLOBALSPELLTARGET%
Match FORAGINGHUM EXP HELP for more information


put exp skill foraging
Match GPSYSPELLCAST ...wait
Match %s% You gesture
Matchwait

GPSYCHICSHIELDAT:
GPSYAT:


if_2 setvariable GLOBALSPELLTARGET %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


FORAGINGENDCLUTTER:
GFMFULLPREP:


echo ========================================
pause 10
echo =The room is too cluttered to continue.=
echo ========================================
exit


FORAGINGENDSTORAGE:
setvariable RETURNPOINTER %s%


echo =================================
GFMHARNESS1:
echo =Your storage container is full.=
GFMHARNESS2:
echo =================================
GFMHARNESS3:
exit
GFMHARNESS4:
GFMHARNESS5:


FORAGINGEND:
put harness 20


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


#end FORAGING function (THIS FUNCTION HAS BEEN FIXED)
GFMUPDATECOUNTER:
################################################################################
################################################################################
#begin RANGED function (THIS FUNCTION HAS BEEN FIXED)


RANGED:
counter add 1


shift
goto GFMHARNESS%c%
setvariable rangedweapon %1 %2
setvariable rangedammo quadrel
setvariable rangedlooppoint RANGEDCHECKHANDS
setvariable backcontainer rucksack
setvariable ammocontainer quiver


RANGEDCHECKHANDS:
GFMHARNESS6:
GFMHARNESS7:
GFMHARNESS8:
GFMHARNESS9:
GFMHARNESS10:


put glance
GFMSPELLCAST:


Match RANGEDLCROSSBOW crossbow in your right
counter set 0
Match RANGEDHCROSSBOW teak stock in your right

Match RANGEDSBOW short bow in your right
put cast %GLOBALMOON%
Match RANGEDLBOW longbow in your right

MATCH RANGEDCBOW bowstring in your right
Match GFMSPELLCAST ...wait
Match %s% You gesture
Match RANGEDSLING sling in your right
Matchre RANGEDCHECKINPUT /left hand|empty hands/
Matchwait
Matchwait


RANGEDCHECKINPUT:
GFOCUSMOONBEAMAT:
GFMAT:


if_2 setvariable GLOBALMOON %2%
if_1 setvariable rangedweapon %1 %2
goto GFOCUSMOONBEAM
if_1 goto RANGEDGETWEAPON


setvariable rangedweapon INVALID INPUT
#end GLOBAL FOCUS MOONBEAM v2 function (THIS FUNCTION HAS BEEN FIXED2)
goto RANGEDNOINPUT
==================================================================================
==================================================================================
#begin GLOBAL SEAL OF DEFLECTION v2 function (THIS FUNCTION HAS BEEN FIXED2)


RANGEDGETWEAPON:
GSEALOFDEFLECTION:


put stow left
GSOD:


put wield %RANGEDWEAPON
setvariable RETURNPOINTER GSODPREPSPELL


Match RANGEDLCROSSBOW crossbow
GSODPREPSPELL:
Match RANGEDHCROSSBOW slurbow

counter set 1
Match RANGEDSBOW short bow
Match RANGEDLBOW longbow

Match RANGEDCBOW composite bow
put prep SEAL OF DEFLECTION 20
Match RANGEDSLING sling

Match GSODPREPSPELL ...wait
Match RANGEDREMOVEWEAPON already in your inventory
Match KILLHUMMING You should stop playing
Match RANGEDNOWEAPON referring to?
Match KILLSPELLPREP You are already preparing
Match KILLSPELLPREP You have to strain
Match GSODFULLPREP %SPELLPREPMESSAGE%
Matchwait
Matchwait


RANGEDREMOVEWEAPON:
GSODFULLPREP:


waitfor You feel fully prepared
put stow left


put remove %RANGEDWEAPON
setvariable RETURNPOINTER %s%


goto %RANGEDLOOPPOINT
GSODHARNESS1:
GSODHARNESS2:


RANGEDLCROSSBOW:
put harness 15


setvariable rangedweapon crossbow
Match GSODHARNESS%c% ...wait
setvariable rangedammo quadrel
Match GSODUPDATECOUNTER You tap into the mana from
Match KILLSPELLPREP You strain, but cannot harness
Matchwait


goto RANGEDLOAD
GSODUPDATECOUNTER:


RANGEDHCROSSBOW:
counter add 1


setvariable rangedweapon slurbow
goto GSODHARNESS%c%
setvariable rangedammo quadrel


goto RANGEDLOAD
GSODHARNESS3:
GSODHARNESS4:
GSODHARNESS5:
GSODHARNESS6:
GSODHARNESS7:
GSODHARNESS8:
GSODHARNESS9:
GSODHARNESS10:


GSODSPELLCAST:
RANGEDSBOW:


counter set 0
setvariable rangedweapon bow
setvariable rangedammo arrow


goto RANGEDLOAD
put cast %GLOBALSPELLTARGET%


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


setvariable rangedweapon longbow
GSEALOFDEFLECTIONAT:
setvariable rangedammo arrow
GSODAT:


goto RANGEDLOAD
if_2 setvariable GLOBALSPELLTARGET %2%
goto GSEALOFDEFLECTION


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


setvariable rangedweapon bow
GSEVERTHREAD:
setvariable rangedammo arrow


goto RANGEDLOAD
GSET:


RANGEDSLING:
setvariable RETURNPOINTER GSETPREPSPELL


setvariable rangedweapon sling
GSETPREPSPELL:
setvariable rangedammo rock


counter set 1
goto RANGEDLOAD


RANGEDLOAD:
put prep SEVER THREAD 22


setvariable rangedlooppoint RANGEDLOAD
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


put load my %RANGEDWEAPON with %RANGEDAMMO from %AMMOCONTAINER
GSETFULLPREP:


Match RANGEDPAUSEDELAY ...wait
waitfor You feel fully prepared
Match RANGEDAIM Roundtime

Match RANGEDAIM already loaded
setvariable RETURNPOINTER %s%
Match RANGEDNOAMMO don't have the proper ammunition

GSETHARNESS1:
GSETHARNESS2:

put harness 20

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


RANGEDAIM:
GSETUPDATECOUNTER:


setvariable rangedlooppoint RANGEDAIM
counter add 1


goto GSETHARNESS%c%
put aim


Match RANGEDPAUSEDELAY ...wait
GSETHARNESS3:
Match RANGEDFIRE You begin to target
GSETHARNESS4:
Match RANGEDFIRE already targetting
GSETHARNESS5:
Match RANGEDGATHERAMMO referring to.
GSETHARNESS6:
GSETHARNESS7:
GSETHARNESS8:
GSETHARNESS9:
GSETHARNESS10:

GSETSPELLCAST:

counter set 0

put cast %GLOBALSPELLTARGET%

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


RANGEDFIRE:
GSETPREDICTSEVERTARGET:


pause 5
put predict sever %GLOBALSPELLTARGET%


setvariable rangedlooppoint RANGEDFIRE
Match GSETPREDICTSEVERTARGET ...wait
Match %s% Roundtime
Matchwait


put fire
GSEVERTHREADAT:
GSETAT:


Match RANGEDPAUSEDELAY ...wait
if_2 setvariable GLOBALSPELLTARGET %2%
goto GSEVERTHREAD
Match RANGEDLOAD You fire
Match RANGEDUNLOADWEAPON referring to.

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

GLOCATESPELL:

GLOCATE:

setvariable RETURNPOINTER GLOCATEPREPSPELL

GLOCATEPREPSPELL:

counter set 1

put prep LOCATE 20

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


RANGEDUNLOADWEAPON:
GLOCATEFULLPREP:


setvariable RANGEDLOOPPOINT RANGEDUNLOADWEAPON
waitfor You feel fully prepared


put unload
setvariable RETURNPOINTER %s%


Match RANGEDPAUSEDELAY ...wait
GLOCATEHARNESS1:
Match RANGEDSTOWALL Roundtime
GLOCATEHARNESS2:

put harness 15

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


RANGEDSTOWALL:
GLOCATEUPDATECOUNTER:


counter add 1
pause


put put %RANGEDAMMO in %AMMOCONTAINER
goto GLOCATEHARNESS%c%
put put %RANGEDWEAPON in %BACKCONTAINER


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


RANGEDSTOWAMMO:
GLOCATESPELLCAST:


put put %RANGEDAMMO in %AMMOCONTAINER
counter set 0

put cast %GLOBALSPELLTARGET%


Match GLOCATESPELLCAST ...wait
Match RANGEDSTOWAMMO ...wait
Match %s% You gesture
Match %RANGEDLOOPPOINT You put your
Matchwait
Matchwait


RANGEDSTOWAMMOPAUSE:
GLOCATESPELLAT:
GLOCATEAT:


pause
if_2 setvariable GLOBALSPELLTARGET %2%
goto GLOCATESPELL


put put %RANGEDAMMO in %AMMOCONTAINER
#end GLOBAL LOCATE v2 function (THIS FUNCTION HAS BEEN FIXED2)
==================================================================================
==================================================================================
#begin GLOBAL MENTAL BLAST v2 function (THIS FUNCTION HAS BEEN FIXED2)


Match RANGEDSTOWAMMO ...wait
GMENTALBLAST:
Match %RANGEDLOOPPOINT You put your

GMB:

setvariable RETURNPOINTER GMBPREPSPELL

GMBPREPSPELL:

counter set 1

put prep MENTAL BLAST 25

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


RANGEDGATHERAMMO:
GMBFULLPREP:


setvariable rangedlooppoint RANGEDGATHERAMMO
pause 16


setvariable RETURNPOINTER %s%
put get %RANGEDAMMO


Matchre RANGEDSTOWAMMOPAUSE /You pull|You pick up/
GMBHARNESS1:
Match RANGEDFINISHED You get
GMBHARNESS2:
Match RANGEDRESETLOOP You must unload

put harness 20

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


RANGEDRESETLOOP:
GMBUPDATECOUNTER:


setvariable rangedlooppoint RANGEDAIM
counter add 1


goto GMBHARNESS%c%
goto RANGEDAWAITTARGETS


GMBHARNESS3:
RANGEDFINISHED:
GMBHARNESS4:
GMBHARNESS5:
GMBHARNESS6:
GMBHARNESS7:
GMBHARNESS8:
GMBHARNESS9:
GMBHARNESS10:


setvariable rangedlooppoint RANGEDAIM
GMBSPELLCAST:


counter set 0
goto RANGEDSTOWAMMO


RANGEDNOWEAPON:
put cast %GLOBALSPELLTARGET%


echo ##################################################################
Match GMBSPELLCAST ...wait
echo * You do not have this type of weapon (%RANGEDWEAPON) available *
Match %s% You gesture
echo ##################################################################
Matchwait


goto RANGEDEXIT
GMENTALBLASTAT:
GMBAT:


RANGEDNOINPUT:
if_2 setvariable GLOBALSPELLTARGET %2%
goto GMENTALBLAST


echo ################################################################
#end GLOBAL MENTAL BLAST v2 function (THIS FUNCTION HAS BEEN FIXED2)
echo * You are not holding a weapon and have not made a valid entry *
==================================================================================
echo * at the beginning of the script (%RANGEDWEAPON) *
==================================================================================
echo ################################################################
#begin GLOBAL TEZIRAH'S VEIL v2 function (THIS FUNCTION HAS BEEN FIXED2)


goto RANGEDEXIT
GTEZIRAHSVEIL:


GTV:
RANGEDNOAMMO:


echo ##################################################################
setvariable RETURNPOINTER GTVPREPSPELL
echo * You do not have the correct ammunition (%RANGEDAMMO) for your *
echo * selected weapon (%RANGEDWEAPON). Get some %RANGEDAMMOs or *
echo * open the container holding them in order to start this script *
echo ##################################################################


goto RANGEDEXIT
GTVPREPSPELL:


RANGEDPAUSEDELAY:
counter set 1


put prep TEZIRA VEIL 28
pause


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


RANGEDAWAITTARGETS:
GTVFULLPREP:


Matchre %RANGEDLOOPPOINT /on you|at you|closing steadily|pole weapon|melee range|rock troll|barghest|sprite/
pause 16
Matchwait


RANGEDEXIT:
setvariable RETURNPOINTER %s%


goto NEXTFUNCTION
GTVHARNESS1:
GTVHARNESS2:


#end RANGED function (THIS FUNCTION HAS BEEN FIXED)
put harness 15
################################################################################
################################################################################
LE:


setvariable COMBATMOVE1 DODGE
Match GTVHARNESS%c% ...wait
setvariable COMBATMOVE2 FEINT %2
Match GTVUPDATECOUNTER You tap into the mana from
setvariable COMBATMOVE3 DRAW %2
Match KILLSPELLPREP You strain, but cannot harness
setvariable COMBATMOVE4 SLICE %2
Matchwait
setvariable COMBATMOVE5 CHOP %2
setvariable COMBATMOVE6 LEAN BACK


counter set 1
GTVUPDATECOUNTER:


goto WIELDWEAPON
counter add 1


################################################################################
goto GTVHARNESS%c%
################################################################################
ME:
HE:
2HE:


setvariable COMBATMOVE1 DODGE
GTVHARNESS3:
setvariable COMBATMOVE2 FEINT
GTVHARNESS4:
setvariable COMBATMOVE3 DRAW
GTVHARNESS5:
setvariable COMBATMOVE4 SWEEP
GTVHARNESS6:
setvariable COMBATMOVE5 SLICE
GTVHARNESS7:
setvariable COMBATMOVE6 CHOP
GTVHARNESS8:
setvariable COMBATMOVE7 ENC
GTVHARNESS9:
GTVHARNESS10:


counter set 1
GTVSPELLCAST:


goto WIELDWEAPON
counter set 0


################################################################################
put cast %GLOBALSPELLTARGET%
################################################################################
LB:
MB:
HB:
2HB:


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


counter set 1
GTEZIRAHSVEILAT:
GTVAT:


goto WIELDWEAPON
if_2 setvariable GLOBALSPELLTARGET %2%
goto GTEZIRAHSVEIL


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


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


counter set 1
GRIPPLE:


goto WIELDWEAPON
setvariable RETURNPOINTER GRIPPLEPREPSPELL


################################################################################
GRIPPLEPREPSPELL:
################################################################################
PIKE:


setvariable COMBATMOVE1 DODGE
counter set 1
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 prep RIPPLE 20


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


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


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


counter set 1
setvariable RETURNPOINTER %s%


goto WIELDWEAPON
GRIPPLEHARNESS1:


################################################################################
put harness 20
################################################################################
HALBERD:


setvariable COMBATMOVE1 DODGE
Match GRIPPLEHARNESS%c% ...wait
setvariable COMBATMOVE2 DRAW
Match GRIPPLEUPDATECOUNTER You tap into the mana from
setvariable COMBATMOVE3 SLICE
Match KILLSPELLPREP You strain, but cannot harness
setvariable COMBATMOVE4 SWEEP
Matchwait
setvariable COMBATMOVE5 CHOP
setvariable COMBATMOVE6 ENC


counter set 1
GRIPPLEUPDATECOUNTER:


goto WIELDWEAPON
counter add 1


################################################################################
goto GRIPPLEHARNESS%c%
################################################################################
HT:
LT:


setvariable COMBATMOVE1 THROW
GRIPPLEHARNESS2:
setvariable COMBATMOVE2 GET %2 %3
GRIPPLEHARNESS3:
setvariable COMBATMOVE3 ENC
GRIPPLEHARNESS4:
GRIPPLEHARNESS5:
GRIPPLEHARNESS6:
GRIPPLEHARNESS7:
GRIPPLEHARNESS8:
GRIPPLEHARNESS9:
GRIPPLEHARNESS10:


counter set 1
GRIPPLESPELLCAST:


goto WIELDWEAPON
counter set 0


################################################################################
put cast
################################################################################
#begin WIELDWEAPON function


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


counter set 1
#end GLOBAL RIPPLE v2 function (THIS FUNCTION HAS BEEN FIXED2)
==================================================================================
==================================================================================
#begin GLOBAL CONTINGENCY v2 function (THIS FUNCTION HAS BEEN FIXED2)


goto WIELDWEAPON
GCONTINGENCYSPELL:


WIELDWEAPONADDCOUNTER:
GCONTINGENCY:


counter add 1
setvariable RETURNPOINTER GCONTINGENCYPREPSPELL


goto WIELDWEAPON
GCONTINGENCYPREPSPELL:


WIELDWEAPON:
counter set 1


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


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


Matchwait
GCONTINGENCYFULLPREP:


WIELDWEAPONWAITTARGET:
waitfor You feel fully prepared


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


put ASSES
GCONTINGENCYHARNESS1:


Matchwait
put harness 20


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


Match WIELDWEAPONADVANCE ...wait
GCONTINGENCYUPDATECOUNTER:
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
counter add 1


Matchwait
goto GCONTINGENCYHARNESS%c%


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


Match WIELDWEAPONADVANCE begins to advance on you!
GCONTINGENCYSPELLCAST:
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
counter set 0


################################################################################
put cast %GLOBALMOON%
################################################################################
#begin LOCKPICKING function (THIS FUNCTION HAS BEEN FIXED)


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


LOCKPICKINGGETTOOLS:
GCONTINGENCYSPELLAT:
GCONTINGENCYAT:


Match LOCKPICKINGGETTOOLS ...wait
if_2 setvariable GLOBALMOON %2%
Match LOCKPICKINGPICK You get a
goto GCONTINGENCY
Match LOCKPICKINGPICK You are already holding
Match LOCKPICKINGNOTOOLS What were you referring


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


GCAGEOFLIGHT:

GCOL:

setvariable RETURNPOINTER GCOLPREPSPELL

GCOLPREPSPELL:

counter set 1

put prep CAGE OF LIGHT 23

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


GCOLFULLPREP:
LOCKPICKINGPICK:


put %HUMTHISTUNE
waitfor You feel fully prepared


Match LOCKPICKINGPICK ...wait
setvariable RETURNPOINTER %s%
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
GCOLHARNESS1:


put harness 20

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


LOCKPICKINGEXPCHECK:
GCOLUPDATECOUNTER:


Match LOCKPICKINGSTOWTOOLS mind lock
counter add 1
Match LOCKPICKINGPICK EXP HELP


goto GCOLHARNESS%c%
put exp skill lock


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


LOCKPICKINGNOTOOLS:
GCAGEOFLIGHTAT:
GCOLAT:


echo #################################################
if_2 setvariable GLOBALMOON %2%
echo # #
goto GCAGEOFLIGHT
echo # You have no lockpicks to use in this training #
echo # #
echo #################################################


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


LOCKPICKINGBOXISOPEN:
GDAZZLESPELL:


setvariable BOXISOPEN 1
GDAZZLE:
goto LOCKPICKINGSTOWTOOLS%BOXISOPEN


LOCKPICKINGSTOWTOOLS:
setvariable RETURNPOINTER GDAZZLEPREPSPELL


Match LOCKPICKINGSTOWTOOLS ...wait
GDAZZLEPREPSPELL:
Match LOCKPICKINGSTOWBOX What were you referring
Match LOCKPICKINGSTOWBOX You put your


put put lock in %LOCKPICKSTORAGECONTAINER
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


LOCKPICKINGSTOWTOOLS1:
GDAZZLEFULLPREP:


Match LOCKPICKINGSTOWTOOLS1 ...wait
waitfor You feel fully prepared
Match LOCKPICKINGOPENBOX What were you referring
Match LOCKPICKINGOPENBOX You put your


put put lock in %LOCKPICKSTORAGECONTAINER
setvariable RETURNPOINTER %s%


GDAZZLEHARNESS1:
GDAZZLEHARNESS2:

put harness 15

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


LOCKPICKINGOPENBOX:
GDAZZLEUPDATECOUNTER:


Match LOCKPICKINGOPENBOX ...wait
counter add 1
Match LOCKPICKINGDISMANTLEBOX You open

Match LOCKPICKINGSHIFTDOWN What were you referring to
goto GDAZZLEHARNESS%c%

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

GDAZZLESPELLCAST:

counter set 0


put cast %GLOBALSPELLTARGET%
put open my %2


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


LOCKPICKINGDISMANTLEBOX:
GDAZZLESPELLAT:
GDAZZLEAT:


Match LOCKPICKINGDISMANTLEBOX ...wait
if_2 setvariable GLOBALSPELLTARGET %2%
Match LOCKPICKINGDISMANTLEBOX you'd like to dump the contents
goto GDAZZLESPELL
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
#end GLOBAL DAZZLE function (THIS FUNCTION HAS BEEN FIXED)
==================================================================================
==================================================================================
#begin GLOBAL EASE BURDEN function (THIS FUNCTION HAS BEEN FIXED)


GEASEBURDEN:

GEASE:

setvariable RETURNPOINTER GEASEPREPSPELL

GEASEPREPSPELL:

counter set 1

put prep EASE 30

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


LOCKPICKINGSTOWBOX:
GEASEFULLPREP:


Match LOCKPICKINGSTOWBOX ...wait
waitfor You feel fully prepared
Match LOCKPICKINGSHIFTDOWN What were you referring
Match LOCKPICKINGSHIFTDOWN You put your


put put my %2 in %LARGESTORAGECONTAINER
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


LOCKPICKINGSHIFTDOWN:
GEASEUPDATECOUNTER:


counter add 1
shift

goto GEASEHARNESS%c%

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

GEASEBURDENAT:
GEASEAT:

if_2 setvariable GLOBALSPELLTARGET %2%
goto GEASEBURDEN

#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

GDGFULLPREP:

waitfor You feel fully prepared

setvariable RETURNPOINTER %s%

GDGHARNESS1:
GDGHARNESS2:

put harness 20

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

GDGUPDATECOUNTER:

counter add 1

goto GDGHARNESS%c%

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

GDGSPELLCAST:

counter set 0

put cast %GLOBALMOON%

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

GDISTANTGAZEAT:
GDGAT:

if_2 setvariable GLOBALMOON %2%
goto GDISTANTGAZE

#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

GLOBALSOPCAST:

pause 2

put cast

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

GLOBALSOPREL:

put rel
goto %s%

#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

PERCEPTIONWORK:

pause

put %HUMTHISTUNE%
put juggle my %PERCEPTIONMATERIAL%

Match PERCEPTIONWORK ...wait
Match EXPPERCEPTION Roundtime
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
goto NEXTFUNCTION


#end PERCEPTION function (THIS FUNCTION HAS BEEN FIXED)
#end LOCKPICKING function (THIS FUNCTION HAS BEEN FIXED)
################################################################################
==================================================================================
################################################################################
==================================================================================
#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.)
#begin POWERPERCEIVE function (THIS FUNCTION HAS BEEN FIXED)


POWERPERCEIVE:
POWERPERCEIVE:

POWERPERCEIVESUPSPELLS:

save POWERPERCEIVEPREPSHADOWLING
goto GAURASIGHT

POWERPERCEIVEPREPSHADOWLING:

pause

put prep SHADOWLING

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

POWERPERCEIVEPERCSHADOWLING:

put perc SHADOWLING

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

POWERPERCEIVEFPREPSHADOWLING:

waitfor You feel fully prepared to cast

POWERPERCEIVERELSHADOWLING:

put release SHADOWLING

Match POWERPERCEIVERELSHADOWLING ...wait
Match POWERPERCEIVECASTSHADOWLING shadowling
Matchwait

POWERPERCEIVECASTSHADOWLING:

put cast

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

EXPPOWERPERCEIVE:

pause

put perc SERVANT

put exp skill pp

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

POWERPERCEIVECHECKMANA:

put mana

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

#end POWERPERCEIVE function (THIS FUNCTION HAS BEEN FIXED)
==================================================================================
==================================================================================
#begin POWERPERCEIVE4 function (This function used to be part of the main POWERPERCEIVE function and would be called provided the

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

POWERPERCEIVE4:


POWERPERCEIVECONCENTRATE:
POWERPERCEIVECONCENTRATE:
Line 1,963: Line 1,092:
waitfor Roundtime
waitfor Roundtime


goto POWERPERCEIVE4CHECKEXP
goto POWERPERCEIVECHECKEXP


POWERPERCEIVECHECKEXP:
POWERPERCEIVE4CHECKEXP:


Match POWERPERCEIVE4ENDFUNCTION mind lock
Match POWERPERCEIVEENDFUNCTION mind lock
Match POWERPERCEIVE4 EXP HELP
Match POWERPERCEIVE EXP HELP


put exp skill power perc
put exp skill power perc
Line 1,974: Line 1,103:
Matchwait
Matchwait


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


goto NEXTFUNCTION
POWERPERCEIVE3:
exit


#end POWERPERCEIVE function
put release
################################################################################
################################################################################
#begin MAGIC function (THIS FUNCTION HAS BEEN FIXED)


MAGIC:
POWERPERCEIVE3INITIALSHADOWLING:


save MAGICSOD
setvariable RETURNPOINTER POWERPERCEIVE3INITIALSHADOWLING


counter set 0
put prep SHADOWLING


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


MAGICEXPCHECK0:
POWERPERCEIVE3INITIALSHADOWLINGCONT:
MAGICEXPCHECK1:
MAGICEXPCHECK2:
MAGICEXPCHECK3:
MAGICEXPCHECK4:


MAGICMANACHECK:
pause 10


Match MAGICSODSTOWTOOLS S>>>>>>>>|_
put cast
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
POWERPERCEIVE3PREPSHADOWLING:


put prep SHADOWLING

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


MAGICSOD:
POWERPERCEIVE3HIDE:


setvariable RETURNPOINTER MAGICSOD
pause


Match KILLHUMMING should stop playing before
put hide
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


Match POWERPERCEIVE3HIDE ...wait
Match POWERPERCEIVE3STALK Roundtime:
Matchwait
Matchwait


MAGICSODCHARGEORB:
POWERPERCEIVE3STALK:


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


put charge my %CAMBRINTHDEVICE 20
Match POWERPERCEIVE3STALK ...wait
Match POWERPERCEIVE3HIDE ruining your hiding place
Match POWERPERCEIVE3PERCEIVE move into position to stalk
Matchwait


POWERPERCEIVE3PERCEIVE:

put perceive SHADOWLING

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


MAGICSODFOCUSORB:
EXPPOWERPERCEIVE3:


put exp skill pp
put focus my %CAMBRINTHDEVICE


Match NEXTFUNCTION mind lock
Match MAGICSODFOCUSORB ...wait
Match POWERPERCEIVE3CHECKMANA EXP HELP for more information
Match MAGICSOINCREASECOUNTER forge a magical link to it
Match MAGICSOINCREASECOUNTER is intact
Matchwait
Matchwait


MAGICSOINCREASECOUNTER:
POWERPERCEIVE3CHECKMANA:


pause 2
counter add 1
goto MAGICSODCAST


MAGICSODCAST:
put mana

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


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


put cast
put cast


Match POWERPERCEIVE3PREPSHADOWLING form of a shadowling
Match NEXTFUNCTION unable to harness sufficient
Matchwait
Matchwait


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


save MAGICSODNOTOOLS
AMBUSHING:


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


put retreat
put prep SEAL OF DEFLECTION 20


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


MAGICSODFULLPREP:
AMBUSHHIDE:


waitfor You feel fully prepared
put hide
goto MAGICSODCAST


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


counter set 0
AMBUSHADVANCE:


Match MAGICEXPHARNESS mind lock
put advance
Match MAGICMANACHECK EXP HELP for more information

put exp skill primary magic


Match AMBUSHADVANCEPAUSE ...wait
Match AMBUSHSTALK stealthily advance
Match AMBUSHRETREAT begin to advance
Match AMBUSHRETREAT already at melee
Match AMBUSHFACENEXT advance towards?
Matchwait
Matchwait


MAGICEXPHARNESS:
AMBUSHADVANCEPAUSE:


Match MAGICEXPMAGDEVICES mind lock
pause
Match MAGICMANACHECK EXP HELP for more information


goto AMBUSHADVANCE
put exp skill harness

AMBUSHFACENEXT:

put face next


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


MAGICEXPMAGDEVICES:
AMBUSHSTALK:


Match MAGICSODSTOWTOOLS mind lock
put stalk
Match MAGICMANACHECK EXP HELP for more information


put exp skill magical devices
Match AMBUSHSTALK ...wait
Match AMBUSHHIDE hidden first!
Match AMBUSHAMBUSH move into position to stalk
Match AMBUSHAMBUSH already stalking
Match NEXTFUNCTION nothing else to face!
Matchwait


AMBUSHAMBUSH:

waitfor melee

put ambush

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


MAGICSODSTOWTOOLS:
AMBUSHPARRY:


put parry
goto NEXTFUNCTION
exit


#end MAGIC function (THIS FUNCTION HAS BEEN FIXED)
Match AMBUSHPARRYPAUSE ...wait
################################################################################
Match AMBUSHEXPHIDING move into a position
################################################################################
Match AMBUSHRETREAT already in a position
#begin GLOBALWEAPONRESET function (THIS FUNCTION HAS BEEN FIXED)
Matchwait


GLOBALWEAPONRESET:
AMBUSHPARRYPAUSE:


pause
Match %s at you
Match %s melee
Matchwait


#end GLOBALWEAPONRESET function (THIS FUNCTION HAS BEEN FIXED)
goto AMBUSHPARRY
################################################################################
################################################################################
#begin KILLHUMMING function (THIS FUNCTION HAS BEEN FIXED)


EXPHIDING:
KILLHUMMING:


put exp skill hiding
put stop hum


Match NEXTFUNCTION mind lock
goto %RETURNPOINTER
Match EXPSTALKING EXP HELP for more information
Matchwait


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


KILLSPELLPREP:
pause


put exp skill stalking
put release


Match NEXTFUNCTION mind lock
Match KILLSPELLPREP ...wait
Match AMBUSHRETREAT EXP HELP for more information
Match %RETURNPOINTER RELEASE HELP
Matchwait
Matchwait


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


######################### SPELL PREPARATION FUNCTIONS ##########################
FORAGING:


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


BARRIERSPELL1:
setvariable FORAGINGCONTAINER bag in haversack
setvariable TEMPCOUNTER
setvariable ITEM
counter set 0


setvariable SPELLRETURNPOINTER BARRIERSPELL2
FORAGINGCOUNTERINCREASE:
goto GPSY


BARRIERSPELL2:
counter add 1
goto FORAGE%c%


setvariable SPELLRETURNPOINTER BARRIERSPELL3
FORAGE1:
goto GSOD


BARRIERSPELL3:
setvariable ITEM old button
goto FORAGINGHUM


setvariable SPELLRETURNPOINTER NEXTFUNCTION
FORAGE2:
goto GSHEAR


################################################################################
setvariable ITEM riolur leaf
################################################################################
goto FORAGINGHUM
#cap is 55 mana WHOLE DISPLACEMENT SPELL


GWHOLEDISPLACEMENT:
FORAGE3:
GWD:


setvariable ITEM georin grass
setvariable SPELLTOPREP WHOLE DISPLACEMENT
setvariable SPELLBASEMANA 35
goto FORAGINGHUM
setvariable SPELLMANAHARNESS 20
setvariable SPELLMANAINCREMENTS 1
setvariable GLOBALSPELLTARGET
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


GWHOLEDISPLACEMENTAT:
FORAGE4:
GWDAT:


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


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


GTKTAT:
setvariable ITEM red flower
goto FORAGINGHUM


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


################################################################################
setvariable ITEM blue flower
################################################################################
goto FORAGINGHUM
#cap is 45 mana TELEKINETIC STORM SPELL


GTKS:
FORAGE7:
GTSK:


setvariable ITEM oak stick
setvariable SPELLTOPREP TKS
setvariable SPELLBASEMANA 25
goto FORAGINGHUM
setvariable SPELLMANAHARNESS 20
setvariable SPELLMANAINCREMENTS 1
setvariable GLOBALSPELLTARGET
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


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


GSHEAR:
setvariable ITEM spruce stick
goto FORAGINGHUM


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


################################################################################
setvariable ITEM berries
################################################################################
goto FORAGINGHUM
#cap is 50 mana DARKNESS SPELL


GDARKNESS:
FORAGINGHUM:
GDARK:


setvariable SPELLTOPREP DARKNESS
put %HUMTHISTUNE%
setvariable SPELLBASEMANA 25
goto FORAGINGSTART
setvariable SPELLMANAHARNESS 25
setvariable SPELLMANAINCREMENTS 1
setvariable GLOBALSPELLTARGET
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


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


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


setvariable SPELLTOPREP SHADOW WEB
put forage %ITEM%
setvariable SPELLBASEMANA 22
setvariable SPELLMANAHARNESS 30
setvariable SPELLMANAINCREMENTS 1
setvariable GLOBALSPELLTARGET
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


Matchwait


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


GPDAT:
counter add 1
goto FORAGINGSTORE


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


################################################################################
Match FORAGINGSTORE ...wait
################################################################################
Match FORAGINGENDSTORAGE too heavy to go
#cap is 75 mana IMBUE SPELL
Match EXPFORAGING%c% You put your
Match EXPFORAGING%c% You drop


GIMBUEAT:
put put %ITEM% in %FORAGINGCONTAINER%


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


################################################################################
EXPFORAGING1:
################################################################################
EXPFORAGING2:
#cap is 48 mana DINAZEN OLKAR SPELL
EXPFORAGING3:
EXPFORAGING4:


GDOAT:
goto FORAGINGSTART


shift
EXPFORAGING5:
setvariable SPELLTOPREP DINAZ OLKAR
EXPFORAGING6:
setvariable SPELLBASEMANA 18
EXPFORAGING7:
setvariable SPELLMANAHARNESS 30
EXPFORAGING8:
setvariable SPELLMANAINCREMENTS 1
EXPFORAGING9:
setvariable GLOBALSPELLTARGET %1
EXPFORAGING10:
setvariable SPELLADDITIONALCOMMAND
EXPFORAGING11:
goto GLOBALSPELLPREP


################################################################################
counter set 0
################################################################################
#cap is 36 mana CRYSTAL SPIKE SPELL


GCRSAT:
Match FORAGINGEND mind lock
Match FORAGINGHUM EXP HELP for more information


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


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


GCGAT:
FORAGINGENDCLUTTER:


shift
echo ========================================
setvariable SPELLTOPREP CLARIFY GEM
echo =The room is too cluttered to continue.=
setvariable SPELLBASEMANA 20
echo ========================================
setvariable SPELLMANAHARNESS 30
exit
setvariable SPELLMANAINCREMENTS 1
setvariable GLOBALSPELLTARGET %1
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


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


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


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


################################################################################
goto NEXTFUNCTION
################################################################################
#cap is 55 mana UNLEASH SPELL


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


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


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


GPIERCINGGAZE:
put %HUMTHISTUNE%
GPG:


setvariable SPELLTOPREP PIERCING GAZE
put sort compendium in %LARGESTORAGECONTAINER%
setvariable SPELLBASEMANA 15
setvariable SPELLMANAHARNESS 20
setvariable SPELLMANAINCREMENTS 2
setvariable GLOBALSPELLTARGET
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


GPIERCINGGAZEAT:
Match FIRSTAID2COMPENDIUMS a leather compendium, a leather compendium,
GPGAT:
Match FIRSTAID2COMPENDIUMS a leather compendium, a leather compendium,
Match FIRSTAID1COMPENDIUM a leather compendium,


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


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


GCLEARVISION:
FIRSTAID2COMPENDIUMS:
GCV:


setvariable SPELLTOPREP CLEAR VISION
setvariable TOTALCOMPENDIUMS second
setvariable SPELLBASEMANA 20
counter set 2
setvariable SPELLMANAHARNESS 25
goto FIRSTAIDCOUNTERCOPY
setvariable SPELLMANAINCREMENTS 2
setvariable GLOBALSPELLTARGET
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


GCLEARVISIONAT:
FIRSTAID1COMPENDIUM:
GCVAT:


shift
setvariable TOTALCOMPENDIUMS first
setvariable SPELLTOPREP CLEAR VISION
counter set 1
setvariable SPELLBASEMANA 20
goto FIRSTAIDCOUNTERCOPY
setvariable SPELLMANAHARNESS 25
setvariable SPELLMANAINCREMENTS 2
setvariable GLOBALSPELLTARGET %1
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


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


GAUS:
setvariable TEMPCOUNTER %c%
goto FIRSTAIDGETCOMPENDIUM%c%


setvariable SPELLTOPREP AURA SIGHT
FIRSTAIDGETCOMPENDIUM1:
setvariable SPELLBASEMANA 20
FIRSTAIDGETCOMPENDIUM2:
setvariable SPELLMANAHARNESS 20
FIRSTAIDGETCOMPENDIUM3:
setvariable SPELLMANAINCREMENTS 2
FIRSTAIDGETCOMPENDIUM4:
setvariable GLOBALSPELLTARGET
FIRSTAIDGETCOMPENDIUM5:
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


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


shift
put get %TOTALCOMPENDIUMS% compendium from %LARGESTORAGECONTAINER%
setvariable SPELLTOPREP AURA SIGHT
setvariable SPELLBASEMANA 20
setvariable SPELLMANAHARNESS 20
setvariable SPELLMANAINCREMENTS 2
setvariable GLOBALSPELLTARGET %1
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


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


GSHADOWLING:
FIRSTAIDGETCOMPENDIUM0:


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


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


GSHADOWSERVANTPYRAMIDS:
counter set 9


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


GSHADOWSERVANT:
put open my compendium


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


GSHADOWSERVANTGETPYRAMIDS:
FIRSTAIDSTUDYCOMPENDIUM:


put %HUMTHISTUNE%
save NEXTFUNCTION


Match FIRSTAIDSTUDYCOMPENDIUM ...wait
Match GSHADOWSERVANTGETPYRAMIDS ...wait
Match FIRSTAIDTURNCOMPENDIUM%c% Why do you need to study this chart again?
Match %s stares at you in confusion
Match %s To whom are you speaking
Match FIRSTAIDTURNCOMPENDIUM%c% a sudden moment of clarity, the information on the chart
Match FIRSTAIDSTUDYCOMPENDIUM You begin studying
Match GSHADOWSERVANTDROPPYRAMIDS pyramid and hands it to you
Match FIRSTAIDSTUDYCOMPENDIUM gradually absorbing more of the knowledge
Match FIRSTAIDERROR You study the sky but fail to find anything


put study my compendium
put ask servant for pyramid


Matchwait
Matchwait


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


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


put drop pyramid
Match FIRSTAIDTURNCOMPENDIUM10 ...wait
Match FIRSTAIDSTUDYCOMPENDIUM You turn to the section

put turn my compendium


Matchwait
Matchwait


goto NEXTFUNCTION
FIRSTAIDTURNCOMPENDIUM0:


################################################################################
counter set %TEMPCOUNTER%
################################################################################
counter subtract 1
#cap is 40 mana STARLIGHT SPHERE SPELL
goto FIRSTAIDSTORECOMPENDIUM


GSLSAT:
FIRSTAIDSTORECOMPENDIUM:


shift
Match FIRSTAIDSTORECOMPENDIUM ...wait
setvariable SPELLTOPREP STARLIGHT SPHERE
Match FIRSTAIDERROR What were you referring to?
setvariable SPELLBASEMANA 20
Match FIRSTAIDCOUNTERCOPY You put your compendium in your
setvariable SPELLMANAHARNESS 20
setvariable SPELLMANAINCREMENTS 1
setvariable GLOBALSPELLTARGET %1
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


################################################################################
put put my compendium in my %LARGESTORAGECONTAINER%
################################################################################
#cap is 66 mana PSYCHIC SHIELD SPELL


GPSY:
Matchwait


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


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


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


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


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


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


################################################################################
#end FIRSTAID function (THIS FUNCTION HAS BEEN FIXED)
################################################################################
==================================================================================
#cap is 62 mana SEVER THREAD SPELL
==================================================================================
#begin FIRSTAID2 function (THIS FUNCTION HAS BEEN FIXED)


GSEVERTHREADAT:
FIRSTAID2:
GSEVERAT:


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


################################################################################
put look
################################################################################
#cap is 50 mana LOCATE SPELL


GLOCATE:
Match FIRSTAID2RELOCATE In The Water
GLOC:
Match FIRSTAID2LOCCHEKCFAILED Obvious
Matchwait


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


GLOCATEAT:
counter set 1
GLOCAT:


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


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


GMENTALBLASTAT:
move N
GMBAT:
counter add 1
goto FIRSTAID2WORMCHECK


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


################################################################################
move NE
################################################################################
counter add 1
#cap is 58 mana TEZIRAH'S VEIL SPELL
goto FIRSTAID2WORMCHECK


GTEZIRAHSVEILAT:
FIRSTAID2MOVE3:
GTVAT:


shift
move E
setvariable SPELLTOPREP TEZIRA VEIL
counter add 1
setvariable SPELLBASEMANA 28
goto FIRSTAID2WORMCHECK
setvariable SPELLMANAHARNESS 30
setvariable SPELLMANAINCREMENTS 1
setvariable GLOBALSPELLTARGET %1
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


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


GRIPPLE:
move SE
GRIP:
counter add 1
goto FIRSTAID2WORMCHECK


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


################################################################################
move S
################################################################################
counter add 1
#cap is 60 mana DAZZLE SPELL
goto FIRSTAID2WORMCHECK


GDAZZLE:
FIRSTAID2MOVE6:
GDAZ:


setvariable SPELLTOPREP DAZZLE
move SW
setvariable SPELLBASEMANA 30
counter add 1
setvariable SPELLMANAHARNESS 30
goto FIRSTAID2WORMCHECK
setvariable SPELLMANAINCREMENTS 1
setvariable GLOBALSPELLTARGET
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


GDAZZLEAT:
FIRSTAID2MOVE7:
GDAZAT:


shift
move W
setvariable SPELLTOPREP DAZZLE
counter set 1
setvariable SPELLBASEMANA 30
goto FIRSTAID2WORMCHECK
setvariable SPELLMANAHARNESS 30
setvariable SPELLMANAINCREMENTS 1
setvariable GLOBALSPELLTARGET %1
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


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


GSHADOWS:
put look DAMIAN
GSHAD:


setvariable SPELLTOPREP SHADOWS
Match FIRSTAID2MOVE%c% You are in good shape
setvariable SPELLBASEMANA 30
Match FIRSTAID2REMOVEWORMRL on your right leg
setvariable SPELLMANAHARNESS 30
Match FIRSTAID2REMOVEWORMLL on your left leg
setvariable SPELLMANAINCREMENTS 1
Match FIRSTAID2WORMFIND You are wearing
setvariable GLOBALSPELLTARGET
Matchwait
setvariable SPELLADDITIONALCOMMAND
goto GLOBALSPELLPREP


GSHADOWSAT:
FIRSTAID2WORMFIND:
GSHADAT:


shift
pause 5
setvariable SPELLTOPREP SHADOWS
put look DAMIAN
setvariable SPELLBASEMANA 30
setvariable SPELLMANAHARNESS 30
Match FIRSTAID2REMOVEWORMRL on your right leg
setvariable SPELLMANAINCREMENTS 1
Match FIRSTAID2REMOVEWORMLL on your left leg
setvariable GLOBALSPELLTARGET %1
Match FIRSTAID2WORMFIND You are wearing
setvariable SPELLADDITIONALCOMMAND
Matchwait
goto GLOBALSPELLPREP


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


GSEERSSENSE:
put tend my right leg
GSEERS:
waitfor seconds.
GSEER:
goto FIRSTAID2EXPCHECK


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


GSEERSSENSEAT:
put tend my left leg
GSEERSAT:
waitfor seconds.
GSEERAT:
goto FIRSTAID2EXPCHECK


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


################################################################################
put exp skill fa
################################################################################
#cap is 120 mana FOCUS MOONBEAM SPELL


GFOCUSMOONBEAMAT:
Match FIRSTAID2DONE mind lock
GFMAT:
Match FIRSTAID2WORMCHECK EXP HELP
Matchwait


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


################################################################################
echo
################################################################################
echo ************************************************************************
#cap is 45 mana CONTINGENCY SPELL
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


GCONTINGENCYAT:
FIRSTAID2DONE:


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


################################################################################
#end FIRSTAID2 function (THIS FUNCTION HAS BEEN FIXED)
################################################################################
==================================================================================
#cap is 43 mana CAGE OF LIGHT SPELL
==================================================================================
#begin MAKEROPE function (THIS FUNCTION HAS BEEN FIXED)


GCAGEOFLIGHT:
MAKEROPE:
GCOLAT:


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


################################################################################
MAKEROPE1:
################################################################################
MAKEROPE2:
#cap is 60 mana DISTANT GAZE SPELL
MAKEROPE3:
MAKEROPE4:
MAKEROPE5:


GDISTANTGAZEAT:
MAKEROPEFORAGEGRASS:
GDGAT:


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


################################################################################
Match MAKEROPEFORAGEGRASS ...wait
################################################################################
Match MAKEROPEBRAIDGRASS find some grass
#cap is 71 mana EASE BURDEN SPELL
Match MAKEROPEFORAGEGRASS Roundtime
Matchwait


GEASE:
MAKEROPEBRAIDGRASS:


setvariable SPELLTOPREP EASE
put braid my grass
setvariable SPELLBASEMANA 21
setvariable SPELLMANAHARNESS 25
setvariable SPELLMANAINCREMENTS 2
setvariable GLOBALSPELLTARGET
setvariable SPELLADDITIONALCOMMAND ENCUMB
goto GLOBALSPELLPREP


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


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


################################################################################
put pull my grass
################################################################################
#cap is 65 mana SPHERE OF PROTECTION SPELL


GSOP:
Match MAKEROPEPULLGRASS ...wait
Match MAKEROPEPULLGRASS Roundtime
Match MAKEROPESTOREROPE new bundling rope
Matchwait


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


GSOPAT:
put put my rope in my %LARGESTORAGECONTAINER%


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


################################################################################
goto MAKEROPE%c%
################################################################################
#cap is 66 mana ETHEREAL SHIELD SPELL


GES:
MAKEROPE0:


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


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


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


################################################################################
counter set 1
################################################################################
save ASTROLOGYSUPSPELLS2
#begin GLOBAL SPELLCASTING FUNCTION


GLOBALSPELLPREP:
ASTROLOGYINDOORCHECK:


setvariable RETURNPOINTER GSPELLPREP
pause
counter set %SPELLMANAINCREMENTS


GSPELLPREP:
put obs weather


Match ASTROLOGYKILLRT ...wait
Match GSPELLPREP ...wait
Match ASTROLOGYFUNCTIONEND you can see the sky
Match KILLHUMMING You should stop playing
Match ASTROLOGYSUPSPELLS You glance outside.
Match KILLSPELLPREP You are already preparing
Match ASTROLOGYSUPSPELLS You glance up at the sky
Match KILLSPELLPREP You have to strain
Match GSPELLPREPFULLPREP %SPELLPREPMESSAGE
Matchwait


put prep %SPELLTOPREP %SPELLBASEMANA
ASTROLOGYSUPSPELLS:


goto GPIERCINGGAZE
Matchwait


GSPELLPREPFULLPREP:
ASTROLOGYSUPSPELLS2:


waitfor You feel fully prepared
save ASTROLOGYSTUDYKATAMBA
goto GAURASIGHT
goto GSPELLPREPMANACHECK


GSPELLPREPMANACHECK:
ASTROLOGYRESETCTR:


Match %SPELLRETURNPOINTER S>>>>>>>|_
counter set 1
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
ASTROLOGYSTUDYSKY:

pause

put %HUMTHISTUNE%
put study SKY


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


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


pause 5
put harness %SPELLMANAHARNESS
goto ASTROLOGYSTUDYSKY


Match GSPELLPREPHARNESS%c ...wait
ASTROLOGY1:
Match GSPELLPREPUPDATECOUNTER You tap into the mana from
ASTROLOGY2:
Match KILLSPELLPREP You strain, but cannot harness
ASTROLOGY3:
ASTROLOGY4:
Matchwait
ASTROLOGY5:
ASTROLOGYADJUSTCTR:


GSPELLPREPUPDATECOUNTER:
counter add 1
pause 11
goto ASTROLOGYSTUDYSKY


ASTROLOGY6:
counter subtract 1
ASTROLOGY7:
ASTROLOGY8:
goto %s%


goto GSPELLPREPMANACHECK
ASTROLOGYPREDICTEVENT:


GSPELLPREPHARNESS0:
pause


GSPELLPREPSPELLCAST:
put predict EVENT


Match ASTROLOGYPREDICTEVENT ...wait
Match GSPELLPREPSPELLCAST ...wait
Match ASTROLOGYADJUSTCTR You focus inwardly searching for insight
Match GSPELLPREPFINISH You gesture
Matchwait

ASTROLOGYSTUDYKATAMBA:

save ASTROLOGYSTUDYKATAMBA

pause


put study KATAMBA
put cast %GLOBALSPELLTARGET


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


GSPELLPREPFINISH:
ASTROLOGYSTUDYXIBAR:


save ASTROLOGYSTUDYXIBAR
put %SPELLADDITIONALCOMMAND
goto %SPELLRETURNPOINTER


#end GLOBAL SPELLPREP FUNCTION
pause
################################################################################
################################################################################


#################################TRAVEL SCRIPTS#################################
put study XIBAR


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


TRAVEL:
ASTROLOGYSTUDYYAVASH:


setvariable STARTINGLOCATION none
save ASTROLOGYSTUDYYAVASH
counter set 0


Match CROSSINGLOCATION [The Strand Communal Center, Common Room]
pause
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 study YAVASH
put look


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


CROSSINGLOCATION:
ASTROLOGYSTUDYSUN:


setvariable STARTINGLOCATION CROSSING
save ASTROLOGYSTUDYSUN
counter set 1
goto SELECTLOCATION


CROSSINGLOCATIONADJUST:
pause


put study SUN
move go door
goto TRAVEL


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


setvariable STARTINGLOCATION AESRY
ASTROLOGYSTUDYWOLF:
counter set 2
goto SELECTLOCATION


AESRYLOCATIONADJUST:
save ASTROLOGYSTUDYWOLF


pause
move n
move e
move go gate
move go door
move n
move w
move go vault
goto TRAVEL


SHARDLOCATION:
put study WOLF


setvariable STARTINGLOCATION SHARD
Match ASTROLOGYKILLRT ...wait
counter set 3
Match ASTROLOGYEXPLORE You manage to memorize
goto SELECTLOCATION
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


SHARDLOCATIONADJUST:
ASTROLOGYSTUDYRAVEN:


save ASTROLOGYSTUDYRAVEN
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:
pause


setvariable STARTINGLOCATION MER'KRESH
put study RAVEN
counter set 4
goto SELECTLOCATION


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


RIVERHAVENLOCATION:
save ASTROLOGYSTUDYCAT


setvariable STARTINGLOCATION RIVERHAVEN
pause
counter set 5
goto SELECTLOCATION


RIVERHAVENLOCATIONADJUST:
put study CAT


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
goto TRAVEL
Match ASTROLOGYCASTPIERCINGGAZE clouds hinder
Match ASTROLOGYSTUDYRAM You are unable to comprehend
Match ASTROLOGYSTUDYRAM fail to find
Matchwait


RATHALOCATION:
ASTROLOGYSTUDYRAM:


setvariable STARTINGLOCATION RATHA
save ASTROLOGYSTUDYRAM
counter set 6
goto SELECTLOCATION


RATHALOCATIONADJUST:
pause


put study RAM
move go door
move e
goto TRAVEL


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


setvariable STARTINGLOCATION ELBAIN'S
ASTROLOGYSTUDYMAGPIE:
counter set 7
goto SELECTLOCATION


ELBAINSLOCATIONADJUST:
save ASTROLOGYSTUDYMAGPIE


pause
move go tree
move s
move s
goto TRAVEL


MUSPARILOCATION:
put study MAGPIE


setvariable STARTINGLOCATION MUSPAR'I
Match ASTROLOGYKILLRT ...wait
counter set 8
Match ASTROLOGYEXPLORE You manage to memorize
goto SELECTLOCATION
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


MUSPARILOCATIONADJUST:
ASTROLOGYSTUDYHEART:


save ASTROLOGYSTUDYHEART
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:
pause


setvariable STARTINGLOCATION HIBARNHVIDAR
put study HEART
counter set 9
goto SELECTLOCATION


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


move climb stair
ASTROLOGYSTUDYGIANT:
move nw
move ne
move ne
move se
move climb stair
move se
move s
move go recess
move sw
move nw
move nw
move n
move ne
move ne
move go door
move climb stair
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move e
move go entryway
goto TRAVEL


SELECTLOCATION:
save ASTROLOGYSTUDYGIANT


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


ECHO ############################################################
put study GIANT
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 ASTROLOGYKILLRT ...wait
Match %cCROSSING CROSSING
Match ASTROLOGYEXPLORE You manage to memorize
Match %cAESRY AESRY
Match ASTROLOGYEXPLORE focus on grasping it better.
Match %cSHARD SHARD
Match ASTROLOGYEXPLORE still swimming
Match %cMERKRESH MERKRESH
Match ASTROLOGYCASTPIERCINGGAZE clouds hinder
Match %cRIVERHAVEN RIVERHAVEN
Match ASTROLOGYSTUDYSPIDER You are unable to comprehend
Match %cRATHA RATHA
Match ASTROLOGYSTUDYSPIDER fail to find
Match %cELBAINS ELBAINS
Matchwait
Match %cMUSPARI MUSPARI
Match %cHIBARN HIBARN


Matchwait
ASTROLOGYSTUDYSPIDER:


1CROSSING:
save ASTROLOGYSTUDYSPIDER


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


1AESRY:
put study SPIDER


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


1SHARD:
ASTROLOGYCASTPIERCINGGAZE:


goto GPIERCINGGAZE
move go portal


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


1MERKRESH:
put exp lore all


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


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


pause
move out
goto %s%
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:
ASTROLOGYFUNCTIONEND:


put %HUMTHISTUNE%
move go portal
waitfor finish humming


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 ASTROLOGY function (THIS FUNCTION HAS BEEN FIXED)
move w
==================================================================================
move out
==================================================================================
move e
#begin MAGIC2 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
MAGIC2:
move nw
move ne
move ne
move n
move n
move n
move n
move go gate
move go portal
exit


1RATHA:
save MAGIC2SOD


move go portal
counter set 0


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


move out
Match MAGIC2SODGETTOOLS ...wait
move w
Match MAGIC2MANACHECK already holding that
move out
Match MAGIC2MANACHECK You get
move e
Match MAGIC2MANACHECK But that is already in your
move go brid
Match MAGIC2SODNOTOOLS What were you referring to
move e
move e
move e
move n
move ne
move e
move n
move go home
move go port


put get %CAMBRINTHDEVICE%
move nw
move nw
move ne
move ne
move n
move n
move n
move n
move go gate
move go portal


Matchwait
move go gate
move se
move climb stair
move go door
move go portal
exit


MAGIC2EXPCHECK0:
1ELBAINS:
MAGIC2EXPCHECK1:
MAGIC2EXPCHECK2:
MAGIC2EXPCHECK3:
MAGIC2EXPCHECK4:


move go portal
MAGIC2MANACHECK:


move n
Match MAGIC2SODSTOWTOOLS S>>>>>_
move e
Match MAGIC2SODSTOWTOOLS S>>>>_
Match MAGIC2SODSTOWTOOLS S>>>_
move go gate
Match MAGIC2SODSTOWTOOLS S>>_
move go door
Match MAGIC2SODSTOWTOOLS S>_
move n
Match MAGIC2SODSTOWTOOLS S_
move w
Match MAGIC2SOD MANA HELP
move go vault
move go portal


put mana
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


Matchwait
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
MAGIC2SOD:
move se
move climb stair
move go door
move go portal


move go door
setvariable RETURNPOINTER MAGIC2SOD
move e
move go portal
exit


1MUSPARI:
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 portal


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


move out
MAGIC2SODCHARGEORB:
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 MAGIC2SODCHARGEORB ...wait
move nw
Match MAGIC2SODSTOWTOOLS cannot harness that much power
move ne
Match MAGIC2SODFOCUSORB Roundtime
move ne
move n
move n
move n
move n
move go gate
move go portal


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


1HIBARN:
put focus my %CAMBRINTHDEVICE%


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


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


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


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


put cast
move go door
move e
move go portal


Matchwait
move go tree
move s
move s
move go portal


move w
MAGIC2SODNOTOOLS:
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:
save MAGIC2SODNOTOOLS


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


move out
put prep SEAL OF DEFLECTION 20
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


Matchwait
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
MAGIC2SODFULLPREP:
move se
move climb stair
move go door
move go portal


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
exit


2AESRY:
put exp skill primary magic


ECHO #####################
Matchwait
ECHO ###Already in AESRY##
ECHO #####################
exit


2SHARD:
MAGIC2EXPHARNESS:


move go portal
Match MAGIC2EXPMAGDEVICES mind lock
exit
Match MAGIC2MANACHECK EXP HELP for more information


2MERKRESH:
put exp skill harness


Matchwait
move go portal


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


2RIVERHAVEN:
Match MAGIC2SODSTOWTOOLS mind lock
Match MAGIC2MANACHECK EXP HELP for more information


put exp skill magical devices
move go portal


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


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


pause
2RATHA:
put stow ORB in %LARGESTORAGECONTAINER%


goto NEXTFUNCTION
move go portal


move out
#end MAGIC2 function (THIS FUNCTION HAS BEEN FIXED)
move w
==================================================================================
move out
==================================================================================
move e
#begin SWIMMING 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
SWIMMING:
move nw
move ne
move ne
move n
move n
move n
move n
move go gate
move go portal


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


put look
2ELBAINS:


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


SWIMSOUTH:
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 south
move go gate
move se
move climb stair
move go door
move go portal


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


SWIMNORTH:
2MUSPARI:


save SWIMSOUTH
move go portal


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 north
move nw
move nw
move ne
move ne
move n
move n
move n
move n
move go gate
move go portal


Match SWIMNORTH ...wait
move go gate
move se
Match EXPSWIMMING [Mill Pond]
Match SWIMNORTH Obvious
move climb stair
Match SWIMNORTH fail
move go door
Matchwait
move go portal


move go door
EXPSWIMMING:
move e
move go portal


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


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


move go portal
SWIMMINGLOCATIONCHECKFAIL:


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


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


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


move go door
CLIMBING:
move e
move go portal


move go tree
CLIMBINGLOCATIONCHECK:
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


3CROSSING:
Match CLIMBINGSTART The Guild Stables
Match CLIMBINGLOCATIONCHECKFAIL Obvious
Matchwait


move go portal
CLIMBINGSTART:


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


put climb trail
move go gate
move up
move se
move west
move climb stair
move go door
move go portal


CLIMBCREEPERDOWN:
move go door
move e
move go portal


save CLIMBCREEPERDOWN
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 CLIMBCREEPERDOWN ...wait
move nw
Match CLIMBINGSTAND SPLAT
move ne
Match CLIMBLADDERDOWN Roundtime
Matchwait
move ne
move se
move climb stair
move se
move s
move go recess
move sw
move nw
move nw
move n
move ne
move ne
move go door
move climb stair
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move e
move go entryway
move go portal
exit


3AESRY:
CLIMBLADDERDOWN:


pause
move go portal


put climb ladder
move nw
move nw
move ne
move ne
move n
move n
move n
move n
move go gate
move go portal


move go gate
Match CLIMBLADDERDOWN ...wait
move se
Match CLIMBROPEDOWN Round time
Matchwait
move climb stair
move go door
move go portal


CLIMBROPEDOWN:
move go door
move e
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 CLIMBROPEDOWN ...wait
move nw
Match CLIMBROPEUP 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


CLIMBROPEUP:
move go door
move go portal
exit


pause
3SHARD:


put climb rope
ECHO #####################
ECHO ###Already in SHARD##
ECHO #####################
exit


3MERKRESH:
Match CLIMBROPEUP ...wait
Match CLIMBLADDERUP rope
Matchwait


CLIMBLADDERUP:
move go portal
exit


3RIVERHAVEN:
pause


put climb ladder
move go portal


move nw
Match CLIMBLADDERUP ...wait
move nw
Match CLIMBCREEPERUP Round time
Matchwait
move ne
move ne
move n
move n
move n
move n
move go gate
move go portal
exit


3RATHA:
CLIMBCREEPERUP:


save CLIMBCREEPERUP
move go portal
pause


put climb creeper
move nw
move nw
move ne
move ne
move n
move n
move n
move n
move go gate
move go portal


move go gate
Match CLIMBCREEPERUP ...wait
move se
Match CLIMBINGSTAND SPLAT
move climb stair
Match CLIMBTRAILUP Roundtime
Matchwait
move go door
move go portal
exit


3ELBAINS:
CLIMBTRAILUP:


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


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


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


Match NEXTFUNCTION mind lock
move go door
move e
Match CLIMBINGSTART EXP HELP for more information
Matchwait
move go portal
exit


CLIMBINGSTAND:
3MUSPARI:


pause
move go portal
put dance


Match CLIMBINGSTAND ...wait
move nw
move nw
Match %s% You leap to your feet
Matchwait
move ne
move ne
move n
move n
move n
move n
move go gate
move go portal


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


echo
move go door
move e
echo ************************************************************************
move go portal
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


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


move go portal
CLIMBING2:

CLIMBING2LOCATIONCHECK:

put look

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

CLIMBING2START:


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

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

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

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

move out
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 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 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 se
move go bush
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 sw
move sw
move s
move s
move climb root
move go portal

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

4MERKRESH:

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

4RIVERHAVEN:

move go portal
exit

4RATHA:

move go portal

move go gate
move se
move se
move e
move climb stair
move e
move go door
move go portal
exit

4ELBAINS:

move go portal

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

move ne
move e
move go door
move e
move e
move go portal
exit

4MUSPARI:

move go portal

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

move go door
move e
move e
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 se
move climb stair
move go door
move go portal

move go door
move e
move e
move e
move go portal

move go path
move go trail
move go tree
move s
move s
move go portal

move climb stair
move nw
move ne
move ne
move e
move ne
move climb deadfall
move se
move down
move climb stair
move w
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 go entryway
move go portal
exit

5CROSSING:

move go portal

move go door
move e
move e
move e
move go portal

move e
move e
move go tree
move e
move s
move e
move s
move n
move go portal

move e
move e
move n
move n
move w
move w
move go arch
move n
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 ne
move ne
move e
move ne
move go copse
move climb tree
move climb tree
move se
move se
move e
move climb stair
move e
move se
move s
move go recess
move sw
move nw
move nw
move n
move ne
move ne
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 e
move se
move go entryway
move go trail
move go portal
move go tav
exit

5AESRY:

move go portal

move go door
move go door
put go orchard
move e
move nw
move go portal

move ne
move climb ladder
move go tree
move climb ladder
move sw
move se
move go farmyard
move climb stile
move s
move s
move s
move go portal

move w
move w
move w
move n
move climb stair
move s
move s
move climb stair
move se
move se
move sw
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 s
move s
move go recess
move climb stile
move sw
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 climb hill
move e
move e
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 e
move climb hill
move go portal

move go tree
move s
move s
move go portal

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

move climb hill
move climb hill
move climb stair
move e
move nw
move e
move ne
move ne
move e
move climb hill
move w
move w
move w
move climb hill
move go trail
move ne
move ne
move ne
move se
move n
move climb stair
move se
move s
move go recess
move sw
move nw
move nw
move nw
move nw
move n
move n
move n
move ne
move ne
move nw
move ne
move n
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 n
move e
move e
move down
move down
move go gate
move go gate
move n
move go door
move n
move n
move w
move w
move s
move go vault
move climb tree
move go portal
move climb tree
exit

move n
5MERKRESH:

move go portal

move go door
move e
move e
move go portal

move go tree
move s
move s
move s
move s
move go gate
move go portal

move up
move up
move w
move w
move n
move climb stair
move s
move s
move s
move climb stair
move se
move se
move sw
move sw
move s
move climb stair
move s
move go gate
move se
move se
move se
move se
move se
move go gate
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 sw
move nw
move w
move nw
move w
move n
move go copse
move ne
move climb tree
move ne
move climb tree
move go door
move sw
move climb stair
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 3,937:
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
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


echo
move out
move w
echo NOD to go again, ESC to cancel script.
echo
move out
Match CLIMBING2START You nod
move e
Matchwait
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:
CLIMBING2LOCATIONCHECKFAIL:


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


5RATHA:
goto NEXTFUNCTION


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


5ELBAINS:
COMBATSPELLS:


move go portal
setvariable RETURNPOINTER COMBATSETMYGLOBALMOON
goto KILLHUMMING


move go door
COMBATSETMYGLOBALMOON:
move e
move go portal
exit


5MUSPARI:
if_2 setvariable GLOBALMOON %2%
if_2 goto COMBATSUPSPELL1


move go portal
setvariable RETURNPOINTER COMBATSUPSPELL1
goto FINDMOON


move go door
COMBATSUPSPELL1:
move e
move go portal


save COMBATSUPSPELL2
move go tree
goto GFM
move s
move s
move go portal
exit


COMBATSUPSPELL2:
5HIBARN:


save COMBATSUPSPELL3
move go portal
goto GDG


move go door
COMBATSUPSPELL3:
move e
move go portal


save COMBATSUPSPELL4
move go tree
goto GCONTINGENCY
move s
move s
move go portal


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


6CROSSING:
save COMBATSUPSPELL5
goto GPSY


move go portal
COMBATSUPSPELL5:


save COMBATSUPSPELL6
move go tree
goto GSHADOWS
move s
move s
move go portal


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


save COMBATSUPSPELL7
move climb stair
goto GSEERSSENSE
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


COMBATSUPSPELL7:
6AESRY:


save COMBATSUPSPELL8
move go portal
goto GCOL


move go tree
COMBATSUPSPELL8:
move s
move s
move go portal


save COMBATSUPSPELL9
move w
goto GEASE
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
COMBATSUPSPELL9:
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 COMBATSUPSPELL10
move go door
goto GSOD
move go portal
exit


6SHARD:
COMBATSUPSPELL10:


goto NEXTFUNCTION
move go portal


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


move w
ENCHANTING:
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
ENCHANTINGSUPSPELL:
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 ENCHANTINGSUPSPELL2
move go door
goto GCLEARVISION
move go portal


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


6MERKRESH:
save ENCHANTINGSUPSPELL3
goto GPIERCINGGAZE


move go portal
ENCHANTINGSUPSPELL3:


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


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


save NEXTFUNCTION
move climb stair
goto GSEERSSENSE
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 ENCHANTING function (THIS FUNCTION HAS BEEN FIXED)
move go portal
==================================================================================
==================================================================================
#begin GLOBALWEAPONRESET function (THIS FUNCTION HAS BEEN FIXED)


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


Match %s% at you
move out
Match %s% melee
move w
Matchwait
move out
move e
move go brid
move e
move e
move e
move n
move ne
move e
move n
move go home
move go port
exit


6RIVERHAVEN:
#end GLOBALWEAPONRESET function (THIS FUNCTION HAS BEEN FIXED)
==================================================================================
==================================================================================
#begin ME/HE/2HE function (THIS FUNCTION HAS BEEN FIXED)


move go portal
ME:
HE:
2HE:


move go tree
MEHE2HEPARRY:
move s
move s
move go portal


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


put PARRY
move go door
move go portal


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


move out
MEHE2HEFEINT:
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 FEINT
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 MEHE2HEFEINT ...wait
Match MEHE2HEDRAW You feint
Match GLOBALWEAPONRESET There is nothing else
Match GLOBALWEAPONRESET close enough
Matchwait


ECHO #####################
MEHE2HEDRAW:
ECHO ###Already in RATHA##
ECHO #####################
exit


put DRAW
6ELBAINS:


Match MEHE2HEDRAW ...wait
move go portal
exit
Match MEHE2HESWEEP You step backward and
Match MEHE2HEPARRY There is nothing else
Match MEHE2HEPARRY close enough
Matchwait


MEHE2HESWEEP:
6MUSPARI:


put SWEEP
move go portal


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


MEHE2HESLICE:
6HIBARN:


put SLICE
move go portal


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


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


put CHOP
7CROSSING:


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


move w
#end ME/HE/2HE function (THIS FUNCTION HAS BEEN FIXED)
move n
==================================================================================
move climb stair
==================================================================================
move s
#begin LE 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
LE:
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


LEPARRY:
7AESRY:


save LEFEINT %2%
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


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


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


LEFEINT:
7SHARD:


put FEINT %2%
move go portal


Match LEFEINT ...wait
move w
Match LEDRAW You feint
move n
move climb stair
Match GLOBALWEAPONRESET There is nothing else
move s
Match GLOBALWEAPONRESET 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


move climb stair
LEDRAW:
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 DRAW %2%
move go door
move go portal


Match LEDRAW ...wait
move n
move e
Match LESLICE You step backward and
move go gate
Match LEPARRY There is nothing else
Match LEPARRY close enough
move go door
Matchwait
move n
move w
move go vault
move go portal
exit


LESLICE:
7MERKRESH:


put SLICE %2%
move go portal


Match LESLICE ...wait
move w
Match LECHOP You slice
move n
move climb stair
Match LEPARRY There is nothing else
Match LEPARRY close enough
move s
Matchwait
move climb stair
move se
move sw
move climb stair
move go gate
move se
move se
move se
move se
move go gate
move w
move go portal


move climb stair
LECHOP:
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 CHOP %2%
move go door
move go portal


Match LECHOP ...wait
move n
Match LEDRAW You chop
move e
move go gate
Match LEPARRY There is nothing else
Match LEPARRY close enough
move go door
Matchwait
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:
#end LE function (THIS FUNCTION HAS BEEN FIXED)
==================================================================================
==================================================================================
#begin LB/MB/HB/2HB function (THIS FUNCTION HAS BEEN FIXED)


move go portal
LB:
MB:
HB:
2HB:


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


save MBLB2HBFEINT
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 PARRY
move go door
move go portal


Match MBLB2HBPARRY ...wait
move n
move e
Match MBLB2HBFEINT position to parry
Matchwait
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
MBLB2HBFEINT:
move nw
move ne
move ne
move n
move n
move n
move n
move go gate
move go portal
exit


7RATHA:
put FEINT


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


move w
MBLB2HBSWEEP:
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 SWEEP
move climb stair
move nw
move ne
move ne
move se
move climb stair
move se
move s
move go recess
move sw
move nw
move nw
move n
move ne
move ne
move go door
move climb stair
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move s
move e
move go entryway
move go portal


Match MBLB2HBSWEEP ...wait
move go door
Match MBLB2HBDRAW You sweep
move go portal
Match MBLB2HBPARRY There is nothing else
Match MBLB2HBPARRY close enough
Matchwait


move n
MBLB2HBDRAW:
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 DRAW
move nw
move nw
move ne
move ne
move n
move n
move n
move n
move go gate
move go portal


Match MBLB2HBDRAW ...wait
move go gate
move se
Match MBLB2HBSLICE You step backward and
move climb stair
Match MBLB2HBPARRY There is nothing else
Match MBLB2HBPARRY close enough
move go door
Matchwait
move go portal
exit


MBLB2HBSLICE:
7ELBAINS:


ECHO ########################
put SLICE
ECHO ###Already in ELBAINS###
ECHO ########################
exit


7MUSPARI:
Match MBLB2HBSLICE ...wait
Match MBLB2HBSWEEP You swing
Match MBLB2HBPARRY There is nothing else
Match MBLB2HBPARRY close enough
Matchwait


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


7HIBARN:
BRAWLING:


move go portal
BRAWLINGPARRY:


save BRAWLINGFEINT
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:
put PARRY


Match BRAWLINGPARRY ...wait
move go portal
Match BRAWLINGFEINT position to parry
Matchwait


move climb stair
BRAWLINGFEINT:
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:
put FEINT


Match BRAWLINGFEINT ...wait
move go portal
Match BRAWLINGSWEEP You feint
Match GLOBALWEAPONRESET There is nothing else
Match GLOBALWEAPONRESET close enough
Matchwait


move climb stair
BRAWLINGSWEEP:
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 SWEEP
move go door
move go portal
exit


8SHARD:
Match BRAWLINGSWEEP ...wait
Match BRAWLINGKICK You sweep
Match BRAWLINGPARRY There is nothing else
Match BRAWLINGPARRY close enough
Matchwait


move go portal
BRAWLINGKICK:


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


Match BRAWLINGKICK ...wait
move go door
Match BRAWLINGSLICE You kick
move go portal
Match BRAWLINGPARRY There is nothing else
Match BRAWLINGPARRY close enough
Matchwait


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


8MERKRESH:
put SLICE


Match BRAWLINGSLICE ...wait
move go portal
Match BRAWLINGGOUGE You slice
Match BRAWLINGPARRY There is nothing else
Match BRAWLINGPARRY close enough
Matchwait


move climb stair
BRAWLINGGOUGE:
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 GOUGE
move go door
move go portal


Match BRAWLINGGOUGE ...wait
move n
move e
Match BRAWLINGELBOW You gouge
move go gate
Match BRAWLINGPARRY There is nothing else
Match BRAWLINGPARRY close enough
move go door
Matchwait
move n
move w
move go vault
move go portal


move out
BRAWLINGELBOW:
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:
put ELBOW


Match BRAWLINGELBOW ...wait
move go portal
Match BRAWLINGSWEEP You elbow
Match BRAWLINGPARRY There is nothing else
Match BRAWLINGPARRY close enough
Matchwait


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


move go door
PIKE:
move go portal


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


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


8RATHA:
Match PIKEPARRY ...wait
Match PIKEJAB position to parry
Matchwait


move go portal
PIKEJAB:


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


Match PIKEJAB ...wait
move go door
Match PIKESWEEP You jab
move go portal
Match GLOBALWEAPONRESET There is nothing else
Match GLOBALWEAPONRESET close enough
Matchwait


PIKESWEEP:
move n
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 PIKESWEEP ...wait
move nw
Match PIKETHRUST You sweep
move nw
move ne
Match PIKEPARRY There is nothing else
Match PIKEPARRY close enough
move ne
Matchwait
move n
move n
move n
move n
move go gate
move go portal


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


8ELBAINS:
put THRUST


Match PIKETHRUST ...wait
move go portal
Match PIKEFEINT You thrust
Match PIKEPARRY There is nothing else
Match PIKEPARRY close enough
Matchwait


move climb stair
PIKEFEINT:
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 FEINT
move go door
move go portal


Match PIKEFEINT ...wait
move n
Match PIKELUNGE You feint
move e
move go gate
Match PIKEPARRY There is nothing else
Match PIKEPARRY close enough
move go door
Matchwait
move n
move w
move go vault
move go portal


PIKELUNGE:
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 LUNGE
move nw
move nw
move ne
move ne
move n
move n
move n
move n
move go gate
move go portal


Match PIKELUNGE ...wait
move go gate
Match PIKEDRAW You lunge
move se
move climb stair
Match PIKEPARRY There is nothing else
Match PIKEPARRY close enough
move go door
Matchwait
move go portal


move go door
PIKEDRAW:
move e
move go portal
exit


put DRAW
8MUSPARI:


ECHO ########################
Match PIKEDRAW ...wait
Match PIKEPARRY You step backward
ECHO ###Already in MUSPARI###
ECHO ########################
Match PIKEPARRY There is nothing else
exit
Match PIKEPARRY close enough
Matchwait


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


move go portal
QS:
exit
SS:


QSPARRY:
9CROSSING:


save QSFEINT
move go portal
exit


9AESRY:
put PARRY


Match QSPARRY ...wait
move go portal
Match QSFEINT position to parry
Matchwait


move go door
QSFEINT:
move go portal
exit


9SHARD:
put FEINT


Match QSFEINT ...wait
move go portal
Match QSDRAW You feint
Match GLOBALWEAPONRESET There is nothing else
Match GLOBALWEAPONRESET close enough
Matchwait


move go door
QSDRAW:
move go portal


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


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


move go portal
QSSLICE:


put SLICE
move go door
move go portal


Match QSSLICE ...wait
move n
Match QSSWEEP You slice
move e
move go gate
Match QSPARRY There is nothing else
Match QSPARRY close enough
move go door
Matchwait
move n
move w
move go vault
move go portal


QSSWEEP:
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 SWEEP


Match QSSWEEP ...wait
move go portal
Match QSCHOP You sweep
Match QSPARRY There is nothing else
Match QSPARRY close enough
Matchwait


move go door
QSCHOP:
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


Match QSCHOP ...wait
move out
Match QSFEINT You chop
move w
move out
Match QSPARRY There is nothing else
Match QSPARRY close enough
move e
Matchwait
move go brid
move e
move e
move e
move n
move ne
move e
move n
move go home
move go port


move nw
#end QS/SS function (THIS FUNCTION HAS BEEN FIXED)
move nw
==================================================================================
move ne
==================================================================================
move ne
#begin HALBERD function (THIS FUNCTION HAS BEEN FIXED)
move n
#combo for khuj draw/slice/sweep/chop
move n
move n
move n
move go gate
move go portal
exit


9RATHA:
HALBERD:


move go portal
HALBERDTHRUST:


save HALBERDTHRUST
move go door
move go portal


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


Match HALBERDTHRUST ...wait
move out
move w
Match HALBERDSWEEP You thrust
move out
Match GLOBALWEAPONRESET There is nothing else
move e
Match GLOBALWEAPONRESET close enough
Matchwait
move go brid
move e
move e
move e
move n
move ne
move e
move n
move go home
move go port


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


save HALBERDSWEEP
move go gate
move se
move climb stair
move go door
move go portal
exit


9ELBAINS:
put SWEEP


Match HALBERDSWEEP ...wait
move go portal
Match HALBERDCHOP You sweep
Match GLOBALWEAPONRESET There is nothing else
Match GLOBALWEAPONRESET close enough
Matchwait


move go door
HALBERDCHOP:
move go portal


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


put CHOP
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 HALBERDCHOP ...wait
move nw
Match HALBERDTHRUST You chop
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


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


move go door
LOCKPICKING:
move e
move go portal
exit


9MUSPARI:
LOCKPICKINGGETTOOLS:


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


put get lockpick
move go door
move go portal


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


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


Match LOCKPICKINGPICK ...wait
move go gate
move se
Match LOCKPICKINGGETTOOLS useless lockpick
move climb stair
Match LOCKPICKINGGETTOOLS appropriate tool and try again
move go door
Match LOCKPICKINGBOXISOPEN not even locked, why bother?
move go portal
Match LOCKPICKINGEXPCHECK Roundtime:


put pick my %2% blind
move go door
move e
move go portal


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


9HIBARN:
LOCKPICKINGEXPCHECK:


ECHO ####################
Match LOCKPICKINGSTOWTOOLS mind lock
Match LOCKPICKINGPICK EXP HELP
ECHO ###Already in HIB###
ECHO ####################
exit


##################################################################################
put exp skill lock


ECHO #########################################################
Matchwait
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 #####################
LOCKPICKINGNOTOOLS:
ECHO ###Already in ###
ECHO #####################
exit


#(crossing arrival)
echo =================================================
echo = =
echo = You have no lockpicks to use in this training =
echo = =
echo =================================================


goto LOCKPICKINGSTOWBOX
move go door
move go portal


#(crossing departure)
LOCKPICKINGBOXISOPEN:
#(aesry arrival)


setvariable BOXISOPEN 1
move n
move e
move go gate
goto LOCKPICKINGSTOWTOOLS%BOXISOPEN%
move go door
move n
move w
move go vault
move go portal


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


move out
Match LOCKPICKINGSTOWTOOLS ...wait
move w
Match LOCKPICKINGSTOWBOX What were you referring
move out
Match LOCKPICKINGSTOWBOX You put your
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)
put put lock in %LOCKPICKSTORAGECONTAINER%
#(merkeresh arrival)


Matchwait
move nw
move nw
move ne
move ne
move n
move n
move n
move n
move go gate
move go portal


#(merkeresh departure)
LOCKPICKINGSTOWTOOLS1:
#(riverhaven arrival)


move go gate
Match LOCKPICKINGSTOWTOOLS1 ...wait
move se
Match LOCKPICKINGOPENBOX What were you referring
move climb stair
Match LOCKPICKINGOPENBOX You put your
move go door
move go portal


#(riverhaven departure)
put put lock in %LOCKPICKSTORAGECONTAINER%
#(ratha arrival)


Matchwait
move go door
move e
move go portal


#(ratha departure)
LOCKPICKINGOPENBOX:
#(elbains arrival)


Match LOCKPICKINGOPENBOX ...wait
move go tree
move s
Match LOCKPICKINGDISMANTLEBOX You open
move s
Match LOCKPICKINGSHIFTDOWN What were you referring to
move go portal


#(ebains departure)
put open my %2%
#(muspari arrival)


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


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


move climb stair
Match LOCKPICKINGDISMANTLEBOX ...wait
move nw
Match LOCKPICKINGDISMANTLEBOX you'd like to dump the contents
move ne
Match LOCKPICKINGSHIFTDOWN move your hands in a practiced maneuver
move ne
Match LOCKPICKINGSHIFTDOWN casually study the
move se
Match LOCKPICKINGSHIFTDOWN Rolling your shoulders to loosen them
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)
put dismantle my %2% press
#(crossing arrival)


Matchwait
exit
################################################################################
################################################################################


################################UTILITY SCRIPTS#################################
LOCKPICKINGSTOWBOX:


################################################################################
Match LOCKPICKINGSTOWBOX ...wait
################################################################################
Match LOCKPICKINGSHIFTDOWN What were you referring
#begin RPA function
Match LOCKPICKINGSHIFTDOWN You put your


RPA:
put put my %2% in %LARGESTORAGECONTAINER%


shift
Matchwait


if_1 put rpa bestow %1 1
LOCKPICKINGSHIFTDOWN:
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
shift


#end RPA function
goto NEXTFUNCTION
################################################################################
################################################################################
#begin CLARIFYGEMS function


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


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


CLARIFYGEMSCASTAUS:
setvariable MOONFOUNDEAST NONE
setvariable MOONFOUNDWEST NONE


setvariable SPELLRETURNPOINTER CLARIFYGEMSCASTPG
put prep fm 10


FINDMOONYAVASH:
goto GAUS


CLARIFYGEMSCASTPG:
setvariable FINDMOONNEXTACTION FINDMOONXIBAR


setvariable LOOKINGFORMOON YAVASH
setvariable SPELLRETURNPOINTER CLARIFYGEMSIDGEM


put perceive YAVASH
goto GPG


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


FINDMOONXIBAR:
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 SAVEBAR bar
Match SAVENUGGET nugget
Match SAVEIOLITE iolite
Match SAVETURQUOISE turquoise
Match NEXTFUNCTION There is nothing in there.


put look in %GEMLOCATION
setvariable FINDMOONNEXTACTION FINDMOONKATAMBA


Matchwait
setvariable LOOKINGFORMOON XIBAR


SAVECHRYSOBERYL:
put perceive XIBAR


setvariable GEMTYPE chrysoberyl
Match FINDMOONXIBAR ...wait
goto CLARIFYGEMSGETGEM
Match FINDMOONEAST degrees above the eastern
Match FINDMOONWEST degrees above the western
Match FINDMOONNO not visible
Matchwait


FINDMOONKATAMBA:


SAVETURQUOISE:
setvariable FINDMOONNEXTACTION CASTEASTMOON


setvariable LOOKINGFORMOON KATAMBA
setvariable GEMTYPE turquoise
goto CLARIFYGEMSGETGEM


SAVEIOLITE:
put perceive KATAMBA


setvariable GEMTYPE iolite
Match FINDMOONKATAMBA ...wait
goto CLARIFYGEMSGETGEM
Match FINDMOONEAST degrees above the eastern
Match FINDMOONWEST degrees above the western
Match FINDMOONNO not visible
Matchwait


FINDMOONEAST:
SAVENUGGET:


setvariable MOONFOUNDEAST %LOOKINGFORMOON%
setvariable GEMTYPE nugget
goto %FINDMOONNEXTACTION%
goto CLARIFYGEMSGETGEM


FINDMOONWEST:
SAVEBAR:


setvariable MOONFOUNDWEST %LOOKINGFORMOON%
setvariable GEMTYPE bar
goto %FINDMOONNEXTACTION%
goto CLARIFYGEMSGETGEM


FINDMOONNO:
SAVEAMBER:


setvariable GEMTYPE amber
goto %FINDMOONNEXTACTION%
goto CLARIFYGEMSGETGEM


CASTEASTMOON:
SAVEBERYL:


setvariable GLOBALMOON %MOONFOUNDEAST%
setvariable GEMTYPE beryl
goto CLARIFYGEMSGETGEM


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


setvariable GEMTYPE chrysoprase
put cast %MOONFOUNDEAST%
goto CLARIFYGEMSGETGEM


SAVEDIOPSIDE:
Matchwait


setvariable GEMTYPE diopside
CASTWESTMOON:
goto CLARIFYGEMSGETGEM


SAVETOURMALINE:
setvariable GLOBALMOON %MOONFOUNDWEST%


setvariable GEMTYPE tourmaline
Match CASTWESTMOON ...wait
goto CLARIFYGEMSGETGEM
Match %RETURNPOINTER% into the area.
Match NOMOONFOUND three moons


SAVECHALCEDONY:
put cast %MOONFOUNDWEST%


Matchwait
setvariable GEMTYPE chalcedony
goto CLARIFYGEMSGETGEM


NOMOONFOUND:
SAVEPERIDOT:


setvariable GEMTYPE peridot
echo =============================================================
goto CLARIFYGEMSGETGEM
echo NO MOON LOCATED IN THE SKY PLEASE REVIEW YOUR SPELL SELECTION
echo =============================================================
exit


SAVEANDALUSITE:
#end FINDMOON function
==================================================================================
==================================================================================
#begin GATHERAMMO function


setvariable GEMTYPE andalusite
GATHERAMMO:
goto CLARIFYGEMSGETGEM


SAVEPEARL:
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%


setvariable GEMTYPE pearl
Matchwait
goto CLARIFYGEMSGETGEM


GATHERAMMOSTOW:
SAVELAZULI:


setvariable GEMTYPE lazuli
Match GATHERAMMOSTOW ...wait
goto CLARIFYGEMSGETGEM
Match GATHERAMMO You put your


SAVECRYSTAL:
put put %2% in my %AMMUNITIONCONTAINER%


setvariable GEMTYPE crystal
Matchwait
goto CLARIFYGEMSGETGEM


SAVESPINEL:
GATHERAMMOUNLOAD:


setvariable GEMTYPE spinel
Match GATHERAMMOUNLOAD ...wait
goto CLARIFYGEMSGETGEM
Match GATHERAMMOFINISHED You unload


SAVETOPAZ:
put unload


setvariable GEMTYPE topaz
Matchwait
goto CLARIFYGEMSGETGEM


SAVEZIRCON:
GATHERAMMOFINISHED:


setvariable GEMTYPE zircon
Match GATHERAMMOFINISHED ...wait
goto CLARIFYGEMSGETGEM
Match NEXTFUNCTION You put your


SAVESAPPHIRE:
put put %2% in my %AMMUNITIONCONTAINER%
put sheath


setvariable GEMTYPE sapphire
Matchwait
goto CLARIFYGEMSGETGEM


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


setvariable GEMTYPE citrine
KILLHUMMING:
goto CLARIFYGEMSGETGEM


SAVEHEMATITE:
put stop hum


goto %RETURNPOINTER%
setvariable GEMTYPE hematite
goto CLARIFYGEMSGETGEM


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


setvariable GEMTYPE tsavorite
KILLSPELLPREP:
goto CLARIFYGEMSGETGEM


SAVEAGATE:
put release


Match KILLSPELLPREP ...wait
setvariable GEMTYPE agate
goto CLARIFYGEMSGETGEM
Match %RETURNPOINTER% RELEASE HELP
Matchwait


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


setvariable GEMTYPE kunzite
if_1 put rpa bestow %1% 1
goto CLARIFYGEMSGETGEM
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


SAVEONYX:
#end RPA function
==================================================================================
==================================================================================
#begin CLARIFYGEMS function


setvariable GEMTYPE onyx
CLARIFYGEMS:
goto CLARIFYGEMSGETGEM


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


setvariable GEMTYPE sunstone
CLARIFYGEMSCASTPG:
goto CLARIFYGEMSGETGEM


SAVEMOONSTONE:
save CLARIFYGEMSIDGEM


setvariable GEMTYPE moonstone
goto GPG
goto CLARIFYGEMSGETGEM


SAVEAQUAMARINE:
CLARIFYGEMSIDGEM:


Match SAVERUBY ruby,
setvariable GEMTYPE aquamarine
goto CLARIFYGEMSGETGEM
Match SAVEBLOODSTONE bloodstone,
Match NEXTFUNCTION There is nothing in there.


SAVECORAL:
put look in %GEMLOCATION%


setvariable GEMTYPE coral
Matchwait
goto CLARIFYGEMSGETGEM


SAVERUBY:
SAVECARNELIAN:


setvariable GEMTYPE ruby
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
goto CLARIFYGEMSGETGEM


Line 4,502: Line 6,129:


setvariable GEMTYPE bloodstone
setvariable GEMTYPE bloodstone
goto CLARIFYGEMSGETGEM

SAVERUBY:

setvariable GEMTYPE ruby
goto CLARIFYGEMSGETGEM
goto CLARIFYGEMSGETGEM


Line 4,515: Line 6,147:
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,163:
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,174:
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,228:
Match CLARIFYGEMSGETGEM shatters!
Match CLARIFYGEMSGETGEM shatters!


put cast my %GEMTYPE%
put cast my %GEMTYPE


Matchwait
Matchwait
Line 4,577: Line 6,239:
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,245:
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,264:
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,287:


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


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 (THIS FUNCTION HAS BEEN FIXED)
SPELLCAST:
################################################################################
################################################################################
#begin NEXTFUNCTION


counter set 0

put cast %GLOBALSPELLTARGET%

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

MAINSPELLNAMEAT:
SUBSPELLNAMEAT:

if_2 setvariable GLOBALSPELLTARGET %2%
goto MAINSPELLNAME

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


shift
shift
goto %1

goto %1%

exit

labelError:

if_2 goto NEXTFUNCTION

exit


</pre>
</pre>

Revision as of 09:02, 3 December 2009


################################################################################
#############################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 BOLERO QUIET
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 >
      echo #####################################################################
      put RESYNC
      waitfor >
      put INVFIX
      waitfor >
      put AWAKE
      waitfor >

      echo #####################################################################
      put INV CHECK
      waitfor >
      echo #####################################################################
      put EXP ALL
      waitfor >
      echo #####################################################################
      put HEAL
      waitfor >
      echo #####################################################################
      put STAT FULL
      waitfor >
      echo #####################################################################
      put INFO
      waitfor >
      echo #####################################################################
      put RPA PIRP
      waitfor >
      echo #####################################################################
      put LOOK
      waitfor >
      echo #####################################################################
      put TIME
      waitfor >
      put OBS WEATHER
      waitfor >
      echo #####################################################################
      put EXP FIXWALL
      put HIDE

      shift
      goto %1

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

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

################################################################################
################################################################################
#begin FIRSTAID function (THIS FUNCTION HAS BEEN FIXED)

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 (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

   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 (THIS FUNCTION HAS BEEN FIXED)
################################################################################
################################################################################
#begin FORAGING function (THIS FUNCTION HAS BEEN FIXED)

FORAGING:

   FORAGINGDECLAREVARIABLES:

   setvariable FORAGINGCONTAINER bag in haversack
   setvariable TEMPCOUNTER
   setvariable ITEM
   counter set 0

   FORAGINGCOUNTERINCREASE:

      counter add 1
      goto FORAGE%c

   FORAGE1:

      setvariable ITEM old button
      goto FORAGINGHUM

   FORAGE2:

      setvariable ITEM riolur leaf
      goto FORAGINGHUM

   FORAGE3:

      setvariable ITEM georin grass
      goto FORAGINGHUM

   FORAGE4:

      setvariable ITEM fir stick
      goto FORAGINGHUM

   FORAGE5:

      setvariable ITEM red flower
      goto FORAGINGHUM

   FORAGE6:

      setvariable ITEM blue flower
      goto FORAGINGHUM

   FORAGE7:

      setvariable ITEM oak stick
      goto FORAGINGHUM

   FORAGE8:

      setvariable ITEM spruce stick
      goto FORAGINGHUM

   FORAGE9:

      setvariable ITEM berries
      goto FORAGINGHUM

   FORAGINGHUM:

      put %HUMTHISTUNE
      goto FORAGINGSTART

   FORAGINGSTART:

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

      put forage %ITEM

      Matchwait

   FORAGINGCOUNTERADD:

      counter add 1
      goto FORAGINGSTORE

   FORAGINGSTORE:

      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

   EXPFORAGING1:
   EXPFORAGING2:
   EXPFORAGING3:
   EXPFORAGING4:

      goto FORAGINGSTART

   EXPFORAGING5:
   EXPFORAGING6:
   EXPFORAGING7:
   EXPFORAGING8:
   EXPFORAGING9:
   EXPFORAGING10:
   EXPFORAGING11:

      counter set 0

      Match FORAGINGEND mind lock
      Match FORAGINGHUM EXP HELP for more information

      put exp skill foraging

      Matchwait

   FORAGINGENDCLUTTER:

      echo ========================================
      echo =The room is too cluttered to continue.=
      echo ========================================
      exit

   FORAGINGENDSTORAGE:

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

   FORAGINGEND:

      goto NEXTFUNCTION
      exit

#end FORAGING function (THIS FUNCTION HAS BEEN FIXED)
################################################################################
################################################################################
#begin RANGED function (THIS FUNCTION HAS BEEN FIXED)

RANGED:

   shift
   setvariable rangedweapon %1 %2
   setvariable rangedammo quadrel
   setvariable rangedlooppoint RANGEDCHECKHANDS
   setvariable backcontainer rucksack
   setvariable ammocontainer quiver

   RANGEDCHECKHANDS:

      put glance

      Match RANGEDLCROSSBOW crossbow in your right
      Match RANGEDHCROSSBOW teak stock in your right
      Match RANGEDSBOW short bow in your right
      Match RANGEDLBOW longbow in your right
      MATCH RANGEDCBOW bowstring in your right
      Match RANGEDSLING sling in your right
      Matchre RANGEDCHECKINPUT /left hand|empty hands/
      Matchwait

   RANGEDCHECKINPUT:

      if_1 setvariable rangedweapon %1 %2
      if_1 goto RANGEDGETWEAPON

      setvariable rangedweapon INVALID INPUT
      goto RANGEDNOINPUT

   RANGEDGETWEAPON:

      put stow left

      put wield %RANGEDWEAPON

      Match RANGEDLCROSSBOW crossbow
      Match RANGEDHCROSSBOW slurbow
      Match RANGEDSBOW short bow
      Match RANGEDLBOW longbow
      Match RANGEDCBOW composite bow
      Match RANGEDSLING sling
      Match RANGEDREMOVEWEAPON already in your inventory
      Match RANGEDNOWEAPON referring to?
      Matchwait

   RANGEDREMOVEWEAPON:

      put stow left

      put remove %RANGEDWEAPON

      goto %RANGEDLOOPPOINT

   RANGEDLCROSSBOW:

      setvariable rangedweapon crossbow
      setvariable rangedammo quadrel

      goto RANGEDLOAD

   RANGEDHCROSSBOW:

      setvariable rangedweapon slurbow
      setvariable rangedammo quadrel

      goto RANGEDLOAD

   RANGEDSBOW:

      setvariable rangedweapon bow
      setvariable rangedammo arrow

      goto RANGEDLOAD

   RANGEDLBOW:

      setvariable rangedweapon longbow
      setvariable rangedammo arrow

      goto RANGEDLOAD

   RANGEDCBOW:

      setvariable rangedweapon bow
      setvariable rangedammo arrow

      goto RANGEDLOAD

   RANGEDSLING:

      setvariable rangedweapon sling
      setvariable rangedammo rock

      goto RANGEDLOAD

   RANGEDLOAD:

      setvariable rangedlooppoint RANGEDLOAD

      put load my %RANGEDWEAPON with %RANGEDAMMO from %AMMOCONTAINER

      Match RANGEDPAUSEDELAY ...wait
      Match RANGEDAIM Roundtime
      Match RANGEDAIM already loaded
      Match RANGEDNOAMMO don't have the proper ammunition
      Matchwait

   RANGEDAIM:

      setvariable rangedlooppoint RANGEDAIM

      put aim

      Match RANGEDPAUSEDELAY ...wait
      Match RANGEDFIRE You begin to target
      Match RANGEDFIRE already targetting
      Match RANGEDGATHERAMMO referring to.
      Matchwait

   RANGEDFIRE:

      pause 5

      setvariable rangedlooppoint RANGEDFIRE

      put fire

      Match RANGEDPAUSEDELAY ...wait
      Match RANGEDLOAD You fire
      Match RANGEDUNLOADWEAPON referring to.
      Matchwait

   RANGEDUNLOADWEAPON:

      setvariable RANGEDLOOPPOINT RANGEDUNLOADWEAPON

      put unload

      Match RANGEDPAUSEDELAY ...wait
      Match RANGEDSTOWALL Roundtime
      Matchwait

   RANGEDSTOWALL:

      pause

      put put %RANGEDAMMO in %AMMOCONTAINER
      put put %RANGEDWEAPON in %BACKCONTAINER

      goto RANGEDGATHERAMMO

   RANGEDSTOWAMMO:

      put put %RANGEDAMMO in %AMMOCONTAINER

      Match RANGEDSTOWAMMO ...wait
      Match %RANGEDLOOPPOINT You put your
      Matchwait

   RANGEDSTOWAMMOPAUSE:

      pause

      put put %RANGEDAMMO in %AMMOCONTAINER

      Match RANGEDSTOWAMMO ...wait
      Match %RANGEDLOOPPOINT You put your
      Matchwait

   RANGEDGATHERAMMO:

      setvariable rangedlooppoint RANGEDGATHERAMMO

      put get %RANGEDAMMO

      Matchre RANGEDSTOWAMMOPAUSE /You pull|You pick up/
      Match RANGEDFINISHED You get
      Match RANGEDRESETLOOP You must unload
      Matchwait

   RANGEDRESETLOOP:

      setvariable rangedlooppoint RANGEDAIM

      goto RANGEDAWAITTARGETS

   RANGEDFINISHED:

      setvariable rangedlooppoint RANGEDAIM

      goto RANGEDSTOWAMMO

   RANGEDNOWEAPON:

      echo ##################################################################
      echo * You do not have this type of weapon (%RANGEDWEAPON) available *
      echo ##################################################################

      goto RANGEDEXIT

   RANGEDNOINPUT:

      echo ################################################################
      echo * You are not holding a weapon and have not made a valid entry *
      echo * at the beginning of the script (%RANGEDWEAPON)              *
      echo ################################################################

      goto RANGEDEXIT

   RANGEDNOAMMO:

      echo ##################################################################
      echo * You do not have the correct ammunition (%RANGEDAMMO) for your *
      echo * selected weapon (%RANGEDWEAPON). Get some %RANGEDAMMOs or    *
      echo * open the container holding them in order to start this script  *
      echo ##################################################################

      goto RANGEDEXIT

   RANGEDPAUSEDELAY:

      pause

      goto %RANGEDLOOPPOINT

   RANGEDAWAITTARGETS:

      Matchre %RANGEDLOOPPOINT /on you|at you|closing steadily|pole weapon|melee range|rock troll|barghest|sprite/
      Matchwait    

   RANGEDEXIT:

      goto NEXTFUNCTION

#end RANGED function (THIS FUNCTION HAS BEEN FIXED)
################################################################################
################################################################################
LE:

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

   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 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 (THIS FUNCTION HAS BEEN FIXED)

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:

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

      put put lock in %LOCKPICKSTORAGECONTAINER

      Matchwait

   LOCKPICKINGSTOWTOOLS1:

      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 (THIS FUNCTION HAS BEEN FIXED)
################################################################################
################################################################################
#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

      put conc all

      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

      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 (THIS FUNCTION HAS BEEN FIXED)

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 (THIS FUNCTION HAS BEEN FIXED)
################################################################################
################################################################################
#begin GLOBALWEAPONRESET function (THIS FUNCTION HAS BEEN FIXED)

GLOBALWEAPONRESET:

   Match %s at you
   Match %s melee
   Matchwait

#end GLOBALWEAPONRESET function (THIS FUNCTION HAS BEEN FIXED)
################################################################################
################################################################################
#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)
################################################################################
################################################################################

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

#################################TRAVEL SCRIPTS#################################

################################################################################
################################################################################

TRAVEL:

   setvariable STARTINGLOCATION none
   counter set 0

   Match CROSSINGLOCATION [The 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 SAVEBAR bar
      Match SAVENUGGET nugget
      Match SAVEIOLITE iolite
      Match SAVETURQUOISE turquoise
      Match NEXTFUNCTION There is nothing in there.

      put look in %GEMLOCATION

      Matchwait

   SAVECHRYSOBERYL:

      setvariable GEMTYPE chrysoberyl
      goto CLARIFYGEMSGETGEM


   SAVETURQUOISE:

      setvariable GEMTYPE turquoise
      goto CLARIFYGEMSGETGEM

   SAVEIOLITE:

      setvariable GEMTYPE iolite
      goto CLARIFYGEMSGETGEM

   SAVENUGGET:

      setvariable GEMTYPE nugget
      goto CLARIFYGEMSGETGEM

   SAVEBAR:

      setvariable GEMTYPE bar
      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 (THIS FUNCTION HAS BEEN FIXED)

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 (THIS FUNCTION HAS BEEN FIXED)
################################################################################
################################################################################
#begin NEXTFUNCTION

NEXTFUNCTION:

   shift
   goto %1