Mendhunt (script): Difference between revisions

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

==General Information==
==General Information==
Hunting script with menu driven setup.
Hunting script with menu driven setup.
Line 31: Line 36:
<blockquote>
<blockquote>
<pre>
<pre>
1. Needs work on webbed/stunned effects
1. Update critter table.
2. Update loot table.
</pre>
</pre>
</blockquote>
</blockquote>
Line 173: Line 177:
setvariable frenzyfleeretreatflag YES
setvariable frenzyfleeretreatflag YES
setvariable casttargetdebuffspellsatmeleeflag NO
setvariable casttargetdebuffspellsatmeleeflag NO
setvariable loottype loot treasure
setvariable loottype loot
setvariable necroperformtype preserve
setvariable necroperformtype preserve



Latest revision as of 14:12, 24 March 2011

Mendhunt (script)
Category combat
Front-end StormFront
Author Mendaleev


General Information

Hunting script with menu driven setup.

Front end: Stormfront

Recommended name: mendhunt

Usage:  .mendhunt {[help|menu|multi <#>]}

    Where:
          without arguments = basic usage to hunt
                       help = help menu
                       menu = main menu
                  multi <#> = starts hunting with weapon slot #

Change Log

Version 2.0 April 20, 2010
    1) Added Necro perform
    2) Added hunt verb
    3) Added loot verb; updated critter database

To Do

1.  Needs work on webbed/stunned effects

The Script

TOP:
# ____________________________________________________________
# Mendhunt version 2.0
# by Mendaleev         last update: April 20, 2010, 01:00 hours
#
# Script designed for hunting in DragonRealms
#
# StormFront compatible (written in SF v1.0.1.22)
#
# normal run syntax: .mendhunt
#                    .mendhunt multi <#>
#                    .mendhunt help
#                    .mendhunt menu
# ____________________________________________________________
# Do not use AFK or in violation of any policy.
# You are responsible for everything; I am responsible for nothing.
# As allowed, permission is provided for you to use, modify, or basically 
# do what you want with it.
# ____________________________________________________________


SCRIPT_RUN_TESTS:

FIRST_RUN_TEST:
	pause .5
	match SCRIPT_HAS_RUN_BEFORE flag itsran
	match SCRIPT_HAS_NOT_RUN_BEFORE not a valid flag
	match FIRST_RUN_TEST ...wait
	match FIRST_RUN_TEST You may only type ahead 
	put set %mendhunt_firstruntest
	matchwait

SCRIPT_HAS_NOT_RUN_BEFORE:
	goto FIRST_RUN_POPUP

SCRIPT_HAS_RUN_BEFORE:
	goto FIRST_RUN_OF_V14_TEST

FIRST_RUN_OF_V14_TEST:
	pause .5
	match SCRIPT_HAS_RUN_V14_UPDATE flag itsran
	match SCRIPT_HAS_NOT_RUN_V14_UPDATE not a valid flag
	match FIRST_RUN_OF_V14_TEST ...wait
	match FIRST_RUN_OF_V14_TEST You may only type ahead
	put set %mendhunt_version14
	matchwait

SCRIPT_HAS_NOT_RUN_V14_UPDATE:
	goto UPDATE_VERSION14

SCRIPT_HAS_RUN_V14_UPDATE:
	goto FIRST_RUN_OF_V19_TEST

FIRST_RUN_OF_V19_TEST:
	pause .5
	match SCRIPT_HAS_RUN_V19_UPDATE flag itsran
	match SCRIPT_HAS_NOT_RUN_V19_UPDATE not a valid flag
	match FIRST_RUN_OF_V19_TEST ...wait
	match FIRST_RUN_OF_V19_TEST You may only type ahead
	put set %mendhunt_version19
	matchwait

SCRIPT_HAS_NOT_RUN_V19_UPDATE:
	goto UPDATE_VERSION19

SCRIPT_HAS_RUN_V19_UPDATE:
	goto FIRST_RUN_OF_V20_TEST

FIRST_RUN_OF_V20_TEST:
	pause .5
	match SCRIPT_HAS_RUN_V20_UPDATE flag itsran
	match SCRIPT_HAS_NOT_RUN_V20_UPDATE not a valid flag
	match FIRST_RUN_OF_V20_TEST ...wait
	match FIRST_RUN_OF_V20_TEST You may only type ahead
	put set %mendhunt_version20
	matchwait

SCRIPT_HAS_NOT_RUN_V20_UPDATE:
	goto UPDATE_VERSION20

SCRIPT_HAS_RUN_V20_UPDATE:
	goto SCRIPT_RUN_TESTS_END

SCRIPT_RUN_TESTS_END:

TOPSTART:
	IF_1 goto COMMANDLINE_JUMP


#############################################################################
###########################    MAIN SCRIPT SECTION    #######################
#############################################################################

	setvariable switchnum 1
	
HUNT_START:

HUNT_START_RETREAT:
	setvariable subreturnflagretreat HUNT_START_RETREAT
	goto SUB_RETREAT
SUBRETURN_HUNT_START_RETREAT:

#______________________________________________________________________________pause variables
# The following pause variables can be changed to modify the speed of the script.

	setvariable matchwaitpause .3
	setvariable branchtestpause .3
	setvariable rtcheckpause .3
	setvariable naked_put_pause .3
	setvariable advancepause 1.8
	setvariable retreatpause .7
	setvariable dekspause1 .2
	setvariable dekspause2 .2
	setvariable dekspause3 .2
	setvariable dekspause4 .2
	setvariable dekspause5 .2
	setvariable aftercastrtpause 1


#______________________________________________________________________________flags/variables
# The following flags/variables can be changed to suit your needs
# They are either [YES|NO] or [ON|OFF] or <number>
# example... if you see YES, you can change it to NO and vice versa.
#            if you see ON, you can change it to OFF and vice versa.
#
# mofesmana/mofespause - mantle of flame ES cast numbers
# slow_attack_pause - pause time for slow attack
# frenzyfleeretreatflag - retreat prior to flee
# casttargetdebuffspellsatmeleeflag - cast target and debuff spells at melee range (gz users etc)

	setvariable mofesmana 5
	setvariable mofespause 1
	setvariable slow_attack_pause 3
	setvariable frenzyfleeretreatflag YES
	setvariable casttargetdebuffspellsatmeleeflag NO
	setvariable loottype loot
	setvariable necroperformtype preserve


#______________________________________________________________________________flags/variables do not change below
# Do not change the following flags/variables
	setvariable combonum 1
	setvariable flagboxescontainer NOTFULL
	setvariable flagothercontainer NOTFULL
	setvariable flaggemscontainer NOTFULL
	setvariable flagskinscontainer NOTFULL
	setvariable flaggemspouchcarry NOTTESTED
	setvariable flagndchands FULL
	setvariable flagloothands FULL
	setvariable flagmindstate AWAKE
	setvariable flagndcpyramidfirstlook YES
	setvariable flagndcpyramidstartedempty YES
	setvariable ndcpyramidloopnum 1
	setvariable dancemodeloopnum 1
	setvariable danceappflag CHECK
	setvariable dualmixflag left
	setvariable commongemssearchedflag NO
	setvariable deadcritterlootitflag ON
	setvariable hidestalkactionflag ON
	setvariable ysfullcastflag NO
	setvariable weaponswitchforceflag 0
	setvariable armorswitchforceflag 0
	setvariable dancehuntloopnum 1

#______________________________________________________________________________message array
# stow/put hits
	setvariable stowH1 You stow
	setvariable stowH2 You put
	setvariable stowH3 You pick up
	setvariable hitstow %stowH1%|%stowH2%|%stowH3%
# stow/put fails
	setvariable stowF1 Stow what
	setvariable stowF2 What were you referring to
	setvariable stowF3 But that is already in your inventory
	setvariable stowF4 Perhaps you should be holding that first
	setvariable stowF5 There isn't any more room
	setvariable stowF6 You just can't get
	setvariable stowF7 You can't fit anything else 
	setvariable stowF8 That's too heavy to go in there
	setvariable stowF9 The (.*) too long
	setvariable stowF10 The (.*) too wide
	setvariable stowF11 The (.*) too unwieldy
	setvariable stowF12 The (.*) to fit
	setvariable stowF13 But that's closed
	setvariable stowF14 I can't find your container for stowing things in
#	setvariable stowF15 You need a free hand to pick that up

# note that {What were you referring to} is a bad call for both item and container

	setvariable failstowcall %stowF1%|%stowF2%|%stowF3%|%stowF4%
	setvariable failstowfull %stowF5%|%stowF6%|%stowF7%
	setvariable failstowsize %stowF8%|%stowF9%|%stowF10%|%stowF11%|%stowF12%
	setvariable errorstow %stowF13%|%stowF14%

#-------------------------------------------------------------------------------
# combat fails
	setvariable combatF1 You are still stunned
	setvariable combatF2 You don't feel
	setvariable combatF3 Strangely
	setvariable combatF4 You are stun
	setvariable combatF5 You(.*) mesmerize
	setvariable combatF6 You(.*) calm
	setvariable combatF7 You(.*) peace
	setvariable combatF8 You can't do that while entangled
	setvariable combatF9 You're stunned
setvariable failcombat %combatF1%|%combatF2%|%combatF3%|%combatF4%|%combatF5%|%combatF6%|%combatF7%|%combatF8%|%combatF9%
#-------------------------------------------------------------------------------
# wear hits
	setvariable wearH1 You put
	setvariable wearH2 You work
	setvariable wearH3 You slip
	setvariable wearH4 You slide
	setvariable wearH5 You attach
	setvariable wearH6 You sling
	setvariable wearH7 You tie
	setvariable wearH8 You drape
	setvariable wearH9 you hang
	setvariable hitwear %wearH1%|%wearH2%|%wearH3%|%wearH4%|%wearH5%|%wearH6%|%wearH7%|%wearH8%|%wearH9%
# wear fails
	setvariable wearF1 Wear what
	setvariable wearF2 You can't wear
	setvariable wearF3 Shouldn't you be holding that first
	setvariable wearF4 You are already wearing that
	setvariable wearF5 T(.*) can't fit
	setvariable wearF6 A(.*) can't fit
#You should unload  You need to unload
	setvariable failwear %wearF1%|%wearF2%|%wearF3%|%wearF4%|%wearF5%|%wearF6%
#-------------------------------------------------------------------------------
# remove hits (note You loosen for an armshield is not included)
	setvariable remH1 You take
	setvariable remH2 You work
	setvariable remH3 You pull
	setvariable remH4 You remove
	setvariable remH5 You sling
	setvariable remH6 You detach
	setvariable remH7 You untie
	setvariable remH8 you draw
	setvariable remH9 You slip
	setvariable hitremove %remH1%|%remH2%|%remH3%|%remH4%|%remH5%|%remH6%|%remH7%|%remH8%|%remH9%
# remove fails
	setvariable remF1 Remove what
	setvariable remF2 You aren't wearing that
#	setvariable remF3 You must have one hand free
	setvariable failremove %remF1%|%remF2%
#-------------------------------------------------------------------------------
# get hits
	setvariable getH1 You get
	setvariable getH2 You pick up
	setvariable hitget %getH1%|%getH2%
# get fails
	setvariable getF1 What were you referring to
	setvariable getF2 But that is already in your inventory
	setvariable failget %getF1%|%getF2%
#You are already holding that
#-------------------------------------------------------------------------------
# wield hits
	setvariable wieldH1 You draw
	setvariable wieldH2 You slip
	setvariable wieldH3 You untie
	setvariable hitwield %wieldH1%|%wieldH2%|%wieldH3%
# sheathe hits
	setvariable sheatheH1 You sheathe
	setvariable sheatheH2 You slip
	setvariable sheatheH3 You tie
	setvariable sheatheH4 You put
	setvariable sheatheH5 You hang
	setvariable hitsheathe %sheatheH1%|%sheatheH2%|%sheatheH3%|%sheatheH4%|%sheatheH5%


# Check containers

	put awake
	pause .3
	put open my %mendhunt_gems_container
	pause .3
	put open my %mendhunt_boxes_container
	pause .3
	put open my %mendhunt_other_container
	pause .3
	put open my %mendhunt_gpouch_empty_container
	pause .3
	put open my %mendhunt_gpouch_full_container
	pause .3


#############################################################################
###########################    PRECOMBAT SECTION    #########################
#############################################################################

#_______________________________________________________________________initialize variables
PRECOMBAT_INITIALIZE_VARIABLES_START:

PRECOMBAT_INITIALIZE_VARIABLES_START_RETREAT:
	setvariable subreturnflagretreat PRECOMBAT_INITIALIZE_VARIABLES_START_RETREAT
	goto SUB_RETREAT
SUBRETURN_PRECOMBAT_INITIALIZE_VARIABLES_START_RETREAT:

PRECOMBAT_INITIALIZE_ARMAMENT_SLOTS_TEST:
		goto PRECOMBAT_INITIALIZE_ARMAMENT_SLOTS_TEST_%mendhunt_need_initialize_flag
	PRECOMBAT_INITIALIZE_ARMAMENT_SLOTS_TEST_YES:
		goto PRECOMBAT_INITIALIZE_ARMAMENT_SLOTS
	PRECOMBAT_INITIALIZE_ARMAMENT_SLOTS_TEST_NO:
		goto PRECOMBAT_INITIALIZE_WEAPON_ACTIVE

PRECOMBAT_INITIALIZE_ARMAMENT_SLOTS:
	setvariable subreturnflag PRECOMBAT_INITIALIZE_ARMAMENT_SLOTS
	goto INITIALIZE_ARMAMENT
SUBRETURN_PRECOMBAT_INITIALIZE_ARMAMENT_SLOTS:

PRECOMBAT_INITIALIZE_WEAPON_ACTIVE:
	setvariable subreturnflag PRECOMBAT_INITIALIZE_WEAPON_ACTIVE
	goto INITIALIZE_WEAPON_ACTIVE
SUBRETURN_PRECOMBAT_INITIALIZE_WEAPON_ACTIVE:

PRECOMBAT_INITIALIZE_ARMOR_ACTIVE:
	setvariable armor_name_active %mendhunt_armor_name_main
	setvariable armor_class_active %mendhunt_armor_class_main
	setvariable armor_name_deactive %mendhunt_armor_name_second
	setvariable armor_class_deactive %mendhunt_armor_class_second

PRECOMBAT_INITIALIZE_VARIABLES_END:
	goto PRECOMBAT_EMPTY_HANDS_START

#_______________________________________________________________________empty hands
PRECOMBAT_EMPTY_HANDS_START:

PRECOMBAT_EMPTY_HANDS_RETREAT:
	setvariable subreturnflagretreat PRECOMBAT_EMPTY_HANDS_RETREAT
	goto SUB_RETREAT
SUBRETURN_PRECOMBAT_EMPTY_HANDS_RETREAT:

PRECOMBAT_EMPTY_HANDS_GO:
	setvariable subreturnflagemptyhands PRECOMBAT_EMPTY_HANDS_GO
	goto SUB_EMPTY_HANDS
SUBRETURN_PRECOMBAT_EMPTY_HANDS_GO:

PRECOMBAT_EMPTY_HANDS_END:
	goto PRECOMBAT_EQUIP_ARMOR_START

#_______________________________________________________________________equip armor
PRECOMBAT_EQUIP_ARMOR_START:

PRECOMBAT_EQUIP_ARMOR_SWITCH_TEST:
		goto PRECOMBAT_EQUIP_ARMOR_SWITCH_TEST_%mendhunt_armor_switch_test
	PRECOMBAT_EQUIP_ARMOR_SWITCH_TEST_ON:
		goto PRECOMBAT_EQUIP_ARMOR_ACTIVE_ALREADYWORN_CHECK
	PRECOMBAT_EQUIP_ARMOR_SWITCH_TEST_OFF:
		goto PRECOMBAT_EQUIP_ARMOR_END

PRECOMBAT_EQUIP_ARMOR_ACTIVE_ALREADYWORN_CHECK:
	pause %matchwaitpause
	match PRECOMBAT_EQUIP_ARMOR_END You are already wearing
	matchre PRECOMBAT_EQUIP_ARMOR_END /%hitwear%/i
	matchre PRECOMBAT_UNEQUIP_ARMOR_DEACTIVE_REMOVE /%failwear%/i
	match PRECOMBAT_EQUIP_ARMOR_ACTIVE_ALREADYWORN_CHECK ...wait
	match PRECOMBAT_EQUIP_ARMOR_ACTIVE_ALREADYWORN_CHECK You may only type ahead
	put wear my %armor_name_active
	matchwait

PRECOMBAT_UNEQUIP_ARMOR_DEACTIVE_REMOVE:
	pause %matchwaitpause
	matchre PRECOMBAT_UNEQUIP_ARMOR_DEACTIVE_STOW /%hitremove%/i
	matchre ERROR_ARMOR /%failremove%/i
	match PRECOMBAT_UNEQUIP_ARMOR_DEACTIVE_REMOVE ...wait
	match PRECOMBAT_UNEQUIP_ARMOR_DEACTIVE_REMOVE You may only type ahead
	put remove my %armor_name_deactive
	matchwait

PRECOMBAT_UNEQUIP_ARMOR_DEACTIVE_STOW:
	pause %matchwaitpause
	matchre PRECOMBAT_EQUIP_ARMOR_ACTIVE_GET /%hitstow%/i
	matchre ERROR_ARMOR /%failstowcall%/i
	matchre ERROR_STOW /%failstowfull%/i
	matchre ERROR_STOW /%failstowsize%/i
	matchre ERROR_STOW /%errorstow%/i
	match PRECOMBAT_UNEQUIP_ARMOR_DEACTIVE_STOW ...wait
	match PRECOMBAT_UNEQUIP_ARMOR_DEACTIVE_STOW You may only type ahead
	put stow my %armor_name_deactive
	matchwait

PRECOMBAT_EQUIP_ARMOR_ACTIVE_GET:
	pause %matchwaitpause
	matchre PRECOMBAT_EQUIP_ARMOR_ACTIVE_WEAR /%hitget%/i
	matchre ERROR_ARMOR /%failget%/i
	match PRECOMBAT_EQUIP_ARMOR_ACTIVE_GET ...wait
	match PRECOMBAT_EQUIP_ARMOR_ACTIVE_GET You may only type ahead
	put get my %armor_name_active
	matchwait

PRECOMBAT_EQUIP_ARMOR_ACTIVE_WEAR:
	pause %matchwaitpause
	matchre PRECOMBAT_EQUIP_ARMOR_VERIFY_HANDS_EMPTY /%hitwear%/i
	matchre ERROR_ARMOR /%failwear%/i
	match PRECOMBAT_EQUIP_ARMOR_ACTIVE_WEAR ...wait
	match PRECOMBAT_EQUIP_ARMOR_ACTIVE_WEAR You may only type ahead
	put wear my %armor_name_active
	matchwait

PRECOMBAT_EQUIP_ARMOR_VERIFY_HANDS_EMPTY:
	pause %matchwaitpause
	match PRECOMBAT_EQUIP_ARMOR_END You glance down at your empty hands
	matchre ERROR_ARMOR /You glance (.*) nothing in your left hand/i
	matchre ERROR_ARMOR /You glance (.*) in your left hand/i
	match PRECOMBAT_EQUIP_ARMOR_VERIFY_HANDS_EMPTY ...wait
	match PRECOMBAT_EQUIP_ARMOR_VERIFY_HANDS_EMPTY You may only type ahead
	put glance
	matchwait

PRECOMBAT_EQUIP_ARMOR_END:
	goto PRECOMBAT_EQUIP_ARMS_START

#_______________________________________________________________________equip weapon/shield
PRECOMBAT_EQUIP_ARMS_START:

PRECOMBAT_EQUIP_ARMS:
	setvariable subreturnflagequiparms PRECOMBAT_EQUIP_ARMS
	goto SUB_EQUIP_ARMS_ACTIVE
SUBRETURN_PRECOMBAT_EQUIP_ARMS:

PRECOMBAT_EQUIP_ARMS_END:
	goto PRECOMBAT_EMPATH_VERIFICATION
#_______________________________________________________________________empath check
PRECOMBAT_EMPATH_VERIFICATION:
	pause %matchwaitpause
	match PRECOMBAT_EMPATH_GUILD_CHECK Guild: Empath
	match MAIN_START Encumbrance
	match PRECOMBAT_EMPATH_VERIFICATION ...wait
	match PRECOMBAT_EMPATH_VERIFICATION You may only type ahead
	put info
	matchwait

PRECOMBAT_EMPATH_GUILD_CHECK:
	pause %branchtestpause
	match MAIN_START flag ON
	match ERROR_EMPATH not a valid flag
	match PRECOMBAT_EMPATH_GUILD_CHECK ...wait
	match PRECOMBAT_EMPATH_GUILD_CHECK You may only type ahead
	put set %mendhunt_empath_guild_test
	matchwait


#############################################################################
###########################    MAIN START SECTION    ########################
#############################################################################

#_______________________________________________________________________Main Start
MAIN_START:

MAIN_START_FLAG_RESET:
	setvariable combatmodeloopnum 1
	setvariable frenzyberserkflag OFF
	setvariable frenzybardflag OFF

MAIN_START_FLAG_RESET_DEBUFF_VARBS_TEST_MASTER:
		goto MAIN_START_FLAG_RESET_DEBUFF_VARBS_TEST_MASTER_%mendhunt_debuff_master_test
	MAIN_START_FLAG_RESET_DEBUFF_VARBS_TEST_MASTER_ON:
		goto MAIN_START_FLAG_RESET_DEBUFF_VARBS_1
	MAIN_START_FLAG_RESET_DEBUFF_VARBS_TEST_MASTER_OFF:
		goto MAIN_START_FLAG_RESET_DEBUFF_VARBS_END
MAIN_START_FLAG_RESET_DEBUFF_VARBS_1:
		goto MAIN_START_FLAG_RESET_DEBUFF_VARBS_1_%mendhunt_debuff_test_1
	MAIN_START_FLAG_RESET_DEBUFF_VARBS_1_ON:
		setvariable debuffonceflag1 NOTDONE
		goto MAIN_START_FLAG_RESET_DEBUFF_VARBS_2
	MAIN_START_FLAG_RESET_DEBUFF_VARBS_1_OFF:
		goto MAIN_START_FLAG_RESET_DEBUFF_VARBS_2
MAIN_START_FLAG_RESET_DEBUFF_VARBS_2:
		goto MAIN_START_FLAG_RESET_DEBUFF_VARBS_2_%mendhunt_debuff_test_2
	MAIN_START_FLAG_RESET_DEBUFF_VARBS_2_ON:
		setvariable debuffonceflag2 NOTDONE
		goto MAIN_START_FLAG_RESET_DEBUFF_VARBS_3
	MAIN_START_FLAG_RESET_DEBUFF_VARBS_2_OFF:
		goto MAIN_START_FLAG_RESET_DEBUFF_VARBS_3
MAIN_START_FLAG_RESET_DEBUFF_VARBS_3:
		goto MAIN_START_FLAG_RESET_DEBUFF_VARBS_3_%mendhunt_debuff_test_3
	MAIN_START_FLAG_RESET_DEBUFF_VARBS_3_ON:
		setvariable debuffonceflag3 NOTDONE
		goto MAIN_START_FLAG_RESET_DEBUFF_VARBS_4
	MAIN_START_FLAG_RESET_DEBUFF_VARBS_3_OFF:
		goto MAIN_START_FLAG_RESET_DEBUFF_VARBS_4
MAIN_START_FLAG_RESET_DEBUFF_VARBS_4:
		goto MAIN_START_FLAG_RESET_DEBUFF_VARBS_4_%mendhunt_debuff_test_4
	MAIN_START_FLAG_RESET_DEBUFF_VARBS_4_ON:
		setvariable debuffonceflag4 NOTDONE
		goto MAIN_START_FLAG_RESET_DEBUFF_VARBS_5
	MAIN_START_FLAG_RESET_DEBUFF_VARBS_4_OFF:
		goto MAIN_START_FLAG_RESET_DEBUFF_VARBS_5
MAIN_START_FLAG_RESET_DEBUFF_VARBS_5:
		goto MAIN_START_FLAG_RESET_DEBUFF_VARBS_5_%mendhunt_debuff_test_5
	MAIN_START_FLAG_RESET_DEBUFF_VARBS_5_ON:
		setvariable debuffonceflag5 NOTDONE
		goto MAIN_START_FLAG_RESET_DEBUFF_VARBS_6
	MAIN_START_FLAG_RESET_DEBUFF_VARBS_5_OFF:
		goto MAIN_START_FLAG_RESET_DEBUFF_VARBS_6
MAIN_START_FLAG_RESET_DEBUFF_VARBS_6:
		goto MAIN_START_FLAG_RESET_DEBUFF_VARBS_6_%mendhunt_debuff_test_6
	MAIN_START_FLAG_RESET_DEBUFF_VARBS_6_ON:
		setvariable debuffonceflag6 NOTDONE
		goto MAIN_START_FLAG_RESET_DEBUFF_VARBS_END
	MAIN_START_FLAG_RESET_DEBUFF_VARBS_6_OFF:
		goto MAIN_START_FLAG_RESET_DEBUFF_VARBS_END
MAIN_START_FLAG_RESET_DEBUFF_VARBS_END:

MAIN_START_FLAG_RESET_END:

#_______________________________________________________________________Front-End Actions
	goto MINDSTATE_START
MINDSTATE_RETURN:

	goto FISSURE
FISSURE_RETURN:

	goto MOF
MOF_RETURN:

#_______________________________________________________________________wait for action
MAINSTART_NDC_TEST:
		goto MAINSTART_NDC_TEST_%mendhunt_ndc_master_test
	MAINSTART_NDC_TEST_ON:
		goto WAIT_FOR_ACTION_WITH_NDC_ON
	MAINSTART_NDC_TEST_OFF:
		goto WAIT_FOR_ACTION

WAIT_FOR_ACTION:

WAIT_FOR_ACTION_YS_TEST:
		goto WAIT_FOR_ACTION_YS_TEST_%mendhunt_ys_master_test
	WAIT_FOR_ACTION_YS_TEST_ON:
		goto WAIT
	WAIT_FOR_ACTION_YS_TEST_OFF:
		goto WAIT_FOR_ACTION_AEG_TEST

WAIT_FOR_ACTION_AEG_TEST:
		goto WAIT_FOR_ACTION_AEG_TEST_%mendhunt_aeg_master_test
	WAIT_FOR_ACTION_AEG_TEST_ON:
		goto WAIT_FOR_ACTION_AEGMAINT_TEST
	WAIT_FOR_ACTION_AEG_TEST_OFF:
		goto WAIT_FOR_ACTION_MAGIC_MASTER_TEST

WAIT_FOR_ACTION_AEGMAINT_TEST:
		goto WAIT_FOR_ACTION_AEGMAINT_TEST_%mendhunt_aegmaint_test
	WAIT_FOR_ACTION_AEGMAINT_TEST_ON:
		goto WAIT
	WAIT_FOR_ACTION_AEGMAINT_TEST_OFF:
		goto WAIT_FOR_ACTION_MAGIC_MASTER_TEST

WAIT_FOR_ACTION_MAGIC_MASTER_TEST:
		goto WAIT_FOR_ACTION_MAGIC_MASTER_TEST_%mendhunt_magic_master_test
	WAIT_FOR_ACTION_MAGIC_MASTER_TEST_ON:
		goto WAIT_FOR_ACTION_BUFF_MASTER_TEST
	WAIT_FOR_ACTION_MAGIC_MASTER_TEST_OFF:
		goto WAIT_NOMAGIC_NOBUFF

WAIT_FOR_ACTION_BUFF_MASTER_TEST:
		goto WAIT_FOR_ACTION_BUFF_MASTER_TEST_%mendhunt_buff_master_test
	WAIT_FOR_ACTION_BUFF_MASTER_TEST_ON:
		goto WAIT
	WAIT_FOR_ACTION_BUFF_MASTER_TEST_OFF:
		goto WAIT_NOMAGIC_NOBUFF

WAIT:
	pause %matchwaitpause
	echo
	echo *** Waiting for critter action or full mana
	echo
	match ATTACK_START begins to advance on you
	match ATTACK_START pole weapon range on you
	match ATTACK_START melee range on you
	match ATTACK_START [You
	match ATTACK_START target you
	match ATTACK_START focus on you
	match BUFF_START complete attunement
	match BUFF_START fully attuned
	match WAIT ...wait
	match WAIT You may only type ahead
	put mana
	matchwait

WAIT_NOMAGIC_NOBUFF:
	pause %matchwaitpause
	echo
	echo *** Waiting for critter action
	echo
	match ATTACK_START begins to advance on you
	match ATTACK_START pole weapon range on you
	match ATTACK_START melee range on you
	match ATTACK_START [You
	match ATTACK_START target you
	match ATTACK_START focus on you
	match WAIT_NOMAGIC_NOBUFF ...wait
	match WAIT_NOMAGIC_NOBUFF You may only type ahead
	matchwait

#_______________________________________________________________________wait for action/NDC

WAIT_FOR_ACTION_WITH_NDC_ON:

WAIT_FOR_ACTION_NDC_YS_TEST:
		goto WAIT_FOR_ACTION_NDC_YS_TEST_%mendhunt_ys_master_test
	WAIT_FOR_ACTION_NDC_YS_TEST_ON:
		goto WAIT_FOR_ACTION_NDC_MANACHECK
	WAIT_FOR_ACTION_NDC_YS_TEST_OFF:
		goto WAIT_FOR_ACTION_NDC_AEG_TEST

WAIT_FOR_ACTION_NDC_AEG_TEST:
		goto WAIT_FOR_ACTION_NDC_AEG_TEST_%mendhunt_aeg_master_test
	WAIT_FOR_ACTION_NDC_AEG_TEST_ON:
		goto WAIT_FOR_ACTION_NDC_AEGMAINT_TEST
	WAIT_FOR_ACTION_NDC_AEG_TEST_OFF:
		goto WAIT_FOR_ACTION_NDC_MAGIC_MASTER_TEST

WAIT_FOR_ACTION_NDC_AEGMAINT_TEST:
		goto WAIT_FOR_ACTION_NDC_AEGMAINT_TEST_%mendhunt_aegmaint_test
	WAIT_FOR_ACTION_NDC_AEGMAINT_TEST_ON:
		goto WAIT_FOR_ACTION_NDC_MANACHECK
	WAIT_FOR_ACTION_NDC_AEGMAINT_TEST_OFF:
		goto WAIT_FOR_ACTION_NDC_MAGIC_MASTER_TEST

WAIT_FOR_ACTION_NDC_MAGIC_MASTER_TEST:
		goto WAIT_FOR_ACTION_NDC_MAGIC_MASTER_TEST_%mendhunt_magic_master_test
	WAIT_FOR_ACTION_NDC_MAGIC_MASTER_TEST_ON:
		goto WAIT_FOR_ACTION_NDC_BUFF_MASTER_TEST
	WAIT_FOR_ACTION_NDC_MAGIC_MASTER_TEST_OFF:
		goto WAIT_FOR_ACTION_NDC_NOMAGIC_NOBUFF

WAIT_FOR_ACTION_NDC_BUFF_MASTER_TEST:
		goto WAIT_FOR_ACTION_NDC_BUFF_MASTER_TEST_%mendhunt_buff_master_test
	WAIT_FOR_ACTION_NDC_BUFF_MASTER_TEST_ON:
		goto WAIT_FOR_ACTION_NDC_MANACHECK
	WAIT_FOR_ACTION_NDC_BUFF_MASTER_TEST_OFF:
		goto WAIT_FOR_ACTION_NDC_NOMAGIC_NOBUFF

WAIT_FOR_ACTION_NDC_MANACHECK:
	pause %matchwaitpause
	match BUFF_START complete attunement
	match BUFF_START fully attuned
	match ATTACK_START MANA HELP
	match WAIT_FOR_ACTION_NDC_MANACHECK ...wait
	match WAIT_FOR_ACTION_NDC_MANACHECK You may only type ahead
	put mana
	matchwait

WAIT_FOR_ACTION_NDC_NOMAGIC_NOBUFF:
	goto ATTACK_START


#############################################################################
###########################    ATTACK START SECTION    ######################
#############################################################################

ATTACK_START:

	goto ARMAMENT_SWITCH_START
ARMAMENT_SWITCH_RETURN:

	goto ARMOR_SWITCH_START
ARMOR_SWITCH_RETURN:

COUNT_CRITTER_EMPATH_TEST:
		goto COUNT_CRITTER_EMPATH_TEST_%mendhunt_empath_guild_test
	COUNT_CRITTER_EMPATH_TEST_ON:
		goto COUNT_CRITTER_EMPATH_AVENGER_CHECK
	COUNT_CRITTER_EMPATH_TEST_OFF:
		goto COUNT_CRITTER

COUNT_CRITTER_EMPATH_AVENGER_CHECK:
	pause %matchwaitpause
	match COUNT_CRITTER_EMPATH_AVENGER_CHECK_YES avenger
	match COUNT_CRITTER Obvious exits:
	match COUNT_CRITTER Obvious paths:
	match COUNT_CRITTER_EMPATH_AVENGER_CHECK_DARK you can't see a thing
	match COUNT_CRITTER_EMPATH_AVENGER_CHECK ...wait
	match COUNT_CRITTER_EMPATH_AVENGER_CHECK You may only type ahead
	put look
	matchwait

COUNT_CRITTER_EMPATH_AVENGER_CHECK_DARK:
	echo
	echo *************************************************************
	echo
	echo *** It's too dark, need light to check for Avenger
	echo Will do a normal critter count
	echo
	echo *************************************************************
	echo
	goto COUNT_CRITTER

COUNT_CRITTER_EMPATH_AVENGER_CHECK_YES:
	pause %matchwaitpause
	match COUNT_CRITTER_NO_DANGEROUS one dangerous
	match %mendhunt_crittercount1 two dangerous
	match %mendhunt_crittercount2 three dangerous
	match %mendhunt_crittercount3 four dangerous
	match %mendhunt_crittercount4 five dangerous
	match %mendhunt_crittercount5 six dangerous
	match %mendhunt_crittercount6 seven dangerous
	match %mendhunt_crittercount6 eight dangerous
	match %mendhunt_crittercount6 nine dangerous
	match %mendhunt_crittercount6 ten dangerous
	match %mendhunt_crittercount6 eleven dangerous
	match %mendhunt_crittercount6 twelve dangerous
	match COUNT_CRITTER_NO_DANGEROUS no dangerous
	matchre STRANGE /%failcombat%/i
	match DEAD_CHARACTER You are a ghost
	match COUNT_CRITTER_EMPATH_AVENGER_CHECK_YES ...wait
	match COUNT_CRITTER_EMPATH_AVENGER_CHECK_YES You may only type ahead
	match %mendhunt_crittercount6 Roundtime
	put count critter
	matchwait

COUNT_CRITTER:
	pause %matchwaitpause
	match %mendhunt_crittercount1 one dangerous
	match %mendhunt_crittercount2 two dangerous
	match %mendhunt_crittercount3 three dangerous
	match %mendhunt_crittercount4 four dangerous
	match %mendhunt_crittercount5 five dangerous
	match %mendhunt_crittercount6 six dangerous
	match %mendhunt_crittercount6 seven dangerous
	match %mendhunt_crittercount6 eight dangerous
	match %mendhunt_crittercount6 nine dangerous
	match %mendhunt_crittercount6 ten dangerous
	match %mendhunt_crittercount6 eleven dangerous
	match %mendhunt_crittercount6 twelve dangerous
	match COUNT_CRITTER_NO_DANGEROUS no dangerous
	matchre STRANGE /%failcombat%/i
	match DEAD_CHARACTER You are a ghost
	match COUNT_CRITTER ...wait
	match COUNT_CRITTER You may only type ahead
	match %mendhunt_crittercount6 Roundtime
	put count critter
	matchwait


#############################################################################
###########################    COMBAT MODE SECTION    #######################
#############################################################################

COMBAT:
COMBAT_MODE:
COMBAT_MODE_START:

#_______________________________________________________________________COMBAT EMPATH TEST
COMBAT_MODE_EMPATH_TEST:
		goto COMBAT_MODE_EMPATH_TEST_%mendhunt_empath_guild_test
	COMBAT_MODE_EMPATH_TEST_ON:
		goto EMPATH
	COMBAT_MODE_EMPATH_TEST_OFF:
		goto COMBAT_MODE_START_CANKILL

COMBAT_MODE_START_CANKILL:

#_______________________________________________________________________COMBAT LOOP/ after x goto mainstart
#This prevents losing buffs etc with a never ending stream of critters
#Also when a critter takes too long to kill
#If after x times, the room hasn't been cleared or mode changed... fires to mainstart to check on buffs/weapons etc
#Considered having Combat_MODE_END goto ATTACK_START rather than COMBAT... but who wants 2 sec rt counting critters
#   after every other swing
COMBAT_MODE_LOOP_COUNT:
		goto COMBAT_MODE_LOOP_COUNT_%combatmodeloopnum
	COMBAT_MODE_LOOP_COUNT_1:
		counter set %combatmodeloopnum
		counter add 1
		setvariable combatmodeloopnum %c
		goto COMBAT_MODE_LOOP_COUNT_END
	COMBAT_MODE_LOOP_COUNT_2:
		counter set %combatmodeloopnum
		counter add 1
		setvariable combatmodeloopnum %c
		goto COMBAT_MODE_LOOP_COUNT_END
	COMBAT_MODE_LOOP_COUNT_3:
		counter set %combatmodeloopnum
		counter add 1
		setvariable combatmodeloopnum %c
		goto COMBAT_MODE_LOOP_COUNT_END
	COMBAT_MODE_LOOP_COUNT_4:
		counter set %combatmodeloopnum
		counter add 1
		setvariable combatmodeloopnum %c
		goto COMBAT_MODE_LOOP_COUNT_END
	COMBAT_MODE_LOOP_COUNT_5:
		counter set %combatmodeloopnum
		counter add 1
		setvariable combatmodeloopnum %c
		goto COMBAT_MODE_LOOP_COUNT_END
	COMBAT_MODE_LOOP_COUNT_6:
		counter set %combatmodeloopnum
		counter add 1
		setvariable combatmodeloopnum %c
		goto COMBAT_MODE_LOOP_COUNT_END
	COMBAT_MODE_LOOP_COUNT_7:
		goto MAIN_START


COMBAT_MODE_LOOP_COUNT_END:

#_______________________________________________________________________COMBAT SETUP
COMBAT_MODE_HUM_STOP:
	setvariable subreturnflaghumstop COMBAT_MODE_HUM_STOP
	goto SUB_HUM_STOP
SUBRETURN_COMBAT_MODE_HUM_STOP:

	echo
	echo *** Combat mode
	echo

GOSUB_CHECKHEALTH_COMBAT_MODE:
	setvariable subreturnflag GOSUB_CHECKHEALTH_COMBAT_MODE
	goto SUB_HEALTH_CHECK
SUBRETURN_GOSUB_CHECKHEALTH_COMBAT_MODE:

#_______________________________________________________________________COMBAT FACE
COMBAT_MODE_FACE:
	pause %matchwaitpause
	match COMBAT_MODE_FACE ...wait
	match COMBAT_MODE_FACE You may only type ahead
	matchre COMBAT_MODE_FACE2 /.*/i
	put face next
	matchwait

COMBAT_MODE_FACE2:
	pause %matchwaitpause
	match COMBAT_MODE_FACE2 ...wait
	match COMBAT_MODE_FACE2 You may only type ahead
	matchre COMBAT_MODE_FACE_DONE /.*/i
	put face next
	matchwait

COMBAT_MODE_FACE_DONE:

#_______________________________________________________________________COMBAT HIDE
COMBAT_MODE_HIDE_TEST:
		goto COMBAT_MODE_HIDE_TEST_%mendhunt_hide_test
	COMBAT_MODE_HIDE_TEST_ON:
		goto COMBAT_MODE_HIDE
	COMBAT_MODE_HIDE_TEST_OFF:
		goto COMBAT_MODE_ADVANCE

COMBAT_MODE_HIDE:
	setvariable subreturnflaghide COMBAT_MODE_HIDE
	goto SUB_HIDE
SUBRETURN_COMBAT_MODE_HIDE:

COMBAT_MODE_ADVANCE_HIDE:
	pause %matchwaitpause
	matchre COMBAT_MODE_ADVANCE_HIDE_STALK_HID_TEST /You(.*) already at melee/i
	match ATTACK_START What do you want to advance towards
	match COMBAT_MODE_ADVANCE_HIDE_STAND You had better stand
	matchre COMBAT_MODE_ADVANCE_DEADCHECK /You stop advancing because (.*) dead/i
	matchre STRANGE /%failcombat%/i
	match DEAD_CHARACTER You are a ghost
	match COMBAT_MODE_ADVANCE_HIDE ...wait
	match COMBAT_MODE_ADVANCE_HIDE You may only type ahead
	matchre COMBAT_MODE_ADVANCE_HIDE_PAUSE /.*/i
	put advance
	matchwait

COMBAT_MODE_ADVANCE_HIDE_PAUSE:
	pause %advancepause
	goto COMBAT_MODE_ADVANCE_HIDE

COMBAT_MODE_ADVANCE_HIDE_STAND:
	pause %matchwaitpause
	match COMBAT_MODE_ADVANCE_HIDE_STAND ...wait
	match COMBAT_MODE_ADVANCE_HIDE_STAND You may only type ahead
	matchre RTCHECK_COMBAT_MODE_ADVANCE_HIDE_STAND /.*/i
	put stand
	matchwait

RTCHECK_COMBAT_MODE_ADVANCE_HIDE_STAND:
	pause %rtcheckpause
	match RTCHECK_COMBAT_MODE_ADVANCE_HIDE_STAND_READY What were you referring to
	match RTCHECK_COMBAT_MODE_ADVANCE_HIDE_STAND ...wait
	match RTCHECK_COMBAT_MODE_ADVANCE_HIDE_STAND You may only type ahead
	put get my rtchecking
	matchwait
RTCHECK_COMBAT_MODE_ADVANCE_HIDE_STAND_READY:
	goto COMBAT_MODE_ADVANCE_HIDE

COMBAT_MODE_ADVANCE_HIDE_STALK_HID_TEST:
		goto COMBAT_MODE_ADVANCE_HIDE_STALK_HID_TEST_%hidestalkactionflag
	COMBAT_MODE_ADVANCE_HIDE_STALK_HID_TEST_ON:
		goto COMBAT_MODE_ADVANCE_HIDE_STALK
	COMBAT_MODE_ADVANCE_HIDE_STALK_HID_TEST_OFF:
		goto COMBAT_MODE_GO

COMBAT_MODE_ADVANCE_HIDE_STALK:
	pause %matchwaitpause
	match COMBAT_MODE_ADVANCE_HIDE_STALK ...wait
	match COMBAT_MODE_ADVANCE_HIDE_STALK You may only type ahead
	matchre COMBAT_MODE_ADVANCE_HIDE_STALK_STOP /.*/i
	put stalk
	matchwait

COMBAT_MODE_ADVANCE_HIDE_STALK_STOP:
	pause 1
	pause %matchwaitpause
	match COMBAT_MODE_ADVANCE_HIDE_STALK_STOP ...wait
	match COMBAT_MODE_ADVANCE_HIDE_STALK_STOP You may only type ahead
	matchre COMBAT_MODE_GO /.*/i
	put stop stalk
	matchwait

#_______________________________________________________________________COMBAT ADVANCE
COMBAT_MODE_ADVANCE:
	pause %matchwaitpause
	match ATTACK_START What do you want to advance towards
	matchre COMBAT_MODE_ADVANCE_DEADCHECK /You stop advancing because (.*) dead/i
	match COMBAT_MODE_ADVANCE_STAND You had better stand
	matchre STRANGE /%failcombat%/i
	match DEAD_CHARACTER You are a ghost
	match COMBAT_MODE_ADVANCE ...wait
	match COMBAT_MODE_ADVANCE You may only type ahead
	match COMBAT_MODE_GO You
	put advance
	matchwait

COMBAT_MODE_ADVANCE_STAND:
	pause %matchwaitpause
	match COMBAT_MODE_ADVANCE_STAND ...wait
	match COMBAT_MODE_ADVANCE_STAND You may only type ahead
	matchre RTCHECK_COMBAT_MODE_ADVANCE_STAND /.*/i
	put stand
	matchwait

RTCHECK_COMBAT_MODE_ADVANCE_STAND:
	pause %rtcheckpause
	match RTCHECK_COMBAT_MODE_ADVANCE_STAND_READY What were you referring to
	match RTCHECK_COMBAT_MODE_ADVANCE_STAND ...wait
	match RTCHECK_COMBAT_MODE_ADVANCE_STAND You may only type ahead
	put get my rtchecking
	matchwait
RTCHECK_COMBAT_MODE_ADVANCE_STAND_READY:
	goto COMBAT_MODE_ADVANCE


COMBAT_MODE_ADVANCE_DEADCHECK:
	setvariable subreturnflag COMBAT_MODE_ADVANCE_DEADCHECK
	goto SUB_CHECK_CRITTER_DEAD
SUBRETURN_COMBAT_MODE_ADVANCE_DEADCHECK:
	goto COMBAT_MODE_END

#_______________________________________________________________________COMBAT DEBUFF/TARGET/etc
COMBAT_MODE_GO:

COMBAT_MODE_GO_NEED_MELEE_RANGE_TEST:
		goto COMBAT_MODE_GO_NEED_MELEE_RANGE_TEST_%casttargetdebuffspellsatmeleeflag
	COMBAT_MODE_GO_NEED_MELEE_RANGE_TEST_YES:
		goto COMBAT_MODE_GO_CONTINUE_ADVANCE
	COMBAT_MODE_GO_NEED_MELEE_RANGE_TEST_NO:
		goto COMBAT_MODE_GO_GO

COMBAT_MODE_GO_CONTINUE_ADVANCE:
	pause %matchwaitpause
	matchre COMBAT_MODE_GO_GO /You(.*) already at melee/i
	match ATTACK_START What do you want to advance towards
	match COMBAT_MODE_GO_CONTINUE_ADVANCE_STAND You had better stand
	matchre COMBAT_MODE_ADVANCE_DEADCHECK /You stop advancing because (.*) dead/i
	matchre STRANGE /%failcombat%/i
	match DEAD_CHARACTER You are a ghost
	match COMBAT_MODE_GO_CONTINUE_ADVANCE ...wait
	match COMBAT_MODE_GO_CONTINUE_ADVANCE You may only type ahead
	matchre COMBAT_MODE_GO_CONTINUE_ADVANCE_PAUSE /.*/i
	put advance
	matchwait

COMBAT_MODE_GO_CONTINUE_ADVANCE_PAUSE:
	pause %advancepause
	goto COMBAT_MODE_GO_CONTINUE_ADVANCE

COMBAT_MODE_GO_CONTINUE_ADVANCE_STAND:
	pause %matchwaitpause
	match COMBAT_MODE_GO_CONTINUE_ADVANCE_STAND ...wait
	match COMBAT_MODE_GO_CONTINUE_ADVANCE_STAND You may only type ahead
	matchre RTCHECK_COMBAT_MODE_GO_CONTINUE_ADVANCE_STAND /.*/i
	put stand
	matchwait

RTCHECK_COMBAT_MODE_GO_CONTINUE_ADVANCE_STAND:
	pause %rtcheckpause
	match RTCHECK_COMBAT_MODE_GO_CONTINUE_ADVANCE_STAND_READY What were you referring to
	match RTCHECK_COMBAT_MODE_GO_CONTINUE_ADVANCE_STAND ...wait
	match RTCHECK_COMBAT_MODE_GO_CONTINUE_ADVANCE_STAND You may only type ahead
	put get my rtchecking
	matchwait
RTCHECK_COMBAT_MODE_GO_CONTINUE_ADVANCE_STAND_READY:
	goto COMBAT_MODE_GO_CONTINUE_ADVANCE

COMBAT_MODE_GO_GO:

	goto DEKS_SPECIAL_START
DEKS_SPECIAL_RETURN:

	goto COMBAT_ROAR_START
COMBAT_ROAR_RETURN:

	goto COMBAT_DANCE_START
COMBAT_DANCE_RETURN:

	goto COMBAT_SING_START
COMBAT_SING_RETURN:

	goto COMBAT_CHANT_START
COMBAT_CHANT_RETURN:

	goto COMBAT_KHRI_START
COMBAT_KHRI_RETURN:

	goto DEBUFF_START
DEBUFF_RETURN:

	goto TARGET_START
TARGET_RETURN:

#_______________________________________________________________________COMBAT WEAPON CYCLE LOOP
COMBAT_WEAPON_CYCLE_TEST_SET:
	setvariable weaponcyclenum %mendhunt_weapon_cycle

#---------------------------------------------looped down weapon cycle

COMBAT_WEAPON_CYCLE_TEST:
		goto COMBAT_WEAPON_CYCLE_TEST_%weaponcyclenum
	COMBAT_WEAPON_CYCLE_TEST_0:
		goto COMBAT_MODE_END
	COMBAT_WEAPON_CYCLE_TEST_1:
		counter set %weaponcyclenum
		counter subtract 1
		setvariable weaponcyclenum %c
		goto COMBAT_TYPE_TEST
	COMBAT_WEAPON_CYCLE_TEST_2:
		counter set %weaponcyclenum
		counter subtract 1
		setvariable weaponcyclenum %c
		goto COMBAT_TYPE_TEST
	COMBAT_WEAPON_CYCLE_TEST_3:
		counter set %weaponcyclenum
		counter subtract 1
		setvariable weaponcyclenum %c
		goto COMBAT_TYPE_TEST
	COMBAT_WEAPON_CYCLE_TEST_4:
		counter set %weaponcyclenum
		counter subtract 1
		setvariable weaponcyclenum %c
		goto COMBAT_TYPE_TEST

COMBAT_TYPE_TEST:
		goto COMBAT_TYPE_TEST_%weapon_type_active
	COMBAT_TYPE_TEST_MELEE:
		goto COMBAT_TYPE_MELEE
	COMBAT_TYPE_TEST_RANGED:
		goto COMBAT_TYPE_RANGED
	COMBAT_TYPE_TEST_THROWN:
		goto COMBAT_TYPE_THROWN
	COMBAT_TYPE_TEST_DUAL:
		goto COMBAT_TYPE_DUAL
	COMBAT_TYPE_TEST_NOWEAP:
		goto COMBAT_MODE_END
	COMBAT_TYPE_TEST_MELEENOWEAP:
		goto COMBAT_TYPE_MELEE

COMBAT_TYPE_DUAL:
		goto COMBAT_TYPE_DUAL_%dualmixflag
	COMBAT_TYPE_DUAL_LEFT:
		setvariable dualmixflag right
		goto COMBAT_TYPE_DUAL_LEFT_TEST
	COMBAT_TYPE_DUAL_RIGHT:
		setvariable dualmixflag left
		goto COMBAT_TYPE_DUAL_RIGHT_TEST

COMBAT_TYPE_DUAL_LEFT_TEST:
		goto COMBAT_TYPE_DUAL_LEFT_TEST_%weapon_type_left_active
	COMBAT_TYPE_DUAL_LEFT_TEST_MELEE:
		goto COMBAT_TYPE_MELEE
	COMBAT_TYPE_DUAL_LEFT_TEST_THROWN:
		setvariable throwdualhandflag left
		goto COMBAT_TYPE_THROWN

COMBAT_TYPE_DUAL_RIGHT_TEST:
		goto COMBAT_TYPE_DUAL_RIGHT_TEST_%weapon_type_right_active
	COMBAT_TYPE_DUAL_RIGHT_TEST_MELEE:
		goto COMBAT_TYPE_MELEE
	COMBAT_TYPE_DUAL_RIGHT_TEST_THROWN:
		setvariable throwdualhandflag right
		goto COMBAT_TYPE_THROWN
	COMBAT_TYPE_DUAL_RIGHT_TEST_RANGED:
		goto COMBAT_TYPE_RANGED

#_______________________________________________________________________COMBAT MELEE/RANGED/THROWN
COMBAT_TYPE_MELEE:
	goto MELEE_START

COMBAT_TYPE_RANGED:
	goto RANGED_START

COMBAT_TYPE_THROWN:
	goto THROWN_START

MELEE_RETURN:
RANGED_RETURN:
THROWN_RETURN:

	goto COMBAT_WEAPON_CYCLE_TEST
#---------------------------------------------looped up weapon cycle

COMBAT_MODE_END:
	goto COMBAT_MODE_START


#############################################################################
###########################    FRENZY MODE SECTION    #######################
#############################################################################

FRENZY:
FRENZY_MODE:
FRENZY_MODE_START:

FRENZY_MODE_HUM_STOP:
	setvariable subreturnflaghumstop FRENZY_MODE_HUM_STOP
	goto SUB_HUM_STOP
SUBRETURN_FRENZY_MODE_HUM_STOP:

	echo
	echo *** Frenzy mode
	echo

FRENZY_MODE_FACE:
	pause %matchwaitpause
	match FRENZY_MODE_FACE ...wait
	match FRENZY_MODE_FACE You may only type ahead
	matchre FRENZY_MODE_FACE2 /.*/i
	put face next
	matchwait

FRENZY_MODE_FACE2:
	pause %matchwaitpause
	match FRENZY_MODE_FACE2 ...wait
	match FRENZY_MODE_FACE2 You may only type ahead
	matchre FRENZY_MODE_FACE_DONE /.*/i
	put face next
	matchwait

FRENZY_MODE_FACE_DONE:

FRENZY_MODE_GO:

#_______________________________________________________________________ Determine frenzy action
FRENZY_MODE_ACTION_TEST:

FRENZY_MODE_ACTION_TEST_CL:
		goto FRENZY_MODE_ACTION_TEST_CL_%mendhunt_frenzy_cl_test
	FRENZY_MODE_ACTION_TEST_CL_ON:
		goto FRENZY_MODE_ACTION_CL
	FRENZY_MODE_ACTION_TEST_CL_OFF:
		goto FRENZY_MODE_ACTION_TEST_ROAR
FRENZY_MODE_ACTION_TEST_ROAR:
		goto FRENZY_MODE_ACTION_TEST_ROAR_%mendhunt_frenzy_roar_test
	FRENZY_MODE_ACTION_TEST_ROAR_ON:
		goto FRENZY_MODE_ACTION_ROAR
	FRENZY_MODE_ACTION_TEST_ROAR_OFF:
		goto FRENZY_MODE_ACTION_TEST_BERSERK
FRENZY_MODE_ACTION_TEST_BERSERK:
		goto FRENZY_MODE_ACTION_TEST_BERSERK_%mendhunt_frenzy_berserk_test
	FRENZY_MODE_ACTION_TEST_BERSERK_ON:
		goto FRENZY_MODE_ACTION_BERSERK
	FRENZY_MODE_ACTION_TEST_BERSERK_OFF:
		goto FRENZY_MODE_ACTION_TEST_SING
FRENZY_MODE_ACTION_TEST_SING:
		goto FRENZY_MODE_ACTION_TEST_SING_%mendhunt_frenzy_sing_test
	FRENZY_MODE_ACTION_TEST_SING_ON:
		goto FRENZY_MODE_ACTION_SING
	FRENZY_MODE_ACTION_TEST_SING_OFF:
		goto FRENZY_MODE_ACTION_TEST_CHANT
FRENZY_MODE_ACTION_TEST_CHANT:
		goto FRENZY_MODE_ACTION_TEST_CHANT_%mendhunt_frenzy_chant_test
	FRENZY_MODE_ACTION_TEST_CHANT_ON:
		goto FRENZY_MODE_ACTION_CHANT
	FRENZY_MODE_ACTION_TEST_CHANT_OFF:
		goto FRENZY_MODE_ACTION_TEST_BOT
FRENZY_MODE_ACTION_TEST_BOT:
		goto FRENZY_MODE_ACTION_TEST_BOT_%mendhunt_frenzy_bot_test
	FRENZY_MODE_ACTION_TEST_BOT_ON:
		goto FRENZY_MODE_ACTION_BOT
	FRENZY_MODE_ACTION_TEST_BOT_OFF:
		goto FRENZY_MODE_ACTION_TEST_FLEE
FRENZY_MODE_ACTION_TEST_FLEE:
		goto FRENZY_MODE_ACTION_TEST_FLEE_%mendhunt_frenzy_flee_test
	FRENZY_MODE_ACTION_TEST_FLEE_ON:
		goto FRENZY_MODE_ACTION_FLEE
	FRENZY_MODE_ACTION_TEST_FLEE_OFF:
		goto FRENZY_MODE_ACTION_TEST_HIDE
FRENZY_MODE_ACTION_TEST_HIDE:
		goto FRENZY_MODE_ACTION_TEST_HIDE_%mendhunt_frenzy_hide_test
	FRENZY_MODE_ACTION_TEST_HIDE_ON:
		goto FRENZY_MODE_ACTION_HIDE
	FRENZY_MODE_ACTION_TEST_HIDE_OFF:
		goto FRENZY_MODE_ACTION_TEST_FAIL

#_______________________________________________________________________ CL
FRENZY_MODE_ACTION_CL:
FRENZY_MODE_ACTION_CL_START:
	echo
	echo *** Frenzy, CL
	echo


FRENZY_MODE_ACTION_CL_RETREAT:
	setvariable subreturnflagretreat FRENZY_MODE_ACTION_CL_RETREAT
	goto SUB_RETREAT
SUBRETURN_FRENZY_MODE_ACTION_CL_RETREAT:

FRENZY_MODE_ACTION_CL_PREP:
	setvariable subreturnflag FRENZY_MODE_ACTION_CL_PREP
	setvariable spell_name CL
	setvariable spell_prep_power %mendhunt_frenzy_cl_prep_mana
	setvariable spell_harn_test %mendhunt_frenzy_cl_harn_test
	setvariable spell_harn_power %mendhunt_frenzy_cl_harn_mana
	setvariable spell_harn_loop %mendhunt_frenzy_cl_harn_loop
	setvariable spell_cam_test OFF
	setvariable spell_cam_power 11
	setvariable spell_cam_loop 1
	setvariable spell_cast_pause %mendhunt_frenzy_cl_cast_pause
	setvariable spell_targeted_test OFF
	goto SUB_SPELL_PREP
SUBRETURN_FRENZY_MODE_ACTION_CL_PREP:

FRENZY_MODE_ACTION_CL_PATHWAY_TEST:
		goto FRENZY_MODE_ACTION_CL_PATHWAY_TEST_%mendhunt_pathway_frenzy_test
	FRENZY_MODE_ACTION_CL_PATHWAY_TEST_ON:
		goto FRENZY_MODE_ACTION_CL_PATHWAY_ON
	FRENZY_MODE_ACTION_CL_PATHWAY_TEST_OFF:
		goto FRENZY_MODE_ACTION_CL_PATHWAY_OFF

FRENZY_MODE_ACTION_CL_PATHWAY_ON:
	pause %matchwaitpause
	match FRENZY_MODE_ACTION_CL_PATHWAY_ON ...wait
	match FRENZY_MODE_ACTION_CL_PATHWAY_ON You may only type ahead
	matchre FRENZY_MODE_ACTION_CL_CAST /.*/i
	put pathway focus %mendhunt_pathway_frenzy_name
	matchwait

FRENZY_MODE_ACTION_CL_PATHWAY_OFF:

FRENZY_MODE_ACTION_CL_CAST:
	pause %matchwaitpause
	match FRENZY_MODE_ACTION_CL_CAST ...wait
	match FRENZY_MODE_ACTION_CL_CAST You may only type ahead
	matchre FRENZY_MODE_ACTION_CL_CAST_DONE /.*/i
	put cast
	matchwait

FRENZY_MODE_ACTION_CL_CAST_DONE:
	pause %aftercastrtpause

RTCHECK_FRENZY_MODE_ACTION_CL_CAST_DONE:
	pause %rtcheckpause
	match RTCHECK_FRENZY_MODE_ACTION_CL_CAST_DONE_READY What were you referring to
	match RTCHECK_FRENZY_MODE_ACTION_CL_CAST_DONE ...wait
	match RTCHECK_FRENZY_MODE_ACTION_CL_CAST_DONE You may only type ahead
	put get my rtchecking
	matchwait
RTCHECK_FRENZY_MODE_ACTION_CL_CAST_DONE_READY:

FRENZY_MODE_ACTION_CL_RETREAT2:
	setvariable subreturnflagretreat FRENZY_MODE_ACTION_CL_RETREAT2
	goto SUB_RETREAT
SUBRETURN_FRENZY_MODE_ACTION_CL_RETREAT2:

FRENZY_MODE_ACTION_CL_PATHWAY_TEST2:
		goto FRENZY_MODE_ACTION_CL_PATHWAY_TEST2_%mendhunt_pathway_frenzy_test
	FRENZY_MODE_ACTION_CL_PATHWAY_TEST2_ON:
		goto FRENZY_MODE_ACTION_CL_PATHWAY_ON2
	FRENZY_MODE_ACTION_CL_PATHWAY_TEST2_OFF:
		goto FRENZY_MODE_ACTION_CL_PATHWAY_OFF2

FRENZY_MODE_ACTION_CL_PATHWAY_ON2:
	pause %matchwaitpause
	match FRENZY_MODE_ACTION_CL_PATHWAY_ON2 ...wait
	match FRENZY_MODE_ACTION_CL_PATHWAY_ON2 You may only type ahead
	matchre FRENZY_MODE_ACTION_CL_RELEASE /.*/i
	put pathway stop
	matchwait

FRENZY_MODE_ACTION_CL_PATHWAY_OFF2:

FRENZY_MODE_ACTION_CL_RELEASE:
	pause %matchwaitpause
	match FRENZY_MODE_ACTION_CL_RELEASE ...wait
	match FRENZY_MODE_ACTION_CL_RELEASE You may only type ahead
	matchre FRENZY_MODE_ACTION_CL_DEADCRITTER_CHECK /.*/i
	put release
	matchwait

FRENZY_MODE_ACTION_CL_DEADCRITTER_CHECK:
	setvariable subreturnflag FRENZY_MODE_ACTION_CL_DEADCRITTER_CHECK
	goto SUB_CHECK_CRITTER_DEAD
SUBRETURN_FRENZY_MODE_ACTION_CL_DEADCRITTER_CHECK:

FRENZY_MODE_ACTION_CL_END:
	goto COUNT_CRITTER



#_______________________________________________________________________ ROAR
FRENZY_MODE_ACTION_ROAR:
FRENZY_MODE_ACTION_ROAR_START:

#I don't play a barbarian... don't know if this should be here in frenzy (its in combat roar tho)
#I assume if its a frenzy mode, Barb wants to give it a try no matter what
#FRENZY_MODE_ACTION_ROAR_THROAT_CHECK:
#	pause %matchwaitpause
#	match FRENZY_MODE_ACTION_ROAR_THROAT_CHECK_OK You feel ready
#	match FRENZY_MODE_ACTION_ROAR_THROAT_CHECK_NOTOK You feel
#	match FRENZY_MODE_ACTION_ROAR_THROAT_CHECK ...wait
#	match FRENZY_MODE_ACTION_ROAR_THROAT_CHECK You may only type ahead
#	put roar quiet
#	matchwait

#FRENZY_MODE_ACTION_ROAR_THROAT_CHECK_NOTOK:
#	echo
#	echo *** Frenzy, throat not full, skipping roar
#	echo
#	goto FRENZY_MODE_ACTION_ROAR_END

#FRENZY_MODE_ACTION_ROAR_THROAT_CHECK_OK:

	echo
	echo *** Frenzy, roaring %mendhunt_frenzy_roar_type
	echo

FRENZY_MODE_ACTION_ROAR_GO:
	pause %matchwaitpause
	match FRENZY_MODE_ACTION_ROAR_GO ...wait
	match FRENZY_MODE_ACTION_ROAR_GO You may only type ahead
	matchre FRENZY_MODE_ACTION_ROAR_DONE /.*/i
	put roar %mendhunt_frenzy_roar_type
	matchwait

FRENZY_MODE_ACTION_ROAR_DONE:

RTCHECK_FRENZY_MODE_ACTION_ROAR_DONE:
	pause %rtcheckpause
	match RTCHECK_FRENZY_MODE_ACTION_ROAR_DONE_READY What were you referring to
	match RTCHECK_FRENZY_MODE_ACTION_ROAR_DONE ...wait
	match RTCHECK_FRENZY_MODE_ACTION_ROAR_DONE You may only type ahead
	put get my rtchecking
	matchwait
RTCHECK_FRENZY_MODE_ACTION_ROAR_DONE_READY:

FRENZY_MODE_ACTION_ROAR_END:
	goto COMBAT




#_______________________________________________________________________ BERSERK
FRENZY_MODE_ACTION_BERSERK:
FRENZY_MODE_ACTION_BERSERK_START:
	echo
	echo *** Frenzy, berserking %mendhunt_frenzy_berserk_type
	echo
	setvariable frenzyberserkflag ON

# Am not sure about this dance stop
FRENZY_MODE_ACTION_BERSERK_DANCE_STOP:
	pause %matchwaitpause
	match FRENZY_MODE_ACTION_BERSERK_DANCE_STOP ...wait
	match FRENZY_MODE_ACTION_BERSERK_DANCE_STOP You may only type ahead
	matchre FRENZY_MODE_ACTION_BERSERK_DANCE_STOP_PAUSE /.*/i
	put dance stop
	matchwait

FRENZY_MODE_ACTION_BERSERK_DANCE_STOP_PAUSE:
	pause .5

FRENZY_MODE_ACTION_BERSERK_GO:
	pause %matchwaitpause
	match FRENZY_MODE_ACTION_BERSERK_GO ...wait
	match FRENZY_MODE_ACTION_BERSERK_GO You may only type ahead
	matchre FRENZY_MODE_ACTION_BERSERK_DONE /.*/i
	put berserk %mendhunt_frenzy_berserk_type
	matchwait

FRENZY_MODE_ACTION_BERSERK_DONE:

RTCHECK_FRENZY_MODE_ACTION_BERSERK_DONE:
	pause %rtcheckpause
	match RTCHECK_FRENZY_MODE_ACTION_BERSERK_DONE_READY What were you referring to
	match RTCHECK_FRENZY_MODE_ACTION_BERSERK_DONE ...wait
	match RTCHECK_FRENZY_MODE_ACTION_BERSERK_DONE You may only type ahead
	put get my rtchecking
	matchwait
RTCHECK_FRENZY_MODE_ACTION_BERSERK_DONE_READY:

FRENZY_MODE_ACTION_BERSERK_END:
	goto COMBAT



#_______________________________________________________________________ SING
FRENZY_MODE_ACTION_SING:
FRENZY_MODE_ACTION_SING_START:
	echo
	echo *** Frenzy, singing %mendhunt_frenzy_sing_type
	echo

FRENZY_MODE_ACTION_SING_RETREAT:
	setvariable subreturnflagretreat FRENZY_MODE_ACTION_SING_RETREAT
	goto SUB_RETREAT
SUBRETURN_FRENZY_MODE_ACTION_SING_RETREAT:

FRENZY_MODE_ACTION_SING_STOP_SING:
	pause %matchwaitpause
	match FRENZY_MODE_ACTION_SING_STOP_SING ...wait
	match FRENZY_MODE_ACTION_SING_STOP_SING You may only type ahead
	matchre FRENZY_MODE_ACTION_SING_STOP_CHANT /.*/i
	put stop sing
	matchwait

FRENZY_MODE_ACTION_SING_STOP_CHANT:
	pause %matchwaitpause
	match FRENZY_MODE_ACTION_SING_STOP_CHANT ...wait
	match FRENZY_MODE_ACTION_SING_STOP_CHANT You may only type ahead
	matchre FRENZY_MODE_ACTION_SING_STOP_PLAY /.*/i
	put stop chant
	matchwait

FRENZY_MODE_ACTION_SING_STOP_PLAY:
	pause %matchwaitpause
	match FRENZY_MODE_ACTION_SING_STOP_PLAY ...wait
	match FRENZY_MODE_ACTION_SING_STOP_PLAY You may only type ahead
	matchre FRENZY_MODE_ACTION_SING_STOP_PAUSE /.*/i
	put stop play
	matchwait

FRENZY_MODE_ACTION_SING_STOP_PAUSE:
	pause .5
	setvariable frenzybardflag ON

FRENZY_MODE_ACTION_SING_GO:
	pause %matchwaitpause
	match FRENZY_MODE_ACTION_SING_GO ...wait
	match FRENZY_MODE_ACTION_SING_GO You may only type ahead
	matchre FRENZY_MODE_ACTION_SING_DONE /.*/i
	put sing %mendhunt_frenzy_sing_type
	matchwait

FRENZY_MODE_ACTION_SING_DONE:

RTCHECK_FRENZY_MODE_ACTION_SING_DONE:
	pause %rtcheckpause
	match RTCHECK_FRENZY_MODE_ACTION_SING_DONE_READY What were you referring to
	match RTCHECK_FRENZY_MODE_ACTION_SING_DONE ...wait
	match RTCHECK_FRENZY_MODE_ACTION_SING_DONE You may only type ahead
	put get my rtchecking
	matchwait
RTCHECK_FRENZY_MODE_ACTION_SING_DONE_READY:

FRENZY_MODE_ACTION_SING_END:
	goto COMBAT


#_______________________________________________________________________ CHANT
FRENZY_MODE_ACTION_CHANT:
FRENZY_MODE_ACTION_CHANT_START:
	echo
	echo *** Frenzy, chanting %mendhunt_frenzy_chant_type
	echo

FRENZY_MODE_ACTION_CHANT_RETREAT:
	setvariable subreturnflagretreat FRENZY_MODE_ACTION_CHANT_RETREAT
	goto SUB_RETREAT
SUBRETURN_FRENZY_MODE_ACTION_CHANT_RETREAT:

FRENZY_MODE_ACTION_CHANT_STOP_SING:
	pause %matchwaitpause
	match FRENZY_MODE_ACTION_CHANT_STOP_SING ...wait
	match FRENZY_MODE_ACTION_CHANT_STOP_SING You may only type ahead
	matchre FRENZY_MODE_ACTION_CHANT_STOP_CHANT /.*/i
	put stop sing
	matchwait

FRENZY_MODE_ACTION_CHANT_STOP_CHANT:
	pause %matchwaitpause
	match FRENZY_MODE_ACTION_CHANT_STOP_CHANT ...wait
	match FRENZY_MODE_ACTION_CHANT_STOP_CHANT You may only type ahead
	matchre FRENZY_MODE_ACTION_CHANT_STOP_PLAY /.*/i
	put stop chant
	matchwait

FRENZY_MODE_ACTION_CHANT_STOP_PLAY:
	pause %matchwaitpause
	match FRENZY_MODE_ACTION_CHANT_STOP_PLAY ...wait
	match FRENZY_MODE_ACTION_CHANT_STOP_PLAY You may only type ahead
	matchre FRENZY_MODE_ACTION_CHANT_STOP_PAUSE /.*/i
	put stop play
	matchwait

FRENZY_MODE_ACTION_CHANT_STOP_PAUSE:
	pause .5
	setvariable frenzybardflag ON

FRENZY_MODE_ACTION_CHANT_GO:
	pause %matchwaitpause
	match FRENZY_MODE_ACTION_CHANT_GO ...wait
	match FRENZY_MODE_ACTION_CHANT_GO You may only type ahead
	matchre FRENZY_MODE_ACTION_CHANT_DONE /.*/i
	put chant %mendhunt_frenzy_chant_type
	matchwait

FRENZY_MODE_ACTION_CHANT_DONE:

RTCHECK_FRENZY_MODE_ACTION_CHANT_DONE:
	pause %rtcheckpause
	match RTCHECK_FRENZY_MODE_ACTION_CHANT_DONE_READY What were you referring to
	match RTCHECK_FRENZY_MODE_ACTION_CHANT_DONE ...wait
	match RTCHECK_FRENZY_MODE_ACTION_CHANT_DONE You may only type ahead
	put get my rtchecking
	matchwait
RTCHECK_FRENZY_MODE_ACTION_CHANT_DONE_READY:

FRENZY_MODE_ACTION_CHANT_END:
	goto COMBAT



#_______________________________________________________________________ BOT
FRENZY_MODE_ACTION_BOT:
FRENZY_MODE_ACTION_BOT_START:
	echo
	echo *** Frenzy, casting BOT
	echo

FRENZY_MODE_ACTION_BOT_RETREAT:
	setvariable subreturnflagretreat FRENZY_MODE_ACTION_BOT_RETREAT
	goto SUB_RETREAT
SUBRETURN_FRENZY_MODE_ACTION_BOT_RETREAT:

FRENZY_MODE_ACTION_BOT_PREP:
	setvariable subreturnflag FRENZY_MODE_ACTION_BOT_PREP
	setvariable spell_name BOT
	setvariable spell_prep_power %mendhunt_frenzy_bot_prep_mana
	setvariable spell_harn_test %mendhunt_frenzy_bot_harn_test
	setvariable spell_harn_power %mendhunt_frenzy_bot_harn_mana
	setvariable spell_harn_loop %mendhunt_frenzy_bot_harn_loop
	setvariable spell_cam_test OFF
	setvariable spell_cam_power 11
	setvariable spell_cam_loop 1
	setvariable spell_cast_pause %mendhunt_frenzy_bot_cast_pause
	setvariable spell_targeted_test OFF
	goto SUB_SPELL_PREP
SUBRETURN_FRENZY_MODE_ACTION_BOT_PREP:

FRENZY_MODE_ACTION_BOT_CAST:
	pause %matchwaitpause
	match FRENZY_MODE_ACTION_BOT_CAST ...wait
	match FRENZY_MODE_ACTION_BOT_CAST You may only type ahead
	matchre FRENZY_MODE_ACTION_BOT_CAST_DONE /.*/i
	put cast
	matchwait

FRENZY_MODE_ACTION_BOT_CAST_DONE:
	pause %aftercastrtpause

RTCHECK_FRENZY_MODE_ACTION_BOT_CAST_DONE:
	pause %rtcheckpause
	match RTCHECK_FRENZY_MODE_ACTION_BOT_CAST_DONE_READY What were you referring to
	match RTCHECK_FRENZY_MODE_ACTION_BOT_CAST_DONE ...wait
	match RTCHECK_FRENZY_MODE_ACTION_BOT_CAST_DONE You may only type ahead
	put get my rtchecking
	matchwait
RTCHECK_FRENZY_MODE_ACTION_BOT_CAST_DONE_READY:

FRENZY_MODE_ACTION_BOT_RETREAT2:
	setvariable subreturnflagretreat FRENZY_MODE_ACTION_BOT_RETREAT2
	goto SUB_RETREAT
SUBRETURN_FRENZY_MODE_ACTION_BOT_RETREAT2:

FRENZY_MODE_ACTION_BOT_RELEASE:
	pause %matchwaitpause
	match FRENZY_MODE_ACTION_BOT_RELEASE ...wait
	match FRENZY_MODE_ACTION_BOT_RELEASE You may only type ahead
	matchre FRENZY_MODE_ACTION_BOT_END /.*/i
	put release
	matchwait

FRENZY_MODE_ACTION_BOT_END:
	goto COUNT_CRITTER



#_______________________________________________________________________ FLEE
FRENZY_MODE_ACTION_FLEE:
FRENZY_MODE_ACTION_FLEE_START:
	echo
	echo *** Frenzy, fleeing
	echo

FRENZY_MODE_ACTION_FLEE_RETREAT_TEST:
		goto FRENZY_MODE_ACTION_FLEE_RETREAT_TEST_%frenzyfleeretreatflag
	FRENZY_MODE_ACTION_FLEE_RETREAT_TEST_YES:
		goto FRENZY_MODE_ACTION_FLEE_RETREAT
	FRENZY_MODE_ACTION_FLEE_RETREAT_TEST_NO:
		goto FRENZY_MODE_ACTION_FLEE_GO

FRENZY_MODE_ACTION_FLEE_RETREAT:
	setvariable subreturnflagretreat FRENZY_MODE_ACTION_FLEE_RETREAT
	goto SUB_RETREAT
SUBRETURN_FRENZY_MODE_ACTION_FLEE_RETREAT:

FRENZY_MODE_ACTION_FLEE_GO:
	pause %matchwaitpause
	matchre FRENZY_MODE_ACTION_FLEE_NORTHEAST / northeast | northeast\!| northeast\./i
	matchre FRENZY_MODE_ACTION_FLEE_SOUTHEAST / southeast | southeast\!| southeast\./i
	matchre FRENZY_MODE_ACTION_FLEE_SOUTHWEST / southwest | southwest\!| southwest\./i
	matchre FRENZY_MODE_ACTION_FLEE_NORTHWEST / northwest | northwest\!| northwest\./i
	matchre FRENZY_MODE_ACTION_FLEE_NORTH / north | north\!| north\./i
	matchre FRENZY_MODE_ACTION_FLEE_EAST / east | east\!| east\./i
	matchre FRENZY_MODE_ACTION_FLEE_SOUTH / south | south\!| south\./i
	matchre FRENZY_MODE_ACTION_FLEE_WEST / west | west\!| west\./i
	matchre FRENZY_MODE_ACTION_FLEE_UP / up | up\!| up\./i
	matchre FRENZY_MODE_ACTION_FLEE_DOWN / down | down\!| down\./i
	matchre FRENZY_MODE_ACTION_FLEE_END /You (.*) anything engaged with you/i
	match FRENZY_MODE_ACTION_FLEE_GO ...wait
	match FRENZY_MODE_ACTION_FLEE_GO You may only type ahead
	put flee
	matchwait

FRENZY_MODE_ACTION_FLEE_NORTH:
	setvariable fleereturndirection south
	goto FLEE_MODE_ACTION_WAIT
FRENZY_MODE_ACTION_FLEE_NORTHEAST:
	setvariable fleereturndirection southwest
	goto FLEE_MODE_ACTION_WAIT
FRENZY_MODE_ACTION_FLEE_EAST:
	setvariable fleereturndirection west
	goto FLEE_MODE_ACTION_WAIT
FRENZY_MODE_ACTION_FLEE_SOUTHEAST:
	setvariable fleereturndirection northwest
	goto FLEE_MODE_ACTION_WAIT
FRENZY_MODE_ACTION_FLEE_SOUTH:
	setvariable fleereturndirection north
	goto FLEE_MODE_ACTION_WAIT
FRENZY_MODE_ACTION_FLEE_SOUTHWEST:
	setvariable fleereturndirection northeast
	goto FLEE_MODE_ACTION_WAIT
FRENZY_MODE_ACTION_FLEE_WEST:
	setvariable fleereturndirection east
	goto FLEE_MODE_ACTION_WAIT
FRENZY_MODE_ACTION_FLEE_NORTHWEST:
	setvariable fleereturndirection southeast
	goto FLEE_MODE_ACTION_WAIT
FRENZY_MODE_ACTION_FLEE_UP:
	setvariable fleereturndirection down
	goto FLEE_MODE_ACTION_WAIT
FRENZY_MODE_ACTION_FLEE_DOWN:
	setvariable fleereturndirection up
	goto FLEE_MODE_ACTION_WAIT

FLEE_MODE_ACTION_WAIT:
#	pause %matchwaitpause
	match FLEE_MODE_ACTION_WAITOVER You flee
	match FLEE_MODE_ACTION_WAITOVER A master assassin you are not but those who flee
	match FLEE_MODE_ACTION_WAITOVER Bolting quickly away
	match FLEE_MODE_ACTION_WAITOVER With a relieved breath
	match FLEE_MODE_ACTION_WAITOVER You fake to the left
	match FLEE_MODE_ACTION_WAITOVER Deciding to scout out greener pastures
	match FLEE_MODE_ACTION_WAITOVER You ponder displacing yourself
	match FLEE_MODE_ACTION_WAITOVER Choosing dishonor before death
	matchwait 

FLEE_MODE_ACTION_WAITOVER:
	echo
	echo *** 5
	echo
	pause 1
	echo *** 4
	echo
	pause 1
	echo *** 3
	echo
	pause 1
	echo *** 2
	echo
	pause 1
	echo *** 1
	echo
	pause 1
	echo
	echo *** Returning to hunting spot
	echo

FRENZY_MODE_ACTION_FLEE_RETREAT2:
	setvariable subreturnflagretreat FRENZY_MODE_ACTION_FLEE_RETREAT2
	goto SUB_RETREAT
SUBRETURN_FRENZY_MODE_ACTION_FLEE_RETREAT2:

	move %fleereturndirection

FRENZY_MODE_ACTION_FLEE_HEALTHCHECK:
	setvariable subreturnflag FRENZY_MODE_ACTION_FLEE_HEALTHCHECK
	goto SUB_HEALTH_CHECK
SUBRETURN_FRENZY_MODE_ACTION_FLEE_HEALTHCHECK:

FRENZY_MODE_ACTION_FLEE_END:
	goto COUNT_CRITTER
#	goto FRENZY_MODE_ACTION_HIDE


#_______________________________________________________________________ RETREAT/HIDE
FRENZY_MODE_ACTION_HIDE:
FRENZY_MODE_ACTION_HIDE_START:
	echo
	echo *** Frenzy, retreat & hide
	echo

	setvariable frenzyhideloopnum 0

FRENZY_MODE_ACTION_HIDE_LOOP:
	counter set %frenzyhideloopnum
	counter add 1
	setvariable frenzyhideloopnum %c

FRENZY_MODE_ACTION_HIDE_RETREAT:
	setvariable subreturnflagretreat FRENZY_MODE_ACTION_HIDE_RETREAT
	goto SUB_RETREAT
SUBRETURN_FRENZY_MODE_ACTION_HIDE_RETREAT:

FRENZY_MODE_ACTION_HIDE_HIDE:
	setvariable subreturnflaghide FRENZY_MODE_ACTION_HIDE_HIDE
	goto SUB_HIDE_FORCED_GO
SUBRETURN_FRENZY_MODE_ACTION_HIDE_HIDE:

FRENZY_MODE_ACTION_HIDE_LOOPCHECK:
		pause 3
		goto FRENZY_MODE_ACTION_HIDE_LOOPCHECK_%frenzyhideloopnum
	FRENZY_MODE_ACTION_HIDE_LOOPCHECK_1:
		goto FRENZY_MODE_ACTION_HIDE_LOOP
	FRENZY_MODE_ACTION_HIDE_LOOPCHECK_2:
		goto FRENZY_MODE_ACTION_HIDE_LOOP
	FRENZY_MODE_ACTION_HIDE_LOOPCHECK_3:
		goto FRENZY_MODE_ACTION_HIDE_LOOP
	FRENZY_MODE_ACTION_HIDE_LOOPCHECK_4:
		goto FRENZY_MODE_ACTION_HIDE_END

FRENZY_MODE_ACTION_HIDE_END:
	goto COUNT_CRITTER

#_______________________________________________________________________ FAIL

FRENZY_MODE_ACTION_TEST_FAIL:
	echo
	echo *************************************************************
	echo *** ATTENTION
	echo
	echo You are setup to goto Frenzy Mode, but do not have any options selected
	echo
	echo Need to check setup, both MODES menu and FRENZY menu
	echo
	echo Trying to continue
	echo
	echo *************************************************************
	echo
	pause 1
	goto FRENZY_MODE_END

FRENZY_MODE_END:
	goto COUNT_CRITTER


#############################################################################
###########################    DANCE MODE SECTION    ########################
#############################################################################

DANCE:
DANCE_MODE:
DANCE_MODE_START:


DANCE_MODE_LOOP_COUNT:
		goto DANCE_MODE_LOOP_COUNT_%dancemodeloopnum
	DANCE_MODE_LOOP_COUNT_1:
		counter set %dancemodeloopnum
		counter add 1
		setvariable dancemodeloopnum %c
		goto DANCE_MODE_HUM_STOP
	DANCE_MODE_LOOP_COUNT_2:
		counter set %dancemodeloopnum
		counter add 1
		setvariable dancemodeloopnum %c
		goto DANCE_MODE_HUM_STOP
	DANCE_MODE_LOOP_COUNT_3:
		counter set %dancemodeloopnum
		counter add 1
		setvariable dancemodeloopnum %c
		goto DANCE_MODE_HUM_STOP
	DANCE_MODE_LOOP_COUNT_4:
		counter set %dancemodeloopnum
		counter add 1
		setvariable dancemodeloopnum %c
		goto DANCE_MODE_HUM_STOP
	DANCE_MODE_LOOP_COUNT_5:
		counter set %dancemodeloopnum
		counter add 1
		setvariable dancemodeloopnum %c
		goto DANCE_MODE_HUM_STOP
	DANCE_MODE_LOOP_COUNT_6:
		counter set %dancemodeloopnum
		counter add 1
		setvariable dancemodeloopnum %c
		goto DANCE_MODE_HUM_STOP
	DANCE_MODE_LOOP_COUNT_7:
		counter set %dancemodeloopnum
		counter add 1
		setvariable dancemodeloopnum %c
		goto DANCE_MODE_HUM_STOP
	DANCE_MODE_LOOP_COUNT_8:
		counter set %dancemodeloopnum
		counter add 1
		setvariable dancemodeloopnum %c
		goto DANCE_MODE_HUM_STOP
	DANCE_MODE_LOOP_COUNT_9:
		counter set %dancemodeloopnum
		counter add 1
		setvariable dancemodeloopnum %c
		goto DANCE_MODE_HUM_STOP
	DANCE_MODE_LOOP_COUNT_10:
		setvariable dancemodeloopnum 1
		goto LOOT_START


DANCE_MODE_HUM_STOP:
	setvariable subreturnflaghumstop DANCE_MODE_HUM_STOP
	goto SUB_HUM_STOP
SUBRETURN_DANCE_MODE_HUM_STOP:

	echo
	echo *** Dance mode
	echo

GOSUB_CHECKHEALTH_DANCE_MODE:
	setvariable subreturnflag GOSUB_CHECKHEALTH_DANCE_MODE
	goto SUB_HEALTH_CHECK
SUBRETURN_GOSUB_CHECKHEALTH_DANCE_MODE:

DANCE_MODE_SKIP_MO_MENTALCHECK_TEST:
		goto DANCE_MODE_SKIP_MO_MENTALCHECK_TEST_%mendhunt_dance_mode_mo_test
	DANCE_MODE_SKIP_MO_MENTALCHECK_TEST_ON:
		goto DANCE_MO_MENTALCHECK
	DANCE_MODE_SKIP_MO_MENTALCHECK_TEST_OFF:
		goto DANCE_MODE_GO

DANCE_MO_MENTALCHECK:
	setvariable subreturnflag DANCE_MO_MENTALCHECK
	setvariable skillclass MO
	goto SUB_MENTAL_CHECK
SUBRETURN_DANCE_MO_MENTALCHECK:

DANCE_MO_MENTALCHECK_TEST:
		goto DANCE_MO_MENTALCHECK_TEST_%skillmental
	DANCE_MO_MENTALCHECK_TEST_NOTFULL:
		goto DANCE_MODE_GO
	DANCE_MO_MENTALCHECK_TEST_FULL:
		goto DANCE_MO_MENTALCHECK_TESTED_FULL_GUILDCHECK

DANCE_MO_MENTALCHECK_TESTED_FULL_GUILDCHECK:
		goto DANCE_MO_MENTALCHECK_TESTED_FULL_GUILDCHECK_%mendhunt_empath_guild_test
	DANCE_MO_MENTALCHECK_TESTED_FULL_GUILDCHECK_ON:
		goto DANCE_MO_MENTALCHECK_TESTED_FULL_EMPATH
	DANCE_MO_MENTALCHECK_TESTED_FULL_GUILDCHECK_OFF:
		goto DANCE_MO_MENTALCHECK_TESTED_FULL

DANCE_MO_MENTALCHECK_TESTED_FULL_EMPATH:
	echo
	echo *** Multi Ops full, going to Empath Combat Mode
	echo
	goto EMPATH_MODE

DANCE_MO_MENTALCHECK_TESTED_FULL:
	echo
	echo *** Multi Ops full, going to Combat Mode
	echo
	goto COMBAT_MODE

DANCE_MODE_GO:

DANCE_MODE_FACE:
	pause %matchwaitpause
	match DANCE_MODE_FACE ...wait
	match DANCE_MODE_FACE You may only type ahead
	matchre DANCE_MODE_FACE2 /.*/i
	put face next
	matchwait

DANCE_MODE_FACE2:
	pause %matchwaitpause
	match DANCE_MODE_FACE2 ...wait
	match DANCE_MODE_FACE2 You may only type ahead
	matchre DANCE_MODE_FACE_DONE /.*/i
	put face next
	matchwait

DANCE_MODE_FACE_DONE:

DANCE_APP_TEST:
		goto DANCE_APP_TEST_%mendhunt_dance_app_test
	DANCE_APP_TEST_ON:
		goto DANCE_APP_ON
	DANCE_APP_TEST_OFF:
		goto DANCE_APP_OFF

DANCE_APP_ON:
DANCE_APP_MENTALCHECK:
	setvariable subreturnflag DANCE_APP_MENTALCHECK
	setvariable skillclass APP
	goto SUB_MENTAL_CHECK
SUBRETURN_DANCE_APP_MENTALCHECK:

DANCE_APP_MENTALCHECK_TEST:
		goto DANCE_APP_MENTALCHECK_TEST_%skillmental
	DANCE_APP_MENTALCHECK_TEST_NOTFULL:
		goto DANCE_APP_GO
	DANCE_APP_MENTALCHECK_TEST_FULL:
		goto DANCE_APP_SKIP


DANCE_APP_GO:
	echo
	echo *** Appraising critter
	echo

	goto DANCE_APP_GO_ASSESS_%danceappflag

DANCE_APP_GO_ASSESS_CHECK:
	setvariable danceappflag SKIP
	setvariable subreturnflag DANCE_APP_GO_ASSESS
	goto SUB_CDB_ASSESS
SUBRETURN_DANCE_APP_GO_ASSESS:

DANCE_APP_GO_ASSESS_SKIP:

DANCE_APP_GO_GO:
	pause %matchwaitpause
	match DANCE_APP_GO_GO ...wait
	match DANCE_APP_GO_GO You may only type ahead
	matchre RTCHECK_DANCE_APP_GO_GO /.*/i
	put app %critter_active quick
	matchwait

RTCHECK_DANCE_APP_GO_GO:
	pause 1
	pause %rtcheckpause
	match RTCHECK_DANCE_APP_GO_GO_READY What were you referring to
	match RTCHECK_DANCE_APP_GO_GO ...wait
	match RTCHECK_DANCE_APP_GO_GO You may only type ahead
	put get my rtchecking
	matchwait
RTCHECK_DANCE_APP_GO_GO_READY:

	goto DANCE_BRAWL_TEST

DANCE_APP_SKIP:
	echo
	echo *** Appraisal full, skipping
	echo
	goto DANCE_BRAWL_TEST

DANCE_APP_OFF:
	goto DANCE_BRAWL_TEST

DANCE_BRAWL_TEST:
		goto DANCE_BRAWL_TEST_%mendhunt_dance_brawl_test
	DANCE_BRAWL_TEST_ON:
		goto DANCE_BRAWL_ON
	DANCE_BRAWL_TEST_OFF:
		goto DANCE_BRAWL_OFF

DANCE_BRAWL_ON:
DANCE_BRAWL_MENTALCHECK:
	setvariable subreturnflag DANCE_BRAWL_MENTALCHECK
	setvariable skillclass BRAWL
	goto SUB_MENTAL_CHECK
SUBRETURN_DANCE_BRAWL_MENTALCHECK:

DANCE_BRAWL_MENTALCHECK_TEST:
		goto DANCE_BRAWL_MENTALCHECK_TEST_%skillmental
	DANCE_BRAWL_MENTALCHECK_TEST_NOTFULL:
		goto DANCE_BRAWL_GO
	DANCE_BRAWL_MENTALCHECK_TEST_FULL:
		goto DANCE_BRAWL_SKIP

DANCE_BRAWL_GO:
	echo
	echo *** Empathic brawling critter
	echo
DANCE_BRAWL_GO_CIRCLE:
	pause .3
	put circle
	pause 3
RTCHECK_DANCE_BRAWL_GO_CIRCLE:
	pause %rtcheckpause
	match RTCHECK_DANCE_BRAWL_GO_CIRCLE_READY What were you referring to
	match RTCHECK_DANCE_BRAWL_GO_CIRCLE ...wait
	match RTCHECK_DANCE_BRAWL_GO_CIRCLE You may only type ahead
	put get my rtchecking
	matchwait
RTCHECK_DANCE_BRAWL_GO_CIRCLE_READY:

DANCE_BRAWL_GO_WEAVE:
	put weave
	pause 3
RTCHECK_DANCE_BRAWL_GO_WEAVE:
	pause %rtcheckpause
	match RTCHECK_DANCE_BRAWL_GO_WEAVE_READY What were you referring to
	match RTCHECK_DANCE_BRAWL_GO_WEAVE ...wait
	match RTCHECK_DANCE_BRAWL_GO_WEAVE You may only type ahead
	put get my rtchecking
	matchwait
RTCHECK_DANCE_BRAWL_GO_WEAVE_READY:

	goto DANCE_HUNT

DANCE_BRAWL_SKIP:
	echo
	echo *** Brawling full, skipping
	echo
	goto DANCE_HUNT

DANCE_BRAWL_OFF:
	goto DANCE_HUNT

DANCE_HUNT:

DANCE_HUNT_TEST:
		goto DANCE_HUNT_TEST_%mendhunt_dance_hunt_test
	DANCE_HUNT_TEST_ON:
		goto DANCE_HUNT_ON
	DANCE_HUNT_TEST_OFF:
		goto DANCE_HUNT_OFF

DANCE_HUNT_ON:

DANCE_HUNT_LOOP_COUNT:
		goto DANCE_HUNT_LOOP_COUNT_%dancehuntloopnum
	DANCE_HUNT_LOOP_COUNT_1:
		counter set %dancehuntloopnum
		counter add 1
		setvariable dancehuntloopnum %c
		goto DANCE_HUNT_GO
	DANCE_HUNT_LOOP_COUNT_2:
		counter set %dancehuntloopnum
		counter add 1
		setvariable dancehuntloopnum %c
		goto DANCE_HUNT_OFF
	DANCE_HUNT_LOOP_COUNT_3:
		counter set %dancehuntloopnum
		counter add 1
		setvariable dancehuntloopnum %c
		goto DANCE_HUNT_OFF
	DANCE_HUNT_LOOP_COUNT_4:
		setvariable dancehuntloopnum 1
		goto DANCE_HUNT_OFF

DANCE_HUNT_GO:
	put hunt
	pause 8
RTCHECK_DANCE_HUNT_GO:
	pause %rtcheckpause
	match RTCHECK_DANCE_HUNT_GO_READY What were you referring to
	match RTCHECK_DANCE_HUNT_GO ...wait
	match RTCHECK_DANCE_HUNT_GO You may only type ahead
	put get my rtchecking
	matchwait
RTCHECK_DANCE_HUNT_GO_READY:
	goto DANCE_MODE_END

DANCE_HUNT_OFF:
	goto DANCE_MODE_END

DANCE_MODE_END:
	goto MAIN_START


#############################################################################
###########################    EMPATH MODE SECTION    #######################
#############################################################################

EMPATH:
EMPATH_MODE:
EMPATH_COMBAT_MODE:

EMPATH_MODE_HUM_STOP:
	setvariable subreturnflaghumstop EMPATH_MODE_HUM_STOP
	goto SUB_HUM_STOP
SUBRETURN_EMPATH_MODE_HUM_STOP:

EMPATH_MODE_START:
	echo
	echo *** Empath combat mode
	echo

GOSUB_CHECKHEALTH_EMPATH_MODE:
	setvariable subreturnflag GOSUB_CHECKHEALTH_EMPATH_MODE
	goto SUB_HEALTH_CHECK
SUBRETURN_GOSUB_CHECKHEALTH_EMPATH_MODE:

EMPATH_MODE_FACE:
	setvariable subreturnflagnp2 EMPATH_MODE_FACE
	setvariable nakedput1 face
	setvariable nakedput2 next
	goto SUB_NAKED_PUT2
SUBRETURN_EMPATH_MODE_FACE:

EMPATH_MODE_FACE2:
	setvariable subreturnflagnp2 EMPATH_MODE_FACE2
	setvariable nakedput1 face
	setvariable nakedput2 next
	goto SUB_NAKED_PUT2
SUBRETURN_EMPATH_MODE_FACE2:

#_______________________________________________________________________manipulate
EMPATH_MODE_MANIPULATE_TEST:
		goto EMPATH_MODE_MANIPULATE_TEST_%mendhunt_empath_test_manipulate
	EMPATH_MODE_MANIPULATE_TEST_ON:
		goto EMPATH_MODE_MANIPULATE_START
	EMPATH_MODE_MANIPULATE_TEST_OFF:
		goto EMPATH_MODE_MANIPULATE_SKIP

EMPATH_MODE_MANIPULATE_START:

EMPATH_MODE_MANIPULATE_CONCENTRATION_CHECK:
	pause %matchwaitpause
	match EMPATH_MODE_MANIPULATE_CRITTER_POSITION Concentration: %mendhunt_empath_maxconc
	match EMPATH_MODE_MANIPULATE_SKIP Encumbrance:
	match EMPATH_MODE_MANIPULATE_CONCENTRATION_CHECK ...wait
	match EMPATH_MODE_MANIPULATE_CONCENTRATION_CHECK You may only type ahead
	put info
	matchwait

EMPATH_MODE_MANIPULATE_CRITTER_POSITION:
	setvariable subreturnflag EMPATH_MODE_MANIPULATE_CRITTER_POSITION
	goto SUB_CRITTER_POSITION
SUBRETURN_EMPATH_MODE_MANIPULATE_CRITTER_POSITION:


EMPATH_MODE_MANIPULATE_CRITTER_NAME:
	setvariable subreturnflag EMPATH_MODE_MANIPULATE_CRITTER_NAME
	goto SUB_CDB_ASSESS
SUBRETURN_EMPATH_MODE_MANIPULATE_CRITTER_NAME:


EMPATH_MODE_MANIPULATE_GO:
	echo
	echo *** Manipulating %critter_position %critter_active
	echo

EMPATH_MODE_MANIPULATE_GO_GO:
	pause %matchwaitpause
	match EMPATH_MODE_MANIPULATE_GO_GO ...wait
	match EMPATH_MODE_MANIPULATE_GO_GO You may only type ahead
	matchre RTCHECK_EMPATH_MODE_MANIPULATE_CAST /.*/i
	put manipulate friendship %critter_position %critter_active
	matchwait

RTCHECK_EMPATH_MODE_MANIPULATE_CAST:
	pause %rtcheckpause
	match RTCHECK_EMPATH_MODE_MANIPULATE_CAST_READY What were you referring to
	match RTCHECK_EMPATH_MODE_MANIPULATE_CAST ...wait
	match RTCHECK_EMPATH_MODE_MANIPULATE_CAST You may only type ahead
	put get my rtchecking
	matchwait
RTCHECK_EMPATH_MODE_MANIPULATE_CAST_READY:
	goto EMPATH_MODE_MANIPULATE_END

EMPATH_MODE_MANIPULATE_SKIP:
	echo
	echo *** Concentration low, skipping manipulate
	echo
	goto EMPATH_MODE_MANIPULATE_END

EMPATH_MODE_MANIPULATE_END:
	goto EMPATH_MODE_INNOCENCE_TEST

#_______________________________________________________________________innocence
EMPATH_MODE_INNOCENCE_TEST:
		goto EMPATH_MODE_INNOCENCE_TEST_%mendhunt_empath_test_innocence
	EMPATH_MODE_INNOCENCE_TEST_ON:
		goto EMPATH_MODE_INNOCENCE_START
	EMPATH_MODE_INNOCENCE_TEST_OFF:
		goto EMPATH_MODE_INNOCENCE_SKIP

EMPATH_MODE_INNOCENCE_START:
	setvariable spell_name innocence
	setvariable spell_prep_power %mendhunt_empath_prep_power_innocence
	setvariable spell_harn_test %mendhunt_empath_harn_test_innocence
	setvariable spell_harn_power %mendhunt_empath_harn_power_innocence
	setvariable spell_harn_loop %mendhunt_empath_harn_loop_innocence
	setvariable spell_cam_test %mendhunt_empath_cam_test_innocence
	setvariable spell_cam_power %mendhunt_empath_cam_power_innocence
	setvariable spell_cam_loop %mendhunt_empath_cam_loop_innocence
	setvariable spell_cast_pause %mendhunt_empath_cast_pause_innocence
	setvariable spell_targeted_test OFF

EMPATH_MODE_INNOCENCE_SPELL_PREP:
	setvariable subreturnflag EMPATH_MODE_INNOCENCE_SPELL_PREP
	goto SUB_SPELL_PREP
SUBRETURN_EMPATH_MODE_INNOCENCE_SPELL_PREP:

EMPATH_MODE_INNOCENCE_CRITTER_POSITION:
	setvariable subreturnflag EMPATH_MODE_INNOCENCE_CRITTER_POSITION
	goto SUB_CRITTER_POSITION
SUBRETURN_EMPATH_MODE_INNOCENCE_CRITTER_POSITION:

EMPATH_MODE_INNOCENCE_CRITTER_NAME:
	setvariable subreturnflag EMPATH_MODE_INNOCENCE_CRITTER_NAME
	goto SUB_CDB_ASSESS
SUBRETURN_EMPATH_MODE_INNOCENCE_CRITTER_NAME:

EMPATH_MODE_INNOCENCE_GO:
	echo
	echo *** Casting innocence on %critter_position %critter_active
	echo
EMPATH_MODE_INNOCENCE_GO_GO:
	pause %matchwaitpause
	match EMPATH_MODE_INNOCENCE_GO_GO ...wait
	match EMPATH_MODE_INNOCENCE_GO_GO You may only type ahead
	matchre EMPATH_MODE_INNOCENCE_GO_GO_PAUSE /.*/i
	put cast %critter_position %critter_active
	matchwait

EMPATH_MODE_INNOCENCE_GO_GO_PAUSE:
	pause %aftercastrtpause

RTCHECK_EMPATH_MODE_INNOCENCE_CAST:
	pause %rtcheckpause
	match RTCHECK_EMPATH_MODE_INNOCENCE_CAST_READY What were you referring to
	match RTCHECK_EMPATH_MODE_INNOCENCE_CAST ...wait
	match RTCHECK_EMPATH_MODE_INNOCENCE_CAST You may only type ahead
	put get my rtchecking
	matchwait
RTCHECK_EMPATH_MODE_INNOCENCE_CAST_READY:
	goto EMPATH_MODE_INNOCENCE_END

EMPATH_MODE_INNOCENCE_SKIP:
	goto EMPATH_MODE_INNOCENCE_END

EMPATH_MODE_INNOCENCE_END:
	goto EMPATH_MODE_GS_TEST

#_______________________________________________________________________gs
EMPATH_MODE_GS_TEST:
		goto EMPATH_MODE_GS_TEST_%mendhunt_empath_test_gs
	EMPATH_MODE_GS_TEST_ON:
		goto EMPATH_MODE_GS_START
	EMPATH_MODE_GS_TEST_OFF:
		goto EMPATH_MODE_GS_SKIP

EMPATH_MODE_GS_START:

EMPATH_MODE_GS_CHECK_AVENGER_ACTIVE:
	pause %matchwaitpause
	match EMPATH_MODE_GS_CHECK_AVENGER_ACTIVE_YES avenger
	match EMPATH_MODE_GS_VARIABLES Obvious exits:
	match EMPATH_MODE_GS_VARIABLES Obvious paths:
	match EMPATH_MODE_GS_CHECK_AVENGER_ACTIVE_DARK you can't see a thing
	match EMPATH_MODE_GS_CHECK_AVENGER_ACTIVE ...wait
	match EMPATH_MODE_GS_CHECK_AVENGER_ACTIVE You may only type ahead
	put look
	matchwait

EMPATH_MODE_GS_CHECK_AVENGER_ACTIVE_DARK:
	echo
	echo *** It's too dark, need light
	echo
	goto EMPATH_MODE_GS_END

EMPATH_MODE_GS_CHECK_AVENGER_ACTIVE_YES:
	echo
	echo *** Avenger is already active, skipping GS cast
	echo
	goto EMPATH_MODE_GS_SKIP

EMPATH_MODE_GS_VARIABLES:
	setvariable spell_name gs
	setvariable spell_prep_power %mendhunt_empath_prep_power_gs
	setvariable spell_harn_test %mendhunt_empath_harn_test_gs
	setvariable spell_harn_power %mendhunt_empath_harn_power_gs
	setvariable spell_harn_loop %mendhunt_empath_harn_loop_gs
	setvariable spell_cam_test %mendhunt_empath_cam_test_gs
	setvariable spell_cam_power %mendhunt_empath_cam_power_gs
	setvariable spell_cam_loop %mendhunt_empath_cam_loop_gs
	setvariable spell_cast_pause %mendhunt_empath_cast_pause_gs
	setvariable spell_targeted_test OFF

EMPATH_MODE_GS_SPELL_PREP:
	setvariable subreturnflag EMPATH_MODE_GS_SPELL_PREP
	goto SUB_SPELL_PREP
SUBRETURN_EMPATH_MODE_GS_SPELL_PREP:

EMPATH_MODE_GS_GO:
	echo
	echo *** Casting Guardian Spirit - Avenger
	echo
EMPATH_MODE_GS_GO_GO:
	pause %matchwaitpause
	match EMPATH_MODE_GS_GO_GO ...wait
	match EMPATH_MODE_GS_GO_GO You may only type ahead
	matchre EMPATH_MODE_GS_GO_GO_PAUSE /.*/i
	put cast avenger
	matchwait

EMPATH_MODE_GS_GO_GO_PAUSE:
	pause %aftercastrtpause

RTCHECK_EMPATH_MODE_GS_CAST:
	pause %rtcheckpause
	match RTCHECK_EMPATH_MODE_GS_CAST_READY What were you referring to
	match RTCHECK_EMPATH_MODE_GS_CAST ...wait
	match RTCHECK_EMPATH_MODE_GS_CAST You may only type ahead
	put get my rtchecking
	matchwait
RTCHECK_EMPATH_MODE_GS_CAST_READY:
	goto EMPATH_MODE_GS_END

EMPATH_MODE_GS_SKIP:
	goto EMPATH_MODE_GS_END

EMPATH_MODE_GS_END:
	goto EMPATH_MODE_DEAD_CRITTER_CHECK

#_______________________________________________________________________dead critter check
EMPATH_MODE_DEAD_CRITTER_CHECK:
	setvariable subreturnflag EMPATH_MODE_DEAD_CRITTER_CHECK
	goto SUB_CHECK_CRITTER_DEAD
SUBRETURN_EMPATH_MODE_DEAD_CRITTER_CHECK:

EMPATH_MODE_END:
	goto ATTACK_START


#############################################################################
###########################    MELEE SECTION    #############################
#############################################################################

MELEE_START:

MELEE_ADVANCE:
	pause %matchwaitpause
	matchre MELEE_GO /You(.*) already at melee/i
	match ATTACK_START What do you want to advance towards
	match MELEE_ADVANCE_STAND You had better stand
	matchre MELEE_DEAD_CRITTER_CHECK /You stop advancing because (.*) dead/i
	matchre STRANGE /%failcombat%/i
	match DEAD_CHARACTER You are a ghost
	match MELEE_ADVANCE ...wait
	match MELEE_ADVANCE You may only type ahead
	matchre MELEE_ADVANCE_PAUSE /.*/i
	put advance
	matchwait

MELEE_ADVANCE_PAUSE:
	pause %advancepause
	goto MELEE_ADVANCE

MELEE_ADVANCE_STAND:
	pause %matchwaitpause
	match MELEE_ADVANCE_STAND ...wait
	match MELEE_ADVANCE_STAND You may only type ahead
	matchre RTCHECK_MELEE_ADVANCE_STAND /.*/i
	put stand
	matchwait

RTCHECK_MELEE_ADVANCE_STAND:
	pause %rtcheckpause
	match RTCHECK_MELEE_ADVANCE_STAND_READY What were you referring to
	match RTCHECK_MELEE_ADVANCE_STAND ...wait
	match RTCHECK_MELEE_ADVANCE_STAND You may only type ahead
	put get my rtchecking
	matchwait
RTCHECK_MELEE_ADVANCE_STAND_READY:
	goto MELEE_ADVANCE

MELEE_GO:

MELEE_SWAP_TEST:
		goto MELEE_SWAP_TEST_%mendhunt_weapon_swap_test
	MELEE_SWAP_TEST_ON:
		goto MELEE_SWAP_ON
	MELEE_SWAP_TEST_OFF:
		goto MELEE_ATTACK

MELEE_SWAP_ON:
	echo
	echo *** Swapping weapon
	echo
MELEE_SWAP_GO:
	pause %matchwaitpause
	match MELEE_ATTACK you adjust
	match MELEE_ATTACK You effortlessly switch to a grip
	match MELEE_ATTACK shifting
	match MELEE_SWAP_FAIL you move
	match MELEE_SWAP_FAIL you must have two free hands
	match MELEE_SWAP_GO ...wait
	match MELEE_SWAP_GO You may only type ahead
	put swap my %weapon_name_active
	matchwait

MELEE_SWAP_FAIL:
	echo
	echo *************************************************************
	echo
	echo *** ATTENTION Weapon swap fail
	echo
	echo Weapon is not swappable
	echo or hands full
	echo
	echo Trying to continue...
	echo Check your settings!
	echo
	echo *************************************************************
	echo
	put swap my %weapon_name_active	
	goto MELEE_ATTACK

MELEE_ATTACK:

MELEE_ATTACK_SLOW_PAUSE_TEST:
		goto MELEE_ATTACK_SLOW_PAUSE_TEST_%mendhunt_slow_attack_test
	MELEE_ATTACK_SLOW_PAUSE_TEST_ON:
		goto MELEE_ATTACK_SLOW_PAUSE
	MELEE_ATTACK_SLOW_PAUSE_TEST_OFF:
		goto MELEE_ATTACK_GO

MELEE_ATTACK_SLOW_PAUSE:
	pause %slow_attack_pause

MELEE_ATTACK_GO:

	echo
	echo *** Melee attacking critter with %weapon_name_active
	echo

MELEE_ATTACK_COMBO_TEST:
#Could followup this test with a second to determine if its a skkip, parry, etc...then skip the skkip
#Reason I don't is that if in future, GMs add a new combo type or I miss one, it would fail unless updated
#while a bit annoying to see skkip on screen, this is more flexible
		goto MELEE_ATTACK_COMBO_TEST_%combonum
	MELEE_ATTACK_COMBO_TEST_1:
		counter set %combonum
		counter add 1
		setvariable combonum %c
		setvariable melee_attack_combo_use %weapon_combo_1_active
		goto MELEE_ATTACK_COMBO_GO
	MELEE_ATTACK_COMBO_TEST_2:
		counter set %combonum
		counter add 1
		setvariable combonum %c
		setvariable melee_attack_combo_use %weapon_combo_2_active
		goto MELEE_ATTACK_COMBO_GO
	MELEE_ATTACK_COMBO_TEST_3:
		counter set %combonum
		counter add 1
		setvariable combonum %c
		setvariable melee_attack_combo_use %weapon_combo_3_active
		goto MELEE_ATTACK_COMBO_GO
	MELEE_ATTACK_COMBO_TEST_4:
		counter set %combonum
		counter add 1
		setvariable combonum %c
		setvariable melee_attack_combo_use %weapon_combo_4_active
		goto MELEE_ATTACK_COMBO_GO
	MELEE_ATTACK_COMBO_TEST_5:
		counter set %combonum
		counter add 1
		setvariable combonum %c
		setvariable melee_attack_combo_use %weapon_combo_5_active
		goto MELEE_ATTACK_COMBO_GO
	MELEE_ATTACK_COMBO_TEST_6:
		counter set %combonum
		counter add 1
		setvariable combonum %c
		setvariable melee_attack_combo_use %weapon_combo_6_active
		goto MELEE_ATTACK_COMBO_GO
	MELEE_ATTACK_COMBO_TEST_7:
		counter set %combonum
		counter add 1
		setvariable combonum %c
		setvariable melee_attack_combo_use %weapon_combo_7_active
		goto MELEE_ATTACK_COMBO_GO
	MELEE_ATTACK_COMBO_TEST_8:
		counter set %combonum
		counter add 1
		setvariable combonum %c
		setvariable melee_attack_combo_use %weapon_combo_8_active
		goto MELEE_ATTACK_COMBO_GO
	MELEE_ATTACK_COMBO_TEST_9:
		setvariable combonum 1
		goto MELEE_ATTACK_COMBO_TEST

MELEE_ATTACK_COMBO_GO:

MELEE_ATTACK_COMBO_GO_BACKSTAB_TEST:
		goto MELEE_ATTACK_COMBO_GO_BACKSTAB_TEST_%mendhunt_backstab_master_test
	MELEE_ATTACK_COMBO_GO_BACKSTAB_TEST_ON:
		goto MELEE_ATTACK_COMBO_GO_HIDE_STALK_HID_TEST
	MELEE_ATTACK_COMBO_GO_BACKSTAB_TEST_OFF:
		goto MELEE_ATTACK_COMBO_GO_NORMAL

MELEE_ATTACK_COMBO_GO_HIDE_STALK_HID_TEST:
		goto MELEE_ATTACK_COMBO_GO_HIDE_STALK_HID_TEST_%hidestalkactionflag
	MELEE_ATTACK_COMBO_GO_HIDE_STALK_HID_TEST_ON:
		setvariable hidestalkactionflag OFF
		goto MELEE_ATTACK_COMBO_GO_BACKSTAB
	MELEE_ATTACK_COMBO_GO_HIDE_STALK_HID_TEST_OFF:
		goto MELEE_ATTACK_COMBO_GO_NORMAL

# Considered adding a backstab mental check here, decided thief probably wants to use full attack no matter what
# besides, hiding/stalking mental test should rest backstab

MELEE_ATTACK_COMBO_GO_BACKSTAB:
	pause %matchwaitpause
	match MELEE_ATTACK_COMBO_GO_DONE There is nothing else to face!
	match MELEE_START You are not close enough
	match DEAD_CHARACTER You are a ghost
	match MELEE_ATTACK_COMBO_GO_NORMAL Please rephrase that command
	matchre STRANGE /%failcombat%/i
	match MELEE_ATTACK_COMBO_GO_BACKSTAB ...wait
	match MELEE_ATTACK_COMBO_GO_BACKSTAB You may only type ahead
	match MELEE_ATTACK_COMBO_GO_DONE you
	match MELEE_ATTACK_COMBO_GO_DONE Roundtime
	put %melee_attack_combo_use head
	matchwait

MELEE_ATTACK_COMBO_GO_NORMAL:
	pause %matchwaitpause
	match MELEE_ATTACK_COMBO_GO_DONE There is nothing else to face!
	match MELEE_START You are not close enough
	match DEAD_CHARACTER You are a ghost
	match MELEE_ATTACK_COMBO_TEST Please rephrase that command
	matchre STRANGE /%failcombat%/i
	match MELEE_ATTACK_COMBO_GO_NORMAL ...wait
	match MELEE_ATTACK_COMBO_GO_NORMAL You may only type ahead
	match MELEE_ATTACK_COMBO_GO_DONE you
	match MELEE_ATTACK_COMBO_GO_DONE Roundtime
	put %melee_attack_combo_use
	matchwait

MELEE_ATTACK_COMBO_GO_DONE:

MELEE_DEAD_CRITTER_CHECK:
	setvariable subreturnflag MELEE_DEAD_CRITTER_CHECK
	goto SUB_CHECK_CRITTER_DEAD
SUBRETURN_MELEE_DEAD_CRITTER_CHECK:

MELEE_END:
	goto MELEE_RETURN


#############################################################################
###########################    RANGED SECTION    ############################
#############################################################################

RANGED_START:

RANGED_START_DODGE_DUAL_TEST:
		goto RANGED_START_DODGE_DUAL_TEST_%weapon_type_active
	RANGED_START_DODGE_DUAL_TEST_RANGED:
		goto RANGED_START_DODGE
	RANGED_START_DODGE_DUAL_TEST_DUAL:
		goto RANGED_START_RETREAT_TEST

RANGED_START_DODGE:
	pause %matchwaitpause
	match RANGED_START_DODGE ...wait
	match RANGED_START_DODGE You may only type ahead
	matchre RANGED_START_RETREAT_TEST /.*/i
	put dodge
	matchwait

RANGED_START_RETREAT_TEST:
		goto RANGED_START_RETREAT_TEST_%mendhunt_rangedthrown_retreat_test
	RANGED_START_RETREAT_TEST_ON:
		goto RANGED_START_RETREAT
	RANGED_START_RETREAT_TEST_OFF:
		goto RANGED_START_DUAL_TEST

RANGED_START_RETREAT:
	setvariable subreturnflagretreat RANGED_START_RETREAT
	goto SUB_RETREAT
SUBRETURN_RANGED_START_RETREAT:

#_______________________________________________________________________ranged dual wield test
RANGED_START_DUAL_TEST:
		goto RANGED_START_DUAL_TEST_%weapon_type_active
	RANGED_START_DUAL_TEST_RANGED:
		goto RANGED_LOAD_NORMAL
	RANGED_START_DUAL_TEST_DUAL:
		goto RANGED_START_DUAL_UNEQUIP_WEAPON_LEFT

RANGED_START_DUAL_UNEQUIP_WEAPON_LEFT:
	setvariable subreturnflagemptylefthand RANGED_START_DUAL_UNEQUIP_WEAPON_LEFT
	goto SUB_EMPTY_LEFTHAND
SUBRETURN_RANGED_START_DUAL_UNEQUIP_WEAPON_LEFT:
	goto RANGED_LOAD_DUAL

#_______________________________________________________________________ranged load/dual
RANGED_LOAD_DUAL:

RANGED_LOADDUAL:
	pause %matchwaitpause
	match RANGED_LOADDUAL_PAUSE Roundtime
	matchre RANGED_AIM /Your (.*) is already loaded/i
	matchre RANGED_LOADDUAL_EMPTY_LEFTHAND /You can not load (.*) in your left hand/i
	match RANGED_LOADDUAL_PICKUP_AMMO You don't have
	match RANGED_LOADDUAL_PICKUP_AMMO_CLOSED As you try to reach into
	matchre STRANGE /%failcombat%/i
	match RANGED_LOADDUAL ...wait
	match RANGED_LOADDUAL You may only type ahead
	put load my %weapon_name_right_active with my %weapon_ammo_active
	matchwait

RANGED_LOADDUAL_PAUSE:
	pause 1

RTCHECK_RANGED_LOADDUAL:
	pause %rtcheckpause
	match RTCHECK_RANGED_LOADDUAL_READY What were you referring to
	match RTCHECK_RANGED_LOADDUAL ...wait
	match RTCHECK_RANGED_LOADDUAL You may only type ahead
	put get my rtchecking
	matchwait
RTCHECK_RANGED_LOADDUAL_READY:
	goto RANGED_AIM

RANGED_LOADDUAL_PICKUP_AMMO:
	pause %matchwaitpause
	matchre RANGED_LOADDUAL_PICKUP_AMMO /%hitstow%/i
	matchre RANGED_LOADDUAL2 /%failstowcall%/i
	match RANGED_LOADDUAL_EMPTY_LEFTHAND You need a free hand
	matchre ERROR_STOW /%failstowfull%/i
	matchre ERROR_STOW /%failstowsize%/i
	matchre ERROR_STOW /%errorstow%/i
	match RANGED_LOADDUAL_PICKUP_AMMO ...wait
	match RANGED_LOADDUAL_PICKUP_AMMO You may only type ahead
	put stow %weapon_ammo_active
	matchwait

RANGED_LOADDUAL2:
	pause %matchwaitpause
	match RTCHECK_RANGED_LOADDUAL Roundtime
	matchre RTCHECK_RANGED_LOADDUAL /Your (.*) is already loaded/i
	matchre RANGED_LOADDUAL_EMPTY_LEFTHAND /You can not load (.*) in your left hand/i
	match ERROR_AMMO You don't have
	match RANGED_LOADDUAL_PICKUP_AMMO_CLOSED As you try to reach into
	match RANGED_LOADDUAL2 ...wait
	match RANGED_LOADDUAL2 You may only type ahead
	put load my %weapon_name_right_active with my %weapon_ammo_active
	matchwait

RANGED_LOADDUAL_PICKUP_AMMO_CLOSED:
	echo
	echo *************************************************************
	echo *** Your ammo is in a closed container
	echo
	echo Trying to continue, will attempt to open quiver
	echo
	echo *************************************************************
	echo
	pause 1
RANGED_LOADDUAL_PICKUP_AMMO_CLOSED_OPEN:
	pause %matchwaitpause
	match RANGED_LOADDUAL_PICKUP_AMMO_CLOSED_OPEN ...wait
	match RANGED_LOADDUAL_PICKUP_AMMO_CLOSED_OPEN You may only type ahead
	matchre RANGED_LOADDUAL /.*/i
	put open my quiver
	matchwait

RANGED_LOADDUAL3:
	pause %matchwaitpause
	match RTCHECK_RANGED_LOADDUAL Roundtime
	matchre RTCHECK_RANGED_LOADDUAL /Your (.*) is already loaded/i
	matchre RANGED_LOADDUAL_EMPTY_LEFTHAND /You can not load (.*) in your left hand/i
	match ERROR_AMMO You don't have
	match ERROR_AMMO As you try to reach into
	match RANGED_LOADDUAL ...wait
	match RANGED_LOADDUAL You may only type ahead
	put load my %weapon_name_right_active with my %weapon_ammo_active
	matchwait

RANGED_LOADDUAL_EMPTY_LEFTHAND:
	setvariable subreturnflagemptylefthand RANGED_LOADDUAL_EMPTY_LEFTHAND
	goto SUB_EMPTY_LEFTHAND
SUBRETURN_RANGED_LOADDUAL_EMPTY_LEFTHAND:
	goto RANGED_LOADDUAL

#_______________________________________________________________________ranged load/normal
RANGED_LOAD_NORMAL:
RANGED_LOAD:
	pause %matchwaitpause
	match RANGED_LOAD_PAUSE Roundtime
	matchre RANGED_AIM /Your (.*) is already loaded/i
	matchre RANGED_LOAD_EMPTY_LEFTHAND /You can not load (.*) in your left hand/i
	match RANGED_LOAD_PICKUP_AMMO You don't have
	match RANGED_LOAD_PICKUP_AMMO_CLOSED As you try to reach into
	matchre STRANGE /%failcombat%/i
	match RANGED_LOAD ...wait
	match RANGED_LOAD You may only type ahead
	put load my %weapon_name_active with my %weapon_ammo_active
	matchwait

RANGED_LOAD_PAUSE:
	pause 1

RTCHECK_RANGED_LOAD:
	pause %rtcheckpause
	match RTCHECK_RANGED_LOAD_READY What were you referring to
	match RTCHECK_RANGED_LOAD ...wait
	match RTCHECK_RANGED_LOAD You may only type ahead
	put get my rtchecking
	matchwait
RTCHECK_RANGED_LOAD_READY:
	goto RANGED_AIM

RANGED_LOAD_PICKUP_AMMO:
	pause %matchwaitpause
	matchre RANGED_LOAD_PICKUP_AMMO /%hitstow%/i
	matchre RANGED_LOAD2 /%failstowcall%/i
	match RANGED_LOAD_EMPTY_LEFTHAND You need a free hand
	matchre ERROR_STOW /%failstowfull%/i
	matchre ERROR_STOW /%failstowsize%/i
	matchre ERROR_STOW /%errorstow%/i
	match RANGED_LOAD_PICKUP_AMMO ...wait
	match RANGED_LOAD_PICKUP_AMMO You may only type ahead
	put stow %weapon_ammo_active
	matchwait

RANGED_LOAD2:
	pause %matchwaitpause
	match RTCHECK_RANGED_LOAD Roundtime
	matchre RTCHECK_RANGED_LOAD /Your (.*) is already loaded/i
	matchre RANGED_LOAD_EMPTY_LEFTHAND /You can not load (.*) in your left hand/i
	match ERROR_AMMO You don't have
	match RANGED_LOAD_PICKUP_AMMO_CLOSED As you try to reach into
	match RANGED_LOAD2 ...wait
	match RANGED_LOAD2 You may only type ahead
	put load my %weapon_name_active with my %weapon_ammo_active
	matchwait

RANGED_LOAD_PICKUP_AMMO_CLOSED:
	echo
	echo *************************************************************
	echo *** Your ammo is in a closed container
	echo
	echo Trying to continue, will attempt to open quiver
	echo
	echo *************************************************************
	pause 1
RANGED_LOAD_PICKUP_AMMO_CLOSED_OPEN:
	pause %matchwaitpause
	match RANGED_LOAD_PICKUP_AMMO_CLOSED_OPEN ...wait
	match RANGED_LOAD_PICKUP_AMMO_CLOSED_OPEN You may only type ahead
	matchre RANGED_LOAD /.*/i
	put open my quiver
	matchwait

RANGED_LOAD3:
	pause %matchwaitpause
	match RTCHECK_RANGED_LOAD Roundtime
	matchre RTCHECK_RANGED_LOAD /Your (.*) is already loaded/i
	matchre RANGED_LOAD_EMPTY_LEFTHAND /You can not load (.*) in your left hand/i
	match ERROR_AMMO You don't have
	match ERROR_AMMO As you try to reach into
	match RANGED_LOAD ...wait
	match RANGED_LOAD You may only type ahead
	put load my %weapon_name_active with my %weapon_ammo_active
	matchwait

RANGED_LOAD_EMPTY_LEFTHAND:
	setvariable subreturnflagemptylefthand RANGED_LOAD_EMPTY_LEFTHAND
	goto SUB_EMPTY_LEFTHAND
SUBRETURN_RANGED_LOAD_EMPTY_LEFTHAND:
	goto RANGED_LOAD

#_______________________________________________________________________ranged aim
RANGED_AIM:
	pause %matchwaitpause
	match RANGED_AIM_DONE You begin to target
	match RANGED_AMMO_PICKUP isn't loaded
	match RANGED_AMMO_PICKUP There is nothing else to face
	match RANGED_AMMO_PICKUP At what are you trying to aim
	matchre STRANGE /%failcombat%/i
	match RANGED_AIM ...wait
	match RANGED_AIM You may only type ahead
	put aim
	matchwait

RANGED_AIM_DONE:
	pause .5

RANGED_RETREAT_TEST:
		goto RANGED_RETREAT_TEST_%mendhunt_rangedthrown_retreat_test
	RANGED_RETREAT_TEST_ON:
		goto RANGED_RETREAT
	RANGED_RETREAT_TEST_OFF:
		goto RANGED_PAUSE

RANGED_RETREAT:
	setvariable subreturnflagretreat RANGED_RETREAT
	goto SUB_RETREAT
SUBRETURN_RANGED_RETREAT:

RANGED_PAUSE:
	pause %mendhunt_ranged_pause
#_______________________________________________________________________ranged fire
RANGED_FIRE:
	echo
	echo *** Range attacking critter with %weapon_name_active
	echo

RANGED_FIRE_GO:
	pause .5
#	pause %matchwaitpause
#	match RANGED_FIRE_GO_DONE isn't loaded
#	match RANGED_FIRE_GO_DONE There is nothing else to face
#	matchre STRANGE /%failcombat%/i
#	match RANGED_FIRE_GO ...wait
#	match RANGED_FIRE_GO You may only type ahead
#	match RANGED_FIRE_GO_DONE Roundtime
	put fire
#	matchwait

RANGED_FIRE_GO_DONE:
	pause 1

RTCHECK_RANGED_FIRE_GO_DONE:
	pause %rtcheckpause
	match RTCHECK_RANGED_FIRE_GO_DONE_READY What were you referring to
	match RTCHECK_RANGED_FIRE_GO_DONE ...wait
	match RTCHECK_RANGED_FIRE_GO_DONE You may only type ahead
	put get my rtchecking
	matchwait
RTCHECK_RANGED_FIRE_GO_DONE_READY:

RANGED_AMMO_PICKUP:
	pause %matchwaitpause
	matchre RANGED_AMMO_PICKUP2 /%hitstow%/i
	matchre RANGED_AMMO_PICKUP2 /%failstowcall%/i
	match RANGED_AMMO_PICKUP2 You need a free hand to pick that up
	matchre ERROR_STOW /%failstowfull%/i
	matchre ERROR_STOW /%failstowsize%/i
	matchre ERROR_STOW /%errorstow%/i
	match RANGED_AMMO_PICKUP ...wait
	match RANGED_AMMO_PICKUP You may only type ahead
	put stow %weapon_ammo_active
	matchwait

RANGED_AMMO_PICKUP2:
	pause %matchwaitpause
	matchre RANGED_END /%hitstow%/i
	matchre RANGED_END /%failstowcall%/i
	match RANGED_END You need a free hand to pick that up
	matchre ERROR_STOW /%failstowfull%/i
	matchre ERROR_STOW /%failstowsize%/i
	matchre ERROR_STOW /%errorstow%/i
	match RANGED_AMMO_PICKUP2 ...wait
	match RANGED_AMMO_PICKUP2 You may only type ahead
	put stow %weapon_ammo_active
	matchwait

#_______________________________________________________________________ranged end
RANGED_END:

RANGED_END_DUAL_TEST:
		goto RANGED_END_DUAL_TEST_%weapon_type_active
	RANGED_END_DUAL_TEST_RANGED:
		goto RANGED_DEAD_CRITTER_CHECK
	RANGED_END_DUAL_TEST_DUAL:
		goto RANGED_END_DUAL_EQUIP_WEAPON_LEFT

RANGED_END_DUAL_EQUIP_WEAPON_LEFT:
	setvariable subreturnflagequipweaponlh RANGED_END_DUAL_EQUIP_WEAPON_LEFT
	setvariable weapon_name_called %weapon_name_left_active
	goto SUB_EQUIP_WEAPON_CALLED_LEFTHAND
SUBRETURN_RANGED_END_DUAL_EQUIP_WEAPON_LEFT:

RANGED_DEAD_CRITTER_CHECK:
	setvariable subreturnflag RANGED_DEAD_CRITTER_CHECK
	goto SUB_CHECK_CRITTER_DEAD
SUBRETURN_RANGED_DEAD_CRITTER_CHECK:

RANGED_END_END:
	goto RANGED_RETURN


#############################################################################
###########################    THROWN SECTION    ############################
#############################################################################

THROWN_START:

THROWN_START_DODGE_DUAL_TEST:
		goto THROWN_START_DODGE_DUAL_TEST_%weapon_type_active
	THROWN_START_DODGE_DUAL_TEST_THROWN:
		goto THROWN_START_DODGE
	THROWN_START_DODGE_DUAL_TEST_DUAL:
		goto THROWN_START_RETREAT_TEST

THROWN_START_DODGE:
	pause %matchwaitpause
	match THROWN_START_DODGE ...wait
	match THROWN_START_DODGE You may only type ahead
	matchre THROWN_START_RETREAT_TEST /.*/i
	put dodge
	matchwait

THROWN_START_RETREAT_TEST:
		goto THROWN_START_RETREAT_TEST_%mendhunt_rangedthrown_retreat_test
	THROWN_START_RETREAT_TEST_ON:
		goto THROWN_RETREAT
	THROWN_START_RETREAT_TEST_OFF:
		goto THROWN_PAUSE

THROWN_RETREAT:
	setvariable subreturnflagretreat THROWN_RETREAT
	goto SUB_RETREAT
SUBRETURN_THROWN_RETREAT:

THROWN_PAUSE:
	pause %mendhunt_thrown_pause

THROWN_GO:
	echo
	echo *** Throw attacking critter with %weapon_name_active
	echo

THROWN_START_DUAL_TEST:
		goto THROWN_START_DUAL_TEST_%weapon_type_active
	THROWN_START_DUAL_TEST_THROWN:
		goto THROWN_GO_THROW
	THROWN_START_DUAL_TEST_DUAL:
		goto THROWN_GO_THROW_DUAL

THROWN_GO_THROW_DUAL:
	pause .5
	put throw %throwdualhandflag
	goto THROWN_GO_THROW_DONE

THROWN_GO_THROW:
# I give up, this hangs every once in awhile... kill the match
	pause .5
#	pause %matchwaitpause
#	match THROWN_GO_THROW_DONE you throw
#	match THROWN_GO_THROW_DONE There is nothing else to face
#	matchre STRANGE /%failcombat%/i
#	match THROWN_GO_THROW ...wait
#	match THROWN_GO_THROW You may only type ahead
	put throw
#	matchwait

THROWN_GO_THROW_DONE:
	pause 3

RTCHECK_THROWN_GO_THROW_DONE:
	pause %rtcheckpause
	match RTCHECK_THROWN_GO_THROW_DONE_READY What were you referring to
	match RTCHECK_THROWN_GO_THROW_DONE ...wait
	match RTCHECK_THROWN_GO_THROW_DONE You may only type ahead
	put get my rtchecking
	matchwait
RTCHECK_THROWN_GO_THROW_DONE_READY:

THROWN_GET_WEAPON_DUAL_TEST:
		goto THROWN_GET_WEAPON_DUAL_TEST_%weapon_type_active
	THROWN_GET_WEAPON_DUAL_TEST_THROWN:
		goto THROWN_GET_WEAPON
	THROWN_GET_WEAPON_DUAL_TEST_DUAL:
		goto THROWN_GET_WEAPON_DUAL_HAND_CHECK

THROWN_GET_WEAPON_DUAL_HAND_CHECK:
		goto THROWN_GET_WEAPON_DUAL_HAND_CHECK_%throwdualhandflag
	THROWN_GET_WEAPON_DUAL_HAND_CHECK_LEFT:
		goto THROWN_GET_WEAPON_DUAL_LEFT
	THROWN_GET_WEAPON_DUAL_HAND_CHECK_RIGHT:
		goto THROWN_GET_WEAPON_DUAL_RIGHT

THROWN_GET_WEAPON_DUAL_LEFT:
	pause %matchwaitpause
	match THROWN_DEAD_CRITTER_CHECK You pick up
	match THROWN_DEAD_CRITTER_CHECK You are already holding that
	match THROWN_GET_WEAPON_FAIL2 you get
	match THROWN_GET_WEAPON_FAIL2 you pull
	matchre THROWN_GET_WEAPON_FAIL /%failget%/i
	match THROWN_GET_WEAPON_DUAL_LEFT ...wait
	match THROWN_GET_WEAPON_DUAL_LEFT You may only type ahead
	put get %weapon_name_left_active
	matchwait

THROWN_GET_WEAPON_DUAL_RIGHT:
	pause %matchwaitpause
	match THROWN_DEAD_CRITTER_CHECK You pick up
	match THROWN_DEAD_CRITTER_CHECK You are already holding that
	match THROWN_GET_WEAPON_FAIL2 you get
	match THROWN_GET_WEAPON_FAIL2 you pull
	matchre THROWN_GET_WEAPON_FAIL /%failget%/i
	match THROWN_GET_WEAPON_DUAL_RIGHT ...wait
	match THROWN_GET_WEAPON_DUAL_RIGHT You may only type ahead
	put get %weapon_name_right_active
	matchwait

THROWN_GET_WEAPON:
	pause %matchwaitpause
	match THROWN_DEAD_CRITTER_CHECK You pick up
	match THROWN_DEAD_CRITTER_CHECK You are already holding that
	match THROWN_GET_WEAPON_FAIL2 you get
	match THROWN_GET_WEAPON_FAIL2 you pull
	matchre THROWN_GET_WEAPON_FAIL /%failget%/i
	match THROWN_GET_WEAPON ...wait
	match THROWN_GET_WEAPON You may only type ahead
	put get %weapon_name_active
	matchwait

THROWN_GET_WEAPON_FAIL:
	echo
	echo *************************************************************
	echo
	echo *** WARNING Get thrown weapon fail
	echo
	echo Wasn't able to pickup the thrown weapon:  %weapon_name_active%
	echo
	echo Either stuck in critter or its not a throwable weapon.
	echo
	echo Exiting script
	echo
	echo *************************************************************
	echo
	pause 1
	goto ERROR_WEAPON

THROWN_GET_WEAPON_FAIL2:
	echo
	echo *************************************************************
	echo
	echo *** ATTENTION Get thrown weapon fail
	echo
	echo Wasn't able to pickup the thrown weapon;
	echo however, was able to find another %weapon_name_active
	echo
	echo Trying to continue
	echo
	echo *************************************************************
	echo
	pause 1

THROWN_DEAD_CRITTER_CHECK:
	setvariable subreturnflag THROWN_DEAD_CRITTER_CHECK
	goto SUB_CHECK_CRITTER_DEAD
SUBRETURN_THROWN_DEAD_CRITTER_CHECK:

THROWN_END:
	goto THROWN_RETURN

#############################################################################
###########################    DEAD CRITTER SECTION    ######################
#############################################################################
DEAD_CRITTER:

DCS_PRESERVE_TEST:
		goto DCS_PRESERVE_TEST_%mendhunt_preserve_master_test
	DCS_PRESERVE_TEST_ON:
		goto DCS_PRESERVE_GO
	DCS_PRESERVE_TEST_OFF:
		goto DCS_PRESERVE_NOGO

DCS_PRESERVE_GO:

DEAD_CRITTER_NAME:
	setvariable subreturnflag DEAD_CRITTER_NAME
	goto SUB_CDB_DEAD_CRITTER
SUBRETURN_DEAD_CRITTER_NAME:

	put perform %necroperformtype on %critter_active
	pause 4

DCS_PRESERVE_NOGO:

DEAD_CRITTER_SKINNING_TEST:
		goto DEAD_CRITTER_SKINNING_TEST_%mendhunt_skinning_test
	DEAD_CRITTER_SKINNING_TEST_ON:
		goto DEAD_CRITTER_SKINNING_ON
	DEAD_CRITTER_SKINNING_TEST_OFF:
		goto DEAD_CRITTER_SKINNING_OFF

DEAD_CRITTER_SKINNING_ON:


DCS_RETREAT:
	setvariable subreturnflagretreat DCS_RETREAT
	goto SUB_RETREAT
SUBRETURN_DCS_RETREAT:

DCS_USEWHAT_TEST:
		goto DCS_USEWHAT_TEST_%mendhunt_skinner_name_branch
	DCS_USEWHAT_TEST_KNIFE:
		goto DCS_SKINNER_START
	DCS_USEWHAT_TEST_WEAPON:
		goto DCS_WEAPONINHAND_START

#_______________________________________________________________________skin with weapon
DCS_WEAPONINHAND_START:

DCS_WIH_SHIELD_TEST:
		goto DCS_WIH_SHIELD_TEST_%shield_use_active
	DCS_WIH_SHIELD_TEST_OFF:
		goto DCS_WIH_SHIELD_HANDHELD_GRANITE_TEST
	DCS_WIH_SHIELD_TEST_ARMWORN:
		goto DCS_WIH_NOSHIELDWORRY_GO
	DCS_WIH_SHIELD_TEST_HANDHELD:
		goto DCS_WIH_HANDHELD_SHIELD_UNEQUIP

DCS_WIH_SHIELD_HANDHELD_GRANITE_TEST:
		goto DCS_WIH_SHIELD_HANDHELD_GRANITE_TEST_%mendhunt_aeg_master_test
	DCS_WIH_SHIELD_HANDHELD_GRANITE_TEST_ON:
		goto DCS_WIH_HANDHELD_SHIELD_UNEQUIP
	DCS_WIH_SHIELD_HANDHELD_GRANITE_TEST_OFF:
		goto DCS_WIH_NOSHIELDWORRY_GO

DCS_WIH_HANDHELD_SHIELD_UNEQUIP:
	setvariable subreturnflagemptylefthand DCS_WIH_HANDHELD_SHIELD_UNEQUIP
	goto SUB_EMPTY_LEFTHAND
SUBRETURN_DCS_WIH_HANDHELD_SHIELD_UNEQUIP:

DCS_WIH_HANDHELD_SHIELD_GO:
	echo
	echo *** Skinning critter
	echo

DCS_WIH_HHS_GO_ARRANGE:
	setvariable subreturnflagarrange DCS_WIH_HHS_GO_ARRANGE
	goto ARRANGE
SUBRETURN_DCS_WIH_HHS_GO_ARRANGE:

DCS_WIH_HHS_GO1:
	put skin
	pause 2.5


DCS_WIH_HHS_GO1_BUNDLETEST:
		goto DCS_WIH_HHS_GO1_BUNDLETEST_%mendhunt_loot_skins_test
	DCS_WIH_HHS_GO1_BUNDLETEST_ON:
		goto DCS_WIH_HHS_GO1_BUNDLEYES
	DCS_WIH_HHS_GO1_BUNDLETEST_OFF:
		goto DCS_WIH_HHS_GO1_BUNDLENO

DCS_WIH_HHS_GO1_BUNDLEYES:
	put bundle
DCS_WIH_HHS_GO1_BUNDLENO:

#	setvariable subreturnflagnp DCS_WIH_HHS_GO1
#	setvariable nakedput skin
#	goto SUB_NAKED_PUT
SUBRETURN_DCS_WIH_HHS_GO1:

DCS_WIH_HHS_GO1_EMPTY:
	pause %matchwaitpause
	matchre DCS_WIH_HHS_GO2 /You drop|Your (.*) already empty/i
	match DCS_WIH_HHS_GO1_EMPTY ...wait
	match DCS_WIH_HHS_GO1_EMPTY You may only type ahead
	put empty left
	matchwait

DCS_WIH_HHS_GO2:
#	setvariable subreturnflagnp DCS_WIH_HHS_GO2
#	setvariable nakedput skin
#	goto SUB_NAKED_PUT
SUBRETURN_DCS_WIH_HHS_GO2:

DCS_WIH_HHS_GO2_EMPTY:
#	pause %matchwaitpause
#	matchre DCS_WIH_HHS_END /You drop|Your (.*) already empty/i
#	match DCS_WIH_HHS_GO2_EMPTY ...wait
#	match DCS_WIH_HHS_GO2_EMPTY You may only type ahead
#	put empty left
#	matchwait

DCS_WIH_HHS_END:

DCS_WIH_HHS_END_RETREAT:
	setvariable subreturnflagretreat DCS_WIH_HHS_END_RETREAT
	goto SUB_RETREAT
SUBRETURN_DCS_WIH_HHS_END_RETREAT:

DCS_WIH_HHS_REEQUIP_TEST:
		goto DCS_WIH_HHS_REEQUIP_TEST_%shield_use_active
	DCS_WIH_HHS_REEQUIP_TEST_OFF:
		goto DCS_WIH_HHS_REEQUIP_HANDHELD_GRANITE_TEST
	DCS_WIH_HHS_REEQUIP_TEST_ARMWORN:
		goto DCS_WIH_HHS_END_END
	DCS_WIH_HHS_REEQUIP_TEST_HANDHELD:
		goto DCS_WIH_HHS_REEQUIP

DCS_WIH_HHS_REEQUIP_HANDHELD_GRANITE_TEST:
		goto DCS_WIH_HHS_REEQUIP_HANDHELD_GRANITE_TEST_%mendhunt_aeg_master_test
	DCS_WIH_HHS_REEQUIP_HANDHELD_GRANITE_TEST_ON:
		goto DCS_WIH_HHS_REEQUIP
	DCS_WIH_HHS_REEQUIP_HANDHELD_GRANITE_TEST_OFF:
		goto DCS_WIH_HHS_END_END

DCS_WIH_HHS_REEQUIP:
	setvariable subreturnflagequipshield DCS_WIH_HHS_REEQUIP
	setvariable shield_name_called %shield_name_active
	setvariable shield_use_called %shield_use_active
	goto SUB_EQUIP_SHIELD
SUBRETURN_DCS_WIH_HHS_REEQUIP:

DCS_WIH_HHS_END_END:
	goto DCS_END

#_______________________________________________________________________skin with weapon/ noshield
DCS_WIH_NOSHIELDWORRY_GO:
DCS_WIH_NSW:
	echo
	echo *** Skinning critter
	echo

DCS_WIH_NSW_HAND_CHECK:
		goto DCS_WIH_NSW_HAND_CHECK_%weapon_type_active
	DCS_WIH_NSW_HAND_CHECK_MELEE:
		goto DCS_WIH_NSW_ARRANGE
	DCS_WIH_NSW_HAND_CHECK_RANGED:
		goto DCS_WIH_NSW_ARRANGE
	DCS_WIH_NSW_HAND_CHECK_THROWN:
		goto DCS_WIH_NSW_ARRANGE
	DCS_WIH_NSW_HAND_CHECK_DUAL:
		goto DCS_WIH_NSW_DUAL_UNEQUIP
	DCS_WIH_NSW_HAND_CHECK_NOWEAP:
		goto DCS_END
	DCS_WIH_NSW_HAND_CHECK_MELEENOWEAP:
		goto DCS_END

DCS_WIH_NSW_DUAL_UNEQUIP:
	setvariable subreturnflagemptylefthand DCS_WIH_NSW_DUAL_UNEQUIP
	goto SUB_EMPTY_LEFTHAND
SUBRETURN_DCS_WIH_NSW_DUAL_UNEQUIP:

DCS_WIH_NSW_ARRANGE:
	setvariable subreturnflagarrange DCS_WIH_NSW_ARRANGE
	goto ARRANGE
SUBRETURN_DCS_WIH_NSW_ARRANGE:

DCS_WIH_NSW1:
	put skin
	pause 2.5


DCS_WIH_NSW1_BUNDLETEST:
		goto DCS_WIH_NSW1_BUNDLETEST_%mendhunt_loot_skins_test
	DCS_WIH_NSW1_BUNDLETEST_ON:
		goto DCS_WIH_NSW1_BUNDLEYES
	DCS_WIH_NSW1_BUNDLETEST_OFF:
		goto DCS_WIH_NSW1_BUNDLENO

DCS_WIH_NSW1_BUNDLEYES:
	put bundle
DCS_WIH_NSW1_BUNDLENO:


#	setvariable subreturnflagnp DCS_WIH_NSW1
#	setvariable nakedput skin
#	goto SUB_NAKED_PUT
SUBRETURN_DCS_WIH_NSW1:

DCS_WIH_NSW1_EMPTY:
	pause %matchwaitpause
	matchre DCS_WIH_NSW2 /You drop|Your (.*) already empty/i
	match DCS_WIH_NSW1_EMPTY ...wait
	match DCS_WIH_NSW1_EMPTY You may only type ahead
	put empty left
	matchwait

DCS_WIH_NSW2:
#	setvariable subreturnflagnp DCS_WIH_NSW2
#	setvariable nakedput skin
#	goto SUB_NAKED_PUT
SUBRETURN_DCS_WIH_NSW2:

DCS_WIH_NSW2_EMPTY:
#	pause %matchwaitpause
#	matchre DCS_WIH_NSW_END /You drop|Your (.*) already empty/i
#	match DCS_WIH_NSW2_EMPTY ...wait
#	match DCS_WIH_NSW2_EMPTY You may only type ahead
#	put empty left
#	matchwait

DCS_WIH_NSW_END:

DCS_WIH_NSW_END_HAND_CHECK:
		goto DCS_WIH_NSW_END_HAND_CHECK_%weapon_type_active
	DCS_WIH_NSW_END_HAND_CHECK_MELEE:
		goto DCS_WIH_NSW_END_END
	DCS_WIH_NSW_END_HAND_CHECK_RANGED:
		goto DCS_WIH_NSW_END_END
	DCS_WIH_NSW_END_HAND_CHECK_THROWN:
		goto DCS_WIH_NSW_END_END
	DCS_WIH_NSW_END_HAND_CHECK_DUAL:
		goto DCS_WIH_NSW_END_DUAL_EQUIP
	DCS_WIH_NSW_END_HAND_CHECK_NOWEAP:
		goto DCS_WIH_NSW_END_END
	DCS_WIH_NSW_END_HAND_CHECK_MELEENOWEAP:
		goto DCS_WIH_NSW_END_END

DCS_WIH_NSW_END_DUAL_EQUIP:
	setvariable subreturnflagequipweaponlh DCS_WIH_NSW_END_DUAL_EQUIP
	setvariable weapon_name_called %weapon_name_left_active
	goto SUB_EQUIP_WEAPON_CALLED_LEFTHAND
SUBRETURN_DCS_WIH_NSW_END_DUAL_EQUIP:

DCS_WIH_NSW_END_END:
	goto DCS_END

#_______________________________________________________________________skin with skinner
DCS_SKINNER_START:

DCS_SKINNER_EMPTYHANDS:
	setvariable subreturnflagemptyhands DCS_SKINNER_EMPTYHANDS
	goto SUB_EMPTY_HANDS
SUBRETURN_DCS_SKINNER_EMPTYHANDS:

DCS_SKINNER_GET_SKINNER:
	setvariable subreturnflagequipweaponrh DCS_SKINNER_GET_SKINNER
	setvariable weapon_name_called %mendhunt_skinner_name
	goto SUB_EQUIP_WEAPON_CALLED_RIGHTHAND
SUBRETURN_DCS_SKINNER_GET_SKINNER:

DCS_SKINNER_GO:
	echo
	echo *** Skinning critter
	echo

DCS_SKINNER_GO_ARRANGE:
	setvariable subreturnflagarrange DCS_SKINNER_GO_ARRANGE
	goto ARRANGE
SUBRETURN_DCS_SKINNER_GO_ARRANGE:

DCS_SKINNER_GO1:
	put skin
	pause 2.5

DCS_SKINNER_GO1_BUNDLETEST:
		goto DCS_SKINNER_GO1_BUNDLETEST_%mendhunt_loot_skins_test
	DCS_SKINNER_GO1_BUNDLETEST_ON:
		goto DCS_SKINNER_GO1_BUNDLEYES
	DCS_SKINNER_GO1_BUNDLETEST_OFF:
		goto DCS_SKINNER_GO1_BUNDLENO

DCS_SKINNER_GO1_BUNDLEYES:
	put bundle
DCS_SKINNER_GO1_BUNDLENO:




#	setvariable subreturnflagnp DCS_SKINNER_GO1
#	setvariable nakedput skin
#	goto SUB_NAKED_PUT
SUBRETURN_DCS_SKINNER_GO1:

DCS_SKINNER_GO1_EMPTY:
	pause %matchwaitpause
	matchre DCS_SKINNER_GO2 /You drop|Your (.*) already empty/i
	match DCS_SKINNER_GO1_EMPTY ...wait
	match DCS_SKINNER_GO1_EMPTY You may only type ahead
	put empty left
	matchwait

DCS_SKINNER_GO2:
#	setvariable subreturnflagnp DCS_SKINNER_GO2
#	setvariable nakedput skin
#	goto SUB_NAKED_PUT
SUBRETURN_DCS_SKINNER_GO2:

DCS_SKINNER_GO2_EMPTY:
#	pause %matchwaitpause
#	matchre DCS_SKINNER_END /You drop|Your (.*) already empty/i
#	match DCS_SKINNER_GO2_EMPTY ...wait
#	match DCS_SKINNER_GO2_EMPTY You may only type ahead
#	put empty left
#	matchwait

DCS_SKINNER_END:

DCS_SKINNER_END_RETREAT:
	setvariable subreturnflagretreat DCS_SKINNER_END_RETREAT
	goto SUB_RETREAT
SUBRETURN_DCS_SKINNER_END_RETREAT:

DCS_SKINNER_UNGET_SKINNER:
	setvariable subreturnflagemptyhands DCS_SKINNER_UNGET_SKINNER
	goto SUB_EMPTY_HANDS
SUBRETURN_DCS_SKINNER_UNGET_SKINNER:

DCS_SKINNER_END_HAND_CHECK:
		goto DCS_SKINNER_END_HAND_CHECK_%weapon_type_active
	DCS_SKINNER_END_HAND_CHECK_MELEE:
		goto DCS_SKINNER_END_REEQUIP_WEAPON
	DCS_SKINNER_END_HAND_CHECK_RANGED:
		goto DCS_SKINNER_END_REEQUIP_WEAPON
	DCS_SKINNER_END_HAND_CHECK_THROWN:
		goto DCS_SKINNER_END_REEQUIP_WEAPON
	DCS_SKINNER_END_HAND_CHECK_DUAL:
		goto DCS_SKINNER_END_REEQUIP_DUAL
	DCS_SKINNER_END_HAND_CHECK_NOWEAP:
		goto DCS_SKINNER_END_END
	DCS_SKINNER_END_HAND_CHECK_MELEENOWEAP:
		goto DCS_SKINNER_END_END

#_______________________________________________________________________skin with skinner/equip
DCS_SKINNER_END_REEQUIP_WEAPON:
	setvariable subreturnflagequipweaponrh DCS_SKINNER_END_REEQUIP_WEAPON
	setvariable weapon_name_called %weapon_name_active
	goto SUB_EQUIP_WEAPON_CALLED_RIGHTHAND
SUBRETURN_DCS_SKINNER_END_REEQUIP_WEAPON:

DCS_SKINNER_END_REEQUIP_WEAPON_SHIELD_TEST:
		goto DCS_SKINNER_END_REEQUIP_WEAPON_SHIELD_TEST_%shield_use_active
	DCS_SKINNER_END_REEQUIP_WEAPON_SHIELD_TEST_OFF:
		goto DCS_SKINNER_END_REEQUIP_WEAPON_HANDHELD_GRANITE_TEST
	DCS_SKINNER_END_REEQUIP_WEAPON_SHIELD_TEST_ARMWORN:
		goto DCS_SKINNER_END_END
	DCS_SKINNER_END_REEQUIP_WEAPON_SHIELD_TEST_HANDHELD:
		goto DCS_SKINNER_END_REEQUIP_WEAPON_SHIELD

DCS_SKINNER_END_REEQUIP_WEAPON_HANDHELD_GRANITE_TEST:
		goto DCS_SKINNER_END_REEQUIP_WEAPON_HANDHELD_GRANITE_TEST_%mendhunt_aeg_master_test
	DCS_SKINNER_END_REEQUIP_WEAPON_HANDHELD_GRANITE_TEST_ON:
		goto DCS_SKINNER_END_REEQUIP_WEAPON_SHIELD
	DCS_SKINNER_END_REEQUIP_WEAPON_HANDHELD_GRANITE_TEST_OFF:
		goto DCS_SKINNER_END_END

DCS_SKINNER_END_REEQUIP_WEAPON_SHIELD:
	setvariable subreturnflagequipshield DCS_SKINNER_END_REEQUIP_WEAPON_SHIELD:
	setvariable shield_name_called %shield_name_active
	setvariable shield_use_called %shield_use_active
	goto SUB_EQUIP_SHIELD
SUBRETURN_DCS_SKINNER_END_REEQUIP_WEAPON_SHIELD:

	goto DCS_SKINNER_END_END

#_______________________________________________________________________skin with skinner/equip dual
DCS_SKINNER_END_REEQUIP_DUAL:

DCS_SKINNER_END_REEQUIP_DUAL_RIGHT:
	setvariable subreturnflagequipweaponrh DCS_SKINNER_END_REEQUIP_DUAL_RIGHT
	setvariable weapon_name_called %weapon_name_right_active
	goto SUB_EQUIP_WEAPON_CALLED_RIGHTHAND
SUBRETURN_DCS_SKINNER_END_REEQUIP_DUAL_RIGHT:

DCS_SKINNER_END_REEQUIP_DUAL_LEFT:
	setvariable subreturnflagequipweaponlh DCS_SKINNER_END_REEQUIP_DUAL_LEFT
	setvariable weapon_name_called %weapon_name_left_active
	goto SUB_EQUIP_WEAPON_CALLED_LEFTHAND
SUBRETURN_DCS_SKINNER_END_REEQUIP_DUAL_LEFT:

DCS_SKINNER_END_END:
	goto DCS_END

#_______________________________________________________________________skin end
DCS_END:
DEAD_CRITTER_SKINNING_END:
DCS_OFF:
DCS_END_END:
DEAD_CRITTER_SKINNING_OFF:
DEAD_CRITTER_SKINNING_END_END:

#_______________________________________________________________________search critters

	echo
	echo *** Looting
	echo

DEAD_CRITTER_SEARCH_GO1:
	pause .2
	put %loottype

DEAD_CRITTER_SEARCH_GO2:
	pause .2
	put %loottype

DEAD_CRITTER_SEARCH_GO3:


DEAD_CRITTER_SEARCH_GO4:


#_______________________________________________________________________Dead critter end
DEAD_CRITTER_END:

DEAD_CRITTER_END_RESET_DEBUFF_VARBS_TEST_MASTER:
		goto DEAD_CRITTER_END_RESET_DEBUFF_VARBS_TEST_MASTER_%mendhunt_debuff_master_test
	DEAD_CRITTER_END_RESET_DEBUFF_VARBS_TEST_MASTER_ON:
		goto DEAD_CRITTER_END_RESET_DEBUFF_VARBS_1
	DEAD_CRITTER_END_RESET_DEBUFF_VARBS_TEST_MASTER_OFF:
		goto DEAD_CRITTER_END_RESET_DEBUFF_VARBS_END
DEAD_CRITTER_END_RESET_DEBUFF_VARBS_1:
		goto DEAD_CRITTER_END_RESET_DEBUFF_VARBS_1_%mendhunt_debuff_test_1
	DEAD_CRITTER_END_RESET_DEBUFF_VARBS_1_ON:
		setvariable debuffonceflag1 NOTDONE
		goto DEAD_CRITTER_END_RESET_DEBUFF_VARBS_2
	DEAD_CRITTER_END_RESET_DEBUFF_VARBS_1_OFF:
		goto DEAD_CRITTER_END_RESET_DEBUFF_VARBS_2
DEAD_CRITTER_END_RESET_DEBUFF_VARBS_2:
		goto DEAD_CRITTER_END_RESET_DEBUFF_VARBS_2_%mendhunt_debuff_test_2
	DEAD_CRITTER_END_RESET_DEBUFF_VARBS_2_ON:
		setvariable debuffonceflag2 NOTDONE
		goto DEAD_CRITTER_END_RESET_DEBUFF_VARBS_3
	DEAD_CRITTER_END_RESET_DEBUFF_VARBS_2_OFF:
		goto DEAD_CRITTER_END_RESET_DEBUFF_VARBS_3
DEAD_CRITTER_END_RESET_DEBUFF_VARBS_3:
		goto DEAD_CRITTER_END_RESET_DEBUFF_VARBS_3_%mendhunt_debuff_test_3
	DEAD_CRITTER_END_RESET_DEBUFF_VARBS_3_ON:
		setvariable debuffonceflag3 NOTDONE
		goto DEAD_CRITTER_END_RESET_DEBUFF_VARBS_4
	DEAD_CRITTER_END_RESET_DEBUFF_VARBS_3_OFF:
		goto DEAD_CRITTER_END_RESET_DEBUFF_VARBS_4
DEAD_CRITTER_END_RESET_DEBUFF_VARBS_4:
		goto DEAD_CRITTER_END_RESET_DEBUFF_VARBS_4_%mendhunt_debuff_test_4
	DEAD_CRITTER_END_RESET_DEBUFF_VARBS_4_ON:
		setvariable debuffonceflag4 NOTDONE
		goto DEAD_CRITTER_END_RESET_DEBUFF_VARBS_5
	DEAD_CRITTER_END_RESET_DEBUFF_VARBS_4_OFF:
		goto DEAD_CRITTER_END_RESET_DEBUFF_VARBS_5
DEAD_CRITTER_END_RESET_DEBUFF_VARBS_5:
		goto DEAD_CRITTER_END_RESET_DEBUFF_VARBS_5_%mendhunt_debuff_test_5
	DEAD_CRITTER_END_RESET_DEBUFF_VARBS_5_ON:
		setvariable debuffonceflag5 NOTDONE
		goto DEAD_CRITTER_END_RESET_DEBUFF_VARBS_6
	DEAD_CRITTER_END_RESET_DEBUFF_VARBS_5_OFF:
		goto DEAD_CRITTER_END_RESET_DEBUFF_VARBS_6
DEAD_CRITTER_END_RESET_DEBUFF_VARBS_6:
		goto DEAD_CRITTER_END_RESET_DEBUFF_VARBS_6_%mendhunt_debuff_test_6
	DEAD_CRITTER_END_RESET_DEBUFF_VARBS_6_ON:
		setvariable debuffonceflag6 NOTDONE
		goto DEAD_CRITTER_END_RESET_DEBUFF_VARBS_END
	DEAD_CRITTER_END_RESET_DEBUFF_VARBS_6_OFF:
		goto DEAD_CRITTER_END_RESET_DEBUFF_VARBS_END
DEAD_CRITTER_END_RESET_DEBUFF_VARBS_END:


DEAD_CRITTER_END_GET_AMMO_TEST:
		goto DEAD_CRITTER_END_GET_AMMO_TEST_%weapon_type_active
	DEAD_CRITTER_END_GET_AMMO_TEST_MELEE:
		goto DEAD_CRITTER_END_END
	DEAD_CRITTER_END_GET_AMMO_TEST_RANGED:
		goto DEAD_CRITTER_END_GET_AMMO_GO
	DEAD_CRITTER_END_GET_AMMO_TEST_THROWN:
		goto DEAD_CRITTER_END_END
	DEAD_CRITTER_END_GET_AMMO_TEST_DUAL:
		goto DEAD_CRITTER_END_GET_AMMO_RETEST_DUAL
	DEAD_CRITTER_END_GET_AMMO_TEST_NOWEAP:
		goto DEAD_CRITTER_END_END
	DEAD_CRITTER_END_GET_AMMO_TEST_MELEENOWEAP:
		goto DEAD_CRITTER_END_END

DEAD_CRITTER_END_GET_AMMO_RETEST_DUAL:
		goto DEAD_CRITTER_END_GET_AMMO_RETEST_DUAL_%weapon_type_right_active
	DEAD_CRITTER_END_GET_AMMO_RETEST_DUAL_MELEE:
		goto DEAD_CRITTER_END_END
	DEAD_CRITTER_END_GET_AMMO_RETEST_DUAL_RANGED:
		goto DEAD_CRITTER_END_GET_AMMO_DUAL_GO
	DEAD_CRITTER_END_GET_AMMO_RETEST_DUAL_THROWN:
		goto DEAD_CRITTER_END_END
	DEAD_CRITTER_END_GET_AMMO_RETEST_DUAL_DUAL:
		goto DEAD_CRITTER_END_END
	DEAD_CRITTER_END_GET_AMMO_RETEST_DUAL_NOWEAP:
		goto DEAD_CRITTER_END_END
	DEAD_CRITTER_END_GET_AMMO_RETEST_DUAL_MELEENOWEAP:
		goto DEAD_CRITTER_END_END

DEAD_CRITTER_END_GET_AMMO_DUAL_GO:

DEAD_CRITTER_END_GET_AMMO_DUAL_GO_RETREAT:
	setvariable subreturnflagretreat DEAD_CRITTER_END_GET_AMMO_DUAL_GO_RETREAT
	goto SUB_RETREAT
SUBRETURN_DEAD_CRITTER_END_GET_AMMO_DUAL_GO_RETREAT:

DEAD_CRITTER_END_GET_AMMO_DUAL_GO_EMPTYLEFT:
	setvariable subreturnflagemptylefthand DEAD_CRITTER_END_GET_AMMO_DUAL_GO_EMPTYLEFT
	goto SUB_EMPTY_LEFTHAND
SUBRETURN_DEAD_CRITTER_END_GET_AMMO_DUAL_GO_EMPTYLEFT:

DEAD_CRITTER_END_GET_AMMO_DUAL_GO_GO:
	pause %matchwaitpause
	match DEAD_CRITTER_END_GET_AMMO_DUAL_GO_REEQUIPLEFT unload
	matchre DEAD_CRITTER_END_GET_AMMO_DUAL_GO_GO /%hitstow%/i
	matchre DEAD_CRITTER_END_GET_AMMO_DUAL_GO_REEQUIPLEFT /%failstowcall%/i
	match DEAD_CRITTER_END_GET_AMMO_DUAL_GO_REEQUIPLEFT You need a free hand
	matchre ERROR_STOW /%failstowfull%/i
	matchre ERROR_STOW /%failstowsize%/i
	matchre ERROR_STOW /%errorstow%/i
	match DEAD_CRITTER_END_GET_AMMO_DUAL_GO_GO ...wait
	match DEAD_CRITTER_END_GET_AMMO_DUAL_GO_GO You may only type ahead
	put stow %weapon_ammo_active
	matchwait

DEAD_CRITTER_END_GET_AMMO_DUAL_GO_REEQUIPLEFT:
	setvariable subreturnflagequipweaponlh DEAD_CRITTER_END_GET_AMMO_DUAL_GO_REEQUIPLEFT
	setvariable weapon_name_called %weapon_name_left_active
	goto SUB_EQUIP_WEAPON_CALLED_LEFTHAND
SUBRETURN_DEAD_CRITTER_END_GET_AMMO_DUAL_GO_REEQUIPLEFT:
	goto DEAD_CRITTER_END_END

DEAD_CRITTER_END_GET_AMMO_GO:
	pause %matchwaitpause
	match DEAD_CRITTER_END_END unload
	matchre DEAD_CRITTER_END_GET_AMMO_GO /%hitstow%/i
	matchre DEAD_CRITTER_END_END /%failstowcall%/i
	match DEAD_CRITTER_END_END You need a free hand
	matchre ERROR_STOW /%failstowfull%/i
	matchre ERROR_STOW /%failstowsize%/i
	matchre ERROR_STOW /%errorstow%/i
	match DEAD_CRITTER_END_GET_AMMO_GO ...wait
	match DEAD_CRITTER_END_GET_AMMO_GO You may only type ahead
	put stow %weapon_ammo_active
	matchwait

DEAD_CRITTER_END_END:
	goto ATTACK_START


#############################################################################
###########################    HEALTH SECTION    ############################
#############################################################################

#_______________________________________________________________________bleeding
BLEEDING:
	setvariable subreturnflagretreat BLEEDING
	goto SUB_RETREAT
SUBRETURN_BLEEDING:
	echo
	echo
	echo ******************************
	echo ***       WARNING          
	echo 
	echo ***       Bleeding         
	echo
	echo ******************************
	echo
	echo
	pause 3

BLEEDING_END:
	setvariable subreturnflag BLEEDING_END
	goto SUB_HEALTH_CHECK
SUBRETURN_BLEEDING_END:

#_______________________________________________________________________need health
NEED_HEALTH:
	setvariable subreturnflagretreat NEED_HEALTH
	goto SUB_RETREAT
SUBRETURN_NEED_HEALTH:
	echo
	echo
	echo ******************************
	echo ***       WARNING          
	echo
	echo ***       Need Health      
	echo
	echo ******************************
	echo
	echo

NEED_HEALTH_CHECKHEALTH:
	pause %matchwaitpause
	match BLEEDING bleed
	match NEED_HEALTH_END at full strength
	match NEED_HEALTH_END slightly battered
	match NEED_HEALTH_PAUSE somewhat battered
	match NEED_HEALTH_PAUSE battered
	match NEED_HEALTH_PAUSE beat up
	match NEED_HEALTH_PAUSE very beat up
	match NEED_HEALTH_PAUSE extremely beat up
	match NEED_HEALTH_PAUSE in bad shape
	match NEED_HEALTH_PAUSE in very bad shape
	match NEED_HEALTH_PAUSE in extremely bad shape
	match NEED_HEALTH_PAUSE at death's door
	match DEAD_CHARACTER You are a ghost
	match NEED_HEALTH_PAUSE You are stun
	match NEED_HEALTH_PAUSE you are still stunned
	match NEED_HEALTH_CHECKHEALTH ...wait
	match NEED_HEALTH_CHECKHEALTH You may only type ahead
	put health
	matchwait

NEED_HEALTH_PAUSE:
	pause 3
	goto NEED_HEALTH

#_______________________________________________________________________need rest
NEED_REST:
	setvariable subreturnflagretreat NEED_REST
	goto SUB_RETREAT
SUBRETURN_NEED_REST:
	echo
	echo
	echo ******************************
	echo
	echo ***       Need Rest        
	echo
	echo ******************************
	echo
	echo

NEED_REST_CHECKFATIGUE:
	pause %matchwaitpause
	match NEED_REST_PAUSE exhausted beyond reason
	match NEED_REST_PAUSE completely exhausted
	match NEED_REST_PAUSE on the verge of complete exhaustion
	match NEED_REST_PAUSE extremely fatigued
	match NEED_REST_PAUSE extremely tired
	match NEED_REST_PAUSE very fatigued
	match NEED_REST_PAUSE very tired
	match NEED_REST_PAUSE fatigued
	match NEED_REST_PAUSE tired
	match NEED_REST_PAUSE somewhat tired
	match NEED_REST_END slightly fatigued
	match NEED_REST_END completely rested
	match NEED_REST_CHECKFATIGUE ...wait
	match NEED_REST_CHECKFATIGUE You may only type ahead
	put fatigue
	matchwait

NEED_REST_PAUSE:
	pause 3
	goto NEED_REST

#_______________________________________________________________________need balance
NEED_BALANCE:
	setvariable subreturnflagretreat NEED_BALANCE
	goto SUB_RETREAT
SUBRETURN_NEED_BALANCE:
	echo
	echo
	echo ******************************
	echo
	echo ***     Need Balance       
	echo
	echo ******************************
	echo
	echo

NEED_BALANCE_CHECKBALANCE:
	pause %matchwaitpause
	match NEED_BALANCE_END incredibly balanced
	match NEED_BALANCE_END nimbly balanced
	match NEED_BALANCE_END solidly balanced
	match NEED_BALANCE_END slightly off balance
	match NEED_BALANCE_PAUSE somewhat off balance
	match NEED_BALANCE_PAUSE off balance
	match NEED_BALANCE_PAUSE badly balanced
	match NEED_BALANCE_PAUSE very badly balanced
	match NEED_BALANCE_PAUSE extremely imbalanced
	match NEED_BALANCE_CHECKBALANCE ...wait
	match NEED_BALANCE_CHECKBALANCE You may only type ahead
	put balance
	matchwait

NEED_BALANCE_PAUSE:
	pause 3
	goto NEED_BALANCE

NEED_HEALTH_END:
NEED_REST_END:
NEED_BALANCE_END:

NEED_HEALTH_END_DUAL_CHECK:
		goto NEED_HEALTH_END_DUAL_CHECK_%weapon_type_active
	NEED_HEALTH_END_DUAL_CHECK_MELEE:
		goto NEED_HEALTH_END_END
	NEED_HEALTH_END_DUAL_CHECK_RANGED:
		goto NEED_HEALTH_END_END
	NEED_HEALTH_END_DUAL_CHECK_THROWN:
		goto NEED_HEALTH_END_END
	NEED_HEALTH_END_DUAL_CHECK_DUAL:
		goto NEED_HEALTH_END_DUAL_RANGED_CHECK
	NEED_HEALTH_END_DUAL_CHECK_NOWEAP:
		goto NEED_HEALTH_END_END
	NEED_HEALTH_END_DUAL_CHECK_MELEENOWEAP:
		goto NEED_HEALTH_END_END

NEED_HEALTH_END_DUAL_RANGED_CHECK:
		goto NEED_HEALTH_END_DUAL_RANGED_CHECK_%weapon_type_right_active
	NEED_HEALTH_END_DUAL_RANGED_CHECK_MELEE:
		goto NEED_HEALTH_END_END
	NEED_HEALTH_END_DUAL_RANGED_CHECK_RANGED:
		goto NEED_HEALTH_END_DUAL_RANGED_REEQUIP_LH
	NEED_HEALTH_END_DUAL_RANGED_CHECK_THROWN:
		goto NEED_HEALTH_END_END

NEED_HEALTH_END_DUAL_RANGED_REEQUIP_LH:

NEED_HEALTH_END_DUAL_RANGED_REEQUIP_LH_EMPTY:
	setvariable subreturnflagemptylefthand NEED_HEALTH_END_DUAL_RANGED_REEQUIP_LH_EMPTY
	goto SUB_EMPTY_LEFTHAND
SUBRETURN_NEED_HEALTH_END_DUAL_RANGED_REEQUIP_LH_EMPTY:

NEED_HEALTH_END_DUAL_RANGED_REEQUIP_LH_GO:
	setvariable subreturnflagequipweaponlh NEED_HEALTH_END_DUAL_RANGED_REEQUIP_LH_GO
	setvariable weapon_name_called %weapon_name_left_active
	goto SUB_EQUIP_WEAPON_CALLED_LEFTHAND
SUBRETURN_NEED_HEALTH_END_DUAL_RANGED_REEQUIP_LH_GO:

NEED_HEALTH_END_END:
	goto ATTACK_START

#_______________________________________________________________________strange
STRANGE:
STRANGE_START:
	setvariable subreturnflagretreat STRANGE_START
	goto SUB_RETREAT
SUBRETURN_STRANGE_START:
	echo
	echo
	echo ******************************
	echo
	echo ***       ATTENTION        
	echo ***   Something's Strange  
	echo
	echo
	echo *** stunned, mesmerized, etc
	echo
	echo ***    checking health     
	echo
	echo ******************************
	echo
	echo

STRANGE_HEALTHCHECK:
	setvariable subreturnflag STRANGE_HEALTHCHECK
	goto SUB_HEALTH_CHECK
SUBRETURN_STRANGE_HEALTHCHECK:

STRANGE_END:
	goto ATTACK_START

#_______________________________________________________________________dead character
DEAD_CHARACTER:

	echo
	echo
	echo ******************************
	echo ***       WARNING          
	echo
	echo ***     YOU are DEAD!      
	echo
	echo ******************************
	echo
	echo
	pause 1
	goto END_SCRIPT


#############################################################################
###########################    ARMAMENT SWITCH SECTION    ###################
#############################################################################

#_______________________________________________________________________switch arms
ARMAMENT_SWITCH:
ARMAMENT_SWITCH_START:

ARMAMENT_SWITCH_TEST:
		goto ARMAMENT_SWITCH_TEST_%mendhunt_weapon_style_multi_test
	ARMAMENT_SWITCH_TEST_ON:
		goto ARMAMENT_SWITCH_TEST_GO
	ARMAMENT_SWITCH_TEST_OFF:
		goto ARMAMENT_SWITCH_END

ARMAMENT_SWITCH_TEST_GO:

ARMAMENT_SWITCH_TEST_FORCE_TEST:
		goto ARMAMENT_SWITCH_TEST_FORCE_TEST_%mendhunt_force_weapon_switch_test
	ARMAMENT_SWITCH_TEST_FORCE_TEST_ON:
		goto ARMAMENT_SWITCH_TEST_FORCE_LOOP
	ARMAMENT_SWITCH_TEST_FORCE_TEST_OFF:
		goto ARMAMENT_SWITCH_TEST_FORCE_LOOP_END

ARMAMENT_SWITCH_TEST_FORCE_LOOP:
		counter set %weaponswitchforceflag
		counter add 1
		setvariable weaponswitchforceflag %c
		goto ARMAMENT_SWITCH_TEST_FORCE_LOOP_%weaponswitchforceflag
	ARMAMENT_SWITCH_TEST_FORCE_LOOP_1:
		goto ARMAMENT_SWITCH_TEST_FORCE_LOOP_END
	ARMAMENT_SWITCH_TEST_FORCE_LOOP_2:
		goto ARMAMENT_SWITCH_TEST_FORCE_LOOP_END
	ARMAMENT_SWITCH_TEST_FORCE_LOOP_3:
		goto ARMAMENT_SWITCH_TEST_FORCE_LOOP_END
	ARMAMENT_SWITCH_TEST_FORCE_LOOP_4:
		goto ARMAMENT_SWITCH_TEST_FORCE_LOOP_END
	ARMAMENT_SWITCH_TEST_FORCE_LOOP_5:
		goto ARMAMENT_SWITCH_TEST_FORCE_LOOP_END
	ARMAMENT_SWITCH_TEST_FORCE_LOOP_6:
		goto ARMAMENT_SWITCH_TEST_FORCE_LOOP_END
	ARMAMENT_SWITCH_TEST_FORCE_LOOP_7:
		goto ARMAMENT_SWITCH_TEST_FORCE_LOOP_END
	ARMAMENT_SWITCH_TEST_FORCE_LOOP_8:
		goto ARMAMENT_SWITCH_TEST_FORCE_LOOP_END
	ARMAMENT_SWITCH_TEST_FORCE_LOOP_9:
		goto ARMAMENT_SWITCH_TEST_FORCE_LOOP_END
	ARMAMENT_SWITCH_TEST_FORCE_LOOP_10:
		goto ARMAMENT_SWITCH_TEST_FORCE_LOOP_END
	ARMAMENT_SWITCH_TEST_FORCE_LOOP_11:
		goto ARMAMENT_SWITCH_TEST_FORCE_LOOP_END
	ARMAMENT_SWITCH_TEST_FORCE_LOOP_12:
		goto ARMAMENT_SWITCH_TEST_FORCE_LOOP_END
	ARMAMENT_SWITCH_TEST_FORCE_LOOP_13:
		goto ARMAMENT_SWITCH_TEST_FORCE_LOOP_END
	ARMAMENT_SWITCH_TEST_FORCE_LOOP_14:
		goto ARMAMENT_SWITCH_TEST_FORCE_LOOP_END
	ARMAMENT_SWITCH_TEST_FORCE_LOOP_15:
		goto ARMAMENT_SWITCH_TEST_FORCE_LOOP_END
	ARMAMENT_SWITCH_TEST_FORCE_LOOP_16:
		echo
		echo *** Forcing weapon switch
		echo
		goto ARMAMENT_SWITCH_PROCEED

ARMAMENT_SWITCH_TEST_FORCE_LOOP_END:

ARMAMENT_SWITCH_TEST_STAFFSLING_CHECK:
		goto ARMAMENT_SWITCH_TEST_STAFFSLING_CHECK_%weapon_class_active
	ARMAMENT_SWITCH_TEST_STAFFSLING_CHECK_LE:
		goto ARMAMENT_SWITCH_MENTALCHECK
	ARMAMENT_SWITCH_TEST_STAFFSLING_CHECK_ME:
		goto ARMAMENT_SWITCH_MENTALCHECK
	ARMAMENT_SWITCH_TEST_STAFFSLING_CHECK_HE:
		goto ARMAMENT_SWITCH_MENTALCHECK
	ARMAMENT_SWITCH_TEST_STAFFSLING_CHECK_2HE:
		goto ARMAMENT_SWITCH_MENTALCHECK
	ARMAMENT_SWITCH_TEST_STAFFSLING_CHECK_LB:
		goto ARMAMENT_SWITCH_MENTALCHECK
	ARMAMENT_SWITCH_TEST_STAFFSLING_CHECK_MB:
		goto ARMAMENT_SWITCH_MENTALCHECK
	ARMAMENT_SWITCH_TEST_STAFFSLING_CHECK_HB:
		goto ARMAMENT_SWITCH_MENTALCHECK
	ARMAMENT_SWITCH_TEST_STAFFSLING_CHECK_2HB:
		goto ARMAMENT_SWITCH_MENTALCHECK
	ARMAMENT_SWITCH_TEST_STAFFSLING_CHECK_SL:
		goto ARMAMENT_SWITCH_MENTALCHECK
	ARMAMENT_SWITCH_TEST_STAFFSLING_CHECK_STAFFSLING:
		goto ARMAMENT_SWITCH_MENTALCHECK_STAFFSLING
	ARMAMENT_SWITCH_TEST_STAFFSLING_CHECK_SB:
		goto ARMAMENT_SWITCH_MENTALCHECK
	ARMAMENT_SWITCH_TEST_STAFFSLING_CHECK_LOB:
		goto ARMAMENT_SWITCH_MENTALCHECK
	ARMAMENT_SWITCH_TEST_STAFFSLING_CHECK_CB:
		goto ARMAMENT_SWITCH_MENTALCHECK
	ARMAMENT_SWITCH_TEST_STAFFSLING_CHECK_LX:
		goto ARMAMENT_SWITCH_MENTALCHECK
	ARMAMENT_SWITCH_TEST_STAFFSLING_CHECK_HX:
		goto ARMAMENT_SWITCH_MENTALCHECK
	ARMAMENT_SWITCH_TEST_STAFFSLING_CHECK_SS:
		goto ARMAMENT_SWITCH_MENTALCHECK
	ARMAMENT_SWITCH_TEST_STAFFSLING_CHECK_QS:
		goto ARMAMENT_SWITCH_MENTALCHECK
	ARMAMENT_SWITCH_TEST_STAFFSLING_CHECK_PI:
		goto ARMAMENT_SWITCH_MENTALCHECK
	ARMAMENT_SWITCH_TEST_STAFFSLING_CHECK_HAL:
		goto ARMAMENT_SWITCH_MENTALCHECK
	ARMAMENT_SWITCH_TEST_STAFFSLING_CHECK_LT:
		goto ARMAMENT_SWITCH_MENTALCHECK
	ARMAMENT_SWITCH_TEST_STAFFSLING_CHECK_HT:
		goto ARMAMENT_SWITCH_MENTALCHECK
	ARMAMENT_SWITCH_TEST_STAFFSLING_CHECK_BR:
		goto ARMAMENT_SWITCH_MENTALCHECK
	ARMAMENT_SWITCH_TEST_STAFFSLING_CHECK_OW:
		goto ARMAMENT_SWITCH_MENTALCHECK

ARMAMENT_SWITCH_MENTALCHECK_STAFFSLING:
	setvariable subreturnflag ARMAMENT_SWITCH_MENTALCHECK
	setvariable skillclass staff sling
	goto SUB_MENTAL_CHECK
SUBRETURN_ARMAMENT_SWITCH_MENTALCHECK:
	goto ARMAMENT_SWITCH_MENTALCHECK_TEST

ARMAMENT_SWITCH_MENTALCHECK:
	setvariable subreturnflag ARMAMENT_SWITCH_MENTALCHECK
	setvariable skillclass %weapon_class_active
	goto SUB_MENTAL_CHECK
SUBRETURN_ARMAMENT_SWITCH_MENTALCHECK:

ARMAMENT_SWITCH_MENTALCHECK_TEST:
		goto ARMAMENT_SWITCH_MENTALCHECK_TEST_%skillmental
	ARMAMENT_SWITCH_MENTALCHECK_TEST_FULL:
		goto ARMAMENT_SWITCH_PROCEED
	ARMAMENT_SWITCH_MENTALCHECK_TEST_NOTFULL:
		goto ARMAMENT_SWITCH_MENTALCHECK_OK

ARMAMENT_SWITCH_MENTALCHECK_OK:
	goto ARMAMENT_SWITCH_END

ARMAMENT_SWITCH_PROCEED:
	setvariable weaponswitchforceflag 0

ARMAMENT_SWITCH_RETREAT:
	setvariable subreturnflagretreat ARMAMENT_SWITCH_RETREAT
	goto SUB_RETREAT
SUBRETURN_ARMAMENT_SWITCH_RETREAT:

ARMAMENT_SWITCH_PROCEED_SETSWITCHNUM:

	counter set %switchnum
	counter add 1
	setvariable switchnum %c

	goto ARMAMENT_SWITCH_PROCEED_SETSWITCHNUM_%c
		ARMAMENT_SWITCH_PROCEED_SETSWITCHNUM_1:
			goto ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF
		ARMAMENT_SWITCH_PROCEED_SETSWITCHNUM_2:
			goto ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF
		ARMAMENT_SWITCH_PROCEED_SETSWITCHNUM_3:
			goto ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF
		ARMAMENT_SWITCH_PROCEED_SETSWITCHNUM_4:
			goto ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF
		ARMAMENT_SWITCH_PROCEED_SETSWITCHNUM_5:
			goto ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF
		ARMAMENT_SWITCH_PROCEED_SETSWITCHNUM_6:
			goto ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF
		ARMAMENT_SWITCH_PROCEED_SETSWITCHNUM_7:
			setvariable switchnum 1
			goto ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF

ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF:
	goto ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_%switchnum

		ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_1:
				goto ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_1_%mendhunt_weapon_class_1
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_1_SlotOFF:
			goto ARMAMENT_SWITCH_PROCEED_SETSWITCHNUM
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_1_LE:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_1_ME:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_1_HE:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_1_2HE:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_1_LB:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_1_MB:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_1_HB:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_1_2HB:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_1_SL:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_1_STAFFSLING:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_1_SB:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_1_LOB:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_1_CB:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_1_LX:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_1_HX:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_1_SS:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_1_QS:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_1_PI:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_1_HAL:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_1_LT:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_1_HT:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_1_BR:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_1_OW:
			goto ARMAMENT_SWITCH_PROCEED_GO

		ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_2:
				goto ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_2_%mendhunt_weapon_class_2
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_2_SlotOFF:
			goto ARMAMENT_SWITCH_PROCEED_SETSWITCHNUM
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_2_LE:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_2_ME:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_2_HE:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_2_2HE:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_2_LB:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_2_MB:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_2_HB:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_2_2HB:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_2_SL:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_2_STAFFSLING:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_2_SB:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_2_LOB:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_2_CB:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_2_LX:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_2_HX:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_2_SS:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_2_QS:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_2_PI:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_2_HAL:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_2_LT:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_2_HT:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_2_BR:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_2_OW:
			goto ARMAMENT_SWITCH_PROCEED_GO

		ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_3:
				goto ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_3_%mendhunt_weapon_class_3
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_3_SlotOFF:
			goto ARMAMENT_SWITCH_PROCEED_SETSWITCHNUM
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_3_LE:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_3_ME:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_3_HE:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_3_2HE:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_3_LB:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_3_MB:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_3_HB:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_3_2HB:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_3_SL:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_3_STAFFSLING:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_3_SB:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_3_LOB:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_3_CB:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_3_LX:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_3_HX:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_3_SS:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_3_QS:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_3_PI:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_3_HAL:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_3_LT:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_3_HT:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_3_BR:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_3_OW:
			goto ARMAMENT_SWITCH_PROCEED_GO

		ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_4:
				goto ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_4_%mendhunt_weapon_class_4
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_4_SlotOFF:
			goto ARMAMENT_SWITCH_PROCEED_SETSWITCHNUM
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_4_LE:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_4_ME:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_4_HE:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_4_2HE:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_4_LB:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_4_MB:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_4_HB:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_4_2HB:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_4_SL:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_4_STAFFSLING:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_4_SB:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_4_LOB:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_4_CB:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_4_LX:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_4_HX:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_4_SS:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_4_QS:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_4_PI:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_4_HAL:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_4_LT:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_4_HT:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_4_BR:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_4_OW:
			goto ARMAMENT_SWITCH_PROCEED_GO

		ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_5:
				goto ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_5_%mendhunt_weapon_class_5
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_5_SlotOFF:
			goto ARMAMENT_SWITCH_PROCEED_SETSWITCHNUM
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_5_LE:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_5_ME:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_5_HE:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_5_2HE:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_5_LB:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_5_MB:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_5_HB:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_5_2HB:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_5_SL:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_5_STAFFSLING:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_5_SB:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_5_LOB:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_5_CB:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_5_LX:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_5_HX:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_5_SS:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_5_QS:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_5_PI:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_5_HAL:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_5_LT:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_5_HT:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_5_BR:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_5_OW:
			goto ARMAMENT_SWITCH_PROCEED_GO

		ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_6:
				goto ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_6_%mendhunt_weapon_class_6
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_6_SlotOFF:
			goto ARMAMENT_SWITCH_PROCEED_SETSWITCHNUM
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_6_LE:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_6_ME:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_6_HE:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_6_2HE:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_6_LB:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_6_MB:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_6_HB:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_6_2HB:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_6_SL:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_6_STAFFSLING:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_6_SB:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_6_LOB:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_6_CB:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_6_LX:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_6_HX:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_6_SS:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_6_QS:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_6_PI:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_6_HAL:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_6_LT:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_6_HT:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_6_BR:
			goto ARMAMENT_SWITCH_PROCEED_GO
			ARMAMENT_SWITCH_PROCEED_CHECKSLOTOFF_6_OW:
			goto ARMAMENT_SWITCH_PROCEED_GO

ARMAMENT_SWITCH_PROCEED_GO:

ARMAMENT_SWITCH_PROCEED_GO_INITIALIZE_WEAPON_ACTIVE:
	setvariable subreturnflag ARMAMENT_SWITCH_PROCEED_GO_INITIALIZE_WEAPON_ACTIVE
	goto INITIALIZE_WEAPON_ACTIVE
SUBRETURN_ARMAMENT_SWITCH_PROCEED_GO_INITIALIZE_WEAPON_ACTIVE:

ARMAMENT_SWITCH_PROCEED_GO_EQUIP_ARMS_ACTIVE:
	setvariable subreturnflagequiparms ARMAMENT_SWITCH_PROCEED_GO_EQUIP_ARMS_ACTIVE
	goto SUB_EQUIP_ARMS_ACTIVE
SUBRETURN_ARMAMENT_SWITCH_PROCEED_GO_EQUIP_ARMS_ACTIVE:

ARMAMENT_SWITCH_END:
	goto ARMAMENT_SWITCH_RETURN


#############################################################################
###########################    ARMOR SWITCH SECTION    ######################
#############################################################################

#_______________________________________________________________________switch armor start
ARMOR_SWITCH:
ARMOR_SWITCH_START:

ARMOR_SWITCH_TEST:
		goto ARMOR_SWITCH_TEST_%mendhunt_armor_switch_test
	ARMOR_SWITCH_TEST_ON:
		goto ARMOR_SWITCH_TEST_FORCE_TEST
	ARMOR_SWITCH_TEST_OFF:
		goto ARMOR_SWITCH_END

ARMOR_SWITCH_TEST_FORCE_TEST:
		goto ARMOR_SWITCH_TEST_FORCE_TEST_%mendhunt_force_armor_switch_test
	ARMOR_SWITCH_TEST_FORCE_TEST_ON:
		goto ARMOR_SWITCH_TEST_FORCE_LOOP
	ARMOR_SWITCH_TEST_FORCE_TEST_OFF:
		goto ARMOR_SWITCH_TEST_FORCE_LOOP_END

ARMOR_SWITCH_TEST_FORCE_LOOP:
		counter set %armorswitchforceflag
		counter add 1
		setvariable armorswitchforceflag %c
		goto ARMOR_SWITCH_TEST_FORCE_LOOP_%armorswitchforceflag
	ARMOR_SWITCH_TEST_FORCE_LOOP_1:
		goto ARMOR_SWITCH_TEST_FORCE_LOOP_END
	ARMOR_SWITCH_TEST_FORCE_LOOP_2:
		goto ARMOR_SWITCH_TEST_FORCE_LOOP_END
	ARMOR_SWITCH_TEST_FORCE_LOOP_3:
		goto ARMOR_SWITCH_TEST_FORCE_LOOP_END
	ARMOR_SWITCH_TEST_FORCE_LOOP_4:
		goto ARMOR_SWITCH_TEST_FORCE_LOOP_END
	ARMOR_SWITCH_TEST_FORCE_LOOP_5:
		goto ARMOR_SWITCH_TEST_FORCE_LOOP_END
	ARMOR_SWITCH_TEST_FORCE_LOOP_6:
		goto ARMOR_SWITCH_TEST_FORCE_LOOP_END
	ARMOR_SWITCH_TEST_FORCE_LOOP_7:
		goto ARMOR_SWITCH_TEST_FORCE_LOOP_END
	ARMOR_SWITCH_TEST_FORCE_LOOP_8:
		goto ARMOR_SWITCH_TEST_FORCE_LOOP_END
	ARMOR_SWITCH_TEST_FORCE_LOOP_9:
		goto ARMOR_SWITCH_TEST_FORCE_LOOP_END
	ARMOR_SWITCH_TEST_FORCE_LOOP_10:
		goto ARMOR_SWITCH_TEST_FORCE_LOOP_END
	ARMOR_SWITCH_TEST_FORCE_LOOP_11:
		goto ARMOR_SWITCH_TEST_FORCE_LOOP_END
	ARMOR_SWITCH_TEST_FORCE_LOOP_12:
		goto ARMOR_SWITCH_TEST_FORCE_LOOP_END
	ARMOR_SWITCH_TEST_FORCE_LOOP_13:
		goto ARMOR_SWITCH_TEST_FORCE_LOOP_END
	ARMOR_SWITCH_TEST_FORCE_LOOP_14:
		goto ARMOR_SWITCH_TEST_FORCE_LOOP_END
	ARMOR_SWITCH_TEST_FORCE_LOOP_15:
		goto ARMOR_SWITCH_TEST_FORCE_LOOP_END
	ARMOR_SWITCH_TEST_FORCE_LOOP_16:
		echo
		echo *** Forcing armor switch
		echo
		goto ARMOR_SWITCH_PROCEED

ARMOR_SWITCH_TEST_FORCE_LOOP_END:

ARMOR_SWITCH_MENTALCHECK:
	setvariable subreturnflag ARMOR_SWITCH_MENTALCHECK
	setvariable skillclass %armor_class_active
	goto SUB_MENTAL_CHECK
SUBRETURN_ARMOR_SWITCH_MENTALCHECK:

ARMOR_SWITCH_MENTALCHECK_TEST:
		goto ARMOR_SWITCH_MENTALCHECK_TEST_%skillmental
	ARMOR_SWITCH_MENTALCHECK_TEST_FULL:
		goto ARMOR_SWITCH_MENTALCHECK_FULL
	ARMOR_SWITCH_MENTALCHECK_TEST_NOTFULL:
		goto ARMOR_SWITCH_SKIP

ARMOR_SWITCH_MENTALCHECK_FULL:

ARMOR_SWITCH_PROCEED:
	setvariable armorswitchforceflag 0

ARMOR_SWITCH_RETREAT:
	setvariable subreturnflagretreat ARMOR_SWITCH_RETREAT
	goto SUB_RETREAT
SUBRETURN_ARMOR_SWITCH_RETREAT:

#___________________________________________________________________empty hands
ARMOR_SWITCH_EMPTYHANDS:
	setvariable subreturnflagemptyhands ARMOR_SWITCH_EMPTYHANDS
	goto SUB_EMPTY_HANDS
SUBRETURN_ARMOR_SWITCH_EMPTYHANDS:

#____________________________________________________________________switch armors-remove
ARMOR_SWITCH_REMOVE_ACTIVE:
	pause %matchwaitpause
	matchre ARMOR_SWITCH_STOW_ACTIVE /%hitremove%/i
	matchre ERROR_ARMOR_SWITCH_REMOVE_ACTIVE /%failremove%/i
	match ARMOR_SWITCH_REMOVE_ACTIVE ...wait
	match ARMOR_SWITCH_REMOVE_ACTIVE You may only type ahead
	put remove my %armor_name_active
	matchwait

ERROR_ARMOR_SWITCH_REMOVE_ACTIVE:
	echo
	echo *************************************************************
	echo
	echo *** WARNING armor switch error - remove active fail
	echo
	echo Check armor setup
	echo
	echo Exiting script
	echo
	echo *************************************************************
	echo
	goto ERROR_ARMOR
#____________________________________________________________________switch armors-stow
ARMOR_SWITCH_STOW_ACTIVE:
	pause %matchwaitpause
	matchre ARMOR_SWITCH_GET_NEW /%hitstow%/i
	matchre ERROR_ARMOR_SWITCH_STOW_ACTIVE /%failstowcall%/i
	matchre ERROR_ARMOR_SWITCH_STOW_ACTIVE /%failstowfull%/i
	matchre ERROR_ARMOR_SWITCH_STOW_ACTIVE /%failstowsize%/i
	matchre ERROR_ARMOR_SWITCH_STOW_ACTIVE /%errorstow%/i
	match ARMOR_SWITCH_STOW_ACTIVE ...wait
	match ARMOR_SWITCH_STOW_ACTIVE You may only type ahead
	put stow my %armor_name_active
	matchwait

ERROR_ARMOR_SWITCH_STOW_ACTIVE:
	echo
	echo *************************************************************
	echo
	echo *** WARNING armor switch error - stow fail
	echo
	echo Check stow container and/or armor setup
	echo
	echo Exiting script
	echo
	echo *************************************************************
	echo
	pause 1
ERROR_ARMOR_SWITCH_STOW_ACTIVE_GO:
	setvariable subreturnflagnp3 ERROR_ARMOR_SWITCH_STOW_ACTIVE_GO
	setvariable nakedput1 wear
	setvariable nakedput2 my
	setvariable nakedput3 %armor_name_active
	goto SUB_NAKED_PUT3
SUBRETURN_ERROR_ARMOR_SWITCH_STOW_ACTIVE_GO:
	goto ERROR_ARMOR
#____________________________________________________________________switch armors-get
ARMOR_SWITCH_GET_NEW:
	pause %matchwaitpause
	match ARMOR_SWITCH_WEAR_NEW You get
	matchre ERROR_ARMOR_SWITCH_GET_NEW /%failget%/i
	match ARMOR_SWITCH_GET_NEW ...wait
	match ARMOR_SWITCH_GET_NEW You may only type ahead
	put get my %armor_name_deactive
	matchwait

ERROR_ARMOR_SWITCH_GET_NEW:
	echo
	echo *************************************************************
	echo
	echo *** WARNING armor switch error - get deactive fail
	echo
	echo Check armor setup
	echo
	echo Exiting script
	echo
	echo *************************************************************
	echo
	pause 1
ERROR_ARMOR_SWITCH_GET_NEW_GET:
	setvariable subreturnflagnp3 ERROR_ARMOR_SWITCH_GET_NEW_GET
	setvariable nakedput1 get
	setvariable nakedput2 my
	setvariable nakedput3 %armor_name_active
	goto SUB_NAKED_PUT3
SUBRETURN_ERROR_ARMOR_SWITCH_GET_NEW_GET:

ERROR_ARMOR_SWITCH_GET_NEW_WEAR:
	setvariable subreturnflagnp3 ERROR_ARMOR_SWITCH_GET_NEW_WEAR
	setvariable nakedput1 wear
	setvariable nakedput2 my
	setvariable nakedput3 %armor_name_active
	goto SUB_NAKED_PUT3
SUBRETURN_ERROR_ARMOR_SWITCH_GET_NEW_WEAR:
	goto ERROR_ARMOR
#____________________________________________________________________switch armors-wear
ARMOR_SWITCH_WEAR_NEW:
	pause %matchwaitpause
	matchre ARMOR_SWITCH_VARB_RESET /%hitwear%/i
	matchre ERROR_ARMOR_SWITCH_WEAR_NEW /%failwear%/i
	match ARMOR_SWITCH_WEAR_NEW ...wait
	match ARMOR_SWITCH_WEAR_NEW You may only type ahead
	put wear my %armor_name_deactive
	matchwait

ERROR_ARMOR_SWITCH_WEAR_NEW:
	echo
	echo *************************************************************
	echo
	echo *** WARNING armor switch error - wear deactive fail
	echo
	echo Check armor setup
	echo
	echo Exiting script
	echo
	echo *************************************************************
	echo
	pause 1
ERROR_ARMOR_SWITCH_WEAR_NEW_STOW:
	setvariable subreturnflagnp3 ERROR_ARMOR_SWITCH_WEAR_NEW_STOW
	setvariable nakedput1 stow
	setvariable nakedput2 my
	setvariable nakedput3 %armor_name_deactive
	goto SUB_NAKED_PUT3
SUBRETURN_ERROR_ARMOR_SWITCH_WEAR_NEW_STOW:

ERROR_ARMOR_SWITCH_WEAR_NEW_GET:
	setvariable subreturnflagnp3 ERROR_ARMOR_SWITCH_WEAR_NEW_GET
	setvariable nakedput1 get
	setvariable nakedput2 my
	setvariable nakedput3 %armor_name_active
	goto SUB_NAKED_PUT3
SUBRETURN_ERROR_ARMOR_SWITCH_WEAR_NEW_GET:

ERROR_ARMOR_SWITCH_WEAR_NEW_WEAR:
	setvariable subreturnflagnp3 ERROR_ARMOR_SWITCH_WEAR_NEW_WEAR
	setvariable nakedput1 wear
	setvariable nakedput2 my
	setvariable nakedput3 %armor_name_active
	goto SUB_NAKED_PUT3
SUBRETURN_ERROR_ARMOR_SWITCH_WEAR_NEW_WEAR:
	goto ERROR_ARMOR

#____________________________________________________________________reset variables
ARMOR_SWITCH_VARB_RESET:
	setvariable armor_name_temp %armor_name_active
	setvariable armor_class_temp %armor_class_active
	setvariable armor_name_active %armor_name_deactive
	setvariable armor_class_active %armor_class_deactive
	setvariable armor_name_deactive %armor_name_temp
	setvariable armor_class_deactive %armor_class_temp

#____________________________________________________________________reequip arms 
ARMOR_SWITCH_REEQUIP:

ARMOR_SWITCH_REEQUIP_RETREAT:
	setvariable subreturnflagretreat ARMOR_SWITCH_REEQUIP_RETREAT
	goto SUB_RETREAT
SUBRETURN_ARMOR_SWITCH_REEQUIP_RETREAT:

ARMOR_SWITCH_REEQUIP_VERIFY_HANDS:
	setvariable subreturnflagemptyhands ARMOR_SWITCH_REEQUIP_VERIFY_HANDS
	goto SUB_EMPTY_HANDS
SUBRETURN_ARMOR_SWITCH_REEQUIP_VERIFY_HANDS:

ARMOR_SWITCH_REEQUIP_DUAL_TEST:
		goto ARMOR_SWITCH_REEQUIP_DUAL_TEST_%weapon_type_active
	ARMOR_SWITCH_REEQUIP_DUAL_TEST_MELEE:
		goto ARMOR_SWITCH_REEQUIP_WEAPON_ACTIVE_NORMAL
	ARMOR_SWITCH_REEQUIP_DUAL_TEST_RANGED:
		goto ARMOR_SWITCH_REEQUIP_WEAPON_ACTIVE_NORMAL
	ARMOR_SWITCH_REEQUIP_DUAL_TEST_THROWN:
		goto ARMOR_SWITCH_REEQUIP_WEAPON_ACTIVE_NORMAL
	ARMOR_SWITCH_REEQUIP_DUAL_TEST_DUAL:
		goto ARMOR_SWITCH_REEQUIP_WEAPON_ACTIVE_DUAL
	ARMOR_SWITCH_REEQUIP_DUAL_TEST_NOWEAP:
		goto ARMOR_SWITCH_REEQUIP_SHIELD_TEST
	ARMOR_SWITCH_REEQUIP_DUAL_TEST_MELEENOWEAP:
		goto ARMOR_SWITCH_REEQUIP_SHIELD_TEST

ARMOR_SWITCH_REEQUIP_WEAPON_ACTIVE_DUAL:

ARMOR_SWITCH_REEQUIP_WEAPON_ACTIVE_DUAL_RH:
	setvariable subreturnflagequipweaponrh ARMOR_SWITCH_REEQUIP_WEAPON_ACTIVE_DUAL_RH
	setvariable weapon_name_called %weapon_name_right_active
	goto SUB_EQUIP_WEAPON_CALLED_RIGHTHAND
SUBRETURN_ARMOR_SWITCH_REEQUIP_WEAPON_ACTIVE_DUAL_RH:

ARMOR_SWITCH_REEQUIP_WEAPON_ACTIVE_DUAL_LH:
	setvariable subreturnflagequipweaponlh ARMOR_SWITCH_REEQUIP_WEAPON_ACTIVE_DUAL_LH
	setvariable weapon_name_called %weapon_name_left_active
	goto SUB_EQUIP_WEAPON_CALLED_LEFTHAND
SUBRETURN_ARMOR_SWITCH_REEQUIP_WEAPON_ACTIVE_DUAL_LH:

	goto ARMOR_SWITCH_REEQUIP_END

ARMOR_SWITCH_REEQUIP_WEAPON_ACTIVE_NORMAL:

ARMOR_SWITCH_REEQUIP_WEAPON_ACTIVE:
	setvariable subreturnflagequipweaponrh ARMOR_SWITCH_REEQUIP_WEAPON_ACTIVE
	setvariable weapon_name_called %weapon_name_active
	goto SUB_EQUIP_WEAPON_CALLED_RIGHTHAND
SUBRETURN_ARMOR_SWITCH_REEQUIP_WEAPON_ACTIVE:

ARMOR_SWITCH_REEQUIP_SHIELD_TEST:
		goto ARMOR_SWITCH_REEQUIP_SHIELD_TEST_%shield_use_active
	ARMOR_SWITCH_REEQUIP_SHIELD_TEST_OFF:
		goto ARMOR_SWITCH_REEQUIP_SHIELD_HANDHELD_GRANITE_TEST
	ARMOR_SWITCH_REEQUIP_SHIELD_TEST_ARMWORN:
		goto ARMOR_SWITCH_REEQUIP_END
	ARMOR_SWITCH_REEQUIP_SHIELD_TEST_HANDHELD:
		goto ARMOR_SWITCH_REEQUIP_SHIELD

ARMOR_SWITCH_REEQUIP_SHIELD_HANDHELD_GRANITE_TEST:
		goto ARMOR_SWITCH_REEQUIP_SHIELD_HANDHELD_GRANITE_TEST_%mendhunt_aeg_master_test
	ARMOR_SWITCH_REEQUIP_SHIELD_HANDHELD_GRANITE_TEST_ON:
		goto ARMOR_SWITCH_REEQUIP_SHIELD
	ARMOR_SWITCH_REEQUIP_SHIELD_HANDHELD_GRANITE_TEST_OFF:
		goto ARMOR_SWITCH_REEQUIP_END

ARMOR_SWITCH_REEQUIP_SHIELD:
	setvariable subreturnflagequipshield ARMOR_SWITCH_REEQUIP_SHIELD
	setvariable shield_name_called %shield_name_active
	setvariable shield_use_called %shield_use_active
	goto SUB_EQUIP_SHIELD
SUBRETURN_ARMOR_SWITCH_REEQUIP_SHIELD:

ARMOR_SWITCH_REEQUIP_END:

ARMOR_SWITCH_COMPLETED_MESSAGE:
	echo
	echo *** Armor switched to %armor_name_active
	echo
	setvariable ysfullcastflag NO
	goto ARMOR_SWITCH_END

ARMOR_SWITCH_SKIP:

ARMOR_SWITCH_END:
	goto ARMOR_SWITCH_RETURN


#############################################################################
###########################    MIND STATE SECTION    ########################
#############################################################################

#_______________________________________________________________________check mind state
MINDSTATE_START:

MINDSTATE_TEST:
		goto MINDSTATE_TEST_%mendhunt_mindstate_test
	MINDSTATE_TEST_ON:
		goto MINDSTATE_TEST_GO
	MINDSTATE_TEST_OFF:
		goto MINDSTATE_END

MINDSTATE_TEST_GO:
	pause %matchwaitpause
	match MINDSTATE_AWAKE EXP HELP
	match MINDSTATE_AWAKE Overall state of mind: Clear
	match MINDSTATE_AWAKE Overall state of mind: Fluid
	match MINDSTATE_SLEEP Overall state of mind: Murky
	match MINDSTATE_SLEEP Overall state of mind: Very Murky
	match MINDSTATE_SLEEP Overall state of mind: Thick
	match MINDSTATE_SLEEP Overall state of mind: Very Thick
	match MINDSTATE_SLEEP Overall state of mind: Dense
	match MINDSTATE_SLEEP Overall state of mind: Very Dense
	match MINDSTATE_SLEEP Overall state of mind: Stagnant
	match MINDSTATE_SLEEP Overall state of mind: Very Stagnant
	match MINDSTATE_SLEEP Overall state of mind: Frozen
	match MINDSTATE_SLEEP Overall state of mind: Very Frozen
	matchre STRANGE /%failcombat%/i
	match DEAD_CHARACTER You are a ghost
	match MINDSTATE_TEST_GO ...wait
	match MINDSTATE_TEST_GO You may only type ahead
	put exp
	matchwait

MINDSTATE_AWAKE:
		goto MINDSTATE_AWAKE_%flagmindstate
	MINDSTATE_AWAKE_AWAKE:
		goto MINDSTATE_END
	MINDSTATE_AWAKE_ASLEEP:
		setvariable flagmindstate AWAKE
		echo
		echo *** Awaking Mind
		echo	
	MINDSTATE_AWAKE_AWAKE:
		setvariable subreturnflagnp MINDSTATE_AWAKE_AWAKE
		setvariable nakedput awake
		goto SUB_NAKED_PUT
	SUBRETURN_MINDSTATE_AWAKE_AWAKE:
		goto MINDSTATE_END

MINDSTATE_SLEEP:
		goto MINDSTATE_SLEEP_%flagmindstate
	MINDSTATE_SLEEP_ASLEEP:
		goto MINDSTATE_END
	MINDSTATE_SLEEP_AWAKE:
		setvariable flagmindstate ASLEEP
		echo
		echo *** Sleeping Mind
		echo
	MINDSTATE_SLEEP_SLEEP:
		setvariable subreturnflagnp MINDSTATE_SLEEP_SLEEP
		setvariable nakedput sleep
		goto SUB_NAKED_PUT
	SUBRETURN_MINDSTATE_SLEEP_SLEEP:
		goto MINDSTATE_END

MINDSTATE_END:
	goto MINDSTATE_RETURN


#############################################################################
###########################    BUFF SECTION    ##############################
#############################################################################

#_______________________________________________________________________Cast Buff spells
BUFF_START:

	goto AEGMAINTENANCE
AEGMAINTENANCE_RETURN:

	goto YS
YS_RETURN:

BUFF_MAGIC_MASTER_TEST:
		goto BUFF_MAGIC_MASTER_TEST_%mendhunt_magic_master_test
	BUFF_MAGIC_MASTER_TEST_ON:
		goto BUFF_MASTER_TEST
	BUFF_MAGIC_MASTER_TEST_OFF:
		goto BUFF_END

BUFF_MASTER_TEST:
		goto BUFF_MASTER_TEST_%mendhunt_buff_master_test
	BUFF_MASTER_TEST_ON:
		goto BUFF_GO
	BUFF_MASTER_TEST_OFF:
		goto BUFF_END

BUFF_GO:

BUFF_HUM_STOP:
	setvariable subreturnflaghumstop BUFF_HUM_STOP
	goto SUB_HUM_STOP
SUBRETURN_BUFF_HUM_STOP:

#-------------------------------------------------------------
BUFF_TEST_1:
		goto BUFF_TEST_1_%mendhunt_buff_test_1
	BUFF_TEST_1_ON:
		goto BUFF_GO_1
	BUFF_TEST_1_OFF:
		goto BUFF_TEST_2

BUFF_GO_1:

BUFF_RETREAT_TEST_1:
		goto BUFF_RETREAT_TEST_1_%mendhunt_buff_retreat_test
	BUFF_RETREAT_TEST_1_ON:
		goto BUFF_RETREAT_1
	BUFF_RETREAT_TEST_1_OFF:
		goto SUBRETURN_BUFF_RETREAT_1
BUFF_RETREAT_1:
	setvariable subreturnflagretreat BUFF_RETREAT_1
	goto SUB_RETREAT
SUBRETURN_BUFF_RETREAT_1:

	setvariable spell_name %mendhunt_buff_name_1
	setvariable spell_prep_power %mendhunt_buff_prep_power_1
	setvariable spell_harn_test %mendhunt_buff_harn_test_1
	setvariable spell_harn_power %mendhunt_buff_harn_power_1
	setvariable spell_harn_loop %mendhunt_buff_harn_loop_1
	setvariable spell_cam_test %mendhunt_buff_cam_test_1
	setvariable spell_cam_power %mendhunt_buff_cam_power_1
	setvariable spell_cam_loop %mendhunt_buff_cam_loop_1
	setvariable spell_cast_pause %mendhunt_buff_cast_pause_1
	setvariable spell_targeted_test OFF

BUFF_SPELL_PREP_1:
	setvariable subreturnflag BUFF_SPELL_PREP_1
	goto SUB_SPELL_PREP
SUBRETURN_BUFF_SPELL_PREP_1:

	echo
	echo *** Casting: %mendhunt_buff_name_1
	echo

BUFF_SPELL_CAST_1:
	pause %matchwaitpause
	match BUFF_SPELL_CAST_1 ...wait
	match BUFF_SPELL_CAST_1 You may only type ahead
	matchre BUFF_SPELL_CAST_1_PAUSE /.*/i
	put cast
	matchwait

BUFF_SPELL_CAST_1_PAUSE:
	pause %aftercastrtpause

RTCHECK_BUFF_SPELL_CAST_1:
	pause %rtcheckpause
	match RTCHECK_BUFF_SPELL_CAST_1_READY What were you referring to
	match RTCHECK_BUFF_SPELL_CAST_1 ...wait
	match RTCHECK_BUFF_SPELL_CAST_1 You may only type ahead
	put get my rtchecking
	matchwait
RTCHECK_BUFF_SPELL_CAST_1_READY:

BUFF_RELEASE_1:
	pause %matchwaitpause
	match BUFF_RELEASE_1 ...wait
	match BUFF_RELEASE_1 You may only type ahead
	matchre BUFF_END_1 /.*/i
	put release
	matchwait

BUFF_END_1:
	goto BUFF_TEST_2

#-------------------------------------------------------------
BUFF_TEST_2:
		goto BUFF_TEST_2_%mendhunt_buff_test_2
	BUFF_TEST_2_ON:
		goto BUFF_GO_2
	BUFF_TEST_2_OFF:
		goto BUFF_TEST_3

BUFF_GO_2:

BUFF_RETREAT_TEST_2:
		goto BUFF_RETREAT_TEST_2_%mendhunt_buff_retreat_test
	BUFF_RETREAT_TEST_2_ON:
		goto BUFF_RETREAT_2
	BUFF_RETREAT_TEST_2_OFF:
		goto SUBRETURN_BUFF_RETREAT_2
BUFF_RETREAT_2:
	setvariable subreturnflagretreat BUFF_RETREAT_2
	goto SUB_RETREAT
SUBRETURN_BUFF_RETREAT_2:

	setvariable spell_name %mendhunt_buff_name_2
	setvariable spell_prep_power %mendhunt_buff_prep_power_2
	setvariable spell_harn_test %mendhunt_buff_harn_test_2
	setvariable spell_harn_power %mendhunt_buff_harn_power_2
	setvariable spell_harn_loop %mendhunt_buff_harn_loop_2
	setvariable spell_cam_test %mendhunt_buff_cam_test_2
	setvariable spell_cam_power %mendhunt_buff_cam_power_2
	setvariable spell_cam_loop %mendhunt_buff_cam_loop_2
	setvariable spell_cast_pause %mendhunt_buff_cast_pause_2
	setvariable spell_targeted_test OFF

BUFF_SPELL_PREP_2:
	setvariable subreturnflag BUFF_SPELL_PREP_2
	goto SUB_SPELL_PREP
SUBRETURN_BUFF_SPELL_PREP_2:

	echo
	echo *** Casting: %mendhunt_buff_name_2
	echo

BUFF_SPELL_CAST_2:
	pause %matchwaitpause
	match BUFF_SPELL_CAST_2 ...wait
	match BUFF_SPELL_CAST_2 You may only type ahead
	matchre BUFF_SPELL_CAST_2_PAUSE /.*/i
	put cast
	matchwait

BUFF_SPELL_CAST_2_PAUSE:
	pause %aftercastrtpause

RTCHECK_BUFF_SPELL_CAST_2:
	pause %rtcheckpause
	match RTCHECK_BUFF_SPELL_CAST_2_READY What were you referring to
	match RTCHECK_BUFF_SPELL_CAST_2 ...wait
	match RTCHECK_BUFF_SPELL_CAST_2 You may only type ahead
	put get my rtchecking
	matchwait
RTCHECK_BUFF_SPELL_CAST_2_READY:

BUFF_RELEASE_2:
	pause %matchwaitpause
	match BUFF_RELEASE_2 ...wait
	match BUFF_RELEASE_2 You may only type ahead
	matchre BUFF_END_2 /.*/i
	put release
	matchwait

BUFF_END_2:
	goto BUFF_TEST_3

#-------------------------------------------------------------
BUFF_TEST_3:
		goto BUFF_TEST_3_%mendhunt_buff_test_3
	BUFF_TEST_3_ON:
		goto BUFF_GO_3
	BUFF_TEST_3_OFF:
		goto BUFF_TEST_4

BUFF_GO_3:

BUFF_RETREAT_TEST_3:
		goto BUFF_RETREAT_TEST_3_%mendhunt_buff_retreat_test
	BUFF_RETREAT_TEST_3_ON:
		goto BUFF_RETREAT_3
	BUFF_RETREAT_TEST_3_OFF:
		goto SUBRETURN_BUFF_RETREAT_3
BUFF_RETREAT_3:
	setvariable subreturnflagretreat BUFF_RETREAT_3
	goto SUB_RETREAT
SUBRETURN_BUFF_RETREAT_3:

	setvariable spell_name %mendhunt_buff_name_3
	setvariable spell_prep_power %mendhunt_buff_prep_power_3
	setvariable spell_harn_test %mendhunt_buff_harn_test_3
	setvariable spell_harn_power %mendhunt_buff_harn_power_3
	setvariable spell_harn_loop %mendhunt_buff_harn_loop_3
	setvariable spell_cam_test %mendhunt_buff_cam_test_3
	setvariable spell_cam_power %mendhunt_buff_cam_power_3
	setvariable spell_cam_loop %mendhunt_buff_cam_loop_3
	setvariable spell_cast_pause %mendhunt_buff_cast_pause_3
	setvariable spell_targeted_test OFF

BUFF_SPELL_PREP_3:
	setvariable subreturnflag BUFF_SPELL_PREP_3
	goto SUB_SPELL_PREP
SUBRETURN_BUFF_SPELL_PREP_3:

	echo
	echo *** Casting: %mendhunt_buff_name_3
	echo

BUFF_SPELL_CAST_3:
	pause %matchwaitpause
	match BUFF_SPELL_CAST_3 ...wait
	match BUFF_SPELL_CAST_3 You may only type ahead
	matchre BUFF_SPELL_CAST_3_PAUSE /.*/i
	put cast
	matchwait

BUFF_SPELL_CAST_3_PAUSE:
	pause %aftercastrtpause

RTCHECK_BUFF_SPELL_CAST_3:
	pause %rtcheckpause
	match RTCHECK_BUFF_SPELL_CAST_3_READY What were you referring to
	match RTCHECK_BUFF_SPELL_CAST_3 ...wait
	match RTCHECK_BUFF_SPELL_CAST_3 You may only type ahead
	put get my rtchecking
	matchwait
RTCHECK_BUFF_SPELL_CAST_3_READY:

BUFF_RELEASE_3:
	pause %matchwaitpause
	match BUFF_RELEASE_3 ...wait
	match BUFF_RELEASE_3 You may only type ahead
	matchre BUFF_END_3 /.*/i
	put release
	matchwait

BUFF_END_3:
	goto BUFF_TEST_4

#-------------------------------------------------------------
BUFF_TEST_4:
		goto BUFF_TEST_4_%mendhunt_buff_test_4
	BUFF_TEST_4_ON:
		goto BUFF_GO_4
	BUFF_TEST_4_OFF:
		goto BUFF_TEST_5

BUFF_GO_4:

BUFF_RETREAT_TEST_4:
		goto BUFF_RETREAT_TEST_4_%mendhunt_buff_retreat_test
	BUFF_RETREAT_TEST_4_ON:
		goto BUFF_RETREAT_4
	BUFF_RETREAT_TEST_4_OFF:
		goto SUBRETURN_BUFF_RETREAT_4
BUFF_RETREAT_4:
	setvariable subreturnflagretreat BUFF_RETREAT_4
	goto SUB_RETREAT
SUBRETURN_BUFF_RETREAT_4:

	setvariable spell_name %mendhunt_buff_name_4
	setvariable spell_prep_power %mendhunt_buff_prep_power_4
	setvariable spell_harn_test %mendhunt_buff_harn_test_4
	setvariable spell_harn_power %mendhunt_buff_harn_power_4
	setvariable spell_harn_loop %mendhunt_buff_harn_loop_4
	setvariable spell_cam_test %mendhunt_buff_cam_test_4
	setvariable spell_cam_power %mendhunt_buff_cam_power_4
	setvariable spell_cam_loop %mendhunt_buff_cam_loop_4
	setvariable spell_cast_pause %mendhunt_buff_cast_pause_4
	setvariable spell_targeted_test OFF

BUFF_SPELL_PREP_4:
	setvariable subreturnflag BUFF_SPELL_PREP_4
	goto SUB_SPELL_PREP
SUBRETURN_BUFF_SPELL_PREP_4:

	echo
	echo *** Casting: %mendhunt_buff_name_4
	echo

BUFF_SPELL_CAST_4:
	pause %matchwaitpause
	match BUFF_SPELL_CAST_4 ...wait
	match BUFF_SPELL_CAST_4 You may only type ahead
	matchre BUFF_SPELL_CAST_4_PAUSE /.*/i
	put cast
	matchwait

BUFF_SPELL_CAST_4_PAUSE:
	pause %aftercastrtpause

RTCHECK_BUFF_SPELL_CAST_4:
	pause %rtcheckpause
	match RTCHECK_BUFF_SPELL_CAST_4_READY What were you referring to
	match RTCHECK_BUFF_SPELL_CAST_4 ...wait
	match RTCHECK_BUFF_SPELL_CAST_4 You may only type ahead
	put get my rtchecking
	matchwait
RTCHECK_BUFF_SPELL_CAST_4_READY:

BUFF_RELEASE_4:
	pause %matchwaitpause
	match BUFF_RELEASE_4 ...wait
	match BUFF_RELEASE_4 You may only type ahead
	matchre BUFF_END_4 /.*/i
	put release
	matchwait

BUFF_END_4:
	goto BUFF_TEST_5

#-------------------------------------------------------------
BUFF_TEST_5:
		goto BUFF_TEST_5_%mendhunt_buff_test_5
	BUFF_TEST_5_ON:
		goto BUFF_GO_5
	BUFF_TEST_5_OFF:
		goto BUFF_TEST_6

BUFF_GO_5:

BUFF_RETREAT_TEST_5:
		goto BUFF_RETREAT_TEST_5_%mendhunt_buff_retreat_test
	BUFF_RETREAT_TEST_5_ON:
		goto BUFF_RETREAT_5
	BUFF_RETREAT_TEST_5_OFF:
		goto SUBRETURN_BUFF_RETREAT_5
BUFF_RETREAT_5:
	setvariable subreturnflagretreat BUFF_RETREAT_5
	goto SUB_RETREAT
SUBRETURN_BUFF_RETREAT_5:

	setvariable spell_name %mendhunt_buff_name_5
	setvariable spell_prep_power %mendhunt_buff_prep_power_5
	setvariable spell_harn_test %mendhunt_buff_harn_test_5
	setvariable spell_harn_power %mendhunt_buff_harn_power_5
	setvariable spell_harn_loop %mendhunt_buff_harn_loop_5
	setvariable spell_cam_test %mendhunt_buff_cam_test_5
	setvariable spell_cam_power %mendhunt_buff_cam_power_5
	setvariable spell_cam_loop %mendhunt_buff_cam_loop_5
	setvariable spell_cast_pause %mendhunt_buff_cast_pause_5
	setvariable spell_targeted_test OFF

BUFF_SPELL_PREP_5:
	setvariable subreturnflag BUFF_SPELL_PREP_5
	goto SUB_SPELL_PREP
SUBRETURN_BUFF_SPELL_PREP_5:

	echo
	echo *** Casting: %mendhunt_buff_name_5
	echo

BUFF_SPELL_CAST_5:
	pause %matchwaitpause
	match BUFF_SPELL_CAST_5 ...wait
	match BUFF_SPELL_CAST_5 You may only type ahead
	matchre BUFF_SPELL_CAST_5_PAUSE /.*/i
	put cast
	matchwait

BUFF_SPELL_CAST_5_PAUSE:
	pause %aftercastrtpause

RTCHECK_BUFF_SPELL_CAST_5:
	pause %rtcheckpause
	match RTCHECK_BUFF_SPELL_CAST_5_READY What were you referring to
	match RTCHECK_BUFF_SPELL_CAST_5 ...wait
	match RTCHECK_BUFF_SPELL_CAST_5 You may only type ahead
	put get my rtchecking
	matchwait
RTCHECK_BUFF_SPELL_CAST_5_READY:

BUFF_RELEASE_5:
	pause %matchwaitpause
	match BUFF_RELEASE_5 ...wait
	match BUFF_RELEASE_5 You may only type ahead
	matchre BUFF_END_5 /.*/i
	put release
	matchwait

BUFF_END_5:
	goto BUFF_TEST_6

#-------------------------------------------------------------
BUFF_TEST_6:
		goto BUFF_TEST_6_%mendhunt_buff_test_6
	BUFF_TEST_6_ON:
		goto BUFF_GO_6
	BUFF_TEST_6_OFF:
		goto BUFF_END

BUFF_GO_6:

BUFF_RETREAT_TEST_6:
		goto BUFF_RETREAT_TEST_6_%mendhunt_buff_retreat_test
	BUFF_RETREAT_TEST_6_ON:
		goto BUFF_RETREAT_6
	BUFF_RETREAT_TEST_6_OFF:
		goto SUBRETURN_BUFF_RETREAT_6
BUFF_RETREAT_6:
	setvariable subreturnflagretreat BUFF_RETREAT_6
	goto SUB_RETREAT
SUBRETURN_BUFF_RETREAT_6:

	setvariable spell_name %mendhunt_buff_name_6
	setvariable spell_prep_power %mendhunt_buff_prep_power_6
	setvariable spell_harn_test %mendhunt_buff_harn_test_6
	setvariable spell_harn_power %mendhunt_buff_harn_power_6
	setvariable spell_harn_loop %mendhunt_buff_harn_loop_6
	setvariable spell_cam_test %mendhunt_buff_cam_test_6
	setvariable spell_cam_power %mendhunt_buff_cam_power_6
	setvariable spell_cam_loop %mendhunt_buff_cam_loop_6
	setvariable spell_cast_pause %mendhunt_buff_cast_pause_6
	setvariable spell_targeted_test OFF

BUFF_SPELL_PREP_6:
	setvariable subreturnflag BUFF_SPELL_PREP_6
	goto SUB_SPELL_PREP
SUBRETURN_BUFF_SPELL_PREP_6:

	echo
	echo *** Casting: %mendhunt_buff_name_6
	echo

BUFF_SPELL_CAST_6:
	pause %matchwaitpause
	match BUFF_SPELL_CAST_6 ...wait
	match BUFF_SPELL_CAST_6 You may only type ahead
	matchre BUFF_SPELL_CAST_6_PAUSE /.*/i
	put cast
	matchwait

BUFF_SPELL_CAST_6_PAUSE:
	pause %aftercastrtpause

RTCHECK_BUFF_SPELL_CAST_6:
	pause %rtcheckpause
	match RTCHECK_BUFF_SPELL_CAST_6_READY What were you referring to
	match RTCHECK_BUFF_SPELL_CAST_6 ...wait
	match RTCHECK_BUFF_SPELL_CAST_6 You may only type ahead
	put get my rtchecking
	matchwait
RTCHECK_BUFF_SPELL_CAST_6_READY:

BUFF_RELEASE_6:
	pause %matchwaitpause
	match BUFF_RELEASE_6 ...wait
	match BUFF_RELEASE_6 You may only type ahead
	matchre BUFF_END_6 /.*/i
	put release
	matchwait

BUFF_END_6:
	goto BUFF_END

BUFF_END:
	goto ATTACK_START


#############################################################################
###########################    DEBUFF SECTION    ############################
#############################################################################

#_______________________________________________________________________Cast Debuff spells
DEBUFF_START:

DEBUFF_MAGIC_MASTER_TEST:
		goto DEBUFF_MAGIC_MASTER_TEST_%mendhunt_magic_master_test
	DEBUFF_MAGIC_MASTER_TEST_ON:
		goto DEBUFF_MASTER_TEST
	DEBUFF_MAGIC_MASTER_TEST_OFF:
		goto DEBUFF_END

DEBUFF_MASTER_TEST:
		goto DEBUFF_MASTER_TEST_%mendhunt_debuff_master_test
	DEBUFF_MASTER_TEST_ON:
		goto DEBUFF_GO
	DEBUFF_MASTER_TEST_OFF:
		goto DEBUFF_END

DEBUFF_GO:

#-------------------------------------------------------------
DEBUFF_TEST_1:
		goto DEBUFF_TEST_1_%mendhunt_debuff_test_1
	DEBUFF_TEST_1_ON:
		goto DEBUFF_ONCE_TEST_1
	DEBUFF_TEST_1_OFF:
		goto DEBUFF_TEST_2

DEBUFF_ONCE_TEST_1:
		goto DEBUFF_ONCE_TEST_1_%mendhunt_debuff_once_test_1
	DEBUFF_ONCE_TEST_1_ON:
		goto DEBUFF_ONCE_FLAG_CHECK_1
	DEBUFF_ONCE_TEST_1_OFF:
		goto DEBUFF_GO_1

DEBUFF_ONCE_FLAG_CHECK_1:
		goto DEBUFF_ONCE_FLAG_CHECK_1_%debuffonceflag1
	DEBUFF_ONCE_FLAG_CHECK_1_DONE:
		goto DEBUFF_END_1
	DEBUFF_ONCE_FLAG_CHECK_1_NOTDONE:
		goto DEBUFF_GO_1

DEBUFF_GO_1:
	setvariable spell_name %mendhunt_debuff_name_1
	setvariable spell_prep_power %mendhunt_debuff_prep_power_1
	setvariable spell_harn_test %mendhunt_debuff_harn_test_1
	setvariable spell_harn_power %mendhunt_debuff_harn_power_1
	setvariable spell_harn_loop %mendhunt_debuff_harn_loop_1
	setvariable spell_cam_test %mendhunt_debuff_cam_test_1
	setvariable spell_cam_power %mendhunt_debuff_cam_power_1
	setvariable spell_cam_loop %mendhunt_debuff_cam_loop_1
	setvariable spell_cast_pause %mendhunt_debuff_cast_pause_1
	setvariable spell_targeted_test OFF

DEBUFF_SPELL_PREP_1:
	setvariable subreturnflag DEBUFF_SPELL_PREP_1
	goto SUB_SPELL_PREP
SUBRETURN_DEBUFF_SPELL_PREP_1:

DEBUFF_CAST_POSITION_1:
	setvariable subreturnflag DEBUFF_CAST_POSITION_1
	goto SUB_CRITTER_POSITION
SUBRETURN_DEBUFF_CAST_POSITION_1:

DEBUFF_CAST_CRITTER_1:
	setvariable subreturnflag DEBUFF_CAST_CRITTER_1
	goto SUB_CDB_ASSESS
SUBRETURN_DEBUFF_CAST_CRITTER_1:
	echo
	echo *** Casting: %mendhunt_debuff_name_1 on %critter_position %critter_active
	echo

DEBUFF_SPELL_CAST_1:
	pause %matchwaitpause
	match DEBUFF_SPELL_CAST_1 ...wait
	match DEBUFF_SPELL_CAST_1 You may only type ahead
	matchre DEBUFF_SPELL_CAST_1_PAUSE /.*/i
	put cast %critter_position %critter_active
	matchwait

DEBUFF_SPELL_CAST_1_PAUSE:
	setvariable debuffonceflag1 DONE
	pause %aftercastrtpause

RTCHECK_DEBUFF_SPELL_CAST_1:
	pause %rtcheckpause
	match RTCHECK_DEBUFF_SPELL_CAST_1_READY What were you referring to
	match RTCHECK_DEBUFF_SPELL_CAST_1 ...wait
	match RTCHECK_DEBUFF_SPELL_CAST_1 You may only type ahead
	put get my rtchecking
	matchwait
RTCHECK_DEBUFF_SPELL_CAST_1_READY:

DEBUFF_RELEASE_1:
	pause %matchwaitpause
	match DEBUFF_RELEASE_1 ...wait
	match DEBUFF_RELEASE_1 You may only type ahead
	matchre DEBUFF_DEAD_CRITTER_CHECK_1 /.*/i
	put release
	matchwait

DEBUFF_DEAD_CRITTER_CHECK_1:
	setvariable subreturnflag DEBUFF_DEAD_CRITTER_CHECK_1
	goto SUB_CHECK_CRITTER_DEAD
SUBRETURN_DEBUFF_DEAD_CRITTER_CHECK_1:

DEBUFF_END_1:
	goto DEBUFF_TEST_2

#-------------------------------------------------------------
DEBUFF_TEST_2:
		goto DEBUFF_TEST_2_%mendhunt_debuff_test_2
	DEBUFF_TEST_2_ON:
		goto DEBUFF_ONCE_TEST_2
	DEBUFF_TEST_2_OFF:
		goto DEBUFF_TEST_3

DEBUFF_ONCE_TEST_2:
		goto DEBUFF_ONCE_TEST_2_%mendhunt_debuff_once_test_2
	DEBUFF_ONCE_TEST_2_ON:
		goto DEBUFF_ONCE_FLAG_CHECK_2
	DEBUFF_ONCE_TEST_2_OFF:
		goto DEBUFF_GO_2

DEBUFF_ONCE_FLAG_CHECK_2:
		goto DEBUFF_ONCE_FLAG_CHECK_2_%debuffonceflag2
	DEBUFF_ONCE_FLAG_CHECK_2_DONE:
		goto DEBUFF_END_2
	DEBUFF_ONCE_FLAG_CHECK_2_NOTDONE:
		goto DEBUFF_GO_2

DEBUFF_GO_2:
	setvariable spell_name %mendhunt_debuff_name_2
	setvariable spell_prep_power %mendhunt_debuff_prep_power_2
	setvariable spell_harn_test %mendhunt_debuff_harn_test_2
	setvariable spell_harn_power %mendhunt_debuff_harn_power_2
	setvariable spell_harn_loop %mendhunt_debuff_harn_loop_2
	setvariable spell_cam_test %mendhunt_debuff_cam_test_2
	setvariable spell_cam_power %mendhunt_debuff_cam_power_2
	setvariable spell_cam_loop %mendhunt_debuff_cam_loop_2
	setvariable spell_cast_pause %mendhunt_debuff_cast_pause_2
	setvariable spell_targeted_test OFF

DEBUFF_SPELL_PREP_2:
	setvariable subreturnflag DEBUFF_SPELL_PREP_2
	goto SUB_SPELL_PREP
SUBRETURN_DEBUFF_SPELL_PREP_2:

DEBUFF_CAST_POSITION_2:
	setvariable subreturnflag DEBUFF_CAST_POSITION_2
	goto SUB_CRITTER_POSITION
SUBRETURN_DEBUFF_CAST_POSITION_2:

DEBUFF_CAST_CRITTER_2:
	setvariable subreturnflag DEBUFF_CAST_CRITTER_2
	goto SUB_CDB_ASSESS
SUBRETURN_DEBUFF_CAST_CRITTER_2:
	echo
	echo *** Casting: %mendhunt_debuff_name_2 on %critter_position %critter_active
	echo

DEBUFF_SPELL_CAST_2:
	pause %matchwaitpause
	match DEBUFF_SPELL_CAST_2 ...wait
	match DEBUFF_SPELL_CAST_2 You may only type ahead
	matchre DEBUFF_SPELL_CAST_2_PAUSE /.*/i
	put cast %critter_position %critter_active
	matchwait

DEBUFF_SPELL_CAST_2_PAUSE:
	setvariable debuffonceflag2 DONE
	pause %aftercastrtpause

RTCHECK_DEBUFF_SPELL_CAST_2:
	pause %rtcheckpause
	match RTCHECK_DEBUFF_SPELL_CAST_2_READY What were you referring to
	match RTCHECK_DEBUFF_SPELL_CAST_2 ...wait
	match RTCHECK_DEBUFF_SPELL_CAST_2 You may only type ahead
	put get my rtchecking
	matchwait
RTCHECK_DEBUFF_SPELL_CAST_2_READY:

DEBUFF_RELEASE_2:
	pause %matchwaitpause
	match DEBUFF_RELEASE_2 ...wait
	match DEBUFF_RELEASE_2 You may only type ahead
	matchre DEBUFF_DEAD_CRITTER_CHECK_2 /.*/i
	put release
	matchwait

DEBUFF_DEAD_CRITTER_CHECK_2:
	setvariable subreturnflag DEBUFF_DEAD_CRITTER_CHECK_2
	goto SUB_CHECK_CRITTER_DEAD
SUBRETURN_DEBUFF_DEAD_CRITTER_CHECK_2:

DEBUFF_END_2:
	goto DEBUFF_TEST_3

#-------------------------------------------------------------
DEBUFF_TEST_3:
		goto DEBUFF_TEST_3_%mendhunt_debuff_test_3
	DEBUFF_TEST_3_ON:
		goto DEBUFF_ONCE_TEST_3
	DEBUFF_TEST_3_OFF:
		goto DEBUFF_TEST_4

DEBUFF_ONCE_TEST_3:
		goto DEBUFF_ONCE_TEST_3_%mendhunt_debuff_once_test_3
	DEBUFF_ONCE_TEST_3_ON:
		goto DEBUFF_ONCE_FLAG_CHECK_3
	DEBUFF_ONCE_TEST_3_OFF:
		goto DEBUFF_GO_3

DEBUFF_ONCE_FLAG_CHECK_3:
		goto DEBUFF_ONCE_FLAG_CHECK_3_%debuffonceflag3
	DEBUFF_ONCE_FLAG_CHECK_3_DONE:
		goto DEBUFF_END_3
	DEBUFF_ONCE_FLAG_CHECK_3_NOTDONE:
		goto DEBUFF_GO_3

DEBUFF_GO_3:
	setvariable spell_name %mendhunt_debuff_name_3
	setvariable spell_prep_power %mendhunt_debuff_prep_power_3
	setvariable spell_harn_test %mendhunt_debuff_harn_test_3
	setvariable spell_harn_power %mendhunt_debuff_harn_power_3
	setvariable spell_harn_loop %mendhunt_debuff_harn_loop_3
	setvariable spell_cam_test %mendhunt_debuff_cam_test_3
	setvariable spell_cam_power %mendhunt_debuff_cam_power_3
	setvariable spell_cam_loop %mendhunt_debuff_cam_loop_3
	setvariable spell_cast_pause %mendhunt_debuff_cast_pause_3
	setvariable spell_targeted_test OFF

DEBUFF_SPELL_PREP_3:
	setvariable subreturnflag DEBUFF_SPELL_PREP_3
	goto SUB_SPELL_PREP
SUBRETURN_DEBUFF_SPELL_PREP_3:

DEBUFF_CAST_POSITION_3:
	setvariable subreturnflag DEBUFF_CAST_POSITION_3
	goto SUB_CRITTER_POSITION
SUBRETURN_DEBUFF_CAST_POSITION_3:

DEBUFF_CAST_CRITTER_3:
	setvariable subreturnflag DEBUFF_CAST_CRITTER_3
	goto SUB_CDB_ASSESS
SUBRETURN_DEBUFF_CAST_CRITTER_3:
	echo
	echo *** Casting: %mendhunt_debuff_name_3 on %critter_position %critter_active
	echo

DEBUFF_SPELL_CAST_3:
	pause %matchwaitpause
	match DEBUFF_SPELL_CAST_3 ...wait
	match DEBUFF_SPELL_CAST_3 You may only type ahead
	matchre DEBUFF_SPELL_CAST_3_PAUSE /.*/i
	put cast %critter_position %critter_active
	matchwait

DEBUFF_SPELL_CAST_3_PAUSE:
	setvariable debuffonceflag3 DONE
	pause %aftercastrtpause

RTCHECK_DEBUFF_SPELL_CAST_3:
	pause %rtcheckpause
	match RTCHECK_DEBUFF_SPELL_CAST_3_READY What were you referring to
	match RTCHECK_DEBUFF_SPELL_CAST_3 ...wait
	match RTCHECK_DEBUFF_SPELL_CAST_3 You may only type ahead
	put get my rtchecking
	matchwait
RTCHECK_DEBUFF_SPELL_CAST_3_READY:

DEBUFF_RELEASE_3:
	pause %matchwaitpause
	match DEBUFF_RELEASE_3 ...wait
	match DEBUFF_RELEASE_3 You may only type ahead
	matchre DEBUFF_DEAD_CRITTER_CHECK_3 /.*/i
	put release
	matchwait

DEBUFF_DEAD_CRITTER_CHECK_3:
	setvariable subreturnflag DEBUFF_DEAD_CRITTER_CHECK_3
	goto SUB_CHECK_CRITTER_DEAD
SUBRETURN_DEBUFF_DEAD_CRITTER_CHECK_3:

DEBUFF_END_3:
	goto DEBUFF_TEST_4

#-------------------------------------------------------------
DEBUFF_TEST_4:
		goto DEBUFF_TEST_4_%mendhunt_debuff_test_4
	DEBUFF_TEST_4_ON:
		goto DEBUFF_ONCE_TEST_4
	DEBUFF_TEST_4_OFF:
		goto DEBUFF_TEST_5

DEBUFF_ONCE_TEST_4:
		goto DEBUFF_ONCE_TEST_4_%mendhunt_debuff_once_test_4
	DEBUFF_ONCE_TEST_4_ON:
		goto DEBUFF_ONCE_FLAG_CHECK_4
	DEBUFF_ONCE_TEST_4_OFF:
		goto DEBUFF_GO_4

DEBUFF_ONCE_FLAG_CHECK_4:
		goto DEBUFF_ONCE_FLAG_CHECK_4_%debuffonceflag4
	DEBUFF_ONCE_FLAG_CHECK_4_DONE:
		goto DEBUFF_END_4
	DEBUFF_ONCE_FLAG_CHECK_4_NOTDONE:
		goto DEBUFF_GO_4

DEBUFF_GO_4:
	setvariable spell_name %mendhunt_debuff_name_4
	setvariable spell_prep_power %mendhunt_debuff_prep_power_4
	setvariable spell_harn_test %mendhunt_debuff_harn_test_4
	setvariable spell_harn_power %mendhunt_debuff_harn_power_4
	setvariable spell_harn_loop %mendhunt_debuff_harn_loop_4
	setvariable spell_cam_test %mendhunt_debuff_cam_test_4
	setvariable spell_cam_power %mendhunt_debuff_cam_power_4
	setvariable spell_cam_loop %mendhunt_debuff_cam_loop_4
	setvariable spell_cast_pause %mendhunt_debuff_cast_pause_4
	setvariable spell_targeted_test OFF

DEBUFF_SPELL_PREP_4:
	setvariable subreturnflag DEBUFF_SPELL_PREP_4
	goto SUB_SPELL_PREP
SUBRETURN_DEBUFF_SPELL_PREP_4:

DEBUFF_CAST_POSITION_4:
	setvariable subreturnflag DEBUFF_CAST_POSITION_4
	goto SUB_CRITTER_POSITION
SUBRETURN_DEBUFF_CAST_POSITION_4:

DEBUFF_CAST_CRITTER_4:
	setvariable subreturnflag DEBUFF_CAST_CRITTER_4
	goto SUB_CDB_ASSESS
SUBRETURN_DEBUFF_CAST_CRITTER_4:
	echo
	echo *** Casting: %mendhunt_debuff_name_4 on %critter_position %critter_active
	echo

DEBUFF_SPELL_CAST_4:
	pause %matchwaitpause
	match DEBUFF_SPELL_CAST_4 ...wait
	match DEBUFF_SPELL_CAST_4 You may only type ahead
	matchre DEBUFF_SPELL_CAST_4_PAUSE /.*/i
	put cast %critter_position %critter_active
	matchwait

DEBUFF_SPELL_CAST_4_PAUSE:
	setvariable debuffonceflag4 DONE
	pause %aftercastrtpause

RTCHECK_DEBUFF_SPELL_CAST_4:
	pause %rtcheckpause
	match RTCHECK_DEBUFF_SPELL_CAST_4_READY What were you referring to
	match RTCHECK_DEBUFF_SPELL_CAST_4 ...wait
	match RTCHECK_DEBUFF_SPELL_CAST_4 You may only type ahead
	put get my rtchecking
	matchwait
RTCHECK_DEBUFF_SPELL_CAST_4_READY:

DEBUFF_RELEASE_4:
	pause %matchwaitpause
	match DEBUFF_RELEASE_4 ...wait
	match DEBUFF_RELEASE_4 You may only type ahead
	matchre DEBUFF_DEAD_CRITTER_CHECK_4 /.*/i
	put release
	matchwait

DEBUFF_DEAD_CRITTER_CHECK_4:
	setvariable subreturnflag DEBUFF_DEAD_CRITTER_CHECK_4
	goto SUB_CHECK_CRITTER_DEAD
SUBRETURN_DEBUFF_DEAD_CRITTER_CHECK_4:

DEBUFF_END_4:
	goto DEBUFF_TEST_5

#-------------------------------------------------------------
DEBUFF_TEST_5:
		goto DEBUFF_TEST_5_%mendhunt_debuff_test_5
	DEBUFF_TEST_5_ON:
		goto DEBUFF_ONCE_TEST_5
	DEBUFF_TEST_5_OFF:
		goto DEBUFF_TEST_6

DEBUFF_ONCE_TEST_5:
		goto DEBUFF_ONCE_TEST_5_%mendhunt_debuff_once_test_5
	DEBUFF_ONCE_TEST_5_ON:
		goto DEBUFF_ONCE_FLAG_CHECK_5
	DEBUFF_ONCE_TEST_5_OFF:
		goto DEBUFF_GO_5

DEBUFF_ONCE_FLAG_CHECK_5:
		goto DEBUFF_ONCE_FLAG_CHECK_5_%debuffonceflag5
	DEBUFF_ONCE_FLAG_CHECK_5_DONE:
		goto DEBUFF_END_5
	DEBUFF_ONCE_FLAG_CHECK_5_NOTDONE:
		goto DEBUFF_GO_5

DEBUFF_GO_5:
	setvariable spell_name %mendhunt_debuff_name_5
	setvariable spell_prep_power %mendhunt_debuff_prep_power_5
	setvariable spell_harn_test %mendhunt_debuff_harn_test_5
	setvariable spell_harn_power %mendhunt_debuff_harn_power_5
	setvariable spell_harn_loop %mendhunt_debuff_harn_loop_5
	setvariable spell_cam_test %mendhunt_debuff_cam_test_5
	setvariable spell_cam_power %mendhunt_debuff_cam_power_5
	setvariable spell_cam_loop %mendhunt_debuff_cam_loop_5
	setvariable spell_cast_pause %mendhunt_debuff_cast_pause_5
	setvariable spell_targeted_test OFF

DEBUFF_SPELL_PREP_5:
	setvariable subreturnflag DEBUFF_SPELL_PREP_5
	goto SUB_SPELL_PREP
SUBRETURN_DEBUFF_SPELL_PREP_5:

DEBUFF_CAST_POSITION_5:
	setvariable subreturnflag DEBUFF_CAST_POSITION_5
	goto SUB_CRITTER_POSITION
SUBRETURN_DEBUFF_CAST_POSITION_5:

DEBUFF_CAST_CRITTER_5:
	setvariable subreturnflag DEBUFF_CAST_CRITTER_5
	goto SUB_CDB_ASSESS
SUBRETURN_DEBUFF_CAST_CRITTER_5:
	echo
	echo *** Casting: %mendhunt_debuff_name_5 on %critter_position %critter_active
	echo

DEBUFF_SPELL_CAST_5:
	pause %matchwaitpause
	match DEBUFF_SPELL_CAST_5 ...wait
	match DEBUFF_SPELL_CAST_5 You may only type ahead
	matchre DEBUFF_SPELL_CAST_5_PAUSE /.*/i
	put cast %critter_position %critter_active
	matchwait

DEBUFF_SPELL_CAST_5_PAUSE:
	setvariable debuffonceflag5 DONE
	pause %aftercastrtpause

RTCHECK_DEBUFF_SPELL_CAST_5:
	pause %rtcheckpause
	match RTCHECK_DEBUFF_SPELL_CAST_5_READY What were you referring to
	match RTCHECK_DEBUFF_SPELL_CAST_5 ...wait
	match RTCHECK_DEBUFF_SPELL_CAST_5 You may only type ahead
	put get my rtchecking
	matchwait
RTCHECK_DEBUFF_SPELL_CAST_5_READY:

DEBUFF_RELEASE_5:
	pause %matchwaitpause
	match DEBUFF_RELEASE_5 ...wait
	match DEBUFF_RELEASE_5 You may only type ahead
	matchre DEBUFF_DEAD_CRITTER_CHECK_5 /.*/i
	put release
	matchwait

DEBUFF_DEAD_CRITTER_CHECK_5:
	setvariable subreturnflag DEBUFF_DEAD_CRITTER_CHECK_5
	goto SUB_CHECK_CRITTER_DEAD
SUBRETURN_DEBUFF_DEAD_CRITTER_CHECK_5:

DEBUFF_END_5:
	goto DEBUFF_TEST_6

#-------------------------------------------------------------
DEBUFF_TEST_6:
		goto DEBUFF_TEST_6_%mendhunt_debuff_test_6
	DEBUFF_TEST_6_ON:
		goto DEBUFF_ONCE_TEST_6
	DEBUFF_TEST_6_OFF:
		goto DEBUFF_END

DEBUFF_ONCE_TEST_6:
		goto DEBUFF_ONCE_TEST_6_%mendhunt_debuff_once_test_6
	DEBUFF_ONCE_TEST_6_ON:
		goto DEBUFF_ONCE_FLAG_CHECK_6
	DEBUFF_ONCE_TEST_6_OFF:
		goto DEBUFF_GO_6

DEBUFF_ONCE_FLAG_CHECK_6:
		goto DEBUFF_ONCE_FLAG_CHECK_6_%debuffonceflag6
	DEBUFF_ONCE_FLAG_CHECK_6_DONE:
		goto DEBUFF_END_6
	DEBUFF_ONCE_FLAG_CHECK_6_NOTDONE:
		goto DEBUFF_GO_6

DEBUFF_GO_6:
	setvariable spell_name %mendhunt_debuff_name_6
	setvariable spell_prep_power %mendhunt_debuff_prep_power_6
	setvariable spell_harn_test %mendhunt_debuff_harn_test_6
	setvariable spell_harn_power %mendhunt_debuff_harn_power_6
	setvariable spell_harn_loop %mendhunt_debuff_harn_loop_6
	setvariable spell_cam_test %mendhunt_debuff_cam_test_6
	setvariable spell_cam_power %mendhunt_debuff_cam_power_6
	setvariable spell_cam_loop %mendhunt_debuff_cam_loop_6
	setvariable spell_cast_pause %mendhunt_debuff_cast_pause_6
	setvariable spell_targeted_test OFF

DEBUFF_SPELL_PREP_6:
	setvariable subreturnflag DEBUFF_SPELL_PREP_6
	goto SUB_SPELL_PREP
SUBRETURN_DEBUFF_SPELL_PREP_6:

DEBUFF_CAST_POSITION_6:
	setvariable subreturnflag DEBUFF_CAST_POSITION_6
	goto SUB_CRITTER_POSITION
SUBRETURN_DEBUFF_CAST_POSITION_6:

DEBUFF_CAST_CRITTER_6:
	setvariable subreturnflag DEBUFF_CAST_CRITTER_6
	goto SUB_CDB_ASSESS
SUBRETURN_DEBUFF_CAST_CRITTER_6:
	echo
	echo *** Casting: %mendhunt_debuff_name_6 on %critter_position %critter_active
	echo

DEBUFF_SPELL_CAST_6:
	pause %matchwaitpause
	match DEBUFF_SPELL_CAST_6 ...wait
	match DEBUFF_SPELL_CAST_6 You may only type ahead
	matchre DEBUFF_SPELL_CAST_6_PAUSE /.*/i
	put cast %critter_position %critter_active
	matchwait

DEBUFF_SPELL_CAST_6_PAUSE:
	setvariable debuffonceflag6 DONE
	pause %aftercastrtpause

RTCHECK_DEBUFF_SPELL_CAST_6:
	pause %rtcheckpause
	match RTCHECK_DEBUFF_SPELL_CAST_6_READY What were you referring to
	match RTCHECK_DEBUFF_SPELL_CAST_6 ...wait
	match RTCHECK_DEBUFF_SPELL_CAST_6 You may only type ahead
	put get my rtchecking
	matchwait
RTCHECK_DEBUFF_SPELL_CAST_6_READY:

DEBUFF_RELEASE_6:
	pause %matchwaitpause
	match DEBUFF_RELEASE_6 ...wait
	match DEBUFF_RELEASE_6 You may only type ahead
	matchre DEBUFF_DEAD_CRITTER_CHECK_6 /.*/i
	put release
	matchwait

DEBUFF_DEAD_CRITTER_CHECK_6:
	setvariable subreturnflag DEBUFF_DEAD_CRITTER_CHECK_6
	goto SUB_CHECK_CRITTER_DEAD
SUBRETURN_DEBUFF_DEAD_CRITTER_CHECK_6:

DEBUFF_END_6:
	goto DEBUFF_END

DEBUFF_END:
	goto DEBUFF_RETURN


#############################################################################
###########################    TARGET SECTION    ############################
#############################################################################

#_______________________________________________________________________Cast Target spells
TARGET_START:


TARGET_MAGIC_MASTER_TEST:
		goto TARGET_MAGIC_MASTER_TEST_%mendhunt_magic_master_test
	TARGET_MAGIC_MASTER_TEST_ON:
		goto TARGET_MASTER_TEST
	TARGET_MAGIC_MASTER_TEST_OFF:
		goto TARGET_END

TARGET_MASTER_TEST:
		goto TARGET_MASTER_TEST_%mendhunt_target_master_test
	TARGET_MASTER_TEST_ON:
		goto TARGET_GO
	TARGET_MASTER_TEST_OFF:
		goto TARGET_END

TARGET_GO:

#-------------------------------------------------------------
TARGET_TEST_1:
		goto TARGET_TEST_1_%mendhunt_target_test_1
	TARGET_TEST_1_ON:
		goto TARGET_GO_1
	TARGET_TEST_1_OFF:
		goto TARGET_TEST_2

TARGET_GO_1:
	setvariable spell_name %mendhunt_target_name_1
	setvariable spell_prep_power %mendhunt_target_prep_power_1
	setvariable spell_harn_test %mendhunt_target_harn_test_1
	setvariable spell_harn_power %mendhunt_target_harn_power_1
	setvariable spell_harn_loop %mendhunt_target_harn_loop_1
	setvariable spell_cam_test %mendhunt_target_cam_test_1
	setvariable spell_cam_power %mendhunt_target_cam_power_1
	setvariable spell_cam_loop %mendhunt_target_cam_loop_1
	setvariable spell_cast_pause %mendhunt_target_cast_pause_1
	setvariable spell_targeted_test ON

TARGET_SPELL_PREP_1:
	setvariable subreturnflag TARGET_SPELL_PREP_1
	goto SUB_SPELL_PREP
SUBRETURN_TARGET_SPELL_PREP_1:

TARGET_PATHWAY_TEST_1:
		goto TARGET_PATHWAY_TEST_1_%mendhunt_pathway_target_test
	TARGET_PATHWAY_TEST_1_ON:
		goto TARGET_PATHWAY_ON_1
	TARGET_PATHWAY_TEST_1_OFF:
		goto TARGET_CAST_1

TARGET_PATHWAY_ON_1:
	pause %matchwaitpause
	match TARGET_PATHWAY_ON_1 ...wait
	match TARGET_PATHWAY_ON_1 You may only type ahead
	matchre TARGET_CAST_1 /.*/i
	put pathway focus %mendhunt_pathway_target_name
	matchwait

TARGET_CAST_1:
	echo
	echo *** Casting: %mendhunt_target_name_1
	echo

TARGET_SPELL_CAST_1:
	pause %matchwaitpause
	match TARGET_SPELL_CAST_1 ...wait
	match TARGET_SPELL_CAST_1 You may only type ahead
	matchre TARGET_SPELL_CAST_1_PAUSE /.*/i
	put cast
	matchwait

TARGET_SPELL_CAST_1_PAUSE:
	pause %aftercastrtpause

RTCHECK_TARGET_SPELL_CAST_1:
	pause %rtcheckpause
	match RTCHECK_TARGET_SPELL_CAST_1_READY What were you referring to
	match RTCHECK_TARGET_SPELL_CAST_1 ...wait
	match RTCHECK_TARGET_SPELL_CAST_1 You may only type ahead
	put get my rtchecking
	matchwait
RTCHECK_TARGET_SPELL_CAST_1_READY:

TARGET_RELEASE_1:
	pause %matchwaitpause
	match TARGET_RELEASE_1 ...wait
	match TARGET_RELEASE_1 You may only type ahead
	matchre TARGET_PATHWAY_STOP_TEST_1 /.*/i
	put release
	matchwait

TARGET_PATHWAY_STOP_TEST_1:
		goto TARGET_PATHWAY_STOP_TEST_1_%mendhunt_pathway_target_test
	TARGET_PATHWAY_STOP_TEST_1_ON:
		goto TARGET_PATHWAY_STOP_1
	TARGET_PATHWAY_STOP_TEST_1_OFF:
		goto TARGET_DEAD_CRITTER_CHECK_1

TARGET_PATHWAY_STOP_1:
	pause %matchwaitpause
	match TARGET_PATHWAY_STOP_1 ...wait
	match TARGET_PATHWAY_STOP_1 You may only type ahead
	matchre TARGET_DEAD_CRITTER_CHECK_1 /.*/i
	put pathway stop
	matchwait

TARGET_DEAD_CRITTER_CHECK_1:
	setvariable subreturnflag TARGET_DEAD_CRITTER_CHECK_1
	goto SUB_CHECK_CRITTER_DEAD
SUBRETURN_TARGET_DEAD_CRITTER_CHECK_1:

TARGET_END_1:
	goto TARGET_TEST_2

#-------------------------------------------------------------
TARGET_TEST_2:
		goto TARGET_TEST_2_%mendhunt_target_test_2
	TARGET_TEST_2_ON:
		goto TARGET_GO_2
	TARGET_TEST_2_OFF:
		goto TARGET_END_2

TARGET_GO_2:
	setvariable spell_name %mendhunt_target_name_2
	setvariable spell_prep_power %mendhunt_target_prep_power_2
	setvariable spell_harn_test %mendhunt_target_harn_test_2
	setvariable spell_harn_power %mendhunt_target_harn_power_2
	setvariable spell_harn_loop %mendhunt_target_harn_loop_2
	setvariable spell_cam_test %mendhunt_target_cam_test_2
	setvariable spell_cam_power %mendhunt_target_cam_power_2
	setvariable spell_cam_loop %mendhunt_target_cam_loop_2
	setvariable spell_cast_pause %mendhunt_target_cast_pause_2
	setvariable spell_targeted_test ON

TARGET_SPELL_PREP_2:
	setvariable subreturnflag TARGET_SPELL_PREP_2
	goto SUB_SPELL_PREP
SUBRETURN_TARGET_SPELL_PREP_2:

TARGET_PATHWAY_TEST_2:
		goto TARGET_PATHWAY_TEST_2_%mendhunt_pathway_target_test
	TARGET_PATHWAY_TEST_2_ON:
		goto TARGET_PATHWAY_ON_2
	TARGET_PATHWAY_TEST_2_OFF:
		goto TARGET_CAST_2

TARGET_PATHWAY_ON_2:
	pause %matchwaitpause
	match TARGET_PATHWAY_ON_2 ...wait
	match TARGET_PATHWAY_ON_2 You may only type ahead
	matchre TARGET_CAST_2 /.*/i
	put pathway focus %mendhunt_pathway_target_name
	matchwait

TARGET_CAST_2:
	echo
	echo *** Casting: %mendhunt_target_name_2
	echo

TARGET_SPELL_CAST_2:
	pause %matchwaitpause
	match TARGET_SPELL_CAST_2 ...wait
	match TARGET_SPELL_CAST_2 You may only type ahead
	matchre TARGET_SPELL_CAST_2_PAUSE /.*/i
	put cast
	matchwait

TARGET_SPELL_CAST_2_PAUSE:
	pause %aftercastrtpause

RTCHECK_TARGET_SPELL_CAST_2:
	pause %rtcheckpause
	match RTCHECK_TARGET_SPELL_CAST_2_READY What were you referring to
	match RTCHECK_TARGET_SPELL_CAST_2 ...wait
	match RTCHECK_TARGET_SPELL_CAST_2 You may only type ahead
	put get my rtchecking
	matchwait
RTCHECK_TARGET_SPELL_CAST_2_READY:

TARGET_RELEASE_2:
	pause %matchwaitpause
	match TARGET_RELEASE_2 ...wait
	match TARGET_RELEASE_2 You may only type ahead
	matchre TARGET_PATHWAY_STOP_TEST_2 /.*/i
	put release
	matchwait

TARGET_PATHWAY_STOP_TEST_2:
		goto TARGET_PATHWAY_STOP_TEST_2_%mendhunt_pathway_target_test
	TARGET_PATHWAY_STOP_TEST_2_ON:
		goto TARGET_PATHWAY_STOP_2
	TARGET_PATHWAY_STOP_TEST_2_OFF:
		goto TARGET_DEAD_CRITTER_CHECK_2

TARGET_PATHWAY_STOP_2:
	pause %matchwaitpause
	match TARGET_PATHWAY_STOP_2 ...wait
	match TARGET_PATHWAY_STOP_2 You may only type ahead
	matchre TARGET_DEAD_CRITTER_CHECK_2 /.*/i
	put pathway stop
	matchwait

TARGET_DEAD_CRITTER_CHECK_2:
	setvariable subreturnflag TARGET_DEAD_CRITTER_CHECK_2
	goto SUB_CHECK_CRITTER_DEAD
SUBRETURN_TARGET_DEAD_CRITTER_CHECK_2:

TARGET_END_2:
	goto TARGET_TEST_3

#-------------------------------------------------------------
TARGET_TEST_3:
		goto TARGET_TEST_3_%mendhunt_target_test_3
	TARGET_TEST_3_ON:
		goto TARGET_GO_3
	TARGET_TEST_3_OFF:
		goto TARGET_END_3

TARGET_GO_3:
	setvariable spell_name %mendhunt_target_name_3
	setvariable spell_prep_power %mendhunt_target_prep_power_3
	setvariable spell_harn_test %mendhunt_target_harn_test_3
	setvariable spell_harn_power %mendhunt_target_harn_power_3
	setvariable spell_harn_loop %mendhunt_target_harn_loop_3
	setvariable spell_cam_test %mendhunt_target_cam_test_3
	setvariable spell_cam_power %mendhunt_target_cam_power_3
	setvariable spell_cam_loop %mendhunt_target_cam_loop_3
	setvariable spell_cast_pause %mendhunt_target_cast_pause_3
	setvariable spell_targeted_test ON

TARGET_SPELL_PREP_3:
	setvariable subreturnflag TARGET_SPELL_PREP_3
	goto SUB_SPELL_PREP
SUBRETURN_TARGET_SPELL_PREP_3:

TARGET_PATHWAY_TEST_3:
		goto TARGET_PATHWAY_TEST_3_%mendhunt_pathway_target_test
	TARGET_PATHWAY_TEST_3_ON:
		goto TARGET_PATHWAY_ON_3
	TARGET_PATHWAY_TEST_3_OFF:
		goto TARGET_CAST_3

TARGET_PATHWAY_ON_3:
	pause %matchwaitpause
	match TARGET_PATHWAY_ON_3 ...wait
	match TARGET_PATHWAY_ON_3 You may only type ahead
	matchre TARGET_CAST_3 /.*/i
	put pathway focus %mendhunt_pathway_target_name
	matchwait

TARGET_CAST_3:
	echo
	echo *** Casting: %mendhunt_target_name_3
	echo

TARGET_SPELL_CAST_3:
	pause %matchwaitpause
	match TARGET_SPELL_CAST_3 ...wait
	match TARGET_SPELL_CAST_3 You may only type ahead
	matchre TARGET_SPELL_CAST_3_PAUSE /.*/i
	put cast
	matchwait

TARGET_SPELL_CAST_3_PAUSE:
	pause %aftercastrtpause

RTCHECK_TARGET_SPELL_CAST_3:
	pause %rtcheckpause
	match RTCHECK_TARGET_SPELL_CAST_3_READY What were you referring to
	match RTCHECK_TARGET_SPELL_CAST_3 ...wait
	match RTCHECK_TARGET_SPELL_CAST_3 You may only type ahead
	put get my rtchecking
	matchwait
RTCHECK_TARGET_SPELL_CAST_3_READY:

TARGET_RELEASE_3:
	pause %matchwaitpause
	match TARGET_RELEASE_3 ...wait
	match TARGET_RELEASE_3 You may only type ahead
	matchre TARGET_PATHWAY_STOP_TEST_3 /.*/i
	put release
	matchwait

TARGET_PATHWAY_STOP_TEST_3:
		goto TARGET_PATHWAY_STOP_TEST_3_%mendhunt_pathway_target_test
	TARGET_PATHWAY_STOP_TEST_3_ON:
		goto TARGET_PATHWAY_STOP_3
	TARGET_PATHWAY_STOP_TEST_3_OFF:
		goto TARGET_DEAD_CRITTER_CHECK_3

TARGET_PATHWAY_STOP_3:
	pause %matchwaitpause
	match TARGET_PATHWAY_STOP_3 ...wait
	match TARGET_PATHWAY_STOP_3 You may only type ahead
	matchre TARGET_DEAD_CRITTER_CHECK_3 /.*/i
	put pathway stop
	matchwait

TARGET_DEAD_CRITTER_CHECK_3:
	setvariable subreturnflag TARGET_DEAD_CRITTER_CHECK_3
	goto SUB_CHECK_CRITTER_DEAD
SUBRETURN_TARGET_DEAD_CRITTER_CHECK_3:

TARGET_END_3:
	goto TARGET_TEST_4

#-------------------------------------------------------------
TARGET_TEST_4:
		goto TARGET_TEST_4_%mendhunt_target_test_4
	TARGET_TEST_4_ON:
		goto TARGET_GO_4
	TARGET_TEST_4_OFF:
		goto TARGET_END_4

TARGET_GO_4:
	setvariable spell_name %mendhunt_target_name_4
	setvariable spell_prep_power %mendhunt_target_prep_power_4
	setvariable spell_harn_test %mendhunt_target_harn_test_4
	setvariable spell_harn_power %mendhunt_target_harn_power_4
	setvariable spell_harn_loop %mendhunt_target_harn_loop_4
	setvariable spell_cam_test %mendhunt_target_cam_test_4
	setvariable spell_cam_power %mendhunt_target_cam_power_4
	setvariable spell_cam_loop %mendhunt_target_cam_loop_4
	setvariable spell_cast_pause %mendhunt_target_cast_pause_4
	setvariable spell_targeted_test ON

TARGET_SPELL_PREP_4:
	setvariable subreturnflag TARGET_SPELL_PREP_4
	goto SUB_SPELL_PREP
SUBRETURN_TARGET_SPELL_PREP_4:

TARGET_PATHWAY_TEST_4:
		goto TARGET_PATHWAY_TEST_4_%mendhunt_pathway_target_test
	TARGET_PATHWAY_TEST_4_ON:
		goto TARGET_PATHWAY_ON_4
	TARGET_PATHWAY_TEST_4_OFF:
		goto TARGET_CAST_4

TARGET_PATHWAY_ON_4:
	pause %matchwaitpause
	match TARGET_PATHWAY_ON_4 ...wait
	match TARGET_PATHWAY_ON_4 You may only type ahead
	matchre TARGET_CAST_4 /.*/i
	put pathway focus %mendhunt_pathway_target_name
	matchwait

TARGET_CAST_4:
	echo
	echo *** Casting: %mendhunt_target_name_4
	echo

TARGET_SPELL_CAST_4:
	pause %matchwaitpause
	match TARGET_SPELL_CAST_4 ...wait
	match TARGET_SPELL_CAST_4 You may only type ahead
	matchre TARGET_SPELL_CAST_4_PAUSE /.*/i
	put cast
	matchwait

TARGET_SPELL_CAST_4_PAUSE:
	pause %aftercastrtpause

RTCHECK_TARGET_SPELL_CAST_4:
	pause %rtcheckpause
	match RTCHECK_TARGET_SPELL_CAST_4_READY What were you referring to
	match RTCHECK_TARGET_SPELL_CAST_4 ...wait
	match RTCHECK_TARGET_SPELL_CAST_4 You may only type ahead
	put get my rtchecking
	matchwait
RTCHECK_TARGET_SPELL_CAST_4_READY:

TARGET_RELEASE_4:
	pause %matchwaitpause
	match TARGET_RELEASE_4 ...wait
	match TARGET_RELEASE_4 You may only type ahead
	matchre TARGET_PATHWAY_STOP_TEST_4 /.*/i
	put release
	matchwait

TARGET_PATHWAY_STOP_TEST_4:
		goto TARGET_PATHWAY_STOP_TEST_4_%mendhunt_pathway_target_test
	TARGET_PATHWAY_STOP_TEST_4_ON:
		goto TARGET_PATHWAY_STOP_4
	TARGET_PATHWAY_STOP_TEST_4_OFF:
		goto TARGET_DEAD_CRITTER_CHECK_4

TARGET_PATHWAY_STOP_4:
	pause %matchwaitpause
	match TARGET_PATHWAY_STOP_4 ...wait
	match TARGET_PATHWAY_STOP_4 You may only type ahead
	matchre TARGET_DEAD_CRITTER_CHECK_4 /.*/i
	put pathway stop
	matchwait

TARGET_DEAD_CRITTER_CHECK_4:
	setvariable subreturnflag TARGET_DEAD_CRITTER_CHECK_4
	goto SUB_CHECK_CRITTER_DEAD
SUBRETURN_TARGET_DEAD_CRITTER_CHECK_4:

TARGET_END_4:
	goto TARGET_TEST_5

#-------------------------------------------------------------
TARGET_TEST_5:
		goto TARGET_TEST_5_%mendhunt_target_test_5
	TARGET_TEST_5_ON:
		goto TARGET_GO_5
	TARGET_TEST_5_OFF:
		goto TARGET_END_5

TARGET_GO_5:
	setvariable spell_name %mendhunt_target_name_5
	setvariable spell_prep_power %mendhunt_target_prep_power_5
	setvariable spell_harn_test %mendhunt_target_harn_test_5
	setvariable spell_harn_power %mendhunt_target_harn_power_5
	setvariable spell_harn_loop %mendhunt_target_harn_loop_5
	setvariable spell_cam_test %mendhunt_target_cam_test_5
	setvariable spell_cam_power %mendhunt_target_cam_power_5
	setvariable spell_cam_loop %mendhunt_target_cam_loop_5
	setvariable spell_cast_pause %mendhunt_target_cast_pause_5
	setvariable spell_targeted_test ON

TARGET_SPELL_PREP_5:
	setvariable subreturnflag TARGET_SPELL_PREP_5
	goto SUB_SPELL_PREP
SUBRETURN_TARGET_SPELL_PREP_5:

TARGET_PATHWAY_TEST_5:
		goto TARGET_PATHWAY_TEST_5_%mendhunt_pathway_target_test
	TARGET_PATHWAY_TEST_5_ON:
		goto TARGET_PATHWAY_ON_5
	TARGET_PATHWAY_TEST_5_OFF:
		goto TARGET_CAST_5

TARGET_PATHWAY_ON_5:
	pause %matchwaitpause
	match TARGET_PATHWAY_ON_5 ...wait
	match TARGET_PATHWAY_ON_5 You may only type ahead
	matchre TARGET_CAST_5 /.*/i
	put pathway focus %mendhunt_pathway_target_name
	matchwait

TARGET_CAST_5:
	echo
	echo *** Casting: %mendhunt_target_name_5
	echo

TARGET_SPELL_CAST_5:
	pause %matchwaitpause
	match TARGET_SPELL_CAST_5 ...wait
	match TARGET_SPELL_CAST_5 You may only type ahead
	matchre TARGET_SPELL_CAST_5_PAUSE /.*/i
	put cast
	matchwait

TARGET_SPELL_CAST_5_PAUSE:
	pause %aftercastrtpause

RTCHECK_TARGET_SPELL_CAST_5:
	pause %rtcheckpause
	match RTCHECK_TARGET_SPELL_CAST_5_READY What were you referring to
	match RTCHECK_TARGET_SPELL_CAST_5 ...wait
	match RTCHECK_TARGET_SPELL_CAST_5 You may only type ahead
	put get my rtchecking
	matchwait
RTCHECK_TARGET_SPELL_CAST_5_READY:

TARGET_RELEASE_5:
	pause %matchwaitpause
	match TARGET_RELEASE_5 ...wait
	match TARGET_RELEASE_5 You may only type ahead
	matchre TARGET_PATHWAY_STOP_TEST_5 /.*/i
	put release
	matchwait

TARGET_PATHWAY_STOP_TEST_5:
		goto TARGET_PATHWAY_STOP_TEST_5_%mendhunt_pathway_target_test
	TARGET_PATHWAY_STOP_TEST_5_ON:
		goto TARGET_PATHWAY_STOP_5
	TARGET_PATHWAY_STOP_TEST_5_OFF:
		goto TARGET_DEAD_CRITTER_CHECK_5

TARGET_PATHWAY_STOP_5:
	pause %matchwaitpause
	match TARGET_PATHWAY_STOP_5 ...wait
	match TARGET_PATHWAY_STOP_5 You may only type ahead
	matchre TARGET_DEAD_CRITTER_CHECK_5 /.*/i
	put pathway stop
	matchwait

TARGET_DEAD_CRITTER_CHECK_5:
	setvariable subreturnflag TARGET_DEAD_CRITTER_CHECK_5
	goto SUB_CHECK_CRITTER_DEAD
SUBRETURN_TARGET_DEAD_CRITTER_CHECK_5:

TARGET_END_5:
	goto TARGET_TEST_6

#-------------------------------------------------------------
TARGET_TEST_6:
		goto TARGET_TEST_6_%mendhunt_target_test_6
	TARGET_TEST_6_ON:
		goto TARGET_GO_6
	TARGET_TEST_6_OFF:
		goto TARGET_END_6

TARGET_GO_6:
	setvariable spell_name %mendhunt_target_name_6
	setvariable spell_prep_power %mendhunt_target_prep_power_6
	setvariable spell_harn_test %mendhunt_target_harn_test_6
	setvariable spell_harn_power %mendhunt_target_harn_power_6
	setvariable spell_harn_loop %mendhunt_target_harn_loop_6
	setvariable spell_cam_test %mendhunt_target_cam_test_6
	setvariable spell_cam_power %mendhunt_target_cam_power_6
	setvariable spell_cam_loop %mendhunt_target_cam_loop_6
	setvariable spell_cast_pause %mendhunt_target_cast_pause_6
	setvariable spell_targeted_test ON

TARGET_SPELL_PREP_6:
	setvariable subreturnflag TARGET_SPELL_PREP_6
	goto SUB_SPELL_PREP
SUBRETURN_TARGET_SPELL_PREP_6:

TARGET_PATHWAY_TEST_6:
		goto TARGET_PATHWAY_TEST_6_%mendhunt_pathway_target_test
	TARGET_PATHWAY_TEST_6_ON:
		goto TARGET_PATHWAY_ON_6
	TARGET_PATHWAY_TEST_6_OFF:
		goto TARGET_CAST_6

TARGET_PATHWAY_ON_6:
	pause %matchwaitpause
	match TARGET_PATHWAY_ON_6 ...wait
	match TARGET_PATHWAY_ON_6 You may only type ahead
	matchre TARGET_CAST_6 /.*/i
	put pathway focus %mendhunt_pathway_target_name
	matchwait

TARGET_CAST_6:
	echo
	echo *** Casting: %mendhunt_target_name_6
	echo

TARGET_SPELL_CAST_6:
	pause %matchwaitpause
	match TARGET_SPELL_CAST_6 ...wait
	match TARGET_SPELL_CAST_6 You may only type ahead
	matchre TARGET_SPELL_CAST_6_PAUSE /.*/i
	put cast
	matchwait

TARGET_SPELL_CAST_6_PAUSE:
	pause %aftercastrtpause

RTCHECK_TARGET_SPELL_CAST_6:
	pause %rtcheckpause
	match RTCHECK_TARGET_SPELL_CAST_6_READY What were you referring to
	match RTCHECK_TARGET_SPELL_CAST_6 ...wait
	match RTCHECK_TARGET_SPELL_CAST_6 You may only type ahead
	put get my rtchecking
	matchwait
RTCHECK_TARGET_SPELL_CAST_6_READY:

TARGET_RELEASE_6:
	pause %matchwaitpause
	match TARGET_RELEASE_6 ...wait
	match TARGET_RELEASE_6 You may only type ahead
	matchre TARGET_PATHWAY_STOP_TEST_6 /.*/i
	put release
	matchwait

TARGET_PATHWAY_STOP_TEST_6:
		goto TARGET_PATHWAY_STOP_TEST_6_%mendhunt_pathway_target_test
	TARGET_PATHWAY_STOP_TEST_6_ON:
		goto TARGET_PATHWAY_STOP_6
	TARGET_PATHWAY_STOP_TEST_6_OFF:
		goto TARGET_DEAD_CRITTER_CHECK_6

TARGET_PATHWAY_STOP_6:
	pause %matchwaitpause
	match TARGET_PATHWAY_STOP_6 ...wait
	match TARGET_PATHWAY_STOP_6 You may only type ahead
	matchre TARGET_DEAD_CRITTER_CHECK_6 /.*/i
	put pathway stop
	matchwait

TARGET_DEAD_CRITTER_CHECK_6:
	setvariable subreturnflag TARGET_DEAD_CRITTER_CHECK_6
	goto SUB_CHECK_CRITTER_DEAD
SUBRETURN_TARGET_DEAD_CRITTER_CHECK_6:

TARGET_END_6:
	goto TARGET_END

TARGET_END:
	goto TARGET_RETURN


#############################################################################
###########################    DEKS SECTION    ##############################
#############################################################################
#_______________________________________________________________________COMBAT ROAR
COMBAT_ROAR:
COMBAT_ROAR_START:

COMBAT_ROAR_TEST:
		goto COMBAT_ROAR_TEST_%mendhunt_combat_roar_test
	COMBAT_ROAR_TEST_ON:
		goto COMBAT_ROAR_BERSERK_TEST
	COMBAT_ROAR_TEST_OFF:
		goto COMBAT_ROAR_END

COMBAT_ROAR_BERSERK_TEST:
		goto COMBAT_ROAR_BERSERK_TEST_%frenzyberserkflag
	COMBAT_ROAR_BERSERK_TEST_ON:
		goto COMBAT_ROAR_END
	COMBAT_ROAR_BERSERK_TEST_OFF:
		goto COMBAT_ROAR_GO

COMBAT_ROAR_GO:

COMBAT_ROAR_THROAT_CHECK:
	pause %matchwaitpause
	match COMBAT_ROAR_THROAT_CHECK_OK You feel ready
	match COMBAT_ROAR_THROAT_CHECK_NOTOK You feel
#The following is meant to double check a fail of roaring while frenzy
	match COMBAT_ROAR_THROAT_CHECK_NOTOK You
	match COMBAT_ROAR_THROAT_CHECK ...wait
	match COMBAT_ROAR_THROAT_CHECK You may only type ahead
	put roar quiet
	matchwait

COMBAT_ROAR_THROAT_CHECK_NOTOK:
	echo
	echo *** Combat roar, throat not full, skipping roar
	echo
	goto COMBAT_ROAR_END

COMBAT_ROAR_THROAT_CHECK_OK:

	echo
	echo *** Roaring %mendhunt_combat_roar_type
	echo

COMBAT_ROAR_GO_GO:
	setvariable subreturnflagnp2 COMBAT_ROAR_GO_GO
	setvariable nakedput1 roar
	setvariable nakedput2 %mendhunt_combat_roar_type
	goto SUB_NAKED_PUT2
SUBRETURN_COMBAT_ROAR_GO_GO:

COMBAT_ROAR_END:
	goto COMBAT_ROAR_RETURN

#_______________________________________________________________________COMBAT DANCE
COMBAT_DANCE:
COMBAT_DANCE_START:

COMBAT_DANCE_TEST:
		goto COMBAT_DANCE_TEST_%mendhunt_combat_dance_test
	COMBAT_DANCE_TEST_ON:
		goto COMBAT_DANCE_BERSERK_TEST
	COMBAT_DANCE_TEST_OFF:
		goto COMBAT_DANCE_END

COMBAT_DANCE_BERSERK_TEST:
		goto COMBAT_DANCE_BERSERK_TEST_%frenzyberserkflag
	COMBAT_DANCE_BERSERK_TEST_ON:
		goto COMBAT_DANCE_END
	COMBAT_DANCE_BERSERK_TEST_OFF:
		goto COMBAT_DANCE_GO

COMBAT_DANCE_GO:
	echo
	echo *** Dancing %mendhunt_combat_dance_type
	echo

COMBAT_DANCE_GO_GO:
	setvariable subreturnflagnp2 COMBAT_DANCE_GO_GO
	setvariable nakedput1 dance
	setvariable nakedput2 %mendhunt_combat_dance_type
	goto SUB_NAKED_PUT2
SUBRETURN_COMBAT_DANCE_GO_GO:

COMBAT_DANCE_END:
	goto COMBAT_DANCE_RETURN

#_______________________________________________________________________COMBAT SING
COMBAT_SING:
COMBAT_SING_START:

COMBAT_SING_TEST:
		goto COMBAT_SING_TEST_%mendhunt_combat_sing_test
	COMBAT_SING_TEST_ON:
		goto COMBAT_SING_FRENZY_TEST
	COMBAT_SING_TEST_OFF:
		goto COMBAT_SING_END

COMBAT_SING_FRENZY_TEST:
		goto COMBAT_SING_FRENZY_TEST_%frenzybardflag
	COMBAT_SING_FRENZY_TEST_ON:
		goto COMBAT_SING_END
	COMBAT_SING_FRENZY_TEST_OFF:
		goto COMBAT_SING_GO

COMBAT_SING_GO:
	echo
	echo *** Singing %mendhunt_combat_sing_type
	echo

COMBAT_SING_GO_GO:
	setvariable subreturnflagnp2 COMBAT_SING_GO_GO
	setvariable nakedput1 sing
	setvariable nakedput2 %mendhunt_combat_sing_type
	goto SUB_NAKED_PUT2
SUBRETURN_COMBAT_SING_GO_GO:

COMBAT_SING_END:
	goto COMBAT_SING_RETURN

#_______________________________________________________________________COMBAT CHANT
COMBAT_CHANT:
COMBAT_CHANT_START:

COMBAT_CHANT_TEST:
		goto COMBAT_CHANT_TEST_%mendhunt_combat_chant_test
	COMBAT_CHANT_TEST_ON:
		goto COMBAT_CHANT_FRENZY_TEST
	COMBAT_CHANT_TEST_OFF:
		goto COMBAT_CHANT_END

COMBAT_CHANT_FRENZY_TEST:
		goto COMBAT_CHANT_FRENZY_TEST_%frenzybardflag
	COMBAT_CHANT_FRENZY_TEST_ON:
		goto COMBAT_CHANT_END
	COMBAT_CHANT_FRENZY_TEST_OFF:
		goto COMBAT_CHANT_GO

COMBAT_CHANT_GO:
	echo
	echo *** Chanting %mendhunt_combat_chant_type
	echo

COMBAT_CHANT_GO_GO:
	setvariable subreturnflagnp2 COMBAT_CHANT_GO_GO
	setvariable nakedput1 chant
	setvariable nakedput2 %mendhunt_combat_chant_type
	goto SUB_NAKED_PUT2
SUBRETURN_COMBAT_CHANT_GO_GO:

COMBAT_CHANT_END:
	goto COMBAT_CHANT_RETURN

#_______________________________________________________________________COMBAT KHRI
COMBAT_KHRI:
COMBAT_KHRI_START:

COMBAT_KHRI_TEST:
		goto COMBAT_KHRI_TEST_%mendhunt_combat_khri_test
	COMBAT_KHRI_TEST_ON:
		goto COMBAT_KHRI_GO
	COMBAT_KHRI_TEST_OFF:
		goto COMBAT_KHRI_END

COMBAT_KHRI_GO:
	echo
	echo *** Khri-ing %mendhunt_combat_khri_type
	echo

COMBAT_KHRI_GO_GO:
	setvariable subreturnflagnp2 COMBAT_KHRI_GO_GO
	setvariable nakedput1 khri
	setvariable nakedput2 start
	setvariable nakedput3 %mendhunt_combat_khri_type
	goto SUB_NAKED_PUT3
SUBRETURN_COMBAT_KHRI_GO_GO:

COMBAT_KHRI_END:
	goto COMBAT_KHRI_RETURN

#_______________________________________________________________________DEKS SPECIAL START
DEKS_SPECIAL:
DEKS_SPECIAL_START:


DEKS_MASTER_TEST:
		goto DEKS_MASTER_TEST_%mendhunt_deks_special_test
	DEKS_MASTER_TEST_ON:
		goto DEKS_GO
	DEKS_MASTER_TEST_OFF:
		goto DEKS_END

DEKS_GO:
	pause .5
	echo
	echo *** DEKS special
	echo

DEKS_GO_1:
	setvariable subreturnflagnp DEKS_GO_1
	setvariable nakedput %mendhunt_deks_line_1
	goto SUB_NAKED_PUT
SUBRETURN_DEKS_GO_1:

	pause .3
	pause %dekspause1

DEKS_GO_2:
	setvariable subreturnflagnp DEKS_GO_2
	setvariable nakedput %mendhunt_deks_line_2
	goto SUB_NAKED_PUT
SUBRETURN_DEKS_GO_2:

	pause .3
	pause %dekspause2

DEKS_GO_3:
	setvariable subreturnflagnp DEKS_GO_3
	setvariable nakedput %mendhunt_deks_line_3
	goto SUB_NAKED_PUT
SUBRETURN_DEKS_GO_3:

	pause .3
	pause %dekspause3

DEKS_GO_4:
	setvariable subreturnflagnp DEKS_GO_4
	setvariable nakedput %mendhunt_deks_line_4
	goto SUB_NAKED_PUT
SUBRETURN_DEKS_GO_4:

	pause .3
	pause %dekspause4

DEKS_GO_5:
	setvariable subreturnflagnp DEKS_GO_5
	setvariable nakedput %mendhunt_deks_line_5
	goto SUB_NAKED_PUT
SUBRETURN_DEKS_GO_5:

	pause .3
	pause %dekspause5

DEKS_END:
	goto DEKS_SPECIAL_RETURN



#############################################################################
###########################    NO ACTION SECTION    #########################
#############################################################################

COUNT_CRITTER_NO_DANGEROUS:


#_______________________________________________________________________Loot


NO_ACTION_LOOT:
LOOT_START:
	setvariable flagloothands FULL

LOOT_RETREAT:
	setvariable subreturnflagretreat LOOT_RETREAT
	goto SUB_RETREAT
SUBRETURN_LOOT_RETREAT:

LOOT_MASTER_TEST:
		goto LOOT_MASTER_TEST_%mendhunt_loot_master_test
	LOOT_MASTER_TEST_ON:
		goto LOOT_DEADCRITTER_TEST
	LOOT_MASTER_TEST_OFF:
		goto LOOT_END_END

LOOT_DEADCRITTER_TEST:
		goto LOOT_DEADCRITTER_TEST_%deadcritterlootitflag
	LOOT_DEADCRITTER_TEST_ON:
		goto LOOT_PLAT_COIN
	LOOT_DEADCRITTER_TEST_OFF:
		goto LOOT_END_END

#_______________________________________________________________________Loot coins
LOOT_PLAT_COIN:
		goto LOOT_PLAT_COIN_%mendhunt_loot_plat_test
	LOOT_PLAT_COIN_ON:
		goto LOOT_PLAT_COIN_GO
	LOOT_PLAT_COIN_OFF:
		goto LOOT_PLAT_COIN_END

LOOT_PLAT_COIN_GO:
	pause %matchwaitpause
	match LOOT_PLAT_COIN_GO You pick up
	match LOOT_PLAT_COIN_END Stow what
	match LOOT_PLAT_COIN_END You stop
	match LOOT_PLAT_COIN_END Roundtime
	match LOOT_PLAT_COIN_GO ...wait
	match LOOT_PLAT_COIN_GO You may only type ahead
	put stow plat coin
	matchwait

LOOT_PLAT_COIN_END:

LOOT_GOLD_COIN:
		goto LOOT_GOLD_COIN_%mendhunt_loot_gold_test
	LOOT_GOLD_COIN_ON:
		goto LOOT_GOLD_COIN_GO
	LOOT_GOLD_COIN_OFF:
		goto LOOT_GOLD_COIN_END

LOOT_GOLD_COIN_GO:
	pause %matchwaitpause
	match LOOT_GOLD_COIN_GO You pick up
	match LOOT_GOLD_COIN_END Stow what
	match LOOT_GOLD_COIN_END You stop
	match LOOT_GOLD_COIN_END Roundtime
	match LOOT_GOLD_COIN_GO ...wait
	match LOOT_GOLD_COIN_GO You may only type ahead
	put stow gold coin
	matchwait

LOOT_GOLD_COIN_END:

LOOT_SILVER_COIN:
		goto LOOT_SILVER_COIN_%mendhunt_loot_silver_test
	LOOT_SILVER_COIN_ON:
		goto LOOT_SILVER_COIN_GO
	LOOT_SILVER_COIN_OFF:
		goto LOOT_SILVER_COIN_END

LOOT_SILVER_COIN_GO:
	pause %matchwaitpause
	match LOOT_SILVER_COIN_GO You pick up
	match LOOT_SILVER_COIN_END Stow what
	match LOOT_SILVER_COIN_END You stop
	match LOOT_SILVER_COIN_END Roundtime
	match LOOT_SILVER_COIN_GO ...wait
	match LOOT_SILVER_COIN_GO You may only type ahead
	put stow silver coin
	matchwait

LOOT_SILVER_COIN_END:

LOOT_BRONZE_COIN:
		goto LOOT_BRONZE_COIN_%mendhunt_loot_bronze_test
	LOOT_BRONZE_COIN_ON:
		goto LOOT_BRONZE_COIN_GO
	LOOT_BRONZE_COIN_OFF:
		goto LOOT_BRONZE_COIN_END

LOOT_BRONZE_COIN_GO:
	pause %matchwaitpause
	match LOOT_BRONZE_COIN_GO You pick up
	match LOOT_BRONZE_COIN_END Stow what
	match LOOT_BRONZE_COIN_END You stop
	match LOOT_BRONZE_COIN_END Roundtime
	match LOOT_BRONZE_COIN_GO ...wait
	match LOOT_BRONZE_COIN_GO You may only type ahead
	put stow bronze coin
	matchwait

LOOT_BRONZE_COIN_END:

LOOT_COPPER_COIN:
		goto LOOT_COPPER_COIN_%mendhunt_loot_copper_test
	LOOT_COPPER_COIN_ON:
		goto LOOT_COPPER_COIN_GO
	LOOT_COPPER_COIN_OFF:
		goto LOOT_COPPER_COIN_END

LOOT_COPPER_COIN_GO:
	pause %matchwaitpause
	match LOOT_COPPER_COIN_GO You pick up
	match LOOT_COPPER_COIN_END Stow what
	match LOOT_COPPER_COIN_END You stop
	match LOOT_COPPER_COIN_END Roundtime
	match LOOT_COPPER_COIN_GO ...wait
	match LOOT_COPPER_COIN_GO You may only type ahead
	put stow copper coin
	matchwait

LOOT_COPPER_COIN_END:


#_______________________________________________________________________Loot Boxes
LOOT_BOXES:
		goto LOOT_BOXES_%mendhunt_loot_boxes_test
	LOOT_BOXES_ON:
		goto LOOT_BOXES_CONTAINER_CHECK
	LOOT_BOXES_OFF:
		goto LOOT_BOXES_END

LOOT_BOXES_CONTAINER_CHECK:
		goto LOOT_BOXES_CONTAINER_CHECK_%flagboxescontainer
	LOOT_BOXES_CONTAINER_CHECK_FULL:
		goto LOOT_BOXES_SKIP
	LOOT_BOXES_CONTAINER_CHECK_NOTFULL:
		goto LOOT_BOXES_HANDS_CHECK

LOOT_BOXES_HANDS_CHECK:
		goto LOOT_BOXES_HANDS_CHECK_%flagloothands
	LOOT_BOXES_HANDS_CHECK_FULL:
		goto LOOT_BOXES_EMPTY_HANDS
	LOOT_BOXES_HANDS_CHECK_EMPTY:
		goto LOOT_BOXES_START

LOOT_BOXES_EMPTY_HANDS:
	setvariable flagloothands EMPTY
	setvariable subreturnflagemptylefthand LOOT_BOXES_EMPTY_HANDS
	goto SUB_EMPTY_lefthand
SUBRETURN_LOOT_BOXES_EMPTY_HANDS:

LOOT_BOXES_START:

LOOT_BOXES_START_RETREAT:
	setvariable subreturnflagretreat LOOT_BOXES_START_RETREAT
	goto SUB_RETREAT
SUBRETURN_LOOT_BOXES_START_RETREAT:

	echo
	echo *** Looting boxes
	echo

LOOT_BOXES_GO:
	setvariable subreturnflag LOOT_BOXES_GO
	goto SUB_LDB_BOXES

	SUBRETURN_DARK_LOOT_BOXES_GO:
		goto LOOT_DARK
	SUBRETURN_NOLOOT_LOOT_BOXES_GO:
		goto LOOT_BOXES_END
	SUBRETURN_LOOT_BOXES_GO:
		goto LOOT_BOXES_GO_RETREAT

LOOT_BOXES_GO_RETREAT:
	setvariable subreturnflagretreat LOOT_BOXES_GO_RETREAT
	goto SUB_RETREAT
SUBRETURN_LOOT_BOXES_GO_RETREAT:

LOOT_BOXES_GET:
	pause %matchwaitpause
	match LOOT_BOXES_STOW You pick up
	match LOOT_BOXES_FAIL You get
	match LOOT_BOXES_FAIL You stop
	matchre LOOT_BOXES_FAIL /%failget%/i
	match LOOT_BOXES_GET ...wait
	match LOOT_BOXES_GET You may only type ahead
	match LOOT_BOXES_FAIL Roundtime
	put get %loot_active
	matchwait

LOOT_BOXES_STOW:
	pause %matchwaitpause
	matchre LOOT_BOXES_GO /%hitstow%/i
	matchre LOOT_BOXES_FAIL /%failstowcall%/i
	matchre LOOT_BOXES_FULL /%failstowfull%/i
	matchre LOOT_BOXES_FAIL /%failstowsize%/i
	matchre LOOT_BOXES_FAIL /%errorstow%/i
	match LOOT_BOXES_STOW ...wait
	match LOOT_BOXES_STOW You may only type ahead
	put put my %loot_active in my %mendhunt_boxes_container
	matchwait

LOOT_BOXES_FULL:
	echo
	echo *************************************************************
	echo *** Box container ( %mendhunt_boxes_container ) is full
	echo
	echo skipping box pickup
	echo *************************************************************
	echo
	setvariable flagboxescontainer FULL

LOOT_BOXES_FULL_EMPTYLEFT:
	pause %matchwaitpause
	matchre LOOT_BOXES_END /You drop|Your (.*) already empty/i
	match LOOT_BOXES_FULL_EMPTYLEFT ...wait
	match LOOT_BOXES_FULL_EMPTYLEFT You may only type ahead
	put empty left
	matchwait

LOOT_BOXES_FAIL:
	echo
	echo *************************************************************
	echo *** Loot boxes fail
	echo
	echo Unexpected result while looting Boxes
	echo
	echo Failed to grab item (hunting partner or trigger is catching in room description)
	echo or pulled a box from another container on you (close it)
	echo
	echo Will try to continue
	echo
	echo *************************************************************
	echo
	pause 1

LOOT_BOXES_FAIL_EMPTYLEFT:
	pause %matchwaitpause
	matchre LOOT_BOXES_END /You drop|Your (.*) already empty/i
	match LOOT_BOXES_FAIL_EMPTYLEFT ...wait
	match LOOT_BOXES_FAIL_EMPTYLEFT You may only type ahead
	put empty left
	matchwait

LOOT_BOXES_SKIP:
	echo
	echo *************************************************************
	echo *** Box container ( %mendhunt_boxes_container ) is full
	echo
	echo skipping box pickup
	echo *************************************************************
	echo
	goto LOOT_BOXES_END

LOOT_BOXES_END:

#_______________________________________________________________________Loot Other
LOOT_OTHER:
		goto LOOT_OTHER_%mendhunt_loot_other_test
	LOOT_OTHER_ON:
		goto LOOT_OTHER_CONTAINER_CHECK
	LOOT_OTHER_OFF:
		goto LOOT_OTHER_END

LOOT_OTHER_CONTAINER_CHECK:
		goto LOOT_OTHER_CONTAINER_CHECK_%flagothercontainer
	LOOT_OTHER_CONTAINER_CHECK_FULL:
		goto LOOT_OTHER_SKIP
	LOOT_OTHER_CONTAINER_CHECK_NOTFULL:
		goto LOOT_OTHER_HANDS_CHECK

LOOT_OTHER_HANDS_CHECK:
		goto LOOT_OTHER_HANDS_CHECK_%flagloothands
	LOOT_OTHER_HANDS_CHECK_FULL:
		goto LOOT_OTHER_EMPTY_HANDS
	LOOT_OTHER_HANDS_CHECK_EMPTY:
		goto LOOT_OTHER_START

LOOT_OTHER_EMPTY_HANDS:
	setvariable flagloothands EMPTY
	setvariable subreturnflagemptylefthand LOOT_OTHER_EMPTY_HANDS
	goto SUB_EMPTY_leftHAND
SUBRETURN_LOOT_OTHER_EMPTY_HANDS:

LOOT_OTHER_START:

LOOT_OTHER_START_RETREAT:
	setvariable subreturnflagretreat LOOT_OTHER_START_RETREAT
	goto SUB_RETREAT
SUBRETURN_LOOT_OTHER_START_RETREAT:

	echo
	echo *** Looting other-loot
	echo

LOOT_OTHER_GO:
	setvariable subreturnflag LOOT_OTHER_GO
	goto SUB_LDB_OTHER

	SUBRETURN_DARK_LOOT_OTHER_GO:
		goto LOOT_DARK
	SUBRETURN_NOLOOT_LOOT_OTHER_GO:
		goto LOOT_OTHER_END
	SUBRETURN_LOOT_OTHER_GO:
		goto LOOT_OTHER_GO_RETREAT

LOOT_OTHER_GO_RETREAT:
	setvariable subreturnflagretreat LOOT_OTHER_GO_RETREAT
	goto SUB_RETREAT
SUBRETURN_LOOT_OTHER_GO_RETREAT:

LOOT_OTHER_GET:
	pause %matchwaitpause
	match LOOT_OTHER_STOW You pick up
	match LOOT_OTHER_FAIL You get
	match LOOT_OTHER_FAIL You stop
	matchre LOOT_OTHER_FAIL /%failget%/i
	match LOOT_OTHER_GET ...wait
	match LOOT_OTHER_GET You may only type ahead
	match LOOT_OTHER_FAIL Roundtime
	put get %loot_active
	matchwait

LOOT_OTHER_STOW:
	pause %matchwaitpause
	matchre LOOT_OTHER_GO /%hitstow%/i
	matchre LOOT_OTHER_FAIL /%failstowcall%/i
	matchre LOOT_OTHER_FULL /%failstowfull%/i
	matchre LOOT_OTHER_FAIL /%failstowsize%/i
	matchre LOOT_OTHER_FAIL /%errorstow%/i
	match LOOT_OTHER_STOW ...wait
	match LOOT_OTHER_STOW You may only type ahead
	put put my %loot_active in my %mendhunt_other_container
	matchwait

LOOT_OTHER_FULL:
	echo
	echo *************************************************************
	echo *** Other-loot container ( %mendhunt_other_container ) is full
	echo
	echo skipping other-loot pickup
	echo *************************************************************
	echo
	setvariable flagothercontainer FULL

LOOT_OTHER_FULL_STOWHANDS:
	setvariable subreturnflagemptyhands LOOT_OTHER_FULL_STOWHANDS
	goto SUB_EMPTY_HANDS
SUBRETURN_LOOT_OTHER_FULL_STOWHANDS:

LOOT_OTHER_FULL_EMPTYLEFT:
	pause %matchwaitpause
	matchre LOOT_OTHER_END /You drop|Your (.*) already empty/i
	match LOOT_OTHER_FULL_EMPTYLEFT ...wait
	match LOOT_OTHER_FULL_EMPTYLEFT You may only type ahead
	put empty left
	matchwait

LOOT_OTHER_FAIL:
	echo
	echo *************************************************************
	echo *** Loot other fail
	echo
	echo Unexpected result while looting Other-loot
	echo
	echo Failed to grab item (hunting partner or trigger is catching in room description)
	echo
	echo
	echo Will try to continue
	echo
	echo *************************************************************
	echo
	pause 1

LOOT_OTHER_FAIL_STOWHANDS:
	setvariable subreturnflagemptyhands LOOT_OTHER_FAIL_STOWHANDS
	goto SUB_EMPTY_HANDS
SUBRETURN_LOOT_OTHER_FAIL_STOWHANDS:

LOOT_OTHER_FAIL_EMPTYLEFT:
	pause %matchwaitpause
	matchre LOOT_OTHER_END /You drop|Your (.*) already empty/i
	match LOOT_OTHER_FAIL_EMPTYLEFT ...wait
	match LOOT_OTHER_FAIL_EMPTYLEFT You may only type ahead
	put empty left
	matchwait

LOOT_OTHER_SKIP:
	echo
	echo *************************************************************
	echo *** Other-loot container ( %mendhunt_other_container ) is full
	echo
	echo skipping other-loot pickup
	echo *************************************************************
	echo
	goto LOOT_OTHER_END

LOOT_OTHER_END:

#_______________________________________________________________________Loot gems
LOOT_GEMS:
		goto LOOT_GEMS_%mendhunt_loot_gems_test
	LOOT_GEMS_ON:
		goto LOOT_GEMS_CONTAINER_CHECK
	LOOT_GEMS_OFF:
		goto LOOT_GEMS_END

LOOT_GEMS_CONTAINER_CHECK:
		goto LOOT_GEMS_CONTAINER_CHECK_%flaggemscontainer
	LOOT_GEMS_CONTAINER_CHECK_FULL:
		goto LOOT_GEMS_SKIP
	LOOT_GEMS_CONTAINER_CHECK_NOTFULL:
		goto LOOT_GEMS_HANDS_CHECK

LOOT_GEMS_HANDS_CHECK:
		goto LOOT_GEMS_HANDS_CHECK_%flagloothands
	LOOT_GEMS_HANDS_CHECK_FULL:
		goto LOOT_GEMS_EMPTY_HANDS
	LOOT_GEMS_HANDS_CHECK_EMPTY:
		goto LOOT_GEMS_START

LOOT_GEMS_EMPTY_HANDS:
	setvariable flagloothands EMPTY
	setvariable subreturnflagemptylefthand LOOT_GEMS_EMPTY_HANDS
	goto SUB_EMPTY_leftHAND
SUBRETURN_LOOT_GEMS_EMPTY_HANDS:

LOOT_GEMS_START:

LOOT_GEMS_START_RETREAT:
	setvariable subreturnflagretreat LOOT_GEMS_START_RETREAT
	goto SUB_RETREAT
SUBRETURN_LOOT_GEMS_START_RETREAT:

	echo
	echo *** Looting gems
	echo
	setvariable gempouchloopnum 1

LOOT_GEMS_GO:
	setvariable subreturnflag LOOT_GEMS_GO
	goto SUB_LDB_GEMS

	SUBRETURN_DARK_LOOT_GEMS_GO:
		goto LOOT_DARK
	SUBRETURN_NOLOOT_LOOT_GEMS_GO:
		goto LOOT_GEMS_END
	SUBRETURN_LOOT_GEMS_GO:
		goto LOOT_GEMS_GO_RETREAT

LOOT_GEMS_GO_RETREAT:
	setvariable subreturnflagretreat LOOT_GEMS_GO_RETREAT
	goto SUB_RETREAT
SUBRETURN_LOOT_GEMS_GO_RETREAT:

LOOT_GEMS_GET:
	pause %matchwaitpause
	match LOOT_GEMS_STOW You pick up
	match LOOT_GEMS_FAIL You get
	match LOOT_GEMS_FAIL You stop
	matchre LOOT_GEMS_FAIL /%failget%/i
	match LOOT_GEMS_GET ...wait
	match LOOT_GEMS_GET You may only type ahead
	match LOOT_GEMS_FAIL Roundtime
	put get %loot_active
	matchwait

LOOT_GEMS_STOW:
LOOT_GEMS_GEMPOUCH_USE_TEST:
		goto LOOT_GEMS_GEMPOUCH_USE_TEST_%mendhunt_gpouch_use_test
	LOOT_GEMS_GEMPOUCH_USE_TEST_ON:
		goto LOOT_GEMS_GEMPOUCH_CARRY_BRANCH
	LOOT_GEMS_GEMPOUCH_USE_TEST_OFF:
		goto LOOT_GEMS_NOTGEMPOUCH

LOOT_GEMS_GEMPOUCH_CARRY_BRANCH:
		goto LOOT_GEMS_GEMPOUCH_CARRY_BRANCH_%flaggemspouchcarry
	LOOT_GEMS_GEMPOUCH_CARRY_BRANCH_NOTTESTED:
		goto LOOT_GEMS_GEMPOUCH_CARRY_CHECK_EMPTYHANDS
	LOOT_GEMS_GEMPOUCH_CARRY_BRANCH_WORN:
		goto LOOT_GEMS_GEMPOUCH_WORN
	LOOT_GEMS_GEMPOUCH_CARRY_BRANCH_STOWED:
		goto LOOT_GEMS_GEMPOUCH_STOWED

	LOOT_GEMS_GEMPOUCH_CARRY_CHECK_EMPTYHANDS:
		setvariable subreturnflagemptyhands LOOT_GEMS_GEMPOUCH_CARRY_CHECK_EMPTYHANDS
		goto SUB_EMPTY_HANDS
	SUBRETURN_LOOT_GEMS_GEMPOUCH_CARRY_CHECK_EMPTYHANDS:
		put get %loot_active

	LOOT_GEMS_GEMPOUCH_CARRY_CHECK:
		pause %matchwaitpause
		matchre LOOT_GEMS_GEMPOUCH_CARRY_CHECK_WORN /%hitremove%/i
		matchre LOOT_GEMS_GEMPOUCH_CARRY_CHECK_STOWED /%failremove%/i
		match LOOT_GEMS_GEMPOUCH_CARRY_CHECK ...wait
		match LOOT_GEMS_GEMPOUCH_CARRY_CHECK You may only type ahead
		put remove my %mendhunt_gems_container
		matchwait

	LOOT_GEMS_GEMPOUCH_CARRY_CHECK_WORN:
		pause %matchwaitpause
		matchre LOOT_GEMS_GEMPOUCH_CARRY_CHECK_WORN_WORN /%hitwear%/i
		matchre LOOT_GEMS_GEMPOUCH_CARRY_CHECK_WORN_WORN /%failwear%/i
		match LOOT_GEMS_GEMPOUCH_CARRY_CHECK ...wait
		match LOOT_GEMS_GEMPOUCH_CARRY_CHECK You may only type ahead
		put wear my %mendhunt_gems_container
		matchwait
		LOOT_GEMS_GEMPOUCH_CARRY_CHECK_WORN_WORN:
		setvariable flaggemspouchcarry WORN
		goto LOOT_GEMS_GEMPOUCH_WORN

	LOOT_GEMS_GEMPOUCH_CARRY_CHECK_STOWED:
		setvariable flaggemspouchcarry STOWED
		goto LOOT_GEMS_GEMPOUCH_STOWED

#_______________________________________________________________________Loot gems to worn pouch
LOOT_GEMS_GEMPOUCH_WORN:
	pause %matchwaitpause
	matchre LOOT_GEMS_GO /%hitstow%/i
	matchre LOOT_GEMS_FAIL /%failstowcall%/i
	matchre LOOT_GEMS_GEMPOUCH_WORN_FULL /The (.*) has been tied off/i
	matchre LOOT_GEMS_GEMPOUCH_WORN_FULL /before putting more/i
	matchre LOOT_GEMS_GEMPOUCH_WORN_FULL /%failstowfull%/i
	matchre LOOT_GEMS_FAIL /%failstowsize%/i
	matchre LOOT_GEMS_FAIL /%errorstow%/i
	match LOOT_GEMS_GEMPOUCH_WORN ...wait
	match LOOT_GEMS_GEMPOUCH_WORN You may only type ahead
	put put my %loot_active in my %mendhunt_gems_container
	matchwait

LOOT_GEMS_GEMPOUCH_WORN_FULL:

LOOT_GEMS_GEMPOUCH_WORN_FULL_EMPTY_HANDS:
	setvariable subreturnflagemptyhands LOOT_GEMS_GEMPOUCH_WORN_FULL_EMPTY_HANDS
	goto SUB_EMPTY_HANDS
SUBRETURN_LOOT_GEMS_GEMPOUCH_WORN_FULL_EMPTY_HANDS:

LOOT_GEMS_GEMPOUCH_WORN_FULL_CLOSE:
	pause %matchwaitpause
	match LOOT_GEMS_GEMPOUCH_WORN_FULL_CLOSE ...wait
	match LOOT_GEMS_GEMPOUCH_WORN_FULL_CLOSE You may only type ahead
	matchre LOOT_GEMS_GEMPOUCH_WORN_FULL_REMOVE /.*/i
	put close my %mendhunt_gems_container
	matchwait

LOOT_GEMS_GEMPOUCH_WORN_FULL_REMOVE:
	pause %matchwaitpause
	match LOOT_GEMS_GEMPOUCH_WORN_FULL_REMOVE ...wait
	match LOOT_GEMS_GEMPOUCH_WORN_FULL_REMOVE You may only type ahead
	matchre LOOT_GEMS_GEMPOUCH_WORN_FULL_TIE_TEST /.*/i
	put remove my %mendhunt_gems_container
	matchwait

LOOT_GEMS_GEMPOUCH_WORN_FULL_TIE_TEST:
		goto LOOT_GEMS_GEMPOUCH_WORN_FULL_TIE_TEST_%mendhunt_gpouch_tie_test
	LOOT_GEMS_GEMPOUCH_WORN_FULL_TIE_TEST_ON:
		goto LOOT_GEMS_GEMPOUCH_WORN_FULL_TIE_GO
	LOOT_GEMS_GEMPOUCH_WORN_FULL_TIE_TEST_OFF:
		goto LOOT_GEMS_GEMPOUCH_WORN_FULL_STOW

LOOT_GEMS_GEMPOUCH_WORN_FULL_TIE_GO:
	pause %matchwaitpause
	match LOOT_GEMS_GEMPOUCH_WORN_FULL_TIE_GO ...wait
	match LOOT_GEMS_GEMPOUCH_WORN_FULL_TIE_GO You may only type ahead
	matchre LOOT_GEMS_GEMPOUCH_WORN_FULL_STOW /.*/i
	put tie my %mendhunt_gems_container
	matchwait

LOOT_GEMS_GEMPOUCH_WORN_FULL_STOW:
	pause %matchwaitpause
	matchre LOOT_GEMS_GEMPOUCH_WORN_FULL_NEWPOUCH_GET_LOOP /%hitstow%/i
	matchre LOOT_GEMS_FAIL /%failstowcall%/i
	matchre LOOT_GEMS_GEMPOUCH_WORN_CONTAINFULL /%failstowfull%/i
	matchre LOOT_GEMS_FAIL /%failstowsize%/i
	matchre LOOT_GEMS_FAIL /%errorstow%/i
	match LOOT_GEMS_GEMPOUCH_WORN_FULL_STOW ...wait
	match LOOT_GEMS_GEMPOUCH_WORN_FULL_STOW You may only type ahead
	put put my %mendhunt_gems_container in my %mendhunt_gpouch_full_container
	matchwait

#--------------------------------------------------------------------------- looped down

LOOT_GEMS_GEMPOUCH_WORN_FULL_NEWPOUCH_GET_LOOP:
	goto LOOT_GEMS_GEMPOUCH_WORN_FULL_NEWPOUCH_GET_LOOP_%gempouchloopnum

	LOOT_GEMS_GEMPOUCH_WORN_FULL_NEWPOUCH_GET_LOOP_1:
		setvariable gempouchloopnum 2
		setvariable pouchpos first
		goto LOOT_GEMS_GEMPOUCH_WORN_FULL_NEWPOUCH_GET
	LOOT_GEMS_GEMPOUCH_WORN_FULL_NEWPOUCH_GET_LOOP_2:
		setvariable gempouchloopnum 3
		setvariable pouchpos second
		goto LOOT_GEMS_GEMPOUCH_WORN_FULL_NEWPOUCH_GET
	LOOT_GEMS_GEMPOUCH_WORN_FULL_NEWPOUCH_GET_LOOP_3:
		setvariable gempouchloopnum 4
		setvariable pouchpos third
		goto LOOT_GEMS_GEMPOUCH_WORN_FULL_NEWPOUCH_GET
	LOOT_GEMS_GEMPOUCH_WORN_FULL_NEWPOUCH_GET_LOOP_4:
		setvariable gempouchloopnum 5
		setvariable pouchpos fourth
		goto LOOT_GEMS_GEMPOUCH_WORN_FULL_NEWPOUCH_GET
	LOOT_GEMS_GEMPOUCH_WORN_FULL_NEWPOUCH_GET_LOOP_5:
		setvariable gempouchloopnum 6
		setvariable pouchpos fifth
		goto LOOT_GEMS_GEMPOUCH_WORN_FULL_NEWPOUCH_GET
	LOOT_GEMS_GEMPOUCH_WORN_FULL_NEWPOUCH_GET_LOOP_6:
		setvariable gempouchloopnum 7
		setvariable pouchpos sixth
		goto LOOT_GEMS_GEMPOUCH_WORN_FULL_NEWPOUCH_GET
	LOOT_GEMS_GEMPOUCH_WORN_FULL_NEWPOUCH_GET_LOOP_7:
		goto LOOT_GEMS_FULL_FULL

LOOT_GEMS_GEMPOUCH_WORN_FULL_NEWPOUCH_GET:
	pause %matchwaitpause
	match LOOT_GEMS_GEMPOUCH_WORN_FULL_NEWPOUCH_WEAR You get
	matchre LOOT_GEMS_FULL_FULL /%failget%/i
	match LOOT_GEMS_GEMPOUCH_WORN_FULL_NEWPOUCH_GET ...wait
	match LOOT_GEMS_GEMPOUCH_WORN_FULL_NEWPOUCH_GET You may only type ahead
	put get my %pouchpos %mendhunt_gems_container in my %mendhunt_gpouch_empty_container
	matchwait

LOOT_GEMS_GEMPOUCH_WORN_FULL_NEWPOUCH_WEAR:
	pause %matchwaitpause
	matchre LOOT_GEMS_GEMPOUCH_WORN_FULL_NEWPOUCH_OPEN /%hitwear%/i
	matchre LOOT_GEMS_FAIL /%failwear%/i
	match LOOT_GEMS_GEMPOUCH_WORN_FULL_NEWPOUCH_WEAR ...wait
	match LOOT_GEMS_GEMPOUCH_WORN_FULL_NEWPOUCH_WEAR You may only type ahead
	put wear my %mendhunt_gems_container
	matchwait

LOOT_GEMS_GEMPOUCH_WORN_FULL_NEWPOUCH_OPEN:
	pause %matchwaitpause
	match LOOT_GEMS_GEMPOUCH_WORN_FULL_NEWPOUCH_OPEN ...wait
	match LOOT_GEMS_GEMPOUCH_WORN_FULL_NEWPOUCH_OPEN You may only type ahead
	matchre LOOT_GEMS_GEMPOUCH_WORN_FULL_NEWPOUCH_REGETLOOT /.*/i
	put open my %mendhunt_gems_container
	matchwait

LOOT_GEMS_GEMPOUCH_WORN_FULL_NEWPOUCH_REGETLOOT:
	pause %matchwaitpause
	match LOOT_GEMS_GEMPOUCH_WORN_FULL_NEWPOUCH_REGETLOOT ...wait
	match LOOT_GEMS_GEMPOUCH_WORN_FULL_NEWPOUCH_REGETLOOT You may only type ahead
	matchre LOOT_GEMS_GEMPOUCH_WORN_FULL_NEWPOUCH_PUT /.*/i
	put get %loot_active
	matchwait

LOOT_GEMS_GEMPOUCH_WORN_FULL_NEWPOUCH_PUT:
	pause %matchwaitpause
	matchre LOOT_GEMS_GO /%hitstow%/i
	matchre LOOT_GEMS_FAIL /%failstowcall%/i
	matchre LOOT_GEMS_GEMPOUCH_WORN_FULL_NEWPOUCH_RECLOSE /The (.*) has been tied off/i
	matchre LOOT_GEMS_GEMPOUCH_WORN_FULL_NEWPOUCH_RECLOSE /%failstowfull%/i
	matchre LOOT_GEMS_FAIL /%failstowsize%/i
	matchre LOOT_GEMS_FAIL /%errorstow%/i
	match LOOT_GEMS_GEMPOUCH_WORN_FULL_NEWPOUCH_PUT ...wait
	match LOOT_GEMS_GEMPOUCH_WORN_FULL_NEWPOUCH_PUT You may only type ahead
	put put my %loot_active in my %mendhunt_gems_container
	matchwait

LOOT_GEMS_GEMPOUCH_WORN_FULL_NEWPOUCH_RECLOSE:
	pause %matchwaitpause
	match LOOT_GEMS_GEMPOUCH_WORN_FULL_NEWPOUCH_RECLOSE ...wait
	match LOOT_GEMS_GEMPOUCH_WORN_FULL_NEWPOUCH_RECLOSE You may only type ahead
	matchre LOOT_GEMS_GEMPOUCH_WORN_FULL_NEWPOUCH_REREMOVE /.*/i
	put close my %mendhunt_gems_container
	matchwait

LOOT_GEMS_GEMPOUCH_WORN_FULL_NEWPOUCH_REREMOVE:
	pause %matchwaitpause
	match LOOT_GEMS_GEMPOUCH_WORN_FULL_NEWPOUCH_REREMOVE ...wait
	match LOOT_GEMS_GEMPOUCH_WORN_FULL_NEWPOUCH_REREMOVE You may only type ahead
	matchre LOOT_GEMS_GEMPOUCH_WORN_FULL_NEWPOUCH_RESTOW /.*/i
	put remove my %mendhunt_gems_container
	matchwait

LOOT_GEMS_GEMPOUCH_WORN_FULL_NEWPOUCH_RESTOW:
	pause %matchwaitpause
	matchre LOOT_GEMS_GEMPOUCH_WORN_FULL_NEWPOUCH_GET_LOOP /%hitstow%/i
	matchre LOOT_GEMS_FAIL /%failstowcall%/i
	matchre LOOT_GEMS_GEMPOUCH_WORN_CONTAINFULL /%failstowfull%/i
	matchre LOOT_GEMS_FAIL /%failstowsize%/i
	matchre LOOT_GEMS_FAIL /%errorstow%/i
	match LOOT_GEMS_GEMPOUCH_WORN_FULL_NEWPOUCH_RESTOW ...wait
	match LOOT_GEMS_GEMPOUCH_WORN_FULL_NEWPOUCH_RESTOW You may only type ahead
	put put my %mendhunt_gems_container in my %mendhunt_gpouch_full_container
	matchwait

#--------------------------------------------------------------------------- looped up

LOOT_GEMS_GEMPOUCH_WORN_CONTAINFULL:
	pause %matchwaitpause
	matchre LOOT_GEMS_FULL_FULL /%hitwear%/i
	matchre LOOT_GEMS_FULL_FULL /%failwear%/i
	match LOOT_GEMS_GEMPOUCH_WORN_CONTAINFULL ...wait
	match LOOT_GEMS_GEMPOUCH_WORN_CONTAINFULL You may only type ahead
	put wear my %mendhunt_gems_container
	matchwait

#_______________________________________________________________________Loot gems to stowed pouch
LOOT_GEMS_GEMPOUCH_STOWED:

LOOT_GEMS_GEMPOUCH_STOWED:
	pause %matchwaitpause
	matchre LOOT_GEMS_GO /%hitstow%/i
	matchre LOOT_GEMS_FAIL /%failstowcall%/i
	matchre LOOT_GEMS_GEMPOUCH_STOWED_FULL /The (.*) has been tied off/i
	matchre LOOT_GEMS_GEMPOUCH_STOWED_FULL /before putting more/i
	matchre LOOT_GEMS_GEMPOUCH_STOWED_FULL /%failstowfull%/i
	matchre LOOT_GEMS_FAIL /%failstowsize%/i
	matchre LOOT_GEMS_FAIL /%errorstow%/i
	match LOOT_GEMS_GEMPOUCH_STOWED ...wait
	match LOOT_GEMS_GEMPOUCH_STOWED You may only type ahead
	put put my %loot_active in my %mendhunt_gems_container in my %mendhunt_gpouch_empty_container
	matchwait

LOOT_GEMS_GEMPOUCH_STOWED_FULL:

LOOT_GEMS_GEMPOUCH_STOWED_FULL_EMPTY_HANDS:
	setvariable subreturnflagemptyhands LOOT_GEMS_GEMPOUCH_STOWED_FULL_EMPTY_HANDS
	goto SUB_EMPTY_HANDS
SUBRETURN_LOOT_GEMS_GEMPOUCH_STOWED_FULL_EMPTY_HANDS:

LOOT_GEMS_GEMPOUCH_STOWED_FULL_CLOSE:
	pause %matchwaitpause
	match LOOT_GEMS_GEMPOUCH_STOWED_FULL_CLOSE ...wait
	match LOOT_GEMS_GEMPOUCH_STOWED_FULL_CLOSE You may only type ahead
	matchre LOOT_GEMS_GEMPOUCH_STOWED_FULL_GET /.*/i
	put close my %mendhunt_gems_container in my %mendhunt_gpouch_empty_container
	matchwait

LOOT_GEMS_GEMPOUCH_STOWED_FULL_GET:
	pause %matchwaitpause
	match LOOT_GEMS_GEMPOUCH_STOWED_FULL_GET ...wait
	match LOOT_GEMS_GEMPOUCH_STOWED_FULL_GET You may only type ahead
	matchre LOOT_GEMS_GEMPOUCH_STOWED_FULL_TIE_TEST /.*/i
	put get my %mendhunt_gems_container in my %mendhunt_gpouch_empty_container
	matchwait

LOOT_GEMS_GEMPOUCH_STOWED_FULL_TIE_TEST:
		goto LOOT_GEMS_GEMPOUCH_STOWED_FULL_TIE_TEST_%mendhunt_gpouch_tie_test
	LOOT_GEMS_GEMPOUCH_STOWED_FULL_TIE_TEST_ON:
		goto LOOT_GEMS_GEMPOUCH_STOWED_FULL_TIE_GO
	LOOT_GEMS_GEMPOUCH_STOWED_FULL_TIE_TEST_OFF:
		goto LOOT_GEMS_GEMPOUCH_STOWED_FULL_STOW

LOOT_GEMS_GEMPOUCH_STOWED_FULL_TIE_GO:
	pause %matchwaitpause
	match LOOT_GEMS_GEMPOUCH_STOWED_FULL_TIE_GO ...wait
	match LOOT_GEMS_GEMPOUCH_STOWED_FULL_TIE_GO You may only type ahead
	matchre LOOT_GEMS_GEMPOUCH_STOWED_FULL_STOW /.*/i
	put tie my %mendhunt_gems_container
	matchwait

LOOT_GEMS_GEMPOUCH_STOWED_FULL_STOW:
	pause %matchwaitpause
	matchre LOOT_GEMS_GEMPOUCH_STOWED_FULL_NEWPOUCH_GET_LOOP /%hitstow%/i
	matchre LOOT_GEMS_FAIL /%failstowcall%/i
	matchre LOOT_GEMS_GEMPOUCH_STOWED_CONTAINFULL /%failstowfull%/i
	matchre LOOT_GEMS_FAIL /%failstowsize%/i
	matchre LOOT_GEMS_FAIL /%errorstow%/i
	match LOOT_GEMS_GEMPOUCH_STOWED_FULL_STOW ...wait
	match LOOT_GEMS_GEMPOUCH_STOWED_FULL_STOW You may only type ahead
	put put my %mendhunt_gems_container in my %mendhunt_gpouch_full_container
	matchwait

#--------------------------------------------------------------------------- looped down
LOOT_GEMS_GEMPOUCH_STOWED_FULL_NEWPOUCH_GET_LOOP:
	goto LOOT_GEMS_GEMPOUCH_STOWED_FULL_NEWPOUCH_GET_LOOP_%gempouchloopnum

	LOOT_GEMS_GEMPOUCH_STOWED_FULL_NEWPOUCH_GET_LOOP_1:
		setvariable gempouchloopnum 2
		setvariable pouchpos first
		goto LOOT_GEMS_GEMPOUCH_STOWED_FULL_NEWPOUCH_GET
	LOOT_GEMS_GEMPOUCH_STOWED_FULL_NEWPOUCH_GET_LOOP_2:
		setvariable gempouchloopnum 3
		setvariable pouchpos second
		goto LOOT_GEMS_GEMPOUCH_STOWED_FULL_NEWPOUCH_GET
	LOOT_GEMS_GEMPOUCH_STOWED_FULL_NEWPOUCH_GET_LOOP_3:
		setvariable gempouchloopnum 4
		setvariable pouchpos third
		goto LOOT_GEMS_GEMPOUCH_STOWED_FULL_NEWPOUCH_GET
	LOOT_GEMS_GEMPOUCH_STOWED_FULL_NEWPOUCH_GET_LOOP_4:
		setvariable gempouchloopnum 5
		setvariable pouchpos fourth
		goto LOOT_GEMS_GEMPOUCH_STOWED_FULL_NEWPOUCH_GET
	LOOT_GEMS_GEMPOUCH_STOWED_FULL_NEWPOUCH_GET_LOOP_5:
		setvariable gempouchloopnum 6
		setvariable pouchpos fifth
		goto LOOT_GEMS_GEMPOUCH_STOWED_FULL_NEWPOUCH_GET
	LOOT_GEMS_GEMPOUCH_STOWED_FULL_NEWPOUCH_GET_LOOP_6:
		setvariable gempouchloopnum 7
		setvariable pouchpos sixth
		goto LOOT_GEMS_GEMPOUCH_STOWED_FULL_NEWPOUCH_GET
	LOOT_GEMS_GEMPOUCH_STOWED_FULL_NEWPOUCH_GET_LOOP_7:
		goto LOOT_GEMS_FULL_FULL


LOOT_GEMS_GEMPOUCH_STOWED_FULL_NEWPOUCH_GET:
	pause %matchwaitpause
	match LOOT_GEMS_GEMPOUCH_STOWED_FULL_NEWPOUCH_STOW You get
	matchre LOOT_GEMS_FULL_FULL /%failget%/i
	match LOOT_GEMS_GEMPOUCH_STOWED_FULL_NEWPOUCH_GET ...wait
	match LOOT_GEMS_GEMPOUCH_STOWED_FULL_NEWPOUCH_GET You may only type ahead
	put get my %pouchpos %mendhunt_gems_container in my %mendhunt_gpouch_empty_container
	matchwait

LOOT_GEMS_GEMPOUCH_STOWED_FULL_NEWPOUCH_OPEN:
	pause %matchwaitpause
	match LOOT_GEMS_GEMPOUCH_STOWED_FULL_NEWPOUCH_OPEN ...wait
	match LOOT_GEMS_GEMPOUCH_STOWED_FULL_NEWPOUCH_OPEN You may only type ahead
	matchre LOOT_GEMS_GEMPOUCH_STOWED_FULL_NEWPOUCH_STOW /.*/i
	put open my %mendhunt_gems_container
	matchwait

LOOT_GEMS_GEMPOUCH_STOWED_FULL_NEWPOUCH_STOW:
	pause %matchwaitpause
	matchre LOOT_GEMS_GEMPOUCH_STOWED_FULL_NEWPOUCH_REGETLOOT /%hitstow%/i
	matchre LOOT_GEMS_FAIL /%failstowcall%/i
	matchre LOOT_GEMS_GEMPOUCH_STOWED_CONTAINFULL /%failstowfull%/i
	matchre LOOT_GEMS_FAIL /%failstowsize%/i
	matchre LOOT_GEMS_FAIL /%errorstow%/i
	match LOOT_GEMS_GEMPOUCH_STOWED_FULL_NEWPOUCH_STOW ...wait
	match LOOT_GEMS_GEMPOUCH_STOWED_FULL_NEWPOUCH_STOW You may only type ahead
	put put my %mendhunt_gems_container in my %mendhunt_gpouch_empty_container
	matchwait

LOOT_GEMS_GEMPOUCH_STOWED_FULL_NEWPOUCH_REGETLOOT:
	pause %matchwaitpause
	match LOOT_GEMS_GEMPOUCH_STOWED_FULL_NEWPOUCH_REGETLOOT ...wait
	match LOOT_GEMS_GEMPOUCH_STOWED_FULL_NEWPOUCH_REGETLOOT You may only type ahead
	matchre LOOT_GEMS_GEMPOUCH_WORN_FULL_NEWPOUCH_PUT /.*/i
	put get %loot_active
	matchwait

LOOT_GEMS_GEMPOUCH_STOWED_FULL_NEWPOUCH_PUT:
	pause %matchwaitpause
	matchre LOOT_GEMS_GO /%hitstow%/i
	matchre LOOT_GEMS_FAIL /%failstowcall%/i
	matchre LOOT_GEMS_GEMPOUCH_STOWED_FULL_NEWPOUCH_RECLOSE /The (.*) has been tied off/i
	matchre LOOT_GEMS_GEMPOUCH_STOWED_FULL_NEWPOUCH_RECLOSE /%failstowfull%/i
	matchre LOOT_GEMS_FAIL /%failstowsize%/i
	matchre LOOT_GEMS_FAIL /%errorstow%/i
	match LOOT_GEMS_GEMPOUCH_STOWED_FULL_NEWPOUCH_PUT ...wait
	match LOOT_GEMS_GEMPOUCH_STOWED_FULL_NEWPOUCH_PUT You may only type ahead
	put put my %loot_active in my %mendhunt_gems_container in my %mendhunt_gpouch_empty_container
	matchwait

LOOT_GEMS_GEMPOUCH_STOWED_FULL_NEWPOUCH_RECLOSE:
	pause %matchwaitpause
	match LOOT_GEMS_GEMPOUCH_STOWED_FULL_NEWPOUCH_RECLOSE ...wait
	match LOOT_GEMS_GEMPOUCH_STOWED_FULL_NEWPOUCH_RECLOSE You may only type ahead
	matchre LOOT_GEMS_GEMPOUCH_STOWED_FULL_NEWPOUCH_GET_LOOP /.*/i
	put close my %mendhunt_gems_container in my %mendhunt_gpouch_empty_container
	matchwait
#--------------------------------------------------------------------------- looped up

LOOT_GEMS_GEMPOUCH_STOWED_CONTAINFULL:
	pause %matchwaitpause
	matchre LOOT_GEMS_FULL_FULL /%hitstow%/i
	matchre LOOT_GEMS_FULL_FULL /%failstowcall%/i
	matchre LOOT_GEMS_FULL_FULL /%failstowfull%/i
	matchre LOOT_GEMS_FULL_FULL /%failstowsize%/i
	matchre LOOT_GEMS_FULL_FULL /%errorstow%/i
	match LOOT_GEMS_GEMPOUCH_STOWED_CONTAINFULL ...wait
	match LOOT_GEMS_GEMPOUCH_STOWED_CONTAINFULL You may only type ahead
	put put my %mendhunt_gems_container in my %mendhunt_gpouch_empty_container
	matchwait

#_______________________________________________________________________Loot gems to not pouch
LOOT_GEMS_NOTGEMPOUCH:
	pause %matchwaitpause
	matchre LOOT_GEMS_GO /%hitstow%/i
	matchre LOOT_GEMS_FAIL /%failstowcall%/i
	matchre LOOT_GEMS_FULL_FULL /The (.*) has been tied off/i
	matchre LOOT_GEMS_FULL_FULL /before putting more/i
	matchre LOOT_GEMS_FULL_FULL /%failstowfull%/i
	matchre LOOT_GEMS_FAIL /%failstowsize%/i
	matchre LOOT_GEMS_FAIL /%errorstow%/i
	match LOOT_GEMS_NOTGEMPOUCH ...wait
	match LOOT_GEMS_NOTGEMPOUCH You may only type ahead
	put put my %loot_active in my %mendhunt_gems_container
	matchwait
#_______________________________________________________________________Loot gems end
LOOT_GEMS_FULL_FULL:
	echo
	echo *************************************************************
	echo
	echo *** Gems container ( %mendhunt_gems_container ) is full, or
	echo 
	echo *** Out of empty gem pouches, or
	echo
	echo *** Full-gem-pouch container ( %mendhunt_gpouch_full_container ) is full
	echo
	echo skipping gems pickup
	echo
	echo *************************************************************
	echo
	setvariable flaggemscontainer FULL
	pause 1

LOOT_GEMS_FULL_FULL_STOWHANDS:
	setvariable subreturnflagemptyhands LOOT_GEMS_FULL_FULL_STOWHANDS
	goto SUB_EMPTY_HANDS
SUBRETURN_LOOT_GEMS_FULL_FULL_STOWHANDS:

LOOT_GEMS_FULL_FULL_EMPTYLEFT:
	pause %matchwaitpause
	matchre LOOT_GEMS_FULL_FULL_EMPTYRIGHT /You drop|Your (.*) already empty/i
	match LOOT_GEMS_FULL_FULL_EMPTYLEFT ...wait
	match LOOT_GEMS_FULL_FULL_EMPTYLEFT You may only type ahead
	put empty left
	matchwait

LOOT_GEMS_FULL_FULL_EMPTYRIGHT:
	pause %matchwaitpause
	matchre LOOT_GEMS_END /You drop|Your (.*) already empty/i
	match LOOT_GEMS_FULL_FULL_EMPTYRIGHT ...wait
	match LOOT_GEMS_FULL_FULL_EMPTYRIGHT You may only type ahead
	put empty right
	matchwait

LOOT_GEMS_FAIL:
	echo
	echo *************************************************************
	echo
	echo *** Loot gems fail
	echo
	echo Unexpected result while looting gems
	echo
	echo Could be one of multiple gem pouch errors, or
	echo Failed to grab item (hunting partner or trigger is catching in room description),
	echo or gem too large for gem pouch.
	echo
	echo
	echo Will try to continue,
	echo
	echo *************************************************************
	echo
	pause 1

LOOT_GEMS_FAIL_STOWHANDS:
	setvariable subreturnflagemptyhands LOOT_GEMS_FAIL_STOWHANDS
	goto SUB_EMPTY_HANDS
SUBRETURN_LOOT_GEMS_FAIL_STOWHANDS:

LOOT_GEMS_FAIL_EMPTYLEFT:
	pause %matchwaitpause
	matchre LOOT_GEMS_FAIL_EMPTYRIGHT /You drop|Your (.*) already empty/i
	match LOOT_GEMS_FAIL_EMPTYLEFT ...wait
	match LOOT_GEMS_FAIL_EMPTYLEFT You may only type ahead
	put empty left
	matchwait

LOOT_GEMS_FAIL_EMPTYRIGHT:
	pause %matchwaitpause
	matchre LOOT_GEMS_END /You drop|Your (.*) already empty/i
	match LOOT_GEMS_FAIL_EMPTYRIGHT ...wait
	match LOOT_GEMS_FAIL_EMPTYRIGHT You may only type ahead
	put empty right
	matchwait

LOOT_GEMS_SKIP:
	echo
	echo *************************************************************
	echo *** A gem container is full, or
	echo 
	echo *** Out of empty gem pouches
	echo
	echo skipping gems pickup
	echo
	echo *************************************************************
	echo
	goto LOOT_GEMS_END

LOOT_GEMS_END:
	setvariable commongemssearchedflag NO

#_______________________________________________________________________Bundle skins
LOOT_SKINS:
		goto LOOT_SKINS_%mendhunt_loot_skins_test
	LOOT_SKINS_ON:
		goto LOOT_SKINS_CONTAINER_CHECK
	LOOT_SKINS_OFF:
		goto LOOT_SKINS_END

LOOT_SKINS_CONTAINER_CHECK:
		goto LOOT_SKINS_CONTAINER_CHECK_%flagskinscontainer
	LOOT_SKINS_CONTAINER_CHECK_FULL:
		goto LOOT_SKINS_SKIP
	LOOT_SKINS_CONTAINER_CHECK_NOTFULL:
		goto LOOT_SKINS_HANDS_CHECK

LOOT_SKINS_HANDS_CHECK:
		goto LOOT_SKINS_HANDS_CHECK_%flagloothands
	LOOT_SKINS_HANDS_CHECK_FULL:
		goto LOOT_SKINS_EMPTY_HANDS
	LOOT_SKINS_HANDS_CHECK_EMPTY:
		goto LOOT_SKINS_START

LOOT_SKINS_EMPTY_HANDS:
	setvariable flagloothands EMPTY
	setvariable subreturnflagemptylefthand LOOT_SKINS_EMPTY_HANDS
	goto SUB_EMPTY_LEFTHAND
SUBRETURN_LOOT_SKINS_EMPTY_HANDS:

LOOT_SKINS_START:

LOOT_SKINS_START_RETREAT:
	setvariable subreturnflagretreat LOOT_SKINS_START_RETREAT
	goto SUB_RETREAT
SUBRETURN_LOOT_SKINS_START_RETREAT:

	echo
	echo *** Bundling skins
	echo

LOOT_SKINS_GO:
	setvariable subreturnflag LOOT_SKINS_GO
	goto SUB_LDB_SKINS

	SUBRETURN_DARK_LOOT_SKINS_GO:
		goto LOOT_DARK
	SUBRETURN_NOLOOT_LOOT_SKINS_GO:
		goto LOOT_SKINS_END
	SUBRETURN_LOOT_SKINS_GO:
		goto LOOT_SKINS_GO_RETREAT

LOOT_SKINS_GO_RETREAT:
	setvariable subreturnflagretreat LOOT_SKINS_GO_RETREAT
	goto SUB_RETREAT
SUBRETURN_LOOT_SKINS_GO_RETREAT:

LOOT_SKINS_GET:
	pause %matchwaitpause
	match LOOT_SKINS_BUNDLE You pick up
	match LOOT_SKINS_BUNDLE You get
	match LOOT_SKINS_BUNDLE You stop
	matchre LOOT_SKINS_BUNDLE_FAIL /%failget%/i
	match LOOT_SKINS_GET ...wait
	match LOOT_SKINS_GET You may only type ahead
	match LOOT_SKINS_BUNDLE_FAIL Roundtime
	put get %loot_active
	matchwait

LOOT_SKINS_BUNDLE:
	pause %matchwaitpause
	match LOOT_SKINS_GO You bundle
	match LOOT_SKINS_GO You stuff
	match LOOT_SKINS_BUNDLE_NEWBUN new bundle
	match LOOT_SKINS_BUNDLE_NEWBUN That's pretty heavy
	match LOOT_SKINS_BUNDLE_NEWBUN That's not going to work
	match LOOT_SKINS_BUNDLE_NEWBUN You try to stuff
	matchre LOOT_SKINS_BUNDLE_NEWBUN / can't | cannot | can not /i
	match LOOT_SKINS_BUNDLE ...wait
	match LOOT_SKINS_BUNDLE You may only type ahead
	put bundle
	matchwait

LOOT_SKINS_BUNDLE_NEWBUN:

LOOT_SKINS_BUNDLE_NEWBUN_EMPTY_HANDS:
	setvariable flagloothands EMPTY
	setvariable subreturnflagemptyhands LOOT_SKINS_BUNDLE_NEWBUN_EMPTY_HANDS
	goto SUB_EMPTY_HANDS
SUBRETURN_LOOT_SKINS_BUNDLE_NEWBUN_EMPTY_HANDS:

LOOT_SKINS_BUNDLE_NEWBUN_REMOVE_OLD:
	pause %matchwaitpause
	match LOOT_SKINS_BUNDLE_NEWBUN_REMOVE_OLD ...wait
	match LOOT_SKINS_BUNDLE_NEWBUN_REMOVE_OLD You may only type ahead
	matchre LOOT_SKINS_BUNDLE_NEWBUN_DROP_OLD /.*/i
	put remove my bundle
	matchwait

LOOT_SKINS_BUNDLE_NEWBUN_DROP_OLD:
	pause %matchwaitpause
	match LOOT_SKINS_BUNDLE_NEWBUN_DROP_OLD ...wait
	match LOOT_SKINS_BUNDLE_NEWBUN_DROP_OLD You may only type ahead
	matchre LOOT_SKINS_BUNDLE_NEWBUN_GET_ROPE /.*/i
	put drop my bundle
	matchwait

LOOT_SKINS_BUNDLE_NEWBUN_GET_ROPE:
	pause 1
	pause %matchwaitpause
	match LOOT_SKINS_BUNDLE_NEWBUN_GET_SKIN You get
	matchre LOOT_SKINS_BUNDLE_NEWBUN_NOROPE /%failget%/i
	match LOOT_SKINS_BUNDLE_NEWBUN_GET_ROPE ...wait
	match LOOT_SKINS_BUNDLE_NEWBUN_GET_ROPE You may only type ahead
	put get my bundling rope
	matchwait

LOOT_SKINS_BUNDLE_NEWBUN_GET_SKIN:
	pause %matchwaitpause
	match LOOT_SKINS_BUNDLE_NEWBUN_BUNDLE You pick up
	match LOOT_SKINS_BUNDLE_NEWBUN_BUNDLE You get
	match LOOT_SKINS_BUNDLE_NEWBUN_BUNDLE You stop
	matchre LOOT_SKINS_BUNDLE_FAIL /%failget%/i
	match LOOT_SKINS_BUNDLE_NEWBUN_GET_SKIN ...wait
	match LOOT_SKINS_BUNDLE_NEWBUN_GET_SKIN You may only type ahead
	match LOOT_SKINS_BUNDLE_FAIL Roundtime
	put get %loot_active
	matchwait

LOOT_SKINS_BUNDLE_NEWBUN_BUNDLE:
	pause %matchwaitpause
	match LOOT_SKINS_BUNDLE_NEWBUN_PREPULL1 You bundle
	match LOOT_SKINS_BUNDLE_NEWBUN_PREPULL1 You stuff
	match LOOT_SKINS_BUNDLE_FAIL That's not going to work
	match LOOT_SKINS_BUNDLE_NEWBUN_BUNDLE ...wait
	match LOOT_SKINS_BUNDLE_NEWBUN_BUNDLE You may only type ahead
	put bundle
	matchwait

LOOT_SKINS_BUNDLE_NEWBUN_PREPULL1:
	pause %matchwaitpause
	match LOOT_SKINS_BUNDLE_NEWBUN_PREPULL1 ...wait
	match LOOT_SKINS_BUNDLE_NEWBUN_PREPULL1 You may only type ahead
	matchre LOOT_SKINS_BUNDLE_NEWBUN_PREPULL2 /.*/i
	put pull my bundle
	matchwait

LOOT_SKINS_BUNDLE_NEWBUN_PREPULL2:
	pause %matchwaitpause
	match LOOT_SKINS_BUNDLE_NEWBUN_PREPULL2 ...wait
	match LOOT_SKINS_BUNDLE_NEWBUN_PREPULL2 You may only type ahead
	matchre LOOT_SKINS_BUNDLE_NEWBUN_WEAR1 /.*/i
	put pull my bundle
	matchwait

LOOT_SKINS_BUNDLE_NEWBUN_WEAR1:
	pause %matchwaitpause
	matchre LOOT_SKINS_GO /%hitwear%/i
	matchre LOOT_SKINS_BUNDLE_NEWBUN_PULL1 /%failwear%/i
	match LOOT_SKINS_BUNDLE_NEWBUN_WEAR1 ...wait
	match LOOT_SKINS_BUNDLE_NEWBUN_WEAR1 You may only type ahead
	put wear my bundle
	matchwait

LOOT_SKINS_BUNDLE_NEWBUN_PULL1:
	pause %matchwaitpause
	match LOOT_SKINS_BUNDLE_NEWBUN_PULL1 ...wait
	match LOOT_SKINS_BUNDLE_NEWBUN_PULL1 You may only type ahead
	matchre LOOT_SKINS_BUNDLE_NEWBUN_WEAR2 /.*/i
	put pull my bundle
	matchwait

LOOT_SKINS_BUNDLE_NEWBUN_WEAR2:
	pause %matchwaitpause
	matchre LOOT_SKINS_GO /%hitwear%/i
	matchre LOOT_SKINS_BUNDLE_NEWBUN_PULL2 /%failwear%/i
	match LOOT_SKINS_BUNDLE_NEWBUN_WEAR2 ...wait
	match LOOT_SKINS_BUNDLE_NEWBUN_WEAR2 You may only type ahead
	put wear my bundle
	matchwait

LOOT_SKINS_BUNDLE_NEWBUN_PULL2:
	pause %matchwaitpause
	match LOOT_SKINS_BUNDLE_NEWBUN_PULL2 ...wait
	match LOOT_SKINS_BUNDLE_NEWBUN_PULL2 You may only type ahead
	matchre LOOT_SKINS_BUNDLE_NEWBUN_WEAR3 /.*/i
	put pull my bundle
	matchwait

LOOT_SKINS_BUNDLE_NEWBUN_WEAR3:
	pause %matchwaitpause
	matchre LOOT_SKINS_GO /%hitwear%/i
	matchre LOOT_SKINS_BUNDLE_NEWBUN_PULL3 /%failwear%/i
	match LOOT_SKINS_BUNDLE_NEWBUN_WEAR3 ...wait
	match LOOT_SKINS_BUNDLE_NEWBUN_WEAR3 You may only type ahead
	put wear my bundle
	matchwait

LOOT_SKINS_BUNDLE_NEWBUN_PULL3:
	pause %matchwaitpause
	match LOOT_SKINS_BUNDLE_NEWBUN_PULL3 ...wait
	match LOOT_SKINS_BUNDLE_NEWBUN_PULL3 You may only type ahead
	matchre LOOT_SKINS_BUNDLE_NEWBUN_WEAR4 /.*/i
	put pull my bundle
	matchwait

LOOT_SKINS_BUNDLE_NEWBUN_WEAR4:
	pause %matchwaitpause
	matchre LOOT_SKINS_GO /%hitwear%/i
	matchre LOOT_SKINS_BUNDLE_NEWBUN_PULL4 /%failwear%/i
	match LOOT_SKINS_BUNDLE_NEWBUN_WEAR4 ...wait
	match LOOT_SKINS_BUNDLE_NEWBUN_WEAR4 You may only type ahead
	put wear my bundle
	matchwait

LOOT_SKINS_BUNDLE_NEWBUN_PULL4:
	pause %matchwaitpause
	match LOOT_SKINS_BUNDLE_NEWBUN_PULL4 ...wait
	match LOOT_SKINS_BUNDLE_NEWBUN_PULL4 You may only type ahead
	matchre LOOT_SKINS_BUNDLE_NEWBUN_WEAR5 /.*/i
	put pull my bundle
	matchwait

LOOT_SKINS_BUNDLE_NEWBUN_WEAR5:
	pause %matchwaitpause
	matchre LOOT_SKINS_GO /%hitwear%/i
	matchre LOOT_SKINS_FULL /%failwear%/i
	match LOOT_SKINS_BUNDLE_NEWBUN_WEAR5 ...wait
	match LOOT_SKINS_BUNDLE_NEWBUN_WEAR5 You may only type ahead
	put wear my bundle
	matchwait

LOOT_SKINS_BUNDLE_NEWBUN_NOROPE:
	goto LOOT_SKINS_FULL

LOOT_SKINS_BUNDLE_FAIL:
	echo
	echo *************************************************************
	echo
	echo *** Bundle fail
	echo
	echo Picked something up that is not bundable, or 
	echo Failed to grab item (hunting partner or trigger is catching in room description)
	echo
	echo Trying to continue
	echo
	echo Will drop the item, you will likely see this fail again until junk is cleaned up
	echo
	echo *************************************************************
	echo
	pause 1

LOOT_SKINS_BUNDLE_FAIL_EMPTYLEFT:
	pause %matchwaitpause
	matchre LOOT_SKINS_END /You drop|Your (.*) already empty/i
	match LOOT_SKINS_BUNDLE_FAIL_EMPTYLEFT ...wait
	match LOOT_SKINS_BUNDLE_FAIL_EMPTYLEFT You may only type ahead
	put empty left
	matchwait

LOOT_SKINS_FULL:
	echo
	echo *************************************************************
	echo *** Out of bundling rope or no place to wear bundle
	echo
	echo skipping bundling
	echo *************************************************************
	echo
	setvariable flagskinscontainer FULL

LOOT_SKINS_FULL_EMPTYLEFT:
	pause %matchwaitpause
	matchre LOOT_SKINS_FULL_EMPTYRIGHT /You drop|Your (.*) already empty/i
	match LOOT_SKINS_FULL_EMPTYLEFT ...wait
	match LOOT_SKINS_FULL_EMPTYLEFT You may only type ahead
	put empty left
	matchwait

LOOT_SKINS_FULL_EMPTYRIGHT:
	pause %matchwaitpause
	matchre LOOT_SKINS_END /You drop|Your (.*) already empty/i
	match LOOT_SKINS_FULL_EMPTYRIGHT ...wait
	match LOOT_SKINS_FULL_EMPTYRIGHT You may only type ahead
	put empty right
	matchwait

LOOT_SKINS_SKIP:
	echo
	echo *************************************************************
	echo *** Out of bundling rope or no place to wear bundle
	echo
	echo skipping bundling
	echo *************************************************************
	echo
	goto LOOT_SKINS_END

LOOT_SKINS_END:
#	put set !roombrief

	goto LOOT_END

#_______________________________________________________________________LOOT end
LOOT_DARK:
	echo
	echo *** Can't see to loot
	echo
	goto LOOT_END

LOOT_END:

LOOT_END_CHECK_HANDS:
		goto LOOT_END_CHECK_HANDS_%flagloothands
	LOOT_END_CHECK_HANDS_FULL:
		goto LOOT_END_END
	LOOT_END_CHECK_HANDS_EMPTY:
		goto LOOT_END_REEQUIP

#_______________________________________________________________________loot reequip arms
LOOT_END_REEQUIP:

LOOT_END_REEQUIP_RETREAT:
	setvariable subreturnflagretreat LOOT_END_REEQUIP_RETREAT
	goto SUB_RETREAT
SUBRETURN_LOOT_END_REEQUIP_RETREAT:

LOOT_END_REEQUIP_DUAL_TEST:
		goto LOOT_END_REEQUIP_DUAL_TEST_%weapon_type_active
	LOOT_END_REEQUIP_DUAL_TEST_MELEE:
		goto LOOT_END_REEQUIP_WEAPON_ACTIVE_NORMAL
	LOOT_END_REEQUIP_DUAL_TEST_RANGED:
		goto LOOT_END_REEQUIP_WEAPON_ACTIVE_NORMAL
	LOOT_END_REEQUIP_DUAL_TEST_THROWN:
		goto LOOT_END_REEQUIP_WEAPON_ACTIVE_NORMAL
	LOOT_END_REEQUIP_DUAL_TEST_DUAL:
		goto LOOT_END_REEQUIP_WEAPON_ACTIVE_DUAL
	LOOT_END_REEQUIP_DUAL_TEST_NOWEAP:
		goto LOOT_END_REEQUIP_SHIELD_TEST
	LOOT_END_REEQUIP_DUAL_TEST_MELEENOWEAP:
		goto LOOT_END_REEQUIP_SHIELD_TEST

LOOT_END_REEQUIP_WEAPON_ACTIVE_DUAL:

LOOT_END_REEQUIP_WEAPON_ACTIVE_DUAL_RH:
	setvariable subreturnflagequipweaponrh LOOT_END_REEQUIP_WEAPON_ACTIVE_DUAL_RH
	setvariable weapon_name_called %weapon_name_right_active
	goto SUB_EQUIP_WEAPON_CALLED_RIGHTHAND
SUBRETURN_LOOT_END_REEQUIP_WEAPON_ACTIVE_DUAL_RH:

LOOT_END_REEQUIP_WEAPON_ACTIVE_DUAL_LH:
	setvariable subreturnflagequipweaponlh LOOT_END_REEQUIP_WEAPON_ACTIVE_DUAL_LH
	setvariable weapon_name_called %weapon_name_left_active
	goto SUB_EQUIP_WEAPON_CALLED_LEFTHAND
SUBRETURN_LOOT_END_REEQUIP_WEAPON_ACTIVE_DUAL_LH:

	goto LOOT_END_END

LOOT_END_REEQUIP_WEAPON_ACTIVE_NORMAL:

LOOT_END_REEQUIP_WEAPON_ACTIVE:
	setvariable subreturnflagequipweaponrh LOOT_END_REEQUIP_WEAPON_ACTIVE
	setvariable weapon_name_called %weapon_name_active
	goto SUB_EQUIP_WEAPON_CALLED_RIGHTHAND
SUBRETURN_LOOT_END_REEQUIP_WEAPON_ACTIVE:

LOOT_END_REEQUIP_SHIELD_TEST:
		goto LOOT_END_REEQUIP_SHIELD_TEST_%shield_use_active
	LOOT_END_REEQUIP_SHIELD_TEST_OFF:
		goto LOOT_END_REEQUIP_SHIELD_HANDHELD_GRANITE_TEST
	LOOT_END_REEQUIP_SHIELD_TEST_ARMWORN:
		goto LOOT_END_END
	LOOT_END_REEQUIP_SHIELD_TEST_HANDHELD:
		goto LOOT_END_REEQUIP_SHIELD

LOOT_END_REEQUIP_SHIELD_HANDHELD_GRANITE_TEST:
		goto LOOT_END_REEQUIP_SHIELD_HANDHELD_GRANITE_TEST_%mendhunt_aeg_master_test
	LOOT_END_REEQUIP_SHIELD_HANDHELD_GRANITE_TEST_ON:
		goto LOOT_END_REEQUIP_SHIELD
	LOOT_END_REEQUIP_SHIELD_HANDHELD_GRANITE_TEST_OFF:
		goto LOOT_END_END

LOOT_END_REEQUIP_SHIELD:
	setvariable subreturnflagequipshield LOOT_END_REEQUIP_SHIELD
	setvariable shield_name_called %shield_name_active
	setvariable shield_use_called %shield_use_active
	goto SUB_EQUIP_SHIELD
SUBRETURN_LOOT_END_REEQUIP_SHIELD:


LOOT_END_END:
	setvariable deadcritterlootitflag OFF


######################### NDC CHECK ###################
#_______________________________________________________________________NDC MODE
COUNT_CRITTER_NDC_TEST:
		goto COUNT_CRITTER_NDC_TEST_%mendhunt_ndc_master_test
	COUNT_CRITTER_NDC_TEST_ON:
		goto NDC_ACTIONS
	COUNT_CRITTER_NDC_TEST_OFF:
		goto MAIN_START


#############################################################################
###########################    NDC SECTION    ###############################
#############################################################################

NDC_ACTIONS:
NDC_ACTIONS_START:
	setvariable flagndchands FULL

NDC_ACTIONS_VERIFY_COUNT:
	pause %matchwaitpause
	match NDC_ACTIONS_VERIFY_COUNT_OK no dangerous
	match MAIN_START Roundtime
	matchre STRANGE /%failcombat%/i
	match DEAD_CHARACTER You are a ghost
	match NDC_ACTIONS_VERIFY_COUNT ...wait
	match NDC_ACTIONS_VERIFY_COUNT You may only type ahead
	put count critter
	matchwait

NDC_ACTIONS_VERIFY_COUNT_OK:

#_______________________________________________________________________hum
NDC_HUM_START:

NDC_HUM_TEST:
		goto NDC_HUM_TEST_%mendhunt_ndc_hum_test
	NDC_HUM_TEST_ON:
		goto NDC_HUM_MENTAL_CHECK
	NDC_HUM_TEST_OFF:
		goto NDC_HUM_END

NDC_HUM_MENTAL_CHECK:
	setvariable subreturnflag NDC_HUM_MENTAL_CHECK
	setvariable skillclass VO
	goto SUB_MENTAL_CHECK
SUBRETURN_NDC_HUM_MENTAL_CHECK:

NDC_HUM_MENTAL_CHECK_TEST:
		goto NDC_HUM_MENTAL_CHECK_TEST_%skillmental
	NDC_HUM_MENTAL_CHECK_TEST_FULL:
		goto NDC_HUM_SKIP
	NDC_HUM_MENTAL_CHECK_TEST_NOTFULL:
		goto NDC_HUM_GO

NDC_HUM_GO:

NDC_HUM_GO_RETREAT:
	setvariable subreturnflagretreat NDC_HUM_GO_RETREAT
	goto SUB_RETREAT
SUBRETURN_NDC_HUM_GO_RETREAT:

	echo
	echo *** NDC humming %mendhunt_ndc_hum_item
	echo
NDC_HUM_GO_GO:
	pause %matchwaitpause
	match NDC_HUM_GO_GO ...wait
	match NDC_HUM_GO_GO You may only type ahead
	matchre NDC_HUM_END /.*/i
	put hum %mendhunt_ndc_hum_item
	matchwait

NDC_HUM_SKIP:
	echo
	echo *** NDC Vocals full, skipping
	echo
	goto NDC_HUM_END

NDC_HUM_END:

#_______________________________________________________________________pow
NDC_POW_START:

NDC_POW_TEST:
		goto NDC_POW_TEST_%mendhunt_ndc_pow_test
	NDC_POW_TEST_ON:
		goto NDC_POW_MENTAL_CHECK
	NDC_POW_TEST_OFF:
		goto NDC_POW_END

NDC_POW_MENTAL_CHECK:
	setvariable subreturnflag NDC_POW_MENTAL_CHECK
	setvariable skillclass PP
	goto SUB_MENTAL_CHECK
SUBRETURN_NDC_POW_MENTAL_CHECK:


NDC_POW_MENTAL_CHECK_TEST:
		goto NDC_POW_MENTAL_CHECK_TEST_%skillmental
	NDC_POW_MENTAL_CHECK_TEST_FULL:
		goto NDC_POW_SKIP
	NDC_POW_MENTAL_CHECK_TEST_NOTFULL:
		goto NDC_POW_GO

NDC_POW_GO:

NDC_POW_GO_RETREAT:
	setvariable subreturnflagretreat NDC_POW_GO_RETREAT
	goto SUB_RETREAT
SUBRETURN_NDC_POW_GO_RETREAT:

	echo
	echo *** NDC powing
	echo

NDC_POW_GO_GO:
	setvariable subreturnflagnp NDC_POW_GO_GO
	setvariable nakedput pow
	goto SUB_NAKED_PUT
SUBRETURN_NDC_POW_GO_GO:

	goto NDC_POW_END

NDC_POW_SKIP:
	echo
	echo *** NDC Power Perceive full, skipping
	echo
	goto NDC_POW_END

NDC_POW_END:

#_______________________________________________________________________juggle
NDC_JUGGLE_START:

NDC_JUGGLE_TEST:
		goto NDC_JUGGLE_TEST_%mendhunt_ndc_juggle_test
	NDC_JUGGLE_TEST_ON:
		goto NDC_JUGGLE_MENTAL_CHECK
	NDC_JUGGLE_TEST_OFF:
		goto NDC_JUGGLE_END

NDC_JUGGLE_MENTAL_CHECK:
	setvariable subreturnflag NDC_JUGGLE_MENTAL_CHECK
	setvariable skillclass PE
	goto SUB_MENTAL_CHECK
SUBRETURN_NDC_JUGGLE_MENTAL_CHECK:

NDC_JUGGLE_MENTAL_CHECK_TEST:
		goto NDC_JUGGLE_MENTAL_CHECK_TEST_%skillmental
	NDC_JUGGLE_MENTAL_CHECK_TEST_FULL:
		goto NDC_JUGGLE_SKIP
	NDC_JUGGLE_MENTAL_CHECK_TEST_NOTFULL:
		goto NDC_JUGGLE_HANDS_CHECK

NDC_JUGGLE_HANDS_CHECK:
		goto NDC_JUGGLE_HANDS_CHECK_%flagndchands
	NDC_JUGGLE_HANDS_CHECK_FULL:
		goto NDC_JUGGLE_EMPTY_HANDS
	NDC_JUGGLE_HANDS_CHECK_EMPTY:
		goto NDC_JUGGLE_GO

NDC_JUGGLE_EMPTY_HANDS:
	setvariable flagndchands EMPTY
	setvariable subreturnflagemptyhands NDC_JUGGLE_EMPTY_HANDS
	goto SUB_EMPTY_HANDS
SUBRETURN_NDC_JUGGLE_EMPTY_HANDS:

NDC_JUGGLE_GO:

NDC_JUGGLE_GO_RETREAT:
	setvariable subreturnflagretreat NDC_JUGGLE_GO_RETREAT
	goto SUB_RETREAT
SUBRETURN_NDC_JUGGLE_GO_RETREAT:

	echo
	echo *** NDC juggling %mendhunt_ndc_juggle_item
	echo

NDC_JUGGLE_GO_GET_ITEM:
	pause %matchwaitpause
	match NDC_JUGGLE_GO_JUGGLE you get
	matchre NDC_JUGGLE_FAIL /%failget%/i
	match NDC_JUGGLE_GO_GET_ITEM ...wait
	match NDC_JUGGLE_GO_GET_ITEM You may only type ahead
	put get my %mendhunt_ndc_juggle_item
	matchwait

NDC_JUGGLE_GO_JUGGLE:
	pause %matchwaitpause
	match NDC_JUGGLE_GO_JUGGLE ...wait
	match NDC_JUGGLE_GO_JUGGLE You may only type ahead
	matchre NDC_JUGGLE_GO_JUGGLE_PAUSE /.*/i
	put juggle my %mendhunt_ndc_juggle_item
	matchwait

NDC_JUGGLE_GO_JUGGLE_PAUSE:
	pause 1

RTCHECK_NDC_JUGGLE_GO_JUGGLE:
	pause %rtcheckpause
	match RTCHECK_NDC_JUGGLE_GO_JUGGLE_READY What were you referring to
	match RTCHECK_NDC_JUGGLE_GO_JUGGLE ...wait
	match RTCHECK_NDC_JUGGLE_GO_JUGGLE You may only type ahead
	put get my rtchecking
	matchwait
RTCHECK_NDC_JUGGLE_GO_JUGGLE_READY:

NDC_JUGGLE_GO_STOW_ITEM:
	pause %matchwaitpause
	matchre NDC_JUGGLE_END /%hitstow%/i
	matchre NDC_JUGGLE_END /%failstowcall%/i
	matchre ERROR_STOW /%failstowfull%/i
	matchre ERROR_STOW /%failstowsize%/i
	matchre ERROR_STOW /%errorstow%/i
	match NDC_JUGGLE_GO_STOW_ITEM ...wait
	match NDC_JUGGLE_GO_STOW_ITEM You may only type ahead
	put stow my %mendhunt_ndc_juggle_item
	matchwait

NDC_JUGGLE_FAIL:
	echo
	echo *************************************************************
	echo *** Juggle fail
	echo
	echo I can't find your juggle item:   %mendhunt_ndc_juggle_item
	echo 
	echo Either bad name or in a closed container
	echo
	echo Trying to continue
	echo
	echo *************************************************************
	echo
	pause 1
	goto NDC_JUGGLE_END

NDC_JUGGLE_SKIP:
	echo
	echo *** NDC Perception full, skipping
	echo
	goto NDC_JUGGLE_END

NDC_JUGGLE_END:

#_______________________________________________________________________compendium
NDC_COMP_START:

NDC_COMP_TEST:
		goto NDC_COMP_TEST_%mendhunt_ndc_comp_test
	NDC_COMP_TEST_ON:
		goto NDC_COMP_MENTAL_CHECK
	NDC_COMP_TEST_OFF:
		goto NDC_COMP_END

NDC_COMP_MENTAL_CHECK:
	setvariable subreturnflag NDC_COMP_MENTAL_CHECK
	setvariable skillclass FA
	goto SUB_MENTAL_CHECK
SUBRETURN_NDC_COMP_MENTAL_CHECK:

NDC_COMP_MENTAL_CHECK_TEST:
		goto NDC_COMP_MENTAL_CHECK_TEST_%skillmental
	NDC_COMP_MENTAL_CHECK_TEST_FULL:
		goto NDC_COMP_SKIP
	NDC_COMP_MENTAL_CHECK_TEST_NOTFULL:
		goto NDC_COMP_HANDS_CHECK

NDC_COMP_HANDS_CHECK:
		goto NDC_COMP_HANDS_CHECK_%flagndchands
	NDC_COMP_HANDS_CHECK_FULL:
		goto NDC_COMP_EMPTY_HANDS
	NDC_COMP_HANDS_CHECK_EMPTY:
		goto NDC_COMP_GO

NDC_COMP_EMPTY_HANDS:
	setvariable flagndchands EMPTY
	setvariable subreturnflagemptyhands NDC_COMP_EMPTY_HANDS
	goto SUB_EMPTY_HANDS
SUBRETURN_NDC_COMP_EMPTY_HANDS:

NDC_COMP_GO:

NDC_COMP_GO_RETREAT:
	setvariable subreturnflagretreat NDC_COMP_GO_RETREAT
	goto SUB_RETREAT
SUBRETURN_NDC_COMP_GO_RETREAT:

	echo
	echo *** NDC study compendium
	echo

NDC_COMP_GO_GET_ITEM:
	pause %matchwaitpause
	match NDC_COMP_GO_OPEN you get
	matchre NDC_COMP_FAIL /%failget%/i
	match NDC_COMP_GO_GET_ITEM ...wait
	match NDC_COMP_GO_GET_ITEM You may only type ahead
	put get my compendium
	matchwait

NDC_COMP_GO_OPEN:
	pause %matchwaitpause
	match NDC_COMP_GO_OPEN ...wait
	match NDC_COMP_GO_OPEN You may only type ahead
	matchre NDC_COMP_GO_TURN /.*/i
	put open my compendium
	matchwait

NDC_COMP_GO_TURN:
	pause %matchwaitpause
	match NDC_COMP_GO_TURN ...wait
	match NDC_COMP_GO_TURN You may only type ahead
	matchre NDC_COMP_GO_STUDY /.*/i
	put turn my compendium
	matchwait

NDC_COMP_GO_STUDY:
	pause %matchwaitpause
	match NDC_COMP_GO_STUDY ...wait
	match NDC_COMP_GO_STUDY You may only type ahead
	matchre NDC_COMP_GO_STUDY_PAUSE /.*/i
	put study my compendium
	matchwait

NDC_COMP_GO_STUDY_PAUSE:
	pause 1

RTCHECK_NDC_COMP_GO_STUDY:
	pause %rtcheckpause
	match RTCHECK_NDC_COMP_GO_STUDY_READY What were you referring to
	match RTCHECK_NDC_COMP_GO_STUDY ...wait
	match RTCHECK_NDC_COMP_GO_STUDY You may only type ahead
	put get my rtchecking
	matchwait
RTCHECK_NDC_COMP_GO_STUDY_READY:

NDC_COMP_GO_CLOSE:
	pause %matchwaitpause
	match NDC_COMP_GO_CLOSE ...wait
	match NDC_COMP_GO_CLOSE You may only type ahead
	matchre NDC_COMP_GO_STOW_ITEM /.*/i
	put close my compendium
	matchwait

NDC_COMP_GO_STOW_ITEM:
	pause %matchwaitpause
	matchre NDC_COMP_END /%hitstow%/i
	matchre NDC_COMP_END /%failstowcall%/i
	matchre ERROR_STOW /%failstowfull%/i
	matchre ERROR_STOW /%failstowsize%/i
	matchre ERROR_STOW /%errorstow%/i
	match NDC_COMP_GO_STOW_ITEM ...wait
	match NDC_COMP_GO_STOW_ITEM You may only type ahead
	put stow my compendium
	matchwait

NDC_COMP_FAIL:
	echo
	echo *************************************************************
	echo *** Compendium fail
	echo
	echo I can't find your compendium
	echo 
	echo Either not on you or in a closed container
	echo
	echo Trying to continue
	echo
	echo *************************************************************
	echo
	pause 1
	goto NDC_COMP_END

NDC_COMP_SKIP:
	echo
	echo *** NDC first aid full, skipping compendium
	echo
	goto NDC_COMP_END

NDC_COMP_END:

#_______________________________________________________________________stones
NDC_STONES_START:

NDC_STONES_TEST:
		goto NDC_STONES_TEST_%mendhunt_ndc_stones_test
	NDC_STONES_TEST_ON:
		goto NDC_STONES_MENTAL_CHECK
	NDC_STONES_TEST_OFF:
		goto NDC_STONES_END

NDC_STONES_MENTAL_CHECK:
	setvariable subreturnflag NDC_STONES_MENTAL_CHECK
	setvariable skillclass ML
	goto SUB_MENTAL_CHECK
SUBRETURN_NDC_STONES_MENTAL_CHECK:

NDC_STONES_MENTAL_CHECK_TEST:
		goto NDC_STONES_MENTAL_CHECK_TEST_%skillmental
	NDC_STONES_MENTAL_CHECK_TEST_FULL:
		goto NDC_STONES_SKIP
	NDC_STONES_MENTAL_CHECK_TEST_NOTFULL:
		goto NDC_STONES_HANDS_CHECK

NDC_STONES_HANDS_CHECK:
		goto NDC_STONES_HANDS_CHECK_%flagndchands
	NDC_STONES_HANDS_CHECK_FULL:
		goto NDC_STONES_EMPTY_HANDS
	NDC_STONES_HANDS_CHECK_EMPTY:
		goto NDC_STONES_GO

NDC_STONES_EMPTY_HANDS:
	setvariable flagndchands EMPTY
	setvariable subreturnflagemptyhands NDC_STONES_EMPTY_HANDS
	goto SUB_EMPTY_HANDS
SUBRETURN_NDC_STONES_EMPTY_HANDS:

NDC_STONES_GO:

NDC_STONES_GO_RETREAT:
	setvariable subreturnflagretreat NDC_STONES_GO_RETREAT
	goto SUB_RETREAT
SUBRETURN_NDC_STONES_GO_RETREAT:

	echo
	echo *** NDC combining stones
	echo

NDC_STONES_GO_GET_ITEM:
	pause %matchwaitpause
	match NDC_STONES_GO_REMOVE you get
	matchre NDC_STONES_FAIL /%failget%/i
	match NDC_STONES_GO_GET_ITEM ...wait
	match NDC_STONES_GO_GET_ITEM You may only type ahead
	put get my stones
	matchwait

NDC_STONES_GO_REMOVE:
	setvariable subreturnflagnp3 NDC_STONES_GO_REMOVE
	setvariable nakedput1 remove
	setvariable nakedput2 1
	setvariable nakedput3 stone
	goto SUB_NAKED_PUT3
SUBRETURN_NDC_STONES_GO_REMOVE:

NDC_STONES_GO_COMBINE:
	setvariable subreturnflagnp3 NDC_STONES_GO_COMBINE
	setvariable nakedput1 combine
	setvariable nakedput2 my
	setvariable nakedput3 stone
	goto SUB_NAKED_PUT3
SUBRETURN_NDC_STONES_GO_COMBINE:

NDC_STONES_GO_STOWLEFT:
	pause %matchwaitpause
	matchre NDC_STONES_GO_STOWRIGHT /%hitstow%/i
	matchre NDC_STONES_GO_STOWRIGHT /%failstowcall%/i
	matchre ERROR_STOW /%failstowfull%/i
	matchre ERROR_STOW /%failstowsize%/i
	matchre ERROR_STOW /%errorstow%/i
	match NDC_STONES_GO_STOWLEFT ...wait
	match NDC_STONES_GO_STOWLEFT You may only type ahead
	put stow left
	matchwait

NDC_STONES_GO_STOWRIGHT:
	pause %matchwaitpause
	matchre NDC_STONES_END /%hitstow%/i
	matchre NDC_STONES_END /%failstowcall%/i
	matchre ERROR_STOW /%failstowfull%/i
	matchre ERROR_STOW /%failstowsize%/i
	matchre ERROR_STOW /%errorstow%/i
	match NDC_STONES_GO_STOWRIGHT ...wait
	match NDC_STONES_GO_STOWRIGHT You may only type ahead
	put stow right
	matchwait

NDC_STONES_FAIL:
	echo
	echo *************************************************************
	echo *** Combine stones fail
	echo
	echo I can't find your stones
	echo 
	echo Either not on you or in a closed container
	echo
	echo Trying to continue
	echo
	echo *************************************************************
	echo
	pause 1
	goto NDC_STONES_END

NDC_STONES_SKIP:
	echo
	echo *** NDC Mechanical Lore full, skipping stones
	echo
	goto NDC_STONES_END

NDC_STONES_END:

#_______________________________________________________________________pyramid
NDC_PYRAMID_START:

NDC_PYRAMID_TEST:
		goto NDC_PYRAMID_TEST_%mendhunt_ndc_pyramid_test
	NDC_PYRAMID_TEST_ON:
		goto NDC_PYRAMID_STARTEMPTY_TEST
	NDC_PYRAMID_TEST_OFF:
		goto NDC_PYRAMID_END

NDC_PYRAMID_STARTEMPTY_TEST:
		goto NDC_PYRAMID_STARTEMPTY_TEST_%flagndcpyramidstartedempty
	NDC_PYRAMID_STARTEMPTY_TEST_YES:
		goto NDC_PYRAMID_GO_LOOPCHECK
	NDC_PYRAMID_STARTEMPTY_TEST_NO:
		goto NDC_PYRAMID_NOTEMPTYSTART_FAIL

NDC_PYRAMID_GO_LOOPCHECK:
		goto NDC_PYRAMID_GO_LOOPCHECK_%ndcpyramidloopnum
	NDC_PYRAMID_GO_LOOPCHECK_1:
		counter set %ndcpyramidloopnum
		counter add 1
		setvariable ndcpyramidloopnum %c
		goto NDC_PYRAMID_MENTAL_CHECK
	NDC_PYRAMID_GO_LOOPCHECK_2:
		counter set %ndcpyramidloopnum
		counter add 1
		setvariable ndcpyramidloopnum %c
		goto NDC_PYRAMID_END
	NDC_PYRAMID_GO_LOOPCHECK_3:
		counter set %ndcpyramidloopnum
		counter add 1
		setvariable ndcpyramidloopnum %c
		goto NDC_PYRAMID_END
	NDC_PYRAMID_GO_LOOPCHECK_4:
		setvariable ndcpyramidloopnum 1
		goto NDC_PYRAMID_END

NDC_PYRAMID_MENTAL_CHECK:
	setvariable subreturnflag NDC_PYRAMID_MENTAL_CHECK
	setvariable skillclass ML
	goto SUB_MENTAL_CHECK
SUBRETURN_NDC_PYRAMID_MENTAL_CHECK:

NDC_PYRAMID_MENTAL_CHECK_TEST:
		goto NDC_PYRAMID_MENTAL_CHECK_TEST_%skillmental
	NDC_PYRAMID_MENTAL_CHECK_TEST_FULL:
		goto NDC_PYRAMID_SKIP
	NDC_PYRAMID_MENTAL_CHECK_TEST_NOTFULL:
		goto NDC_PYRAMID_HANDS_CHECK

NDC_PYRAMID_HANDS_CHECK:
		goto NDC_PYRAMID_HANDS_CHECK_%flagndchands
	NDC_PYRAMID_HANDS_CHECK_FULL:
		goto NDC_PYRAMID_EMPTY_HANDS
	NDC_PYRAMID_HANDS_CHECK_EMPTY:
		goto NDC_PYRAMID_GO

NDC_PYRAMID_EMPTY_HANDS:
	setvariable flagndchands EMPTY
	setvariable subreturnflagemptyhands NDC_PYRAMID_EMPTY_HANDS
	goto SUB_EMPTY_HANDS
SUBRETURN_NDC_PYRAMID_EMPTY_HANDS:

NDC_PYRAMID_GO:

NDC_PYRAMID_GO_RETREAT:
	setvariable subreturnflagretreat NDC_PYRAMID_GO_RETREAT
	goto SUB_RETREAT
SUBRETURN_NDC_PYRAMID_GO_RETREAT:

	echo
	echo *** NDC pyramid
	echo

NDC_PYRAMID_GO_FIRSTLOOK_TEST:
		goto NDC_PYRAMID_GO_FIRSTLOOK_TEST_%flagndcpyramidfirstlook
	NDC_PYRAMID_GO_FIRSTLOOK_TEST_YES:
		goto NDC_PYRAMID_GO_FIRSTLOOK
	NDC_PYRAMID_GO_FIRSTLOOK_TEST_NO:
		goto NDC_PYRAMID_GO_OPEN

NDC_PYRAMID_GO_FIRSTLOOK:
	setvariable flagndcpyramidfirstlook NO

NDC_PYRAMID_GO_FIRSTLOOK_GET_ITEM_TAP:
	pause %matchwaitpause
	matchre NDC_PYRAMID_GO_FIRSTLOOK_OPEN /You tap (.*) Wayerd pyramid on the ground/i
	matchre NDC_PYRAMID_GO_FIRSTLOOK_GET_ITEM /You tap (.*) Wayerd pyramid inside your/i
	matchre NDC_PYRAMID_GO_FIRSTLOOK_DROP /You tap (.*) Wayerd pyramid that you are holding/i
	match NDC_PYRAMID_FAIL I could not find what you were referring to
	match NDC_PYRAMID_GO_FIRSTLOOK_GET_ITEM_TAP ...wait
	match NDC_PYRAMID_GO_FIRSTLOOK_GET_ITEM_TAP You may only type ahead
	put tap pyramid
	matchwait

NDC_PYRAMID_GO_FIRSTLOOK_GET_ITEM:
	pause %matchwaitpause
	match NDC_PYRAMID_GO_FIRSTLOOK_DROP you get
	matchre NDC_PYRAMID_FAIL /%failget%/i
	match NDC_PYRAMID_GO_FIRSTLOOK_GET_ITEM ...wait
	match NDC_PYRAMID_GO_FIRSTLOOK_GET_ITEM You may only type ahead
	put get my pyramid
	matchwait

NDC_PYRAMID_GO_FIRSTLOOK_DROP:
	pause %matchwaitpause
	match NDC_PYRAMID_GO_FIRSTLOOK_DROP ...wait
	match NDC_PYRAMID_GO_FIRSTLOOK_DROP You may only type ahead
	matchre NDC_PYRAMID_GO_FIRSTLOOK_OPEN /.*/i
	put drop my pyramid
	matchwait

NDC_PYRAMID_GO_FIRSTLOOK_OPEN:
	pause %matchwaitpause
	match NDC_PYRAMID_GO_FIRSTLOOK_OPEN ...wait
	match NDC_PYRAMID_GO_FIRSTLOOK_OPEN You may only type ahead
	matchre NDC_PYRAMID_GO_FIRSTLOOK_LOOK /.*/i
	put open pyramid
	matchwait

NDC_PYRAMID_GO_FIRSTLOOK_LOOK:
	pause %matchwaitpause
	match NDC_PYRAMID_GO_CHECKDRIED_YES_FORAGE There is nothing in there
	matchre NDC_PYRAMID_GO_FIRSTLOOK_GET /In the (.*) dried/i
	matchre NDC_PYRAMID_GO_FIRSTLOOK_GET /In the (.*)\./i
	match NDC_PYRAMID_GO_FIRSTLOOK_LOOK ...wait
	match NDC_PYRAMID_GO_FIRSTLOOK_LOOK You may only type ahead
	put look in pyramid
	matchwait

#-----------------------------------------------------

NDC_PYRAMID_GO_FIRSTLOOK_GET:
	pause %matchwaitpause
	match NDC_PYRAMID_GO_FIRSTLOOK_DROP You get
	matchre NDC_PYRAMID_GO_FIRSTLOOK_LOOK2 /%failget%/i
	match NDC_PYRAMID_GO_FIRSTLOOK_GET ...wait
	match NDC_PYRAMID_GO_FIRSTLOOK_GET You may only type ahead
	put get %mendhunt_ndc_pyramid_item in pyramid
	matchwait 

NDC_PYRAMID_GO_FIRSTLOOK_DROP:
	pause %matchwaitpause
	match NDC_PYRAMID_GO_FIRSTLOOK_DROP ...wait
	match NDC_PYRAMID_GO_FIRSTLOOK_DROP You may only type ahead
	matchre NDC_PYRAMID_GO_FIRSTLOOK_GET /.*/i
	put drop my %mendhunt_ndc_pyramid_item
	matchwait

NDC_PYRAMID_GO_FIRSTLOOK_LOOK2:
	pause %matchwaitpause
	match NDC_PYRAMID_GO_CHECKDRIED_YES_FORAGE There is nothing in there
	matchre NDC_PYRAMID_GO_FIRSTLOOK_CANTEMPTY /In the (.*) dried/i
	matchre NDC_PYRAMID_GO_FIRSTLOOK_CANTEMPTY /In the (.*)\./i
	match NDC_PYRAMID_GO_FIRSTLOOK_LOOK2 ...wait
	match NDC_PYRAMID_GO_FIRSTLOOK_LOOK2 You may only type ahead
	put look in pyramid
	matchwait

NDC_PYRAMID_GO_FIRSTLOOK_CANTEMPTY:
	setvariable flagndcpyramidstartedempty NO

NDC_PYRAMID_GO_FIRSTLOOK_CANTEMPTY_CLOSE:
	pause %matchwaitpause
	match NDC_PYRAMID_GO_FIRSTLOOK_CANTEMPTY_CLOSE ...wait
	match NDC_PYRAMID_GO_FIRSTLOOK_CANTEMPTY_CLOSE You may only type ahead
	matchre NDC_PYRAMID_NOTEMPTYSTART_FAIL /.*/i
	put close pyramid
	matchwait

#-----------------------------------------------------

NDC_PYRAMID_GO_OPEN:
	pause %matchwaitpause
	match NDC_PYRAMID_GO_OPEN ...wait
	match NDC_PYRAMID_GO_OPEN You may only type ahead
	matchre NDC_PYRAMID_GO_CHECKDRIED /.*/i
	put open pyramid
	matchwait

NDC_PYRAMID_GO_CHECKDRIED:
	pause %matchwaitpause
	match NDC_PYRAMID_GO_CHECKDRIED_YES_FORAGE There is nothing in there
	matchre NDC_PYRAMID_GO_CHECKDRIED_YES_DRIED /In the (.*) dried/i
	matchre NDC_PYRAMID_GO_CHECKDRIED_NO /In the (.*)\./i
	match NDC_PYRAMID_GO_CHECKDRIED ...wait
	match NDC_PYRAMID_GO_CHECKDRIED You may only type ahead
	put look in pyramid
	matchwait

NDC_PYRAMID_GO_CHECKDRIED_YES_DRIED:

NDC_PYRAMID_GO_CHECKDRIED_YES_DRIED_GET:
	pause %matchwaitpause
	match NDC_PYRAMID_GO_CHECKDRIED_YES_DRIED_GET ...wait
	match NDC_PYRAMID_GO_CHECKDRIED_YES_DRIED_GET You may only type ahead
	matchre NDC_PYRAMID_GO_CHECKDRIED_YES_DROP /.*/i
	put get %mendhunt_ndc_pyramid_item in pyramid
	matchwait

NDC_PYRAMID_GO_CHECKDRIED_YES_DROP:
	pause %matchwaitpause
	match NDC_PYRAMID_GO_CHECKDRIED_YES_DROP ...wait
	match NDC_PYRAMID_GO_CHECKDRIED_YES_DROP You may only type ahead
	matchre NDC_PYRAMID_GO_CHECKDRIED_YES_FORAGE /.*/i
	put drop my %mendhunt_ndc_pyramid_item
	matchwait

NDC_PYRAMID_GO_CHECKDRIED_YES_FORAGE:
	setvariable subreturnflagnp2 NDC_PYRAMID_GO_CHECKDRIED_YES_FORAGE
	setvariable nakedput1 forage
	setvariable nakedput2 %mendhunt_ndc_pyramid_item
	goto SUB_NAKED_PUT2
SUBRETURN_NDC_PYRAMID_GO_CHECKDRIED_YES_FORAGE:

NDC_PYRAMID_GO_CHECKDRIED_YES_PUTIN:
	pause %matchwaitpause
	match NDC_PYRAMID_GO_CHECKDRIED_YES_PUTIN ...wait
	match NDC_PYRAMID_GO_CHECKDRIED_YES_PUTIN You may only type ahead
	matchre NDC_PYRAMID_GO_CHECKDRIED_YES_CLOSE /.*/i
	put put my %mendhunt_ndc_pyramid_item in pyramid
	matchwait

NDC_PYRAMID_GO_CHECKDRIED_YES_CLOSE:
	pause %matchwaitpause
	match NDC_PYRAMID_GO_CHECKDRIED_YES_CLOSE ...wait
	match NDC_PYRAMID_GO_CHECKDRIED_YES_CLOSE You may only type ahead
	matchre NDC_PYRAMID_END /.*/i
	put close pyramid
	matchwait

#-----------------------------------------------------

NDC_PYRAMID_GO_CHECKDRIED_NO:
	pause %matchwaitpause
	match NDC_PYRAMID_GO_CHECKDRIED_NO ...wait
	match NDC_PYRAMID_GO_CHECKDRIED_NO You may only type ahead
	matchre NDC_PYRAMID_END /.*/i
	put close pyramid
	matchwait

NDC_PYRAMID_FAIL:
	echo
	echo *************************************************************
	echo *** Pyramid fail
	echo
	echo I can't find your pyramid
	echo 
	echo Either not on you or in a closed container
	echo
	echo Trying to continue
	echo
	echo *************************************************************
	echo
	pause 1
	goto NDC_PYRAMID_END


NDC_PYRAMID_NOTEMPTYSTART_FAIL:
	echo
	echo *************************************************************
	echo *** Pyramid fail
	echo
	echo Start script with empty pyramid
	echo 
	echo Skipping pyramid
	echo
	echo *************************************************************
	echo
	pause 1
	goto NDC_PYRAMID_END

NDC_PYRAMID_SKIP:
	echo
	echo *** NDC Mechanical Lore full, skipping pyramid
	echo
	goto NDC_PYRAMID_END

NDC_PYRAMID_END:

#_______________________________________________________________________forage
NDC_FORAGE_START:

NDC_FORAGE_TEST:
		goto NDC_FORAGE_TEST_%mendhunt_ndc_forage_test
	NDC_FORAGE_TEST_ON:
		goto NDC_FORAGE_MENTAL_CHECK
	NDC_FORAGE_TEST_OFF:
		goto NDC_FORAGE_END

NDC_FORAGE_MENTAL_CHECK:
	setvariable subreturnflag NDC_FORAGE_MENTAL_CHECK
	setvariable skillclass FO
	goto SUB_MENTAL_CHECK
SUBRETURN_NDC_FORAGE_MENTAL_CHECK:

NDC_FORAGE_MENTAL_CHECK_TEST:
		goto NDC_FORAGE_MENTAL_CHECK_TEST_%skillmental
	NDC_FORAGE_MENTAL_CHECK_TEST_FULL:
		goto NDC_FORAGE_SKIP
	NDC_FORAGE_MENTAL_CHECK_TEST_NOTFULL:
		goto NDC_FORAGE_HANDS_CHECK

NDC_FORAGE_HANDS_CHECK:
		goto NDC_FORAGE_HANDS_CHECK_%flagndchands
	NDC_FORAGE_HANDS_CHECK_FULL:
		goto NDC_FORAGE_EMPTY_HANDS
	NDC_FORAGE_HANDS_CHECK_EMPTY:
		goto NDC_FORAGE_GO

NDC_FORAGE_EMPTY_HANDS:
	setvariable flagndchands EMPTY
	setvariable subreturnflagemptyhands NDC_FORAGE_EMPTY_HANDS
	goto SUB_EMPTY_HANDS
SUBRETURN_NDC_FORAGE_EMPTY_HANDS:

NDC_FORAGE_GO:

NDC_FORAGE_GO_RETREAT:
	setvariable subreturnflagretreat NDC_FORAGE_GO_RETREAT
	goto SUB_RETREAT
SUBRETURN_NDC_FORAGE_GO_RETREAT:

	echo
	echo *** NDC forage
	echo

NDC_FORAGE_GO_FORAGE:
	setvariable subreturnflagnp2 NDC_FORAGE_GO_FORAGE
	setvariable nakedput1 forage
	setvariable nakedput2 %mendhunt_ndc_forage_item
	goto SUB_NAKED_PUT2
SUBRETURN_NDC_FORAGE_GO_FORAGE:

NDC_FORAGE_GO_DROP:
	pause %matchwaitpause
	match NDC_FORAGE_GO_DROP ...wait
	match NDC_FORAGE_GO_DROP You may only type ahead
	matchre NDC_FORAGE_END /.*/i
	put drop my %mendhunt_ndc_forage_item
	matchwait

NDC_FORAGE_SKIP:
	echo
	echo *** NDC forage full, skipping
	echo
	goto NDC_FORAGE_END

NDC_FORAGE_END:

#_______________________________________________________________________NDC end
NDC_ACTIONS_END:

NDC_ACTIONS_END_CHECK_HANDS:
		goto NDC_ACTIONS_END_CHECK_HANDS_%flagndchands
	NDC_ACTIONS_END_CHECK_HANDS_FULL:
		goto NDC_ACTIONS_END_END
	NDC_ACTIONS_END_CHECK_HANDS_EMPTY:
		goto NDC_ACTIONS_END_REEQUIP

#_______________________________________________________________________NDC reequip arms
NDC_ACTIONS_END_REEQUIP:

NDC_ACTIONS_END_EMPTYLEFT:
	pause %matchwaitpause
	matchre NDC_ACTIONS_END_EMPTYRIGHT /You drop|Your (.*) already empty/i
	match NDC_ACTIONS_END_EMPTYLEFT ...wait
	match NDC_ACTIONS_END_EMPTYLEFT You may only type ahead
	put empty left
	matchwait

NDC_ACTIONS_END_EMPTYRIGHT:
	pause %matchwaitpause
	matchre NDC_ACTIONS_END_REEQUIP_VERIFY_HANDS /You drop|Your (.*) already empty/i
	match NDC_ACTIONS_END_EMPTYRIGHT ...wait
	match NDC_ACTIONS_END_EMPTYRIGHT You may only type ahead
	put empty right
	matchwait

NDC_ACTIONS_END_REEQUIP_VERIFY_HANDS:
	setvariable subreturnflagemptyhands NDC_ACTIONS_END_REEQUIP_VERIFY_HANDS
	goto SUB_EMPTY_HANDS
SUBRETURN_NDC_ACTIONS_END_REEQUIP_VERIFY_HANDS:

NDC_ACTIONS_END_REEQUIP_DUAL_TEST:
		goto NDC_ACTIONS_END_REEQUIP_DUAL_TEST_%weapon_type_active
	NDC_ACTIONS_END_REEQUIP_DUAL_TEST_MELEE:
		goto NDC_ACTIONS_END_REEQUIP_WEAPON_ACTIVE_NORMAL
	NDC_ACTIONS_END_REEQUIP_DUAL_TEST_RANGED:
		goto NDC_ACTIONS_END_REEQUIP_WEAPON_ACTIVE_NORMAL
	NDC_ACTIONS_END_REEQUIP_DUAL_TEST_THROWN:
		goto NDC_ACTIONS_END_REEQUIP_WEAPON_ACTIVE_NORMAL
	NDC_ACTIONS_END_REEQUIP_DUAL_TEST_DUAL:
		goto NDC_ACTIONS_END_REEQUIP_WEAPON_ACTIVE_DUAL
	NDC_ACTIONS_END_REEQUIP_DUAL_TEST_NOWEAP:
		goto NDC_ACTIONS_END_REEQUIP_SHIELD_TEST
	NDC_ACTIONS_END_REEQUIP_DUAL_TEST_MELEENOWEAP:
		goto NDC_ACTIONS_END_REEQUIP_SHIELD_TEST

NDC_ACTIONS_END_REEQUIP_WEAPON_ACTIVE_DUAL:

NDC_ACTIONS_END_REEQUIP_WEAPON_ACTIVE_DUAL_RH:
	setvariable subreturnflagequipweaponrh NDC_ACTIONS_END_REEQUIP_WEAPON_ACTIVE_DUAL_RH
	setvariable weapon_name_called %weapon_name_right_active
	goto SUB_EQUIP_WEAPON_CALLED_RIGHTHAND
SUBRETURN_NDC_ACTIONS_END_REEQUIP_WEAPON_ACTIVE_DUAL_RH:

NDC_ACTIONS_END_REEQUIP_WEAPON_ACTIVE_DUAL_LH:
	setvariable subreturnflagequipweaponlh NDC_ACTIONS_END_REEQUIP_WEAPON_ACTIVE_DUAL_LH
	setvariable weapon_name_called %weapon_name_left_active
	goto SUB_EQUIP_WEAPON_CALLED_LEFTHAND
SUBRETURN_NDC_ACTIONS_END_REEQUIP_WEAPON_ACTIVE_DUAL_LH:

	goto NDC_ACTIONS_END_END

NDC_ACTIONS_END_REEQUIP_WEAPON_ACTIVE_NORMAL:

NDC_ACTIONS_END_REEQUIP_WEAPON:
	setvariable subreturnflagequipweaponrh NDC_ACTIONS_END_REEQUIP_WEAPON
	setvariable weapon_name_called %weapon_name_active
	goto SUB_EQUIP_WEAPON_CALLED_RIGHTHAND
SUBRETURN_NDC_ACTIONS_END_REEQUIP_WEAPON:

NDC_ACTIONS_END_REEQUIP_SHIELD_TEST:
		goto NDC_ACTIONS_END_REEQUIP_SHIELD_TEST_%shield_use_active
	NDC_ACTIONS_END_REEQUIP_SHIELD_TEST_OFF:
		goto NDC_ACTIONS_END_REEQUIP_SHIELD_HANDHELD_GRANITE_TEST
	NDC_ACTIONS_END_REEQUIP_SHIELD_TEST_ARMWORN:
		goto NDC_ACTIONS_END_END
	NDC_ACTIONS_END_REEQUIP_SHIELD_TEST_HANDHELD:
		goto NDC_ACTIONS_END_REEQUIP_SHIELD

NDC_ACTIONS_END_REEQUIP_SHIELD_HANDHELD_GRANITE_TEST:
		goto NDC_ACTIONS_END_REEQUIP_SHIELD_HANDHELD_GRANITE_TEST_%mendhunt_aeg_master_test
	NDC_ACTIONS_END_REEQUIP_SHIELD_HANDHELD_GRANITE_TEST_ON:
		goto NDC_ACTIONS_END_REEQUIP_SHIELD
	NDC_ACTIONS_END_REEQUIP_SHIELD_HANDHELD_GRANITE_TEST_OFF:
		goto NDC_ACTIONS_END_END

NDC_ACTIONS_END_REEQUIP_SHIELD:
	setvariable subreturnflagequipshield NDC_ACTIONS_END_REEQUIP_SHIELD
	setvariable shield_name_called %shield_name_active
	setvariable shield_use_called %shield_use_active
	goto SUB_EQUIP_SHIELD
SUBRETURN_NDC_ACTIONS_END_REEQUIP_SHIELD:

NDC_ACTIONS_END_END:
	goto MAIN_START

#############################################################################
###########################    GUILD SPECIALS SECTION    ####################
#############################################################################

######################### FISSURE ###################

#_______________________________________________________________________Fissure
FISSURE:

FISSURE_START:
		goto FISSURE_START_%mendhunt_fissure_master_test
	FISSURE_START_ON:
		goto FISSURE_CHECK
	FISSURE_START_OFF:
		goto FISSURE_END

FISSURE_CHECK:
	pause %matchwaitpause
	match FISSURE_SKIP airy fissure
	match FISSURE_SKIP fiery fissure
	match FISSURE_SKIP aqueous fissure
	match FISSURE_SKIP chaotic fissure
	match FISSURE_SKIP earthen fissure
	match FISSURE_SKIP electrical fissure
	match FISSURE_GO Obvious paths
	match FISSURE_GO Obvious exits
	match FISSURE_DARK you can't see a thing
	match FISSURE_CHECK ...wait
	match FISSURE_CHECK You may only type ahead
	put look
	matchwait

FISSURE_DARK:
	echo
	echo *** It's too dark, need light
	echo
	goto FISSURE_END

FISSURE_SKIP:
	echo
	echo *** Fissure already out, skipping
	echo
	goto FISSURE_END

FISSURE_GO:

FISSURE_GO_HUM_STOP:
	setvariable subreturnflaghumstop FISSURE_GO_HUM_STOP
	goto SUB_HUM_STOP
SUBRETURN_FISSURE_GO_HUM_STOP:

FISSURE_SETVAR:
	setvariable spell_name fiss
	setvariable spell_prep_power %mendhunt_fissure_prep_power
	setvariable spell_harn_test %mendhunt_fissure_harn_test
	setvariable spell_harn_power %mendhunt_fissure_harn_power
	setvariable spell_harn_loop %mendhunt_fissure_harn_loop
	setvariable spell_cam_test %mendhunt_fissure_cam_test
	setvariable spell_cam_power %mendhunt_fissure_cam_power
	setvariable spell_cam_loop %mendhunt_fissure_cam_loop
	setvariable spell_cast_pause %mendhunt_fissure_cast_pause
	setvariable spell_targeted_test OFF

FISSURE_SPELL_PREP:
	setvariable subreturnflag FISSURE_SPELL_PREP
	goto SUB_SPELL_PREP
SUBRETURN_FISSURE_SPELL_PREP:

	echo
	echo *** Casting Fissure
	echo

FISSURE_SPELL_CAST:
	pause %matchwaitpause
	match FISSURE_SPELL_CAST ...wait
	match FISSURE_SPELL_CAST You may only type ahead
	matchre FISSURE_SPELL_CAST_PAUSE /.*/i
	put cast %mendhunt_fissure_element
	matchwait

FISSURE_SPELL_CAST_PAUSE:
	pause %aftercastrtpause

RTCHECK_FISSURE_SPELL_CAST:
	pause 1
	pause %rtcheckpause
	match RTCHECK_FISSURE_SPELL_CAST_READY What were you referring to
	match RTCHECK_FISSURE_SPELL_CAST ...wait
	match RTCHECK_FISSURE_SPELL_CAST You may only type ahead
	put get my rtchecking
	matchwait
RTCHECK_FISSURE_SPELL_CAST_READY:

FISSURE_RELEASE:
	pause %matchwaitpause
	match FISSURE_RELEASE ...wait
	match FISSURE_RELEASE You may only type ahead
	matchre FISSURE_END /.*/i
	put release
	matchwait

FISSURE_END:
	goto FISSURE_RETURN



######################### MANTLE of FLAME ###################
#_______________________________________________________________________MOF
MOF:

MOF_START:
		goto MOF_START_%mendhunt_mof_master_test
	MOF_START_ON:
		goto MOF_CHECK
	MOF_START_OFF:
		goto MOF_END

MOF_CHECK:
	pause %matchwaitpause
	match MOF_SKIP Mantle of Flame
	match MOF_GO Roundtime
	match MOF_CHECK ...wait
	match MOF_CHECK You may only type ahead
	put pow
	matchwait

MOF_GO:

MOF_GO_HUM_STOP:
	setvariable subreturnflaghumstop MOF_GO_HUM_STOP
	goto SUB_HUM_STOP
SUBRETURN_MOF_GO_HUM_STOP:

#_______________________________________________________________________MOF ES
MOF_ES:

MOF_ES_1_PREP:
	setvariable subreturnflag MOF_ES_1_PREP
	setvariable spell_name es
	setvariable spell_prep_power %mofesmana
	setvariable spell_harn_test OFF
	setvariable spell_harn_power 10
	setvariable spell_harn_loop 1
	setvariable spell_cam_test OFF
	setvariable spell_cam_power 11
	setvariable spell_cam_loop 1
	setvariable spell_cast_pause %mofespause
	setvariable spell_targeted_test OFF
	goto SUB_SPELL_PREP
SUBRETURN_MOF_ES_1_PREP:

MOF_ES_1_CAST:
	pause %matchwaitpause
	match MOF_ES_1_CAST ...wait
	match MOF_ES_1_CAST You may only type ahead
	matchre MOF_ES_1_CAST_PAUSE /.*/i
	put cast
	matchwait

MOF_ES_1_CAST_PAUSE:
	pause %aftercastrtpause

RTCHECK_MOF_ES_1_CAST:
	pause %rtcheckpause
	match RTCHECK_MOF_ES_1_CAST_READY What were you referring to
	match RTCHECK_MOF_ES_1_CAST ...wait
	match RTCHECK_MOF_ES_1_CAST You may only type ahead
	put get my rtchecking
	matchwait
RTCHECK_MOF_ES_1_CAST_READY:

MOF_ES_2_PREP:
	setvariable subreturnflag MOF_ES_2_PREP
	setvariable spell_name es
	setvariable spell_prep_power %mofesmana
	setvariable spell_harn_test OFF
	setvariable spell_harn_power 10
	setvariable spell_harn_loop 1
	setvariable spell_cam_test OFF
	setvariable spell_cam_power 11
	setvariable spell_cam_loop 1
	setvariable spell_cast_pause %mofespause
	setvariable spell_targeted_test OFF
	goto SUB_SPELL_PREP
SUBRETURN_MOF_ES_2_PREP:

MOF_ES_2_CAST:
	pause %matchwaitpause
	match MOF_ES_2_CAST ...wait
	match MOF_ES_2_CAST You may only type ahead
	matchre MOF_ES_2_CAST_PAUSE /.*/i
	put cast
	matchwait

MOF_ES_2_CAST_PAUSE:
	pause %aftercastrtpause

RTCHECK_MOF_ES_2_CAST:
	pause %rtcheckpause
	match RTCHECK_MOF_ES_2_CAST_READY What were you referring to
	match RTCHECK_MOF_ES_2_CAST ...wait
	match RTCHECK_MOF_ES_2_CAST You may only type ahead
	put get my rtchecking
	matchwait
RTCHECK_MOF_ES_2_CAST_READY:

MOF_ES_3_PREP:
	setvariable subreturnflag MOF_ES_3_PREP
	setvariable spell_name es
	setvariable spell_prep_power %mofesmana
	setvariable spell_harn_test OFF
	setvariable spell_harn_power 10
	setvariable spell_harn_loop 1
	setvariable spell_cam_test OFF
	setvariable spell_cam_power 11
	setvariable spell_cam_loop 1
	setvariable spell_cast_pause %mofespause
	setvariable spell_targeted_test OFF
	goto SUB_SPELL_PREP
SUBRETURN_MOF_ES_3_PREP:

MOF_ES_3_CAST:
	pause %matchwaitpause
	match MOF_ES_3_CAST ...wait
	match MOF_ES_3_CAST You may only type ahead
	matchre MOF_ES_3_CAST_PAUSE /.*/i
	put cast
	matchwait

MOF_ES_3_CAST_PAUSE:
	pause %aftercastrtpause

RTCHECK_MOF_ES_3_CAST:
	pause %rtcheckpause
	match RTCHECK_MOF_ES_3_CAST_READY What were you referring to
	match RTCHECK_MOF_ES_3_CAST ...wait
	match RTCHECK_MOF_ES_3_CAST You may only type ahead
	put get my rtchecking
	matchwait
RTCHECK_MOF_ES_3_CAST_READY:

MOF_ES_4_PREP:
	setvariable subreturnflag MOF_ES_4_PREP
	setvariable spell_name es
	setvariable spell_prep_power %mofesmana
	setvariable spell_harn_test OFF
	setvariable spell_harn_power 10
	setvariable spell_harn_loop 1
	setvariable spell_cam_test OFF
	setvariable spell_cam_power 11
	setvariable spell_cam_loop 1
	setvariable spell_cast_pause %mofespause
	setvariable spell_targeted_test OFF
	goto SUB_SPELL_PREP
SUBRETURN_MOF_ES_4_PREP:

MOF_ES_4_CAST:
	pause %matchwaitpause
	match MOF_ES_4_CAST ...wait
	match MOF_ES_4_CAST You may only type ahead
	matchre MOF_ES_4_CAST_PAUSE /.*/i
	put cast
	matchwait

MOF_ES_4_CAST_PAUSE:
	pause %aftercastrtpause

RTCHECK_MOF_ES_4_CAST:
	pause %rtcheckpause
	match RTCHECK_MOF_ES_4_CAST_READY What were you referring to
	match RTCHECK_MOF_ES_4_CAST ...wait
	match RTCHECK_MOF_ES_4_CAST You may only type ahead
	put get my rtchecking
	matchwait
RTCHECK_MOF_ES_4_CAST_READY:

MOF_ES_5_PREP:
	setvariable subreturnflag MOF_ES_5_PREP
	setvariable spell_name es
	setvariable spell_prep_power %mofesmana
	setvariable spell_harn_test OFF
	setvariable spell_harn_power 10
	setvariable spell_harn_loop 1
	setvariable spell_cam_test OFF
	setvariable spell_cam_power 11
	setvariable spell_cam_loop 1
	setvariable spell_cast_pause %mofespause
	setvariable spell_targeted_test OFF
	goto SUB_SPELL_PREP
SUBRETURN_MOF_ES_5_PREP:

MOF_ES_5_CAST:
	pause %matchwaitpause
	match MOF_ES_5_CAST ...wait
	match MOF_ES_5_CAST You may only type ahead
	matchre MOF_ES_5_CAST_PAUSE /.*/i
	put cast
	matchwait

MOF_ES_5_CAST_PAUSE:
	pause %aftercastrtpause

RTCHECK_MOF_ES_5_CAST:
	pause %rtcheckpause
	match RTCHECK_MOF_ES_5_CAST_READY What were you referring to
	match RTCHECK_MOF_ES_5_CAST ...wait
	match RTCHECK_MOF_ES_5_CAST You may only type ahead
	put get my rtchecking
	matchwait
RTCHECK_MOF_ES_5_CAST_READY:

MOF_ES_RELEASE:
	pause %matchwaitpause
	match MOF_ES_RELEASE ...wait
	match MOF_ES_RELEASE You may only type ahead
	matchre MOF_ES_CHECK /.*/i
	put release
	matchwait

MOF_ES_CHECK:
	pause %matchwaitpause
	matchre MOF_SPELL_PREP /Ethereal Shield (.*) two anlaen/i
	match MOF_ES Roundtime
	match MOF_ES_CHECK ...wait
	match MOF_ES_CHECK You may only type ahead
	put pow
	matchwait

#_______________________________________________________________________MOF MOF
MOF_SPELL_PREP:
	setvariable subreturnflag MOF_SPELL_PREP
	setvariable spell_name mof
	setvariable spell_prep_power %mendhunt_mof_prep_power
	setvariable spell_harn_test %mendhunt_mof_harn_test
	setvariable spell_harn_power %mendhunt_mof_harn_power
	setvariable spell_harn_loop %mendhunt_mof_harn_loop
	setvariable spell_cam_test %mendhunt_mof_cam_test
	setvariable spell_cam_power %mendhunt_mof_cam_power
	setvariable spell_cam_loop %mendhunt_mof_cam_loop
	setvariable spell_cast_pause %mendhunt_mof_cast_pause
	setvariable spell_targeted_test OFF
	goto SUB_SPELL_PREP
SUBRETURN_MOF_SPELL_PREP:

	echo
	echo *** Casting MOF
	echo

MOF_SPELL_CAST:
	pause %matchwaitpause
	match MOF_SPELL_CAST ...wait
	match MOF_SPELL_CAST You may only type ahead
	matchre MOF_SPELL_CAST_PAUSE /.*/i
	put cast
	matchwait

MOF_SPELL_CAST_PAUSE:
	pause %aftercastrtpause

RTCHECK_MOF_SPELL_CAST:
	pause %rtcheckpause
	match RTCHECK_MOF_SPELL_CAST_READY What were you referring to
	match RTCHECK_MOF_SPELL_CAST ...wait
	match RTCHECK_MOF_SPELL_CAST You may only type ahead
	put get my rtchecking
	matchwait
RTCHECK_MOF_SPELL_CAST_READY:

MOF_RELEASE:
#	pause 1
	pause %matchwaitpause
	match MOF_RELEASE ...wait
	match MOF_RELEASE You may only type ahead
	matchre MOF_END /.*/i
	put release
	matchwait

MOF_SKIP:
	echo
	echo *** MoF up, skipping
	echo
	goto MOF_END

MOF_END:
	goto MOF_RETURN

######################### YS ###################
#_______________________________________________________________________YS
YS:

YS_START:
		goto YS_START_%mendhunt_ys_master_test
	YS_START_ON:
		goto YS_GO
	YS_START_OFF:
		goto YS_END_END

YS_GO:

YS_GO_HUM_STOP:
	setvariable subreturnflaghumstop YS_GO_HUM_STOP
	goto SUB_HUM_STOP
SUBRETURN_YS_GO_HUM_STOP:

YS_GO_CHECK_FULL_CAST_TEST:
		goto YS_GO_CHECK_FULL_CAST_TEST_%ysfullcastflag
	YS_GO_CHECK_FULL_CAST_TEST_YES:
		goto YS_MAINT_CAST
	YS_GO_CHECK_FULL_CAST_TEST_NO:
		goto YS_FULL_CAST

#_______________________________________________________________________YS FULL cast
YS_FULL_CAST:

YS_SPELL_PREP:
	setvariable subreturnflag YS_SPELL_PREP
	setvariable spell_name ys
	setvariable spell_prep_power %mendhunt_ys_prep_power
	setvariable spell_harn_test %mendhunt_ys_harn_test
	setvariable spell_harn_power %mendhunt_ys_harn_power
	setvariable spell_harn_loop %mendhunt_ys_harn_loop
	setvariable spell_cam_test %mendhunt_ys_cam_test
	setvariable spell_cam_power %mendhunt_ys_cam_power
	setvariable spell_cam_loop %mendhunt_ys_cam_loop
	setvariable spell_cast_pause %mendhunt_ys_cast_pause
	setvariable spell_targeted_test OFF
	goto SUB_SPELL_PREP
SUBRETURN_YS_SPELL_PREP:

	echo
	echo *** Casting YS
	echo

YS_SPELL_CAST:
	pause %matchwaitpause
	match YS_SPELL_CAST ...wait
	match YS_SPELL_CAST You may only type ahead
	matchre YS_SPELL_CAST_PAUSE /.*/i
	put cast
	matchwait

YS_SPELL_CAST_PAUSE:
	pause %aftercastrtpause

RTCHECK_YS_SPELL_CAST:
	pause %rtcheckpause
	match RTCHECK_YS_SPELL_CAST_READY What were you referring to
	match RTCHECK_YS_SPELL_CAST ...wait
	match RTCHECK_YS_SPELL_CAST You may only type ahead
	put get my rtchecking
	matchwait
RTCHECK_YS_SPELL_CAST_READY:

YS_RELEASE:
	pause %matchwaitpause
	match YS_RELEASE ...wait
	match YS_RELEASE You may only type ahead
	matchre YS_END /.*/i
	put release
	matchwait

YS_END:
	setvariable ysfullcastflag YES
	goto YS_RETURN

#_______________________________________________________________________YS Maintenance cast
YS_MAINT_CAST:

YS_MAINT_SPELL_PREP:
	setvariable subreturnflag YS_MAINT_SPELL_PREP
	setvariable spell_name ys
	setvariable spell_prep_power %mendhunt_ysmaint_prep_power
	setvariable spell_harn_test OFF
	setvariable spell_harn_power 10
	setvariable spell_harn_loop 1
	setvariable spell_cam_test OFF
	setvariable spell_cam_power 11
	setvariable spell_cam_loop 1
	setvariable spell_cast_pause %mendhunt_ysmaint_cast_pause
	setvariable spell_targeted_test OFF
	goto SUB_SPELL_PREP
SUBRETURN_YS_MAINT_SPELL_PREP:

	echo
	echo *** Casting YS maintenance
	echo

YS_MAINT_SPELL_CAST:
	pause %matchwaitpause
	match YS_MAINT_SPELL_CAST ...wait
	match YS_MAINT_SPELL_CAST You may only type ahead
	matchre YS_MAINT_SPELL_CAST_PAUSE /.*/i
	put cast
	matchwait

YS_MAINT_SPELL_CAST_PAUSE:
	pause %aftercastrtpause

RTCHECK_YS_MAINT_SPELL_CAST:
	pause %rtcheckpause
	match RTCHECK_YS_MAINT_SPELL_CAST_READY What were you referring to
	match RTCHECK_YS_MAINT_SPELL_CAST ...wait
	match RTCHECK_YS_MAINT_SPELL_CAST You may only type ahead
	put get my rtchecking
	matchwait
RTCHECK_YS_MAINT_SPELL_CAST_READY:

YS_MAINT_RELEASE:
	pause %matchwaitpause
	match YS_MAINT_RELEASE ...wait
	match YS_MAINT_RELEASE You may only type ahead
	matchre YS_MAINT_END /.*/i
	put release
	matchwait

YS_MAINT_END:
	goto YS_RETURN

YS_END_END:
	goto YS_RETURN


######################### ARRANGE ###################
#_______________________________________________________________________Arrange


ARRANGE:

ARRANGE_START:
		goto ARRANGE_START_%mendhunt_arrange_master_test
	ARRANGE_START_ON:
		goto ARRANGE_GO
	ARRANGE_START_OFF:
		goto ARRANGE_END

ARRANGE_GO:
	echo
	echo *** Arranging skin
	echo

ARRANGE_GO1:
	pause %matchwaitpause
	match ARRANGE_GO1 ...wait
	match ARRANGE_GO1 You may only type ahead
	matchre ARRANGE_GO1_PAUSE /.*/i
	put arrange %critter_active
	matchwait

ARRANGE_GO1_PAUSE:
	pause 1

ARRANGE_GO2:
	pause %matchwaitpause
	match ARRANGE_GO2 ...wait
	match ARRANGE_GO2 You may only type ahead
	matchre ARRANGE_GO2_PAUSE /.*/i
	put arrange other %critter_active
	matchwait

ARRANGE_GO2_PAUSE:
	pause 1

ARRANGE_END:
	goto SUBRETURN_%subreturnflagarrange

######################### AEG MAINTENANCE ###################
#_______________________________________________________________________AEG Maintenance
AEGMAINTENANCE:
AEGMAINT:
AEGMAINT_START:

AEGMAINT_AEG_MASTER_TEST:
		goto AEGMAINT_AEG_MASTER_TEST_%mendhunt_aeg_master_test
	AEGMAINT_AEG_MASTER_TEST_ON:
		goto AEGMAINT_TEST
	AEGMAINT_AEG_MASTER_TEST_OFF:
		goto AEGMAINT_END_END

AEGMAINT_TEST:
		goto AEGMAINT_TEST_%mendhunt_aegmaint_test
	AEGMAINT_TEST_ON:
		goto AEGMAINT_START_HUM_STOP
	AEGMAINT_TEST_OFF:
		goto AEGMAINT_END_END

AEGMAINT_START_HUM_STOP:
	setvariable subreturnflaghumstop AEGMAINT_START_HUM_STOP
	goto SUB_HUM_STOP
SUBRETURN_AEGMAINT_START_HUM_STOP:

AEGMAINT_NORMAL_SHIELD_CHECK:
		goto AEGMAINT_NORMAL_SHIELD_CHECK_%shield_use_active
	AEGMAINT_NORMAL_SHIELD_CHECK_OFF:
		goto AEGMAINT_GRANITE_SHIELD_CHECK
	AEGMAINT_NORMAL_SHIELD_CHECK_ARMWORN:
		goto AEGMAINT_NORMAL_SHIELD_GO
	AEGMAINT_NORMAL_SHIELD_CHECK_HANDHELD:
		goto AEGMAINT_NORMAL_SHIELD_GO
#_______________________________________________________________________AEG Maintenance normal shield
AEGMAINT_NORMAL_SHIELD_GO:
	echo
	echo *** AEG Maintenance
	echo

AEGMAINT_NORMAL_SHIELD_PREP:
	setvariable subreturnflag AEGMAINT_NORMAL_SHIELD_PREP
	setvariable spell_name AEG
	setvariable spell_prep_power %mendhunt_aegmaint_prep_power
	setvariable spell_harn_test OFF
	setvariable spell_harn_power 10
	setvariable spell_harn_loop 1
	setvariable spell_cam_test OFF
	setvariable spell_cam_power 11
	setvariable spell_cam_loop 1
	setvariable spell_cast_pause %mendhunt_aegmaint_cast_pause
	setvariable spell_targeted_test OFF
	goto SUB_SPELL_PREP
SUBRETURN_AEGMAINT_NORMAL_SHIELD_PREP:

AEGMAINT_NORMAL_SHIELD_CAST:
	pause %matchwaitpause
	match AEGMAINT_NORMAL_SHIELD_CAST ...wait
	match AEGMAINT_NORMAL_SHIELD_CAST You may only type ahead
	matchre AEGMAINT_NORMAL_SHIELD_CAST_PAUSE /.*/i
	put cast my %shield_name_active
	matchwait

AEGMAINT_NORMAL_SHIELD_CAST_PAUSE:
	pause %aftercastrtpause

RTCHECK_AEGMAINT_NORMAL_SHIELD_CAST_PAUSE:
	pause %rtcheckpause
	match RTCHECK_AEGMAINT_NORMAL_SHIELD_CAST_PAUSE_READY What were you referring to
	match RTCHECK_AEGMAINT_NORMAL_SHIELD_CAST_PAUSE ...wait
	match RTCHECK_AEGMAINT_NORMAL_SHIELD_CAST_PAUSE You may only type ahead
	put get my rtchecking
	matchwait
RTCHECK_AEGMAINT_NORMAL_SHIELD_CAST_PAUSE_READY:

	goto AEGMAINT_END

#_______________________________________________________________________AEG Maintenance granite shield
AEGMAINT_GRANITE_SHIELD_CHECK:
	pause %matchwaitpause
	matchre AEGMAINT_GRANITE_SHIELD_GO_ARMWORN /You tap (.*) are wearing/i
	matchre AEGMAINT_GRANITE_SHIELD_GO_HANDHELD /You tap (.*) are holding/i
	match AEGMAINT_GRANITE_SHIELD_NOTUP I could not find
	match AEGMAINT_GRANITE_SHIELD_CHECK ...wait
	match AEGMAINT_GRANITE_SHIELD_CHECK You may only type ahead
	put tap my granite shield
	matchwait

#_______________________________________________________________________AEG Maintenance granite shield/armworn
AEGMAINT_GRANITE_SHIELD_GO_ARMWORN:
	echo
	echo *** AEG Maintenance
	echo

AEGMAINT_GRANITE_SHIELD_GO_ARMWORN_PREP:
	setvariable subreturnflag AEGMAINT_GRANITE_SHIELD_GO_ARMWORN_PREP
	setvariable spell_name AEG
	setvariable spell_prep_power %mendhunt_aegmaint_prep_power
	setvariable spell_harn_test OFF
	setvariable spell_harn_power 10
	setvariable spell_harn_loop 1
	setvariable spell_cam_test OFF
	setvariable spell_cam_power 11
	setvariable spell_cam_loop 1
	setvariable spell_cast_pause %mendhunt_aegmaint_cast_pause
	setvariable spell_targeted_test OFF
	goto SUB_SPELL_PREP
SUBRETURN_AEGMAINT_GRANITE_SHIELD_GO_ARMWORN_PREP:

AEGMAINT_GRANITE_SHIELD_GO_ARMWORN_CAST:
	pause %matchwaitpause
	match AEGMAINT_GRANITE_SHIELD_GO_ARMWORN_CAST ...wait
	match AEGMAINT_GRANITE_SHIELD_GO_ARMWORN_CAST You may only type ahead
	matchre AEGMAINT_GRANITE_SHIELD_GO_ARMWORN_CAST_PAUSE /.*/i
	put cast my granite shield
	matchwait

AEGMAINT_GRANITE_SHIELD_GO_ARMWORN_CAST_PAUSE:
	pause %aftercastrtpause

RTCHECK_AEGMAINT_GRANITE_SHIELD_GO_ARMWORN_CAST_PAUSE:
	pause %rtcheckpause
	match RTCHECK_AEGMAINT_GRANITE_SHIELD_GO_ARMWORN_CAST_PAUSE_READY What were you referring to
	match RTCHECK_AEGMAINT_GRANITE_SHIELD_GO_ARMWORN_CAST_PAUSE ...wait
	match RTCHECK_AEGMAINT_GRANITE_SHIELD_GO_ARMWORN_CAST_PAUSE You may only type ahead
	put get my rtchecking
	matchwait
RTCHECK_AEGMAINT_GRANITE_SHIELD_GO_ARMWORN_CAST_PAUSE_READY:

AEGMAINT_GRANITE_SHIELD_GO_ARMWORN_VERIFY:
	pause %matchwaitpause
	matchre AEGMAINT_END /You tap (.*) are wearing/i
	matchre AEGMAINT_GRANITE_SHIELD_FAIL /You tap (.*) are holding/i
	match AEGMAINT_GRANITE_SHIELD_NOTUP I could not find
	match AEGMAINT_GRANITE_SHIELD_GO_ARMWORN_VERIFY ...wait
	match AEGMAINT_GRANITE_SHIELD_GO_ARMWORN_VERIFY You may only type ahead
	put tap my granite shield
	matchwait

#_______________________________________________________________________AEG Maintenance granite shield/handheld
AEGMAINT_GRANITE_SHIELD_GO_HANDHELD:
	echo
	echo *** AEG Maintenance
	echo

AEGMAINT_GRANITE_SHIELD_GO_HANDHELD_PREP:
	setvariable subreturnflag AEGMAINT_GRANITE_SHIELD_GO_HANDHELD_PREP
	setvariable spell_name AEG
	setvariable spell_prep_power %mendhunt_aegmaint_prep_power
	setvariable spell_harn_test OFF
	setvariable spell_harn_power 10
	setvariable spell_harn_loop 1
	setvariable spell_cam_test OFF
	setvariable spell_cam_power 11
	setvariable spell_cam_loop 1
	setvariable spell_cast_pause %mendhunt_aegmaint_cast_pause
	setvariable spell_targeted_test OFF
	goto SUB_SPELL_PREP
SUBRETURN_AEGMAINT_GRANITE_SHIELD_GO_HANDHELD_PREP:

AEGMAINT_GRANITE_SHIELD_GO_HANDHELD_CAST:
	pause %matchwaitpause
	match AEGMAINT_GRANITE_SHIELD_GO_HANDHELD_CAST ...wait
	match AEGMAINT_GRANITE_SHIELD_GO_HANDHELD_CAST You may only type ahead
	matchre AEGMAINT_GRANITE_SHIELD_GO_HANDHELD_CAST_PAUSE /.*/i
	put cast my granite shield
	matchwait

AEGMAINT_GRANITE_SHIELD_GO_HANDHELD_CAST_PAUSE:
	pause %aftercastrtpause

RTCHECK_AEGMAINT_GRANITE_SHIELD_GO_HANDHELD_CAST_PAUSE:
	pause %rtcheckpause
	match RTCHECK_AEGMAINT_GRANITE_SHIELD_GO_HANDHELD_CAST_PAUSE_READY What were you referring to
	match RTCHECK_AEGMAINT_GRANITE_SHIELD_GO_HANDHELD_CAST_PAUSE ...wait
	match RTCHECK_AEGMAINT_GRANITE_SHIELD_GO_HANDHELD_CAST_PAUSE You may only type ahead
	put get my rtchecking
	matchwait
RTCHECK_AEGMAINT_GRANITE_SHIELD_GO_HANDHELD_CAST_PAUSE_READY:

AEGMAINT_GRANITE_SHIELD_GO_HANDHELD_VERIFY:
	pause %matchwaitpause
	matchre AEGMAINT_GRANITE_SHIELD_FAIL /You tap (.*) are wearing/i
	matchre AEGMAINT_END /You tap (.*) are holding/i
	match AEGMAINT_GRANITE_SHIELD_NOTUP I could not find
	match AEGMAINT_GRANITE_SHIELD_GO_HANDHELD_VERIFY ...wait
	match AEGMAINT_GRANITE_SHIELD_GO_HANDHELD_VERIFY You may only type ahead
	put tap my granite shield
	matchwait

AEGMAINT_GRANITE_SHIELD_FAIL:
AEGMAINT_GRANITE_SHIELD_NOTUP:
	echo
	echo
	echo *************************************************************
	echo
	echo AEG Maintenance Fail
	echo
	echo Granite shield from AEG was expected to be active but wasn't found
	echo
	echo Duration probably ran out.
	echo
	echo Recasting AEG with full cast
	echo
	echo *************************************************************
	echo
	pause 1
	put drop my granite shield
	pause .3
AEGMAINT_GRANITE_SHIELD_NOTUP_RECAST:
	setvariable subreturnflagequipshield AEGMAINT_GRANITE_SHIELD_NOTUP_RECAST
	setvariable shield_name_called %shield_name_active
	setvariable shield_use_called %shield_use_active
	goto SUB_EQUIP_SHIELD
SUBRETURN_AEGMAINT_GRANITE_SHIELD_NOTUP_RECAST:
	goto AEGMAINT_END_END

AEGMAINT_END:

AEGMAINT_RELEASE:
	pause %matchwaitpause
	match AEGMAINT_RELEASE ...wait
	match AEGMAINT_RELEASE You may only type ahead
	matchre AEGMAINT_END_END /.*/i
	put release
	matchwait

AEGMAINT_END_END:
	goto AEGMAINTENANCE_RETURN:




#############################################################################
###########################    SUBROUTINE SECTION    ########################
#############################################################################
#LABEL:
#	setvariable %subreturnflag label
#	goto SUB_X
#SUBRETURN_LABEL:
#SUB_X:
#	<process>
#	goto SUBRETURN_%subreturnflag
#############################################################################



######################### EQUIP CALLED WEAPON RH SUB ############################################
#____________________________________________________________sub equip called weapon to right hand
# variables needed:
# 	subreturnflagequipweaponrh
# 	weapon_name_called

SUB_EQUIP_WEAPON_CALLED_RIGHTHAND:
SUB_EQUIP_WEAPON_CALLED_RH:
SUB_EQUIP_WEAPON_RIGHTHAND:
SUB_EQUIP_WEAPON_RH:

SUB_EQUIP_WEAPON_RH_START:

SUB_EQUIP_WEAPON_RH_WIELD:
	pause %matchwaitpause
	matchre SUB_EQUIP_WEAPON_RH_END /%hitwield%/i
	match SUB_EQUIP_WEAPON_RH_REMOVE You're wearing
	match SUB_EQUIP_WEAPON_RH_NOT_FOUND Wield what
	match SUB_EQUIP_WEAPON_RH_END You're already holding
	match SUB_EQUIP_WEAPON_RH_WIELD ...wait
	match SUB_EQUIP_WEAPON_RH_WIELD You may only type ahead
	put wield right my %weapon_name_called
	matchwait

SUB_EQUIP_WEAPON_RH_REMOVE:
	pause %matchwaitpause
	matchre SUB_EQUIP_WEAPON_RH_END /%hitremove%/i
	matchre SUB_EQUIP_WEAPON_RH_NOT_FOUND /%failremove%/i
	match SUB_EQUIP_WEAPON_RH_REMOVE ...wait
	match SUB_EQUIP_WEAPON_RH_REMOVE You may only type ahead
	put remove my %weapon_name_called
	matchwait

SUB_EQUIP_WEAPON_RH_FULL:
	echo
	echo *************************************************************
	echo
	echo *** WARNING
	echo
	echo Equip weapon fail - right hand full
	echo
	echo Script tried to equip weapon but found hand full.
	echo
	echo Empty hand and restart.
	echo
	echo Exiting Script.
	echo
	echo *************************************************************
	echo
	pause 1
	goto END_SCRIPT

SUB_EQUIP_WEAPON_RH_NOT_FOUND:
	echo
	echo *************************************************************
	echo
	echo *** WARNING 
	echo
	echo Equip weapon fail - weapon not found
	echo 
	echo Script could not find:      %weapon_name_called
	echo
	echo Could be multiple issues: incorrect setup, closed container, disarmed, or broken weapon.
	echo
	echo Check your situation and/or setup then restart.
	echo
	echo Exiting Script.
	echo 
	echo *************************************************************
	echo
	pause 1
	goto END_SCRIPT

SUB_EQUIP_WEAPON_RH_END:
	goto SUBRETURN_%subreturnflagequipweaponrh

######################### EQUIP CALLED WEAPON LH SUB ############################################
#____________________________________________________________sub equip called weapon to left hand
# variables needed:
# 	subreturnflagequipweaponlh
# 	weapon_name_called

SUB_EQUIP_WEAPON_CALLED_LEFTHAND:
SUB_EQUIP_WEAPON_CALLED_LH:
SUB_EQUIP_WEAPON_LEFTHAND:
SUB_EQUIP_WEAPON_LH:


SUB_EQUIP_WEAPON_LH_START:

SUB_EQUIP_WEAPON_LH_WIELD:
	pause %matchwaitpause
	matchre SUB_EQUIP_WEAPON_LH_END /%hitwield%/i
	match SUB_EQUIP_WEAPON_LH_REMOVE You're wearing
	match SUB_EQUIP_WEAPON_LH_NOT_FOUND Wield what
	match SUB_EQUIP_WEAPON_LH_END You're already holding
	match SUB_EQUIP_WEAPON_LH_WIELD ...wait
	match SUB_EQUIP_WEAPON_LH_WIELD You may only type ahead
	put wield left my %weapon_name_called
	matchwait

SUB_EQUIP_WEAPON_LH_REMOVE:
	pause %matchwaitpause
	matchre SUB_EQUIP_WEAPON_LH_END /%hitremove%/i
	matchre SUB_EQUIP_WEAPON_LH_NOT_FOUND /%failremove%/i
	match SUB_EQUIP_WEAPON_LH_REMOVE ...wait
	match SUB_EQUIP_WEAPON_LH_REMOVE You may only type ahead
	put remove my %weapon_name_called
	matchwait

SUB_EQUIP_WEAPON_LH_FULL:
	echo
	echo *************************************************************
	echo
	echo *** WARNING
	echo
	echo Equip weapon fail - left hand full
	echo
	echo Script tried to equip weapon but found hand full.
	echo
	echo Empty hand and restart.
	echo
	echo Exiting Script.
	echo
	echo *************************************************************
	echo
	pause 1
	goto END_SCRIPT

SUB_EQUIP_WEAPON_LH_NOT_FOUND:
	echo
	echo *************************************************************
	echo
	echo *** WARNING 
	echo
	echo Equip weapon fail - weapon not found
	echo 
	echo Script could not find:      %weapon_name_called
	echo
	echo Could be multiple issues: incorrect setup, closed container, disarmed, or broken weapon.
	echo
	echo Check your situation and/or setup then restart.
	echo
	echo Exiting Script.
	echo 
	echo *************************************************************
	echo
	pause 1
	goto END_SCRIPT

SUB_EQUIP_WEAPON_LH_END:
	goto SUBRETURN_%subreturnflagequipweaponlh

######################### EQUIP SHIELD SUB ############################################
#____________________________________________________________________sub equip shield
# variables needed:
# 	subreturnflagequipshield
# 	shield_name_called
#	shield_use_called

SUB_EQUIP_SHIELD:

SUB_EQUIP_SHIELD_USE_TEST:
		goto SUB_EQUIP_SHIELD_USE_TEST_%shield_use_called
	SUB_EQUIP_SHIELD_USE_TEST_OFF:
		goto SUB_EQUIP_SHIELD_AEG_GRANITE_TEST
	SUB_EQUIP_SHIELD_USE_TEST_HANDHELD:
		goto SUB_EQUIP_SHIELD_START
	SUB_EQUIP_SHIELD_USE_TEST_ARMWORN:
		goto SUB_EQUIP_SHIELD_START

#____________________________________________________________________sub equip aeg granite shield start
SUB_EQUIP_SHIELD_AEG_GRANITE_TEST:
		goto SUB_EQUIP_SHIELD_AEG_GRANITE_TEST_%mendhunt_aeg_master_test
	SUB_EQUIP_SHIELD_AEG_GRANITE_TEST_ON:
		goto SUB_EQUIP_SHIELD_AEG_GRANITE_EQUIP
	SUB_EQUIP_SHIELD_AEG_GRANITE_TEST_OFF:
		goto SUB_EQUIP_SHIELD_END_END

SUB_EQUIP_SHIELD_AEG_GRANITE_EQUIP:

SUB_EQUIP_SHIELD_AEG_GRANITE_EQUIP_HUMSTOP:
	setvariable subreturnflaghumstop SUB_EQUIP_SHIELD_AEG_GRANITE_EQUIP_HUMSTOP
	goto SUB_HUM_STOP
SUBRETURN_SUB_EQUIP_SHIELD_AEG_GRANITE_EQUIP_HUMSTOP:

SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS:
		goto SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_%weapon_class_active

	SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_LE:
			goto SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_LE_%mendhunt_aeg_type_LE
		SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_LE_OFF:
			goto SUB_EQUIP_SHIELD_END
		SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_LE_ARMWORN:
			goto SUB_EQUIP_SHIELD_AEG_GRANITE_EQUIP_ARMWORN
		SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_LE_HANDHELD:
			goto SUB_EQUIP_SHIELD_AEG_GRANITE_EQUIP_HANDHELD
	SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_ME:
			goto SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_ME_%mendhunt_aeg_type_ME
		SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_ME_OFF:
			goto SUB_EQUIP_SHIELD_END
		SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_ME_ARMWORN:
			goto SUB_EQUIP_SHIELD_AEG_GRANITE_EQUIP_ARMWORN
		SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_ME_HANDHELD:
			goto SUB_EQUIP_SHIELD_AEG_GRANITE_EQUIP_HANDHELD
	SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_HE:
			goto SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_HE_%mendhunt_aeg_type_HE
		SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_HE_OFF:
			goto SUB_EQUIP_SHIELD_END
		SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_HE_ARMWORN:
			goto SUB_EQUIP_SHIELD_AEG_GRANITE_EQUIP_ARMWORN
		SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_HE_HANDHELD:
			goto SUB_EQUIP_SHIELD_AEG_GRANITE_EQUIP_HANDHELD
	SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_2HE:
			goto SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_2HE_%mendhunt_aeg_type_2HE
		SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_2HE_OFF:
			goto SUB_EQUIP_SHIELD_END
		SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_2HE_ARMWORN:
			goto SUB_EQUIP_SHIELD_AEG_GRANITE_EQUIP_ARMWORN
		SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_2HE_HANDHELD:
			goto SUB_EQUIP_SHIELD_AEG_GRANITE_EQUIP_HANDHELD
	SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_LB:
			goto SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_LB_%mendhunt_aeg_type_LB
		SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_LB_OFF:
			goto SUB_EQUIP_SHIELD_END
		SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_LB_ARMWORN:
			goto SUB_EQUIP_SHIELD_AEG_GRANITE_EQUIP_ARMWORN
		SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_LB_HANDHELD:
			goto SUB_EQUIP_SHIELD_AEG_GRANITE_EQUIP_HANDHELD
	SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_MB:
			goto SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_MB_%mendhunt_aeg_type_MB
		SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_MB_OFF:
			goto SUB_EQUIP_SHIELD_END
		SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_MB_ARMWORN:
			goto SUB_EQUIP_SHIELD_AEG_GRANITE_EQUIP_ARMWORN
		SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_MB_HANDHELD:
			goto SUB_EQUIP_SHIELD_AEG_GRANITE_EQUIP_HANDHELD
	SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_HB:
			goto SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_HB_%mendhunt_aeg_type_HB
		SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_HB_OFF:
			goto SUB_EQUIP_SHIELD_END
		SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_HB_ARMWORN:
			goto SUB_EQUIP_SHIELD_AEG_GRANITE_EQUIP_ARMWORN
		SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_HB_HANDHELD:
			goto SUB_EQUIP_SHIELD_AEG_GRANITE_EQUIP_HANDHELD
	SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_2HB:
			goto SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_2HB_%mendhunt_aeg_type_2HB
		SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_2HB_OFF:
			goto SUB_EQUIP_SHIELD_END
		SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_2HB_ARMWORN:
			goto SUB_EQUIP_SHIELD_AEG_GRANITE_EQUIP_ARMWORN
		SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_2HB_HANDHELD:
			goto SUB_EQUIP_SHIELD_AEG_GRANITE_EQUIP_HANDHELD
	SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_SL:
			goto SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_SL_%mendhunt_aeg_type_SL
		SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_SL_OFF:
			goto SUB_EQUIP_SHIELD_END
		SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_SL_ARMWORN:
			goto SUB_EQUIP_SHIELD_AEG_GRANITE_EQUIP_ARMWORN
		SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_SL_HANDHELD:
			goto SUB_EQUIP_SHIELD_AEG_GRANITE_EQUIP_HANDHELD
	SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_STAFFSLING:
			goto SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_STAFFSLING_%mendhunt_aeg_type_STAFFSLING
		SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_STAFFSLING_OFF:
			goto SUB_EQUIP_SHIELD_END
		SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_STAFFSLING_ARMWORN:
			goto SUB_EQUIP_SHIELD_AEG_GRANITE_EQUIP_ARMWORN
		SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_STAFFSLING_HANDHELD:
			goto SUB_EQUIP_SHIELD_AEG_GRANITE_EQUIP_HANDHELD
	SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_SB:
			goto SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_SB_%mendhunt_aeg_type_SB
		SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_SB_OFF:
			goto SUB_EQUIP_SHIELD_END
		SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_SB_ARMWORN:
			goto SUB_EQUIP_SHIELD_AEG_GRANITE_EQUIP_ARMWORN
		SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_SB_HANDHELD:
			goto SUB_EQUIP_SHIELD_AEG_GRANITE_EQUIP_HANDHELD
	SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_LOB:
			goto SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_LOB_%mendhunt_aeg_type_LOB
		SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_LOB_OFF:
			goto SUB_EQUIP_SHIELD_END
		SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_LOB_ARMWORN:
			goto SUB_EQUIP_SHIELD_AEG_GRANITE_EQUIP_ARMWORN
		SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_LOB_HANDHELD:
			goto SUB_EQUIP_SHIELD_AEG_GRANITE_EQUIP_HANDHELD
	SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_CB:
			goto SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_CB_%mendhunt_aeg_type_CB
		SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_CB_OFF:
			goto SUB_EQUIP_SHIELD_END
		SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_CB_ARMWORN:
			goto SUB_EQUIP_SHIELD_AEG_GRANITE_EQUIP_ARMWORN
		SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_CB_HANDHELD:
			goto SUB_EQUIP_SHIELD_AEG_GRANITE_EQUIP_HANDHELD
	SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_LX:
			goto SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_LX_%mendhunt_aeg_type_LX
		SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_LX_OFF:
			goto SUB_EQUIP_SHIELD_END
		SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_LX_ARMWORN:
			goto SUB_EQUIP_SHIELD_AEG_GRANITE_EQUIP_ARMWORN
		SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_LX_HANDHELD:
			goto SUB_EQUIP_SHIELD_AEG_GRANITE_EQUIP_HANDHELD
	SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_HX:
			goto SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_HX_%mendhunt_aeg_type_HX
		SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_HX_OFF:
			goto SUB_EQUIP_SHIELD_END
		SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_HX_ARMWORN:
			goto SUB_EQUIP_SHIELD_AEG_GRANITE_EQUIP_ARMWORN
		SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_HX_HANDHELD:
			goto SUB_EQUIP_SHIELD_AEG_GRANITE_EQUIP_HANDHELD
	SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_SS:
			goto SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_SS_%mendhunt_aeg_type_SS
		SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_SS_OFF:
			goto SUB_EQUIP_SHIELD_END
		SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_SS_ARMWORN:
			goto SUB_EQUIP_SHIELD_AEG_GRANITE_EQUIP_ARMWORN
		SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_SS_HANDHELD:
			goto SUB_EQUIP_SHIELD_AEG_GRANITE_EQUIP_HANDHELD
	SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_QS:
			goto SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_QS_%mendhunt_aeg_type_QS
		SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_QS_OFF:
			goto SUB_EQUIP_SHIELD_END
		SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_QS_ARMWORN:
			goto SUB_EQUIP_SHIELD_AEG_GRANITE_EQUIP_ARMWORN
		SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_QS_HANDHELD:
			goto SUB_EQUIP_SHIELD_AEG_GRANITE_EQUIP_HANDHELD
	SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_PI:
			goto SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_PI_%mendhunt_aeg_type_PI
		SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_PI_OFF:
			goto SUB_EQUIP_SHIELD_END
		SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_PI_ARMWORN:
			goto SUB_EQUIP_SHIELD_AEG_GRANITE_EQUIP_ARMWORN
		SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_PI_HANDHELD:
			goto SUB_EQUIP_SHIELD_AEG_GRANITE_EQUIP_HANDHELD
	SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_HAL:
			goto SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_HAL_%mendhunt_aeg_type_HAL
		SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_HAL_OFF:
			goto SUB_EQUIP_SHIELD_END
		SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_HAL_ARMWORN:
			goto SUB_EQUIP_SHIELD_AEG_GRANITE_EQUIP_ARMWORN
		SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_HAL_HANDHELD:
			goto SUB_EQUIP_SHIELD_AEG_GRANITE_EQUIP_HANDHELD
	SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_LT:
			goto SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_LT_%mendhunt_aeg_type_LT
		SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_LT_OFF:
			goto SUB_EQUIP_SHIELD_END
		SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_LT_ARMWORN:
			goto SUB_EQUIP_SHIELD_AEG_GRANITE_EQUIP_ARMWORN
		SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_LT_HANDHELD:
			goto SUB_EQUIP_SHIELD_AEG_GRANITE_EQUIP_HANDHELD
	SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_HT:
			goto SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_HT_%mendhunt_aeg_type_HT
		SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_HT_OFF:
			goto SUB_EQUIP_SHIELD_END
		SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_HT_ARMWORN:
			goto SUB_EQUIP_SHIELD_AEG_GRANITE_EQUIP_ARMWORN
		SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_HT_HANDHELD:
			goto SUB_EQUIP_SHIELD_AEG_GRANITE_EQUIP_HANDHELD
	SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_BR:
			goto SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_BR_%mendhunt_aeg_type_BR
		SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_BR_OFF:
			goto SUB_EQUIP_SHIELD_END
		SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_BR_ARMWORN:
			goto SUB_EQUIP_SHIELD_AEG_GRANITE_EQUIP_ARMWORN
		SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_BR_HANDHELD:
			goto SUB_EQUIP_SHIELD_AEG_GRANITE_EQUIP_HANDHELD
	SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_OW:
			goto SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_OW_%mendhunt_aeg_type_OW
		SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_OW_OFF:
			goto SUB_EQUIP_SHIELD_END
		SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_OW_ARMWORN:
			goto SUB_EQUIP_SHIELD_AEG_GRANITE_EQUIP_ARMWORN
		SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_OW_HANDHELD:
			goto SUB_EQUIP_SHIELD_AEG_GRANITE_EQUIP_HANDHELD
	SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_NOWEAP:
			goto SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_noweap_%mendhunt_aeg_type_noweap
		SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_NOWEAP_OFF:
			goto SUB_EQUIP_SHIELD_END
		SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_NOWEAP_ARMWORN:
			goto SUB_EQUIP_SHIELD_AEG_GRANITE_EQUIP_ARMWORN
		SUB_EQUIP_SHIELD_AEG_GRANITE_CHECK_WEAPONCLASS_NOWEAP_HANDHELD:
			goto SUB_EQUIP_SHIELD_AEG_GRANITE_EQUIP_HANDHELD

#____________________________________________________________________sub equip aeg granite armworn
SUB_EQUIP_SHIELD_AEG_GRANITE_EQUIP_ARMWORN:

SUB_EQUIP_SHIELD_AEG_GRANITE_EQUIP_ARMWORN_HUMSTOP:
	setvariable subreturnflaghumstop SUB_EQUIP_SHIELD_AEG_GRANITE_EQUIP_ARMWORN_HUMSTOP
	goto SUB_HUM_STOP
SUBRETURN_SUB_EQUIP_SHIELD_AEG_GRANITE_EQUIP_ARMWORN_HUMSTOP:

SUB_EQUIP_SHIELD_AEG_GRANITE_EQUIP_ARMWORN_PREP:
	setvariable subreturnflag SUB_EQUIP_SHIELD_AEG_GRANITE_EQUIP_ARMWORN_PREP
	setvariable spell_name AEG
	setvariable spell_prep_power %mendhunt_aeg_prep_power
	setvariable spell_harn_test %mendhunt_aeg_harn_test
	setvariable spell_harn_power %mendhunt_aeg_harn_power
	setvariable spell_harn_loop %mendhunt_aeg_harn_loop
	setvariable spell_cam_test %mendhunt_aeg_cam_test
	setvariable spell_cam_power %mendhunt_aeg_cam_power
	setvariable spell_cam_loop %mendhunt_aeg_cam_loop
	setvariable spell_cast_pause %mendhunt_aeg_cast_pause
	setvariable spell_targeted_test OFF
	goto SUB_SPELL_PREP
SUBRETURN_SUB_EQUIP_SHIELD_AEG_GRANITE_EQUIP_ARMWORN_PREP:

SUB_EQUIP_SHIELD_AEG_GRANITE_EQUIP_ARMWORN_CAST:
	pause %matchwaitpause
	match SUB_EQUIP_SHIELD_AEG_GRANITE_EQUIP_ARMWORN_CAST ...wait
	match SUB_EQUIP_SHIELD_AEG_GRANITE_EQUIP_ARMWORN_CAST You may only type ahead
	matchre SUB_EQUIP_SHIELD_AEG_GRANITE_EQUIP_ARMWORN_CAST_PAUSE /.*/i
	put cast armworn
	matchwait

SUB_EQUIP_SHIELD_AEG_GRANITE_EQUIP_ARMWORN_CAST_PAUSE:
	pause %aftercastrtpause

RTCHECK_SUB_EQUIP_SHIELD_AEG_GRANITE_EQUIP_ARMWORN_CAST_PAUSE:
	pause %rtcheckpause
	match RTCHECK_SUB_EQUIP_SHIELD_AEG_GRANITE_EQUIP_ARMWORN_CAST_PAUSE_READY What were you referring to
	match RTCHECK_SUB_EQUIP_SHIELD_AEG_GRANITE_EQUIP_ARMWORN_CAST_PAUSE ...wait
	match RTCHECK_SUB_EQUIP_SHIELD_AEG_GRANITE_EQUIP_ARMWORN_CAST_PAUSE You may only type ahead
	put get my rtchecking
	matchwait
RTCHECK_SUB_EQUIP_SHIELD_AEG_GRANITE_EQUIP_ARMWORN_CAST_PAUSE_READY:

SUB_EQUIP_SHIELD_AEG_GRANITE_EQUIP_ARMWORN_VERIFY:
	pause %matchwaitpause
	matchre SUB_EQUIP_SHIELD_AEG_GRANITE_EQUIP_END /You tap (.*) are wearing/i
	matchre SUB_EQUIP_SHIELD_AEG_GRANITE_EQUIP_FAIL /You tap (.*) are holding/i
	match SUB_EQUIP_SHIELD_AEG_GRANITE_EQUIP_FAIL I could not find
	match SUB_EQUIP_SHIELD_AEG_GRANITE_EQUIP_ARMWORN_VERIFY ...wait
	match SUB_EQUIP_SHIELD_AEG_GRANITE_EQUIP_ARMWORN_VERIFY You may only type ahead
	put tap my granite shield
	matchwait

#____________________________________________________________________sub equip aeg granite handheld
SUB_EQUIP_SHIELD_AEG_GRANITE_EQUIP_HANDHELD:

SUB_EQUIP_SHIELD_AEG_GRANITE_EQUIP_HANDHELD_PREP:
	setvariable subreturnflag SUB_EQUIP_SHIELD_AEG_GRANITE_EQUIP_HANDHELD_PREP
	setvariable spell_name AEG
	setvariable spell_prep_power %mendhunt_aeg_prep_power
	setvariable spell_harn_test %mendhunt_aeg_harn_test
	setvariable spell_harn_power %mendhunt_aeg_harn_power
	setvariable spell_harn_loop %mendhunt_aeg_harn_loop
	setvariable spell_cam_test %mendhunt_aeg_cam_test
	setvariable spell_cam_power %mendhunt_aeg_cam_power
	setvariable spell_cam_loop %mendhunt_aeg_cam_loop
	setvariable spell_cast_pause %mendhunt_aeg_cast_pause
	setvariable spell_targeted_test OFF
	goto SUB_SPELL_PREP
SUBRETURN_SUB_EQUIP_SHIELD_AEG_GRANITE_EQUIP_HANDHELD_PREP:

SUB_EQUIP_SHIELD_AEG_GRANITE_EQUIP_HANDHELD_CAST:
	pause %matchwaitpause
	match SUB_EQUIP_SHIELD_AEG_GRANITE_EQUIP_HANDHELD_CAST ...wait
	match SUB_EQUIP_SHIELD_AEG_GRANITE_EQUIP_HANDHELD_CAST You may only type ahead
	matchre SUB_EQUIP_SHIELD_AEG_GRANITE_EQUIP_HANDHELD_CAST_PAUSE /.*/i
	put cast
	matchwait

SUB_EQUIP_SHIELD_AEG_GRANITE_EQUIP_HANDHELD_CAST_PAUSE:
	pause %aftercastrtpause

RTCHECK_SUB_EQUIP_SHIELD_AEG_GRANITE_EQUIP_HANDHELD_CAST_PAUSE:
	pause %rtcheckpause
	match RTCHECK_SUB_EQUIP_SHIELD_AEG_GRANITE_EQUIP_HANDHELD_CAST_PAUSE_READY What were you referring to
	match RTCHECK_SUB_EQUIP_SHIELD_AEG_GRANITE_EQUIP_HANDHELD_CAST_PAUSE ...wait
	match RTCHECK_SUB_EQUIP_SHIELD_AEG_GRANITE_EQUIP_HANDHELD_CAST_PAUSE You may only type ahead
	put get my rtchecking
	matchwait
RTCHECK_SUB_EQUIP_SHIELD_AEG_GRANITE_EQUIP_HANDHELD_CAST_PAUSE_READY:

SUB_EQUIP_SHIELD_AEG_GRANITE_EQUIP_HANDHELD_VERIFY:
	pause %matchwaitpause
	matchre SUB_EQUIP_SHIELD_AEG_GRANITE_EQUIP_FAIL /You tap (.*) are wearing/i
	matchre SUB_EQUIP_SHIELD_AEG_GRANITE_EQUIP_END /You tap (.*) are holding/i
	match SUB_EQUIP_SHIELD_AEG_GRANITE_EQUIP_FAIL I could not find
	match SUB_EQUIP_SHIELD_AEG_GRANITE_EQUIP_HANDHELD_VERIFY ...wait
	match SUB_EQUIP_SHIELD_AEG_GRANITE_EQUIP_HANDHELD_VERIFY You may only type ahead
	put tap my granite shield
	matchwait

SUB_EQUIP_SHIELD_AEG_GRANITE_EQUIP_END:
	pause %matchwaitpause
	match SUB_EQUIP_SHIELD_AEG_GRANITE_EQUIP_END ...wait
	match SUB_EQUIP_SHIELD_AEG_GRANITE_EQUIP_END You may only type ahead
	matchre SUB_EQUIP_SHIELD_END_END /.*/i
	put release
	matchwait

#____________________________________________________________________sub equip regular shield start
SUB_EQUIP_SHIELD_START:

SUB_EQUIP_SHIELD_WIELD:
	pause %matchwaitpause
	matchre SUB_EQUIP_SHIELD_ADJUST_CHECK /%hitwield%/i
	match SUB_EQUIP_SHIELD_REMOVE You're wearing
	match SUB_EQUIP_SHIELD_NOT_FOUND Wield what
	match SUB_EQUIP_SHIELD_ADJUST_CHECK You're already holding
	match SUB_EQUIP_SHIELD_WIELD ...wait
	match SUB_EQUIP_SHIELD_WIELD You may only type ahead
	put wield left my %shield_name_called
	matchwait

SUB_EQUIP_SHIELD_REMOVE:
	pause %matchwaitpause
	matchre SUB_EQUIP_SHIELD_ADJUST_CHECK /%hitremove%/i
	match SUB_EQUIP_SHIELD_ADJUST_CHECK You loosen
	matchre SUB_EQUIP_SHIELD_NOT_FOUND /%failremove%/i
	match SUB_EQUIP_SHIELD_REMOVE ...wait
	match SUB_EQUIP_SHIELD_REMOVE You may only type ahead
	put remove my %shield_name_called
	matchwait

SUB_EQUIP_SHIELD_ADJUST_CHECK:
		goto SUB_EQUIP_SHIELD_ADJUST_CHECK_%shield_use_called
	SUB_EQUIP_SHIELD_ADJUST_CHECK_OFF:
		goto SUB_EQUIP_SHIELD_END
	SUB_EQUIP_SHIELD_ADJUST_CHECK_HANDHELD:
		goto SUB_EQUIP_SHIELD_END
	SUB_EQUIP_SHIELD_ADJUST_CHECK_ARMWORN:
		goto SUB_EQUIP_SHIELD_ADJUST_ARMWORN

SUB_EQUIP_SHIELD_ADJUST_ARMWORN:

SUB_EQUIP_SHIELD_ARMWORN_APP:
	pause %matchwaitpause
	matchre SUB_EQUIP_SHIELD_ARMWORN_ADJUSTNEED /It appears (.*) slung over one shoulder/i
	matchre SUB_EQUIP_SHIELD_ARMWORN_ADJUSTREADY /It appears (.*) worn on the left arm/i
	match SUB_EQUIP_SHIELD_ARMWORN_APP ...wait
	match SUB_EQUIP_SHIELD_ARMWORN_APP You may only type ahead
	put app my %shield_name_called quick
	matchwait

SUB_EQUIP_SHIELD_ARMWORN_ADJUSTREADY:
	pause 1
RTCHECK_SUB_EQUIP_SHIELD_ARMWORN_ADJUSTREADY:
	pause %rtcheckpause
	match RTCHECK_SUB_EQUIP_SHIELD_ARMWORN_ADJUSTREADY_READY What were you referring to
	match RTCHECK_SUB_EQUIP_SHIELD_ARMWORN_ADJUSTREADY ...wait
	match RTCHECK_SUB_EQUIP_SHIELD_ARMWORN_ADJUSTREADY You may only type ahead
	put get my rtchecking
	matchwait
RTCHECK_SUB_EQUIP_SHIELD_ARMWORN_ADJUSTREADY_READY:

SUB_EQUIP_SHIELD_ARMWORN_ADJUSTREADY_GO:
	pause %matchwaitpause
	match SUB_EQUIP_SHIELD_END You slide
	match SUB_EQUIP_SHIELD_ARMWORN_FAIL You sling
	matchre SUB_EQUIP_SHIELD_ARMWORN_FAIL /%failwear%/i
	match SUB_EQUIP_SHIELD_ARMWORN_ADJUSTREADY_GO ...wait
	match SUB_EQUIP_SHIELD_ARMWORN_ADJUSTREADY_GO You may only type ahead
	put wear my %shield_name_called
	matchwait

SUB_EQUIP_SHIELD_ARMWORN_ADJUSTNEED:
	pause 1
RTCHECK_SUB_EQUIP_SHIELD_ARMWORN_ADJUSTNEED:
	pause %rtcheckpause
	match RTCHECK_SUB_EQUIP_SHIELD_ARMWORN_ADJUSTNEED_READY What were you referring to
	match RTCHECK_SUB_EQUIP_SHIELD_ARMWORN_ADJUSTNEED ...wait
	match RTCHECK_SUB_EQUIP_SHIELD_ARMWORN_ADJUSTNEED You may only type ahead
	put get my rtchecking
	matchwait
RTCHECK_SUB_EQUIP_SHIELD_ARMWORN_ADJUSTNEED_READY:

SUB_EQUIP_SHIELD_ARMWORN_ADJUST:
	pause %matchwaitpause
	match SUB_EQUIP_SHIELD_ARMWORN_WEAR You adjust
	match SUB_EQUIP_SHIELD_ARMWORN_ADJUSTNEED_SWAP Your hands are too full
	match SUB_EQUIP_SHIELD_ARMWORN_ADJUST ...wait
	match SUB_EQUIP_SHIELD_ARMWORN_ADJUST You may only type ahead
	put adjust my %shield_name_called
	matchwait

SUB_EQUIP_SHIELD_ARMWORN_WEAR:
	pause %matchwaitpause
	match SUB_EQUIP_SHIELD_ARMWORN_REEQUIP_WEAPON You slide
	match ERROR_SHIELD You sling
	matchre SUB_EQUIP_SHIELD_ARMWORN_FAIL /%failwear%/i
	match SUB_EQUIP_SHIELD_ARMWORN_WEAR ...wait
	match SUB_EQUIP_SHIELD_ARMWORN_WEAR You may only type ahead
	put wear my %shield_name_called
	matchwait

SUB_EQUIP_SHIELD_ARMWORN_ADJUSTNEED_SWAP:
	pause %matchwaitpause
	match SUB_EQUIP_SHIELD_ARMWORN_EMPTYLH You move
	match ERROR_SHIELD You have nothing to swap
	match SUB_EQUIP_SHIELD_ARMWORN_ADJUSTNEED_SWAP ...wait
	match SUB_EQUIP_SHIELD_ARMWORN_ADJUSTNEED_SWAP You may only type ahead
	put swap
	matchwait

SUB_EQUIP_SHIELD_ARMWORN_EMPTYLH:
	setvariable subreturnflagemptylefthand SUB_EQUIP_SHIELD_ARMWORN_EMPTYLH
	goto SUB_EMPTY_LEFTHAND
SUBRETURN_SUB_EQUIP_SHIELD_ARMWORN_EMPTYLH:
	goto SUB_EQUIP_SHIELD_ARMWORN_ADJUST

SUB_EQUIP_SHIELD_ARMWORN_REEQUIP_WEAPON:

SUB_EQUIP_SHIELD_ARMWORN_REEQUIP_WEAPON_CHECK:
		goto SUB_EQUIP_SHIELD_ARMWORN_REEQUIP_WEAPON_CHECK_%weapon_type_active
	SUB_EQUIP_SHIELD_ARMWORN_REEQUIP_WEAPON_CHECK_MELEE:
		goto SUB_EQUIP_SHIELD_ARMWORN_REEQUIP_WEAPON_GO
	SUB_EQUIP_SHIELD_ARMWORN_REEQUIP_WEAPON_CHECK_RANGED:
		goto SUB_EQUIP_SHIELD_ARMWORN_REEQUIP_WEAPON_GO
	SUB_EQUIP_SHIELD_ARMWORN_REEQUIP_WEAPON_CHECK_THROWN:
		goto SUB_EQUIP_SHIELD_ARMWORN_REEQUIP_WEAPON_GO
	SUB_EQUIP_SHIELD_ARMWORN_REEQUIP_WEAPON_CHECK_DUAL:
		goto SUB_EQUIP_SHIELD_END
	SUB_EQUIP_SHIELD_ARMWORN_REEQUIP_WEAPON_CHECK_NOWEAP:
		goto SUB_EQUIP_SHIELD_END
	SUB_EQUIP_SHIELD_ARMWORN_REEQUIP_WEAPON_CHECK_MELEENOWEAP:
		goto SUB_EQUIP_SHIELD_END

SUB_EQUIP_SHIELD_ARMWORN_REEQUIP_WEAPON_GO:
	setvariable subreturnflagequipweaponrh SUB_EQUIP_SHIELD_ARMWORN_REEQUIP_WEAPON_GO
	setvariable weapon_name_called %weapon_name_active
	goto SUB_EQUIP_WEAPON_CALLED_RIGHTHAND
SUBRETURN_SUB_EQUIP_SHIELD_ARMWORN_REEQUIP_WEAPON_GO:

	goto SUB_EQUIP_SHIELD_END

SUB_EQUIP_SHIELD_LH_HANDFULL:
	echo
	echo *************************************************************
	echo
	echo *** WARNING
	echo
	echo Equip shield fail - left hand full
	echo
	echo Script tried to equip shield but found hand full.
	echo
	echo Empty hand and restart.
	echo
	echo Exiting Script.
	echo
	echo *************************************************************
	echo
	pause 1
	goto END_SCRIPT

SUB_EQUIP_SHIELD_NOT_FOUND:
	echo
	echo *************************************************************
	echo
	echo *** WARNING 
	echo
	echo Equip shield fail - shield not found
	echo 
	echo Script could not find:      %shield_name_called
	echo
	echo Could be multiple issues: incorrect setup, closed container, disarmed, or broken shield.
	echo
	echo Check your situation and/or setup then restart.
	echo
	echo Exiting Script.
	echo 
	echo *************************************************************
	echo
	pause 1
	goto END_SCRIPT

SUB_EQUIP_SHIELD_ARMWORN_FAIL:
	echo
	echo *************************************************************
	echo
	echo *** WARNING 
	echo
	echo Equip shield fail - armworn shield fail
	echo 
	echo Script could not wear your armworn shield:      %shield_name_called
	echo
	echo Could be multiple issues: already wearing an armworn or the shield is too big for your arm.
	echo
	echo Check your situation and/or setup then restart.
	echo
	echo Exiting Script.
	echo 
	echo *************************************************************
	echo
	pause 1
	goto END_SCRIPT

SUB_EQUIP_SHIELD_AEG_GRANITE_EQUIP_FAIL:
	pause 1
	put release
	echo
	echo *************************************************************
	echo
	echo *** ATTENTION - AEG Fail
	echo
	echo AEG failed to cast a granite shield 
	echo 
	echo Either out of mana or backfiring - You should probably tone it down
	echo
	echo
	echo Trying to continue, but you are now hunting without that AEG granite shield you wanted
	echo 
	echo *************************************************************
	echo
	pause 1
	goto SUB_EQUIP_SHIELD_END_END


SUB_EQUIP_SHIELD_END:
#____________________________________________________________________AEG on regular shield
SUB_EQUIP_SHIELD_END_AEG_MASTER_TEST:
		goto SUB_EQUIP_SHIELD_END_AEG_MASTER_TEST_%mendhunt_aeg_master_test
	SUB_EQUIP_SHIELD_END_AEG_MASTER_TEST_ON:
		goto SUB_EQUIP_SHIELD_AEG_NORMAL_SHIELD_TEST
	SUB_EQUIP_SHIELD_END_AEG_MASTER_TEST_OFF:
		goto SUB_EQUIP_SHIELD_END_END

SUB_EQUIP_SHIELD_AEG_NORMAL_SHIELD_TEST:
		goto SUB_EQUIP_SHIELD_AEG_NORMAL_SHIELD_TEST_%shield_use_called
	SUB_EQUIP_SHIELD_AEG_NORMAL_SHIELD_TEST_OFF:
		goto SUB_EQUIP_SHIELD_END_END
	SUB_EQUIP_SHIELD_AEG_NORMAL_SHIELD_TEST_HANDHELD:
		goto SUB_EQUIP_SHIELD_AEG_NORMAL_SHIELD_GO
	SUB_EQUIP_SHIELD_AEG_NORMAL_SHIELD_TEST_ARMWORN:
		goto SUB_EQUIP_SHIELD_AEG_NORMAL_SHIELD_GO

SUB_EQUIP_SHIELD_AEG_NORMAL_SHIELD_GO:

SUB_EQUIP_SHIELD_AEG_NORMAL_SHIELD_GO_HUMSTOP:
	setvariable subreturnflaghumstop SUB_EQUIP_SHIELD_AEG_NORMAL_SHIELD_GO_HUMSTOP
	goto SUB_HUM_STOP
SUBRETURN_SUB_EQUIP_SHIELD_AEG_NORMAL_SHIELD_GO_HUMSTOP:

SUB_EQUIP_SHIELD_AEG_NORMAL_SHIELD_PREP:
	setvariable subreturnflag SUB_EQUIP_SHIELD_AEG_NORMAL_SHIELD_PREP
	setvariable spell_name AEG
	setvariable spell_prep_power %mendhunt_aeg_prep_power
	setvariable spell_harn_test %mendhunt_aeg_harn_test
	setvariable spell_harn_power %mendhunt_aeg_harn_power
	setvariable spell_harn_loop %mendhunt_aeg_harn_loop
	setvariable spell_cam_test %mendhunt_aeg_cam_test
	setvariable spell_cam_power %mendhunt_aeg_cam_power
	setvariable spell_cam_loop %mendhunt_aeg_cam_loop
	setvariable spell_cast_pause %mendhunt_aeg_cast_pause
	setvariable spell_targeted_test OFF
	goto SUB_SPELL_PREP
SUBRETURN_SUB_EQUIP_SHIELD_AEG_NORMAL_SHIELD_PREP:

SUB_EQUIP_SHIELD_AEG_NORMAL_SHIELD_CAST:
	pause %matchwaitpause
	match SUB_EQUIP_SHIELD_AEG_NORMAL_SHIELD_CAST ...wait
	match SUB_EQUIP_SHIELD_AEG_NORMAL_SHIELD_CAST You may only type ahead
	matchre SUB_EQUIP_SHIELD_AEG_NORMAL_SHIELD_CAST_PAUSE /.*/i
	put cast my %shield_name_called
	matchwait

SUB_EQUIP_SHIELD_AEG_NORMAL_SHIELD_CAST_PAUSE:
	pause %aftercastrtpause

RTTEST_SUB_EQUIP_SHIELD_AEG_NORMAL_SHIELD_CAST_PAUSE:
	pause %rtcheckpause
	match RTTEST_SUB_EQUIP_SHIELD_AEG_NORMAL_SHIELD_CAST_PAUSE_READY What were you referring to
	match RTTEST_SUB_EQUIP_SHIELD_AEG_NORMAL_SHIELD_CAST_PAUSE ...wait
	match RTTEST_SUB_EQUIP_SHIELD_AEG_NORMAL_SHIELD_CAST_PAUSE You may only type ahead
	put get my rtchecking
	matchwait
RTTEST_SUB_EQUIP_SHIELD_AEG_NORMAL_SHIELD_CAST_PAUSE_READY:

SUB_EQUIP_SHIELD_AEG_NORMAL_SHIELD_RELEASE:
	pause %matchwaitpause
	match SUB_EQUIP_SHIELD_AEG_NORMAL_SHIELD_RELEASE ...wait
	match SUB_EQUIP_SHIELD_AEG_NORMAL_SHIELD_RELEASE You may only type ahead
	matchre SUB_EQUIP_SHIELD_END_END /.*/i
	put release
	matchwait

SUB_EQUIP_SHIELD_END_END:
	goto SUBRETURN_%subreturnflagequipshield

######################### REMOVE ALL ARMS SUB ############################################
# variables needed:
# 	subreturnflagremoveallarms

SUB_REMOVE_ALL_ARMS:

SUB_REMOVE_ALL_ARMS_EMPTYHANDS:
	setvariable subreturnflagemptyhands SUB_REMOVE_ALL_ARMS_EMPTYHANDS
	goto SUB_EMPTY_HANDS
SUBRETURN_SUB_REMOVE_ALL_ARMS_EMPTYHANDS:

SUB_REMOVE_ALL_ARMS_AEG_CHECK:
		goto SUB_REMOVE_ALL_ARMS_AEG_CHECK_%mendhunt_aeg_master_test
	SUB_REMOVE_ALL_ARMS_AEG_CHECK_ON:
		pause .5
		put drop my granite shield
		pause .5
		goto SUB_REMOVE_ALL_ARMS_ARMWORN_REMOVE
	SUB_REMOVE_ALL_ARMS_AEG_CHECK_OFF:
		goto SUB_REMOVE_ALL_ARMS_ARMWORN_REMOVE

SUB_REMOVE_ALL_ARMS_ARMWORN_REMOVE:
	pause %matchwaitpause
	match SUB_REMOVE_ALL_ARMS_ARMWORN_REMOVE_STOW You loosen the straps
	match SUB_REMOVE_ALL_ARMS_ARMWORN_REMOVE_WEAR You sling
	matchre SUB_REMOVE_ALL_ARMS_HANDHELD_REMOVE /%failremove%/i
	match SUB_REMOVE_ALL_ARMS_ARMWORN_REMOVE ...wait
	match SUB_REMOVE_ALL_ARMS_ARMWORN_REMOVE You may only type ahead
	put remove my %mendhunt_shield_name_armworn
	matchwait

SUB_REMOVE_ALL_ARMS_ARMWORN_REMOVE_STOW:
	pause %matchwaitpause
	matchre SUB_REMOVE_ALL_ARMS_END /%hitstow%/i
	matchre SUB_REMOVE_ALL_ARMS_ARMWORN_REMOVE_ADJUST /%failstowcall%/i
	matchre SUB_REMOVE_ALL_ARMS_ARMWORN_REMOVE_ADJUST /%failstowfull%/i
	matchre SUB_REMOVE_ALL_ARMS_ARMWORN_REMOVE_ADJUST /%failstowsize%/i
	matchre ERROR_STOW /%errorstow%/i
	match SUB_REMOVE_ALL_ARMS_ARMWORN_REMOVE_STOW ...wait
	match SUB_REMOVE_ALL_ARMS_ARMWORN_REMOVE_STOW You may only type ahead
	put stow left
	matchwait

SUB_REMOVE_ALL_ARMS_ARMWORN_REMOVE_ADJUST:
	pause %matchwaitpause
	match SUB_REMOVE_ALL_ARMS_ARMWORN_REMOVE_ADJUST ...wait
	match SUB_REMOVE_ALL_ARMS_ARMWORN_REMOVE_ADJUST You may only type ahead
	matchre SUB_REMOVE_ALL_ARMS_ARMWORN_REMOVE_WEAR /.*/i
	put adjust my %mendhunt_shield_name_armworn
	matchwait

SUB_REMOVE_ALL_ARMS_ARMWORN_REMOVE_WEAR:
	pause %matchwaitpause
	matchre SUB_REMOVE_ALL_ARMS_HANDHELD_REMOVE /%hitwear%/i
	matchre ERROR_SHIELD /%failwear%/i
	match SUB_REMOVE_ALL_ARMS_ARMWORN_REMOVE_WEAR ...wait
	match SUB_REMOVE_ALL_ARMS_ARMWORN_REMOVE_WEAR You may only type ahead
	put wear my %mendhunt_shield_name_armworn
	matchwait

SUB_REMOVE_ALL_ARMS_HANDHELD_REMOVE:
	pause %matchwaitpause
	match SUB_REMOVE_ALL_ARMS_HANDHELD_REMOVE_STOW You loosen the straps
	match SUB_REMOVE_ALL_ARMS_HANDHELD_REMOVE_WEAR You sling
	matchre SUB_REMOVE_ALL_ARMS_END /%failremove%/i
	match SUB_REMOVE_ALL_ARMS_HANDHELD_REMOVE ...wait
	match SUB_REMOVE_ALL_ARMS_HANDHELD_REMOVE You may only type ahead
	put remove my %mendhunt_shield_name_handheld
	matchwait

SUB_REMOVE_ALL_ARMS_HANDHELD_REMOVE_STOW:
	pause %matchwaitpause
	matchre SUB_REMOVE_ALL_ARMS_VERIFY /%hitstow%/i
	matchre SUB_REMOVE_ALL_ARMS_HANDHELD_REMOVE_ADJUST /%failstowcall%/i
	matchre SUB_REMOVE_ALL_ARMS_HANDHELD_REMOVE_ADJUST /%failstowfull%/i
	matchre SUB_REMOVE_ALL_ARMS_HANDHELD_REMOVE_ADJUST /%failstowsize%/i
	matchre ERROR_STOW /%errorstow%/i
	match SUB_REMOVE_ALL_ARMS_HANDHELD_REMOVE_STOW ...wait
	match SUB_REMOVE_ALL_ARMS_HANDHELD_REMOVE_STOW You may only type ahead
	put stow left
	matchwait

SUB_REMOVE_ALL_ARMS_HANDHELD_REMOVE_ADJUST:
	pause %matchwaitpause
	match SUB_REMOVE_ALL_ARMS_HANDHELD_REMOVE_ADJUST ...wait
	match SUB_REMOVE_ALL_ARMS_HANDHELD_REMOVE_ADJUST You may only type ahead
	matchre SUB_REMOVE_ALL_ARMS_HANDHELD_REMOVE_WEAR /.*/i
	put adjust my %mendhunt_shield_name_handheld
	matchwait

SUB_REMOVE_ALL_ARMS_HANDHELD_REMOVE_WEAR:
	pause %matchwaitpause
	matchre SUB_REMOVE_ALL_ARMS_END /%hitwear%/i
	matchre ERROR_SHIELD /%failwear%/i
	match SUB_REMOVE_ALL_ARMS_HANDHELD_REMOVE_WEAR ...wait
	match SUB_REMOVE_ALL_ARMS_HANDHELD_REMOVE_WEAR You may only type ahead
	put wear my %mendhunt_shield_name_handheld
	matchwait

SUB_REMOVE_ALL_ARMS_END:

SUB_REMOVE_ALL_ARMS_END_RETREAT:
	setvariable subreturnflagretreat SUB_REMOVE_ALL_ARMS_END_RETREAT
	goto SUB_RETREAT
SUBRETURN_SUB_REMOVE_ALL_ARMS_END_RETREAT:

	goto SUBRETURN_%subreturnflagremoveallarms

######################### EQUIP ARMS SUB ###############################################
# needs subreturnflagequiparms
#
# passes through:
# 	weapon_name_active
# 	weapon_class_active
#	weapon_type_active
# 	shield_name_active
# 	shield_use_active
#	mendhunt_stance_test
#	weapon_stance_focus_active
#	switchnum

SUB_EQUIP_ARMS_ACTIVE:

SUB_EQUIP_ARMS_ACTIVE_START_RETREAT:
	setvariable subreturnflagretreat SUB_EQUIP_ARMS_ACTIVE_START_RETREAT
	goto SUB_RETREAT
SUBRETURN_SUB_EQUIP_ARMS_ACTIVE_START_RETREAT:

SUB_EQUIP_ARMS_ACTIVE_HANDS_TEST:
		goto SUB_EQUIP_ARMS_ACTIVE_HANDS_TEST_%weapon_type_active
	SUB_EQUIP_ARMS_ACTIVE_HANDS_TEST_MELEE:
		goto SUB_EQUIP_ARMS_ACTIVE_START
	SUB_EQUIP_ARMS_ACTIVE_HANDS_TEST_RANGED:
		goto SUB_EQUIP_ARMS_ACTIVE_START
	SUB_EQUIP_ARMS_ACTIVE_HANDS_TEST_THROWN:
		goto SUB_EQUIP_ARMS_ACTIVE_START
	SUB_EQUIP_ARMS_ACTIVE_HANDS_TEST_DUAL:
		goto SUB_EQUIP_ARMS_ACTIVE_DUAL_START
	SUB_EQUIP_ARMS_ACTIVE_HANDS_TEST_NOWEAP:
		goto SUB_EQUIP_ARMS_ACTIVE_EQUIP_SHIELD
	SUB_EQUIP_ARMS_ACTIVE_HANDS_TEST_MELEENOWEAP:
		goto SUB_EQUIP_ARMS_ACTIVE_EQUIP_SHIELD

#____________________________________________________________________equip arms normal
SUB_EQUIP_ARMS_ACTIVE_START:

SUB_EQUIP_ARMS_ACTIVE_REMOVE_ALL_ARMS:
	setvariable subreturnflagremoveallarms SUB_EQUIP_ARMS_ACTIVE_REMOVE_ALL_ARMS
	goto SUB_REMOVE_ALL_ARMS
SUBRETURN_SUB_EQUIP_ARMS_ACTIVE_REMOVE_ALL_ARMS:

SUB_EQUIP_ARMS_ACTIVE_EQUIP_WEAPON:
	setvariable subreturnflagequipweaponrh SUB_EQUIP_ARMS_ACTIVE_EQUIP_WEAPON
	setvariable weapon_name_called %weapon_name_active
	goto SUB_EQUIP_WEAPON_CALLED_RIGHTHAND
SUBRETURN_SUB_EQUIP_ARMS_ACTIVE_EQUIP_WEAPON:

	echo
	echo *** Equiped weapon:   %weapon_name_active
	echo

SUB_EQUIP_ARMS_ACTIVE_CHECK_WEAPON:
	setvariable subreturnflagweapcheck SUB_EQUIP_ARMS_ACTIVE_CHECK_WEAPON
	goto SUB_WEAPON_CHECK
SUBRETURN_SUB_EQUIP_ARMS_ACTIVE_CHECK_WEAPON:

SUB_EQUIP_ARMS_ACTIVE_EQUIP_SHIELD_RETREAT:
	setvariable subreturnflagretreat SUB_EQUIP_ARMS_ACTIVE_EQUIP_SHIELD_RETREAT
	goto SUB_RETREAT
SUBRETURN_SUB_EQUIP_ARMS_ACTIVE_EQUIP_SHIELD_RETREAT:

SUB_EQUIP_ARMS_ACTIVE_EQUIP_SHIELD:
	setvariable subreturnflagequipshield SUB_EQUIP_ARMS_ACTIVE_EQUIP_SHIELD
	setvariable shield_name_called %shield_name_active
	setvariable shield_use_called %shield_use_active
	goto SUB_EQUIP_SHIELD
SUBRETURN_SUB_EQUIP_ARMS_ACTIVE_EQUIP_SHIELD:

	echo
	echo *** Equiped shield:   %shield_use_active    %shield_name_active
	echo

	goto SUB_EQUIP_ARMS_ACTIVE_END

#____________________________________________________________________equip arms dual wield
SUB_EQUIP_ARMS_ACTIVE_DUAL_START:

SUB_EQUIP_ARMS_ACTIVE_DUAL_REMOVE_ALL_ARMS:
	setvariable subreturnflagremoveallarms SUB_EQUIP_ARMS_ACTIVE_DUAL_REMOVE_ALL_ARMS
	goto SUB_REMOVE_ALL_ARMS
SUBRETURN_SUB_EQUIP_ARMS_ACTIVE_DUAL_REMOVE_ALL_ARMS:

SUB_EQUIP_ARMS_ACTIVE_DUAL_EQUIP_SHIELD:
	setvariable subreturnflagequipshield SUB_EQUIP_ARMS_ACTIVE_DUAL_EQUIP_SHIELD
	setvariable shield_name_called %shield_name_active
	setvariable shield_use_called %shield_use_active
	goto SUB_EQUIP_SHIELD
SUBRETURN_SUB_EQUIP_ARMS_ACTIVE_DUAL_EQUIP_SHIELD:
	echo
	echo *** Equiped shield:   %shield_use_active    %shield_name_active
	echo

SUB_EQUIP_ARMS_ACTIVE_DUAL_EQUIP_WEAPON_RIGHT_RETREAT:
	setvariable subreturnflagretreat SUB_EQUIP_ARMS_ACTIVE_DUAL_EQUIP_WEAPON_RIGHT_RETREAT
	goto SUB_RETREAT
SUBRETURN_SUB_EQUIP_ARMS_ACTIVE_DUAL_EQUIP_WEAPON_RIGHT_RETREAT:

SUB_EQUIP_ARMS_ACTIVE_DUAL_EQUIP_WEAPON_RIGHT:
	setvariable subreturnflagequipweaponrh SUB_EQUIP_ARMS_ACTIVE_DUAL_EQUIP_WEAPON_RIGHT
	setvariable weapon_name_called %weapon_name_right_active
	goto SUB_EQUIP_WEAPON_CALLED_RIGHTHAND
SUBRETURN_SUB_EQUIP_ARMS_ACTIVE_DUAL_EQUIP_WEAPON_RIGHT:
	echo
	echo *** Equiped weapon right hand:   %weapon_name_right_active
	echo

SUB_EQUIP_ARMS_ACTIVE_DUAL_EQUIP_WEAPON_LEFT:
	setvariable subreturnflagequipweaponlh SUB_EQUIP_ARMS_ACTIVE_DUAL_EQUIP_WEAPON_LEFT
	setvariable weapon_name_called %weapon_name_left_active
	goto SUB_EQUIP_WEAPON_CALLED_LEFTHAND
SUBRETURN_SUB_EQUIP_ARMS_ACTIVE_DUAL_EQUIP_WEAPON_LEFT:
	echo
	echo *** Equiped weapon left hand:   %weapon_name_left_active
	echo

#____________________________________________________________________equip arms end
SUB_EQUIP_ARMS_ACTIVE_END:

SUB_EQUIP_ARMS_ACTIVE_CHECK_STANCE:
	setvariable subreturnflagcheckstance SUB_EQUIP_ARMS_ACTIVE_CHECK_STANCE
	goto SUB_STANCE_SWITCH
SUBRETURN_SUB_EQUIP_ARMS_ACTIVE_CHECK_STANCE:
	goto SUB_EQUIP_ARMS_ACTIVE_END_END

SUB_EQUIP_ARMS_ACTIVE_END_END:
	goto SUBRETURN_%subreturnflagequiparms

######################### WEAPON CHECK SUB ###############################################
# left hand must be empty
# variables needed:
#        subreturnflagweapcheck


SUB_WEAPON_CHECK:
SUB_WEAPON_CHECK_START:

SUB_WEAPON_CHECK_FLAG:
	goto SUB_WEAPON_CHECK_FLAG_%weapon_class_active

SUB_WEAPON_CHECK_FLAG_LE:
	setvariable weapon_flag1 light edged
	setvariable weapon_flag2 light edged
	goto SUB_WEAPON_CHECK_APP
SUB_WEAPON_CHECK_FLAG_ME:
	setvariable weapon_flag1 medium edged
	setvariable weapon_flag2 medium edged
	goto SUB_WEAPON_CHECK_APP
SUB_WEAPON_CHECK_FLAG_HE:
	setvariable weapon_flag1 heavy edged
	setvariable weapon_flag2 heavy edged
	goto SUB_WEAPON_CHECK_APP
SUB_WEAPON_CHECK_FLAG_2HE:
	setvariable weapon_flag1 two-handed edged
	setvariable weapon_flag2 twohanded edged
	goto SUB_WEAPON_CHECK_APP
SUB_WEAPON_CHECK_FLAG_LB:
	setvariable weapon_flag1 light blunt
	setvariable weapon_flag2 light blunt
	goto SUB_WEAPON_CHECK_APP
SUB_WEAPON_CHECK_FLAG_MB:
	setvariable weapon_flag1 medium blunt
	setvariable weapon_flag2 medium blunt
	goto SUB_WEAPON_CHECK_APP
SUB_WEAPON_CHECK_FLAG_HB:
	setvariable weapon_flag1 heavy blunt
	setvariable weapon_flag2 large blunt
	goto SUB_WEAPON_CHECK_APP
SUB_WEAPON_CHECK_FLAG_2HB:
	setvariable weapon_flag1 two-handed blunt
	setvariable weapon_flag2 twohanded blunt
	goto SUB_WEAPON_CHECK_APP
SUB_WEAPON_CHECK_FLAG_SL:
	setvariable weapon_flag1 sling
	setvariable weapon_flag2 sling
	goto SUB_WEAPON_CHECK_APP
SUB_WEAPON_CHECK_FLAG_STAFFSLING:
	setvariable weapon_flag1 staff sling
	setvariable weapon_flag2 staffsling
	goto SUB_WEAPON_CHECK_APP
SUB_WEAPON_CHECK_FLAG_SB:
	setvariable weapon_flag1 short bow
	setvariable weapon_flag2 shortbow
	goto SUB_WEAPON_CHECK_APP
SUB_WEAPON_CHECK_FLAG_LOB:
	setvariable weapon_flag1 long bow
	setvariable weapon_flag2 longbow
	goto SUB_WEAPON_CHECK_APP
SUB_WEAPON_CHECK_FLAG_CB:
	setvariable weapon_flag1 composite bow
	setvariable weapon_flag2 compositebow
	goto SUB_WEAPON_CHECK_APP
SUB_WEAPON_CHECK_FLAG_LX:
	setvariable weapon_flag1 light crossbow
	setvariable weapon_flag2 lightcrossbow
	goto SUB_WEAPON_CHECK_APP
SUB_WEAPON_CHECK_FLAG_HX:
	setvariable weapon_flag1 heavy crossbow
	setvariable weapon_flag2 heavycrossbow
	goto SUB_WEAPON_CHECK_APP
SUB_WEAPON_CHECK_FLAG_SS:
	setvariable weapon_flag1 short staff
	setvariable weapon_flag2 shortstaff
	goto SUB_WEAPON_CHECK_APP
SUB_WEAPON_CHECK_FLAG_QS:
	setvariable weapon_flag1 quarter staff
	setvariable weapon_flag2 quarterstaff
	goto SUB_WEAPON_CHECK_APP
SUB_WEAPON_CHECK_FLAG_PI:
	setvariable weapon_flag1 pike
	setvariable weapon_flag2 pike
	goto SUB_WEAPON_CHECK_APP
SUB_WEAPON_CHECK_FLAG_HAL:
	setvariable weapon_flag1 halberd
	setvariable weapon_flag2 halberd
	goto SUB_WEAPON_CHECK_APP
SUB_WEAPON_CHECK_FLAG_LT:
	setvariable weapon_flag1 light thrown
	setvariable weapon_flag2 lightthrown
	goto SUB_WEAPON_CHECK_APP
SUB_WEAPON_CHECK_FLAG_HT:
	setvariable weapon_flag1 heavy thrown
	setvariable weapon_flag2 heavythrown
	goto SUB_WEAPON_CHECK_APP

SUB_WEAPON_CHECK_APP:
	pause %matchwaitpause
	match SUB_WEAPON_CHECK_APP_FOUND %weapon_flag1
	match SUB_WEAPON_CHECK_APP_FOUND %weapon_flag2
	match SUB_WEAPON_CHECK_APP_NOTFOUND Roundtime
	match SUB_WEAPON_CHECK_APP ...wait
	match SUB_WEAPON_CHECK_APP You may only type ahead
	put app my %weapon_name_active quick
	matchwait

SUB_WEAPON_CHECK_APP_NOTFOUND:
	pause 1
RTCHECK_SUB_WEAPON_CHECK_APP_NOTFOUND:
	pause %rtcheckpause
	match RTCHECK_SUB_WEAPON_CHECK_APP_NOTFOUND_READY What were you referring to
	match RTCHECK_SUB_WEAPON_CHECK_APP_NOTFOUND ...wait
	match RTCHECK_SUB_WEAPON_CHECK_APP_NOTFOUND You may only type ahead
	put get my rtchecking
	matchwait
RTCHECK_SUB_WEAPON_CHECK_APP_NOTFOUND_READY:
	echo
	echo *************************************************************
	echo *** Weapon check fail
	echo
	echo Could not match weapon's class with the script's setup.
	echo
	echo Will swap weapon and try matching class.
	echo
	echo *************************************************************
	echo

SUB_WEAPON_CHECK_APP_SWAP:
	pause %matchwaitpause
	match SUB_WEAPON_CHECK_APP2 you adjust
	match SUB_WEAPON_CHECK_APP2 You effortlessly switch to a grip
	match SUB_WEAPON_CHECK_APP2 shifting
	match SUB_WEAPON_CHECK_APP_SWAP_BACK you move
	match SUB_WEAPON_CHECK_APP_FAIL you must have two free hands
	match SUB_WEAPON_CHECK_APP_SWAP ...wait
	match SUB_WEAPON_CHECK_APP_SWAP You may only type ahead
	put swap my %weapon_name_active
	matchwait

SUB_WEAPON_CHECK_APP_SWAP_BACK:
	pause .5
	pause %matchwaitpause
	match SUB_WEAPON_CHECK_APP_SWAP_BACK_MESSAGE you move
	match SUB_WEAPON_CHECK_APP_SWAP_BACK_GO ...wait
	match SUB_WEAPON_CHECK_APP_SWAP_BACK_GO You may only type ahead
	put swap my %weapon_name_active
	matchwait

SUB_WEAPON_CHECK_APP_SWAP_BACK_MESSAGE:
	echo
	echo *************************************************************
	echo
	echo *** WARNING weapon check fail
	echo
	echo Could not match weapon's class with the script's setup. - swap check failed.
	echo 
	echo Check weapon setup.
	echo
	echo Trying to continue, will use weapon in hand.
	echo
	echo Script could choke!
	echo 
	echo *************************************************************
	echo
	goto SUB_WEAPON_CHECK_END

SUB_WEAPON_CHECK_APP_FAIL:
	setvariable subreturnflagemptylefthand SUB_WEAPON_CHECK_APP_FAIL
	goto SUB_EMPTY_LEFTHAND
SUBRETURN_SUB_WEAPON_CHECK_APP_FAIL:

SUB_WEAPON_CHECK_APP_FAIL_SWAP:
	pause %matchwaitpause
	match SUB_WEAPON_CHECK_APP3 you adjust
	match SUB_WEAPON_CHECK_APP3 You effortlessly switch to a grip
	match SUB_WEAPON_CHECK_APP3 shifting
	match SUB_WEAPON_CHECK_APP_SWAP_BACK you move
	match ERROR_WEAPON you must have two free hands
	match SUB_WEAPON_CHECK_APP_FAIL_SWAP ...wait
	match SUB_WEAPON_CHECK_APP_FAIL_SWAP You may only type ahead
	put swap my %weapon_name_active
	matchwait

SUB_WEAPON_CHECK_APP3:
	pause %matchwaitpause
	match SUB_WEAPON_CHECK_APP3_FOUND %weapon_flag1
	match SUB_WEAPON_CHECK_APP3_FOUND %weapon_flag2
	match SUB_WEAPON_CHECK_APP_SWAP_BACK Roundtime
	match SUB_WEAPON_CHECK_APP3 ...wait
	match SUB_WEAPON_CHECK_APP3 You may only type ahead
	put app my %weapon_name_active quick
	matchwait

SUB_WEAPON_CHECK_APP3_FOUND:
	pause 1
RTCHECK_SUB_WEAPON_CHECK_APP3_FOUND:
	pause %rtcheckpause
	match RTCHECK_SUB_WEAPON_CHECK_APP3_FOUND_READY What were you referring to
	match RTCHECK_SUB_WEAPON_CHECK_APP3_FOUND ...wait
	match RTCHECK_SUB_WEAPON_CHECK_APP3_FOUND You may only type ahead
	put get my rtchecking
	matchwait
RTCHECK_SUB_WEAPON_CHECK_APP3_FOUND_READY:
	echo
	echo *************************************************************
	echo
	echo *** ATTENTION 
	echo
	echo *** Swap worked but had to empty your left hand
	echo 
	echo Unknown if it was a shield
	echo
	echo Trying to continue, but you need to check setup
	echo
	echo If you were relying on that shield...
	echo 
	echo *************************************************************
	echo
	goto SUB_WEAPON_CHECK_APP_FOUND

SUB_WEAPON_CHECK_APP2:
	pause %matchwaitpause
	match SUB_WEAPON_CHECK_APP2_FOUND %weapon_flag1
	match SUB_WEAPON_CHECK_APP2_FOUND %weapon_flag2
	match SUB_WEAPON_CHECK_APP_SWAP_BACK Roundtime
	match SUB_WEAPON_CHECK_APP2 ...wait
	match SUB_WEAPON_CHECK_APP2 You may only type ahead
	put app my %weapon_name_active quick
	matchwait

SUB_WEAPON_CHECK_APP2_FOUND:
	pause 1
RTCHECK_SUB_WEAPON_CHECK_APP2_FOUND:
	pause %rtcheckpause
	match RTCHECK_SUB_WEAPON_CHECK_APP2_FOUND_READY What were you referring to
	match RTCHECK_SUB_WEAPON_CHECK_APP2_FOUND ...wait
	match RTCHECK_SUB_WEAPON_CHECK_APP2_FOUND You may only type ahead
	put get my rtchecking
	matchwait
RTCHECK_SUB_WEAPON_CHECK_APP2_FOUND_READY:
	echo
	echo *** Swap worked
	echo
	goto SUB_WEAPON_CHECK_APP_FOUND

SUB_WEAPON_CHECK_APP_FOUND:
	pause 1
RTCHECK_SUB_WEAPON_CHECK_APP_FOUND:
	pause %rtcheckpause
	match RTCHECK_SUB_WEAPON_CHECK_APP_FOUND_READY What were you referring to
	match RTCHECK_SUB_WEAPON_CHECK_APP_FOUND ...wait
	match RTCHECK_SUB_WEAPON_CHECK_APP_FOUND You may only type ahead
	put get my rtchecking
	matchwait
RTCHECK_SUB_WEAPON_CHECK_APP_FOUND_READY:
	echo
	echo *** Weapon class check, OK
	echo
	goto SUB_WEAPON_CHECK_END

SUB_WEAPON_CHECK_END:
	goto SUBRETURN_%subreturnflagweapcheck

######################### EMPTY HANDS SUB ###############################################
# variables needed:
#        subreturnflagemptyhands

SUB_EMPTY_HANDS:

SUB_EMPTY_HANDS_CHECK:
	pause %matchwaitpause
	match SUB_EMPTY_HANDS_CHECK_YES_EMPTY You glance down at your empty hands
	matchre SUB_EMPTY_HANDS_CHECK_NOT_EMPTY /You glance (.*) in your left hand/i
	matchre SUB_EMPTY_HANDS_CHECK_NOT_EMPTY /You glance (.*) in your right hand/i
	match SUB_EMPTY_HANDS_CHECK ...wait
	match SUB_EMPTY_HANDS_CHECK You may only type ahead
	put glance
	matchwait

SUB_EMPTY_HANDS_CHECK_NOT_EMPTY:

SUB_EMPTY_HANDS_1:
	setvariable subreturnflagemptylefthand SUB_EMPTY_HANDS_1
	goto SUB_EMPTY_LEFTHAND
SUBRETURN_SUB_EMPTY_HANDS_1:

SUB_EMPTY_HANDS_SWAP:
	pause %matchwaitpause
	match SUB_EMPTY_HANDS_SWAP ...wait
	match SUB_EMPTY_HANDS_SWAP You may only type ahead
	matchre SUB_EMPTY_HANDS_2 /.*/i
	put swap
	matchwait

SUB_EMPTY_HANDS_2:
	setvariable subreturnflagemptylefthand SUB_EMPTY_HANDS_2
	goto SUB_EMPTY_LEFTHAND
SUBRETURN_SUB_EMPTY_HANDS_2:

SUB_EMPTY_HANDS_CHECK_YES_EMPTY:

SUB_EMPTY_HANDS_END:
	goto SUBRETURN_%subreturnflagemptyhands


######################### EMPTY LEFT HAND SUB ###############################################
# variables needed:
#        subreturnflagemptylefthand
# Note: this could empty RH if unstowable junk in LH like a carved branch
#



SUB_EMPTY_LH:
SUB_EMPTY_LEFTHAND:

SUB_EMPTY_LH_AEG_TEST:
		goto SUB_EMPTY_LH_AEG_TEST_%mendhunt_aeg_master_test
	SUB_EMPTY_LH_AEG_TEST_ON:
		goto SUB_EMPTY_LH_AEG_HANDHELD_CHECK
	SUB_EMPTY_LH_AEG_TEST_OFF:
		goto SUB_EMPTY_LH_CHECK

SUB_EMPTY_LH_AEG_HANDHELD_CHECK:
	pause %matchwaitpause
	matchre SUB_EMPTY_LH_AEG_HANDHELD_CHECK_ARMWORN /You tap (.*) are wearing/i
	matchre SUB_EMPTY_LH_AEG_HANDHELD_CHECK_HANDHELD /You tap (.*) are holding/i
	match SUB_EMPTY_LH_CHECK I could not find
	match SUB_EMPTY_LH_AEG_HANDHELD_CHECK ...wait
	match SUB_EMPTY_LH_AEG_HANDHELD_CHECK You may only type ahead
	put tap my granite shield
	matchwait

SUB_EMPTY_LH_AEG_HANDHELD_CHECK_ARMWORN:
	goto SUB_EMPTY_LH_CHECK

SUB_EMPTY_LH_AEG_HANDHELD_CHECK_HANDHELD:
	pause %matchwaitpause
	match SUB_EMPTY_LH_AEG_HANDHELD_CHECK_HANDHELD ...wait
	match SUB_EMPTY_LH_AEG_HANDHELD_CHECK_HANDHELD You may only type ahead
	matchre SUB_EMPTY_LH_CHECK /.*/i
	put drop my granite shield
	matchwait

SUB_EMPTY_LH_CHECK:
	pause %matchwaitpause
	match SUB_EMPTY_LH_CHECK_YES_EMPTY You glance down at your empty hands
	matchre SUB_EMPTY_LH_CHECK_YES_EMPTY /You glance (.*) nothing in your left hand/i
	matchre SUB_EMPTY_LH_CHECK_NOT_EMPTY /You glance (.*) in your left hand/i
	match SUB_EMPTY_LH_CHECK ...wait
	match SUB_EMPTY_LH_CHECK You may only type ahead
	put glance
	matchwait

SUB_EMPTY_LH_CHECK_NOT_EMPTY:
	goto SUB_EMPTY_LH_SHEATH
#____________________________________________________________________unload weapons
SUB_EMPTY_LH_UNLOAD:

SUB_EMPTY_LEFTHAND_UNLOAD_START:

SUB_EMPTY_LEFTHAND_UNLOAD_LH_SWAP:
	pause %matchwaitpause
	match SUB_EMPTY_LEFTHAND_UNLOAD_LH_SWAP ...wait
	match SUB_EMPTY_LEFTHAND_UNLOAD_LH_SWAP You may only type ahead
	matchre SUB_EMPTY_LEFTHAND_UNLOAD_LH_UNLOAD /.*/i
	put swap
	matchwait

SUB_EMPTY_LEFTHAND_UNLOAD_LH_UNLOAD:
	pause %matchwaitpause
	match SUB_EMPTY_LEFTHAND_UNLOAD_LH_UNLOAD ...wait
	match SUB_EMPTY_LEFTHAND_UNLOAD_LH_UNLOAD You may only type ahead
	matchre RTCHECK_SUB_EMPTY_LEFTHAND_UNLOAD_LH_UNLOAD /.*/i
	put unload
	matchwait

RTCHECK_SUB_EMPTY_LEFTHAND_UNLOAD_LH_UNLOAD:
	pause %rtcheckpause
	match RTCHECK_SUB_EMPTY_LEFTHAND_UNLOAD_LH_UNLOAD_READY What were you referring to
	match RTCHECK_SUB_EMPTY_LEFTHAND_UNLOAD_LH_UNLOAD ...wait
	match RTCHECK_SUB_EMPTY_LEFTHAND_UNLOAD_LH_UNLOAD You may only type ahead
	put get my rtchecking
	matchwait
RTCHECK_SUB_EMPTY_LEFTHAND_UNLOAD_LH_UNLOAD_READY:

SUB_EMPTY_LEFTHAND_UNLOAD_LH_AMMO1:
	pause %matchwaitpause
	matchre SUB_EMPTY_LEFTHAND_UNLOAD_LH_SWAP_BACK /%hitstow%/i
	matchre SUB_EMPTY_LEFTHAND_UNLOAD_LH_AMMO2 /%failstowcall%/i
	matchre ERROR_STOW /%failstowfull%/i
	matchre ERROR_STOW /%failstowsize%/i
	matchre ERROR_STOW /%errorstow%/i
	match SUB_EMPTY_LEFTHAND_UNLOAD_LH_AMMO1 ...wait
	match SUB_EMPTY_LEFTHAND_UNLOAD_LH_AMMO1 You may only type ahead
	put stow my %weapon_ammo_active
	matchwait

SUB_EMPTY_LEFTHAND_UNLOAD_LH_AMMO2:
	pause %matchwaitpause
	match SUB_EMPTY_LEFTHAND_UNLOAD_LH_AMMO2 ...wait
	match SUB_EMPTY_LEFTHAND_UNLOAD_LH_AMMO2 You may only type ahead
	matchre SUB_EMPTY_LEFTHAND_UNLOAD_LH_AMMO3 /.*/i
	put stow my arrow
	matchwait

SUB_EMPTY_LEFTHAND_UNLOAD_LH_AMMO3:
	pause %matchwaitpause
	match SUB_EMPTY_LEFTHAND_UNLOAD_LH_AMMO3 ...wait
	match SUB_EMPTY_LEFTHAND_UNLOAD_LH_AMMO3 You may only type ahead
	matchre SUB_EMPTY_LEFTHAND_UNLOAD_LH_AMMO4 /.*/i
	put stow my bolt
	matchwait

SUB_EMPTY_LEFTHAND_UNLOAD_LH_AMMO4:
	pause %matchwaitpause
	match SUB_EMPTY_LEFTHAND_UNLOAD_LH_AMMO4 ...wait
	match SUB_EMPTY_LEFTHAND_UNLOAD_LH_AMMO4 You may only type ahead
	matchre SUB_EMPTY_LEFTHAND_UNLOAD_LH_SWAP_BACK /.*/i
	put stow my bolt
	matchwait

SUB_EMPTY_LEFTHAND_UNLOAD_LH_SWAP_BACK:
RTCHECK_SUB_EMPTY_LEFTHAND_UNLOAD_LH_SWAP_BACK:
	pause %rtcheckpause
	match RTCHECK_SUB_EMPTY_LEFTHAND_UNLOAD_LH_SWAP_BACK_READY What were you referring to
	match RTCHECK_SUB_EMPTY_LEFTHAND_UNLOAD_LH_SWAP_BACK ...wait
	match RTCHECK_SUB_EMPTY_LEFTHAND_UNLOAD_LH_SWAP_BACK You may only type ahead
	put get my rtchecking
	matchwait
RTCHECK_SUB_EMPTY_LEFTHAND_UNLOAD_LH_SWAP_BACK_READY:
SUB_EMPTY_LEFTHAND_UNLOAD_LH_SWAP_BACK_GO:
	pause %matchwaitpause
	match SUB_EMPTY_LEFTHAND_UNLOAD_LH_SWAP_BACK_GO ...wait
	match SUB_EMPTY_LEFTHAND_UNLOAD_LH_SWAP_BACK_GO You may only type ahead
	matchre SUB_EMPTY_LEFTHAND_UNLOAD_RH_UNLOAD /.*/i
	put swap
	matchwait

SUB_EMPTY_LEFTHAND_UNLOAD_RH_UNLOAD:
	setvariable subreturnflagnp SUB_EMPTY_LEFTHAND_UNLOAD_RH_UNLOAD
	setvariable nakedput unload
	goto SUB_NAKED_PUT
SUBRETURN_SUB_EMPTY_LEFTHAND_UNLOAD_RH_UNLOAD:

SUB_EMPTY_LEFTHAND_UNLOAD_END:


#____________________________________________________________________sheath and stow
SUB_EMPTY_LH_SHEATH:
	pause %matchwaitpause
	matchre SUB_EMPTY_LH_CHECK2 /%hitsheathe%/i
	match SUB_EMPTY_LH_UNLOAD You should unload
	match SUB_EMPTY_LH_UNLOAD You need to unload
	match SUB_EMPTY_LH_STOW Sheathe what
	matchre SUB_EMPTY_LH_STOW /Sheathe your (.*) where/i
	match SUB_EMPTY_LH_SHEATH ...wait
	match SUB_EMPTY_LH_SHEATH You may only type ahead
	put sheathe left
	matchwait

SUB_EMPTY_LH_STOW:
	pause %matchwaitpause
	matchre SUB_EMPTY_LH_CHECK2 /%hitstow%/i
	matchre SUB_EMPTY_LH_WEAR /%failstowcall%/i
	match SUB_EMPTY_LH_UNLOAD You should unload
	match SUB_EMPTY_LH_UNLOAD You need to unload
	matchre ERROR_STOW /%failstowfull%/i
	matchre SUB_EMPTY_LH_WEAR /%failstowsize%/i
	matchre ERROR_STOW /%errorstow%/i
	match SUB_EMPTY_LH_STOW ...wait
	match SUB_EMPTY_LH_STOW You may only type ahead
	put stow left
	matchwait

SUB_EMPTY_LH_WEAR:

#____________________________________________________________________wear weapon
SUB_EMPTY_LH_WEAR_WEAPON_ACTIVE:
	pause %matchwaitpause
	matchre SUB_EMPTY_LH_CHECK2 /%hitwear%/i
	matchre SUB_EMPTY_LH_WEAR_WEAPON_QS /%failwear%/i
	match SUB_EMPTY_LH_UNLOAD You should unload
	match SUB_EMPTY_LH_UNLOAD You need to unload
	match SUB_EMPTY_LH_WEAR_WEAPON_ACTIVE ...wait
	match SUB_EMPTY_LH_WEAR_WEAPON_ACTIVE You may only type ahead
	put wear my %weapon_name_active
	matchwait

SUB_EMPTY_LH_WEAR_WEAPON_QS:
	pause %matchwaitpause
	matchre SUB_EMPTY_LH_CHECK2 /%hitwear%/i
	matchre SUB_EMPTY_LH_WEAR_WEAPON_PI /%failwear%/i
	match SUB_EMPTY_LH_UNLOAD You should unload
	match SUB_EMPTY_LH_UNLOAD You need to unload
	match SUB_EMPTY_LH_WEAR_WEAPON_QS ...wait
	match SUB_EMPTY_LH_WEAR_WEAPON_QS You may only type ahead
	put wear my %mendhunt_weapon_name_QS
	matchwait

SUB_EMPTY_LH_WEAR_WEAPON_PI:
	pause %matchwaitpause
	matchre SUB_EMPTY_LH_CHECK2 /%hitwear%/i
	matchre SUB_EMPTY_LH_WEAR_WEAPON_HAL /%failwear%/i
	match SUB_EMPTY_LH_UNLOAD You should unload
	match SUB_EMPTY_LH_UNLOAD You need to unload
	match SUB_EMPTY_LH_WEAR_WEAPON_PI ...wait
	match SUB_EMPTY_LH_WEAR_WEAPON_PI You may only type ahead
	put wear my %mendhunt_weapon_name_PI
	matchwait

SUB_EMPTY_LH_WEAR_WEAPON_HAL:
	pause %matchwaitpause
	matchre SUB_EMPTY_LH_CHECK2 /%hitwear%/i
	matchre SUB_EMPTY_LH_WEAR_WEAPON_MAIN /%failwear%/i
	match SUB_EMPTY_LH_UNLOAD You should unload
	match SUB_EMPTY_LH_UNLOAD You need to unload
	match SUB_EMPTY_LH_WEAR_WEAPON_HAL ...wait
	match SUB_EMPTY_LH_WEAR_WEAPON_HAL You may only type ahead
	put wear my %mendhunt_weapon_name_HAL
	matchwait

SUB_EMPTY_LH_WEAR_WEAPON_MAIN:
	pause %matchwaitpause
	matchre SUB_EMPTY_LH_CHECK2 /%hitwear%/i
	matchre SUB_EMPTY_LH_WEAR_WEAPON_1 /%failwear%/i
	match SUB_EMPTY_LH_UNLOAD You should unload
	match SUB_EMPTY_LH_UNLOAD You need to unload
	match SUB_EMPTY_LH_WEAR_WEAPON_MAIN ...wait
	match SUB_EMPTY_LH_WEAR_WEAPON_MAIN You may only type ahead
	put wear my %mendhunt_weapon_name_main
	matchwait

SUB_EMPTY_LH_WEAR_WEAPON_1:
	pause %matchwaitpause
	matchre SUB_EMPTY_LH_CHECK2 /%hitwear%/i
	matchre SUB_EMPTY_LH_WEAR_WEAPON_2 /%failwear%/i
	match SUB_EMPTY_LH_UNLOAD You should unload
	match SUB_EMPTY_LH_UNLOAD You need to unload
	match SUB_EMPTY_LH_WEAR_WEAPON_1 ...wait
	match SUB_EMPTY_LH_WEAR_WEAPON_1 You may only type ahead
	put wear my %mendhunt_weapon_name_1
	matchwait

SUB_EMPTY_LH_WEAR_WEAPON_2:
	pause %matchwaitpause
	matchre SUB_EMPTY_LH_CHECK2 /%hitwear%/i
	matchre SUB_EMPTY_LH_WEAR_WEAPON_3 /%failwear%/i
	match SUB_EMPTY_LH_UNLOAD You should unload
	match SUB_EMPTY_LH_UNLOAD You need to unload
	match SUB_EMPTY_LH_WEAR_WEAPON_2 ...wait
	match SUB_EMPTY_LH_WEAR_WEAPON_2 You may only type ahead
	put wear my %mendhunt_weapon_name_2
	matchwait

SUB_EMPTY_LH_WEAR_WEAPON_3:
	pause %matchwaitpause
	matchre SUB_EMPTY_LH_CHECK2 /%hitwear%/i
	matchre SUB_EMPTY_LH_WEAR_WEAPON_4 /%failwear%/i
	match SUB_EMPTY_LH_UNLOAD You should unload
	match SUB_EMPTY_LH_UNLOAD You need to unload
	match SUB_EMPTY_LH_WEAR_WEAPON_3 ...wait
	match SUB_EMPTY_LH_WEAR_WEAPON_3 You may only type ahead
	put wear my %mendhunt_weapon_name_3
	matchwait

SUB_EMPTY_LH_WEAR_WEAPON_4:
	pause %matchwaitpause
	matchre SUB_EMPTY_LH_CHECK2 /%hitwear%/i
	matchre SUB_EMPTY_LH_WEAR_WEAPON_5 /%failwear%/i
	match SUB_EMPTY_LH_UNLOAD You should unload
	match SUB_EMPTY_LH_UNLOAD You need to unload
	match SUB_EMPTY_LH_WEAR_WEAPON_4 ...wait
	match SUB_EMPTY_LH_WEAR_WEAPON_4 You may only type ahead
	put wear my %mendhunt_weapon_name_4
	matchwait

SUB_EMPTY_LH_WEAR_WEAPON_5:
	pause %matchwaitpause
	matchre SUB_EMPTY_LH_CHECK2 /%hitwear%/i
	matchre SUB_EMPTY_LH_WEAR_WEAPON_6 /%failwear%/i
	match SUB_EMPTY_LH_UNLOAD You should unload
	match SUB_EMPTY_LH_UNLOAD You need to unload
	match SUB_EMPTY_LH_WEAR_WEAPON_5 ...wait
	match SUB_EMPTY_LH_WEAR_WEAPON_5 You may only type ahead
	put wear my %mendhunt_weapon_name_5
	matchwait

SUB_EMPTY_LH_WEAR_WEAPON_6:
	pause %matchwaitpause
	matchre SUB_EMPTY_LH_CHECK2 /%hitwear%/i
	matchre SUB_EMPTY_LH_WEAR_HANDHELD_SHIELD /%failwear%/i
	match SUB_EMPTY_LH_UNLOAD You should unload
	match SUB_EMPTY_LH_UNLOAD You need to unload
	match SUB_EMPTY_LH_WEAR_WEAPON_6 ...wait
	match SUB_EMPTY_LH_WEAR_WEAPON_6 You may only type ahead
	put wear my %mendhunt_weapon_name_6
	matchwait

#____________________________________________________________________wear shield

SUB_EMPTY_LH_WEAR_HANDHELD_SHIELD:
	pause %matchwaitpause
	matchre SUB_EMPTY_LH_CHECK2 /%hitwear%/i
	matchre SUB_EMPTY_LH_WEAR_ARMWORN_SHIELD /%failwear%/i
	match SUB_EMPTY_LH_WEAR_HANDHELD_SHIELD ...wait
	match SUB_EMPTY_LH_WEAR_HANDHELD_SHIELD You may only type ahead
	put wear my %mendhunt_shield_name_handheld
	matchwait

SUB_EMPTY_LH_WEAR_ARMWORN_SHIELD:
	pause %matchwaitpause
	matchre SUB_EMPTY_LH_CHECK2 /%hitwear%/i
	matchre SUB_EMPTY_LH_CHECK2 /%failwear%/i
	match SUB_EMPTY_LH_WEAR_ARMWORN_SHIELD ...wait
	match SUB_EMPTY_LH_WEAR_ARMWORN_SHIELD You may only type ahead
	put wear my %mendhunt_shield_name_armworn
	matchwait

#____________________________________________________________________second check/verify
SUB_EMPTY_LH_CHECK2:
	pause %matchwaitpause
	match SUB_EMPTY_LH_CHECK_YES_EMPTY You glance down at your empty hands
	matchre SUB_EMPTY_LH_CHECK_YES_EMPTY /You glance (.*) nothing in your left hand/i
	matchre SUB_EMPTY_LH_NOT_EMPTY2 /You glance (.*) in your left hand/i
	match SUB_EMPTY_LH_CHECK2 ...wait
	match SUB_EMPTY_LH_CHECK2 You may only type ahead
	put glance
	matchwait

SUB_EMPTY_LH_NOT_EMPTY2:
	echo
	echo *********************************************************************
	echo
	echo *** WARNING
	echo
	echo Tried to empty hand but failed.
	echo
	echo Tried to sheath, stow, and wear weapons & shields which are setup in slots.
	echo 
	echo *** Empty hands and restart
	echo
	echo Exiting script
	echo
	echo *********************************************************************
	echo
	pause 1
	goto END_SCRIPT

SUB_EMPTY_LH_CHECK_YES_EMPTY:

SUB_EMPTY_LH_END:
	goto SUBRETURN_%subreturnflagemptylefthand



######################### CHECK DEAD CRITTER SUB ###############################################
# needs %subreturnflag

SUB_CHECK_CRITTER_DEAD:
	pause 1

#RTCHECK_SUB_CHECK_CRITTER_DEAD:
#	pause %rtcheckpause
#	match RTCHECK_SUB_CHECK_CRITTER_DEAD_READY What were you referring to
#	match RTCHECK_SUB_CHECK_CRITTER_DEAD ...wait
#	match RTCHECK_SUB_CHECK_CRITTER_DEAD You may only type ahead
#	put get my rtchecking
#	matchwait
#RTCHECK_SUB_CHECK_CRITTER_DEAD_READY:

SUB_CHECK_CRITTER_DEAD_GO:
	pause %matchwaitpause
	match SUB_CHECK_CRITTER_DEAD_SETVAR which appears dead
	match SUB_CHECK_CRITTER_DEAD_SETVAR (dead)
	match SUB_CHECK_CRITTER_DEAD_END Obvious exits
	match SUB_CHECK_CRITTER_DEAD_END Obvious paths
	match SUB_CHECK_CRITTER_DEAD_DARK you can't see a thing
	match SUB_CHECK_CRITTER_DEAD_GO ...wait
	match SUB_CHECK_CRITTER_DEAD_GO You may only type ahead
	put look
	matchwait

SUB_CHECK_CRITTER_DEAD_DARK:
	echo
	echo *** It's too dark, need light
	echo
	goto SUB_CHECK_CRITTER_DEAD_END


SUB_CHECK_CRITTER_DEAD_SETVAR:
	setvariable deadcritterlootitflag ON
	goto DEAD_CRITTER

SUB_CHECK_CRITTER_DEAD_END:
	goto SUBRETURN_%subreturnflag




######################### HEALTH CHECK SUB ###############################################

#____________________________________________________________________sub health check
# needs %subreturnflag

SUB_HEALTH_CHECK:


SUB_CHECKHEALTH:
	pause %matchwaitpause
	match BLEEDING bleed
	match SUB_CHECKFATIGUE at full strength
	match SUB_CHECKFATIGUE slightly battered
	match SUB_CHECKFATIGUE somewhat battered
	match SUB_CHECKFATIGUE battered
	match NEED_HEALTH beat up
	match NEED_HEALTH very beat up
	match NEED_HEALTH extremely beat up
	match NEED_HEALTH in bad shape
	match NEED_HEALTH in very bad shape
	match NEED_HEALTH in extremely bad shape
	match NEED_HEALTH at death's door
	match DEAD_CHARACTER You are a ghost
	matchre STRANGE /%failcombat%/i
	match SUB_CHECKHEALTH ...wait
	match SUB_CHECKHEALTH You may only type ahead
	put health
	matchwait

SUB_CHECKFATIGUE:
	pause %matchwaitpause
	match NEED_REST exhausted beyond reason
	match NEED_REST completely exhausted
	match NEED_REST on the verge of complete exhaustion
	match NEED_REST extremely fatigued
	match NEED_REST extremely tired
	match NEED_REST very fatigued
	match SUB_CHECKBALANCE very tired
	match SUB_CHECKBALANCE fatigued
	match SUB_CHECKBALANCE tired
	match SUB_CHECKBALANCE somewhat tired
	match SUB_CHECKBALANCE slightly fatigued
	match SUB_CHECKBALANCE completely rested
	match SUB_CHECKFATIGUE ...wait
	match SUB_CHECKFATIGUE You may only type ahead
	put fatigue
	matchwait

SUB_CHECKBALANCE:
	pause %matchwaitpause
	match SUB_HEALTH_CHECK_END incredibly balanced
	match SUB_HEALTH_CHECK_END nimbly balanced
	match SUB_HEALTH_CHECK_END solidly balanced
	match SUB_HEALTH_CHECK_END slightly off balance
	match SUB_HEALTH_CHECK_END somewhat off balance
	match SUB_HEALTH_CHECK_END off balance
	match NEED_BALANCE badly balanced
	match NEED_BALANCE very badly balanced
	match NEED_BALANCE extremely imbalanced
	match SUB_CHECKBALANCE ...wait
	match SUB_CHECKBALANCE You may only type ahead
	put balance
	matchwait

SUB_HEALTH_CHECK_END:
	goto SUBRETURN_%subreturnflag

######################### HIDE SUB ###################################################
# variables needed:
#	subreturnflaghide

SUB_HIDE:


SUB_HIDE_START:
		goto SUB_HIDE_START_%mendhunt_hide_test
	SUB_HIDE_START_ON:
		goto SUB_HIDE_MENTAL_CHECK
	SUB_HIDE_START_OFF:
		goto SUB_HIDE_END

SUB_HIDE_MENTAL_CHECK:
	setvariable subreturnflag SUB_HIDE_MENTAL_CHECK
	setvariable skillclass HI
	goto SUB_MENTAL_CHECK
SUBRETURN_SUB_HIDE_MENTAL_CHECK:

SUB_HIDE_MENTAL_CHECK_TEST:
		goto SUB_HIDE_MENTAL_CHECK_TEST_%skillmental
	SUB_HIDE_MENTAL_CHECK_TEST_FULL:
		goto SUB_HIDE_SKIP
	SUB_HIDE_MENTAL_CHECK_TEST_NOTFULL:
		goto SUB_HIDE_STALKING_MENTAL_CHECK

SUB_HIDE_STALKING_MENTAL_CHECK:
	setvariable subreturnflag SUB_HIDE_STALKING_MENTAL_CHECK
	setvariable skillclass STA
	goto SUB_MENTAL_CHECK
SUBRETURN_SUB_HIDE_STALKING_MENTAL_CHECK:

SUB_HIDE_STALKING_MENTAL_CHECK_TEST:
		goto SUB_HIDE_STALKING_MENTAL_CHECK_TEST_%skillmental
	SUB_HIDE_STALKING_MENTAL_CHECK_TEST_FULL:
		goto SUB_HIDE_SKIP
	SUB_HIDE_STALKING_MENTAL_CHECK_TEST_NOTFULL:
		goto SUB_HIDE_GO

SUB_HIDE_GO:
	setvariable hidestalkactionflag ON
	echo
	echo *** Hiding
	echo

SUB_HIDE_FORCED_GO:

SUB_HIDE_GO_GO:
	pause %matchwaitpause
	match SUB_HIDE_FAIL The fact that you're glowing like a torch
	match SUB_HIDE_FAIL You can't hide
	matchre SUB_HIDE_GO_RETREAT1 /The (.*) notices your attempt/i
	matchre SUB_HIDE_GO_RETREAT1 /The (.*) discovers you/i
	matchre SUB_HIDE_GO_DONE /You(.*) melt/i
	matchre SUB_HIDE_GO_DONE /You(.*) blend/i
	match SUB_HIDE_GO_DONE already hidden
	match SUB_HIDE_GO_RETREAT1 You are too close
	match SUB_HIDE_GO_GO ...wait
	match SUB_HIDE_GO_GO You may only type ahead
	put hide
	matchwait

SUB_HIDE_GO_RETREAT1:
	pause %matchwaitpause
	match SUB_HIDE_GO_RETREAT1 ...wait
	match SUB_HIDE_GO_RETREAT1 You may only type ahead
	matchre RTCHECK_SUB_HIDE_GO_RETREAT1 /.*/i
	put retreat
	matchwait

RTCHECK_SUB_HIDE_GO_RETREAT1:
	pause %rtcheckpause
	match RTCHECK_SUB_HIDE_GO_RETREAT1_READY What were you referring to
	match RTCHECK_SUB_HIDE_GO_RETREAT1 ...wait
	match RTCHECK_SUB_HIDE_GO_RETREAT1 You may only type ahead
	put get my rtchecking
	matchwait
RTCHECK_SUB_HIDE_GO_RETREAT1_READY:

SUB_HIDE_GO_GO2:
	pause %matchwaitpause
	match SUB_HIDE_FAIL The fact that you're glowing like a torch
	match SUB_HIDE_FAIL You can't hide
	matchre SUB_HIDE_GO_RETREAT2 /The (.*) notices your attempt/i
	matchre SUB_HIDE_GO_RETREAT2 /The (.*) discovers you/i
	matchre SUB_HIDE_GO_DONE /You(.*) melt/i
	matchre SUB_HIDE_GO_DONE /You(.*) blend/i
	match SUB_HIDE_GO_DONE already hidden
	match SUB_HIDE_GO_RETREAT2 You are too close
	match SUB_HIDE_GO_GO2 ...wait
	match SUB_HIDE_GO_GO2 You may only type ahead
	put hide
	matchwait

SUB_HIDE_GO_RETREAT2:
	pause %matchwaitpause
	match SUB_HIDE_GO_RETREAT2 ...wait
	match SUB_HIDE_GO_RETREAT2 You may only type ahead
	matchre RTCHECK_SUB_HIDE_GO_RETREAT2 /.*/i
	put retreat
	matchwait

RTCHECK_SUB_HIDE_GO_RETREAT2:
	pause %rtcheckpause
	match RTCHECK_SUB_HIDE_GO_RETREAT2_READY What were you referring to
	match RTCHECK_SUB_HIDE_GO_RETREAT2 ...wait
	match RTCHECK_SUB_HIDE_GO_RETREAT2 You may only type ahead
	put get my rtchecking
	matchwait
RTCHECK_SUB_HIDE_GO_RETREAT2_READY:

SUB_HIDE_GO_GO3:
	pause %matchwaitpause
	match SUB_HIDE_FAIL The fact that you're glowing like a torch
	match SUB_HIDE_FAIL You can't hide
	matchre SUB_HIDE_GO_NOMORE /The (.*) notices your attempt/i
	matchre SUB_HIDE_GO_NOMORE /The (.*) discovers you/i
	matchre SUB_HIDE_GO_DONE /You(.*) melt/i
	matchre SUB_HIDE_GO_DONE /You(.*) blend/i
	match SUB_HIDE_GO_DONE already hidden
	match SUB_HIDE_GO_NOMORE You are too close
	match SUB_HIDE_GO_GO3 ...wait
	match SUB_HIDE_GO_GO3 You may only type ahead
	put hide
	matchwait

SUB_HIDE_GO_NOMORE:
	echo
	echo *** Hiding failed - tried and tried and tried, moving on
	echo
	setvariable hidestalkactionflag OFF
	goto SUB_HIDE_END

SUB_HIDE_GO_DONE:
	goto SUB_HIDE_END


SUB_HIDE_SKIP:
	setvariable hidestalkactionflag OFF
	echo
	echo *** Hiding or stalking full, skipping
	echo
	goto SUB_HIDE_END

SUB_HIDE_FAIL:
	echo
	echo *** Hiding failed
	echo
	echo Something prevented your hide attempt... are you casting MoF, singing?
	echo
	setvariable hidestalkactionflag OFF
	goto SUB_HIDE_END

SUB_HIDE_END:
	goto SUBRETURN_%subreturnflaghide

######################### HUM STOP SUB ############################################
# variables needed: subreturnflaghumstop

SUB_HUM_STOP:

SUB_HUM_STOP_NDC_TEST:
		goto SUB_HUM_STOP_NDC_TEST_%mendhunt_ndc_master_test
	SUB_HUM_STOP_NDC_TEST_ON:
		goto SUB_HUM_STOP_TEST
	SUB_HUM_STOP_NDC_TEST_OFF:
		goto SUB_HUM_STOP_END

SUB_HUM_STOP_TEST:
		goto SUB_HUM_STOP_TEST_%mendhunt_ndc_hum_test
	SUB_HUM_STOP_TEST_ON:
		goto RTCHECK_SUB_HUM_STOP_GO
	SUB_HUM_STOP_TEST_OFF:
		goto SUB_HUM_STOP_END

RTCHECK_SUB_HUM_STOP_GO:
	pause %rtcheckpause
	match RTCHECK_SUB_HUM_STOP_GO_READY What were you referring to
	match RTCHECK_SUB_HUM_STOP_GO ...wait
	match RTCHECK_SUB_HUM_STOP_GO You may only type ahead
	put get my rtchecking
	matchwait
RTCHECK_SUB_HUM_STOP_GO_READY:

SUB_HUM_STOP_GO:
	pause %matchwaitpause
	match SUB_HUM_STOP_END You stop
	match SUB_HUM_STOP_END In the name of love
	match SUB_HUM_STOP_GO ...wait
	match SUB_HUM_STOP_GO You may only type ahead
	matchre SUB_HUM_STOP_END /.*/i
	put stop hum
	matchwait

SUB_HUM_STOP_END:
	goto SUBRETURN_%subreturnflaghumstop


######################### MENTAL CHECK SUB ############################################

#____________________________________________________________________sub skill mental check
# variables needed:
#	subreturnflag
#	skillclass = [LE/ME/...etc]
# variables returned:
#	skillmental = [NOTFULL|FULL]

SUB_MENTAL_CHECK:
	pause %matchwaitpause
	match SUB_MENTAL_CHECK_FULL % mind lock
	match SUB_MENTAL_CHECK_OK EXP HELP
	match SUB_MENTAL_CHECK ...wait
	match SUB_MENTAL_CHECK You may only type ahead
	put exp skill %skillclass
	matchwait

SUB_MENTAL_CHECK_OK:
	setvariable skillmental NOTFULL
	goto SUB_MENTAL_CHECK_END

SUB_MENTAL_CHECK_FULL:
	setvariable skillmental FULL
	goto SUB_MENTAL_CHECK_END

SUB_MENTAL_CHECK_END:
	goto SUBRETURN_%subreturnflag

######################### SPELL PREP SUB #######################################################

#____________________________________________________________________sub prep's spell
# variables needed:
#	subreturnflag
#	spell_name
#	spell_prep_power
#	spell_harn_test
#	spell_harn_power
#	spell_harn_loop
#	spell_cam_test
#	mendhunt_cam_name
#	spell_cam_power
#	spell_cam_loop
#	spell_cast_pause
#	spell_targeted_test = [ON|OFF]    #on if need to target critter before casting
#
# 1. prep spell
# 2. targeted... test / target
# 3. cam... test / charge / loop / focus
# 4. harn.. test / harness / loop
# 5. pause.. %spell_cast_pause
# 6. end... subreturn

#____________________________________________________________________STEP_1
SUB_SPELL_PREP:
	echo
	echo *** Preparing: %spell_name
	echo

SUB_SPELL_PREP_GO:
	pause %matchwaitpause
	match SUB_SPELL_PREP_GO ...wait
	match SUB_SPELL_PREP_GO You may only type ahead
	matchre RTCHECK_SUB_SPELL_PREP_GO /.*/i
	put prep %spell_name %spell_prep_power
	matchwait

RTCHECK_SUB_SPELL_PREP_GO:
	pause 1
	pause %rtcheckpause
	match RTCHECK_SUB_SPELL_PREP_GO_READY What were you referring to
	match RTCHECK_SUB_SPELL_PREP_GO ...wait
	match RTCHECK_SUB_SPELL_PREP_GO You may only type ahead
	put get my rtchecking
	matchwait
RTCHECK_SUB_SPELL_PREP_GO_READY:

#____________________________________________________________________STEP_2
SUB_SPELL_PREP_TARGETED_TEST:
		goto SUB_SPELL_PREP_TARGETED_TEST_%spell_targeted_test
	SUB_SPELL_PREP_TARGETED_TEST_ON:
		goto SUB_SPELL_PREP_TARGETED
	SUB_SPELL_PREP_TARGETED_TEST_OFF:
		goto SUB_SPELL_PREP_CAM_TEST

SUB_SPELL_PREP_TARGETED:
	pause %matchwaitpause
	match SUB_SPELL_PREP_TARGETED ...wait
	match SUB_SPELL_PREP_TARGETED You may only type ahead
	matchre RTCHECK_SUB_SPELL_PREP_TARGETED /.*/i
	put target
	matchwait

RTCHECK_SUB_SPELL_PREP_TARGETED:
	pause %rtcheckpause
	match RTCHECK_SUB_SPELL_PREP_TARGETED_READY What were you referring to
	match RTCHECK_SUB_SPELL_PREP_TARGETED ...wait
	match RTCHECK_SUB_SPELL_PREP_TARGETED You may only type ahead
	put get my rtchecking
	matchwait
RTCHECK_SUB_SPELL_PREP_TARGETED_READY:

#____________________________________________________________________STEP_3
SUB_SPELL_PREP_CAM_TEST:
		goto SUB_SPELL_PREP_CAM_TEST_%spell_cam_test
	SUB_SPELL_PREP_CAM_TEST_ON:
		goto SUB_SPELL_PREP_CAM_CHARGE_START
	SUB_SPELL_PREP_CAM_TEST_OFF:
		goto SUB_SPELL_PREP_HARN_TEST

SUB_SPELL_PREP_CAM_CHARGE_START:
	counter set %spell_cam_loop

#---------------------------------------------------------looped
SUB_SPELL_PREP_CAM_CHARGE:
	pause %matchwaitpause
	match SUB_SPELL_PREP_CAM_CHARGE ...wait
	match SUB_SPELL_PREP_CAM_CHARGE You may only type ahead
	matchre RTCHECK_SUB_SPELL_PREP_CAM_CHARGE /.*/i
	put charge my %mendhunt_cam_name %spell_cam_power
	matchwait

RTCHECK_SUB_SPELL_PREP_CAM_CHARGE:
	pause 1
	pause %rtcheckpause
	match RTCHECK_SUB_SPELL_PREP_CAM_CHARGE_READY What were you referring to
	match RTCHECK_SUB_SPELL_PREP_CAM_CHARGE ...wait
	match RTCHECK_SUB_SPELL_PREP_CAM_CHARGE You may only type ahead
	put get my rtchecking
	matchwait
RTCHECK_SUB_SPELL_PREP_CAM_CHARGE_READY:

SUB_SPELL_PREP_CAM_LOOP_TEST:
	pause %branchtestpause
	counter subtract 1
	match SUB_SPELL_PREP_CAM_FOCUS flag 0
	match SUB_SPELL_PREP_CAM_CHARGE not a valid flag
	match SUB_SPELL_PREP_CAM_LOOP_TEST ...wait
	match SUB_SPELL_PREP_CAM_LOOP_TEST You may only type ahead
	put set %c
	matchwait
#---------------------------------------------------------looped

SUB_SPELL_PREP_CAM_FOCUS:
	pause %matchwaitpause
	match SUB_SPELL_PREP_CAM_FOCUS ...wait
	match SUB_SPELL_PREP_CAM_FOCUS You may only type ahead
	matchre RTCHECK_SUB_SPELL_PREP_CAM_FOCUS /.*/i
	put focus my %mendhunt_cam_name
	matchwait

RTCHECK_SUB_SPELL_PREP_CAM_FOCUS:
	pause 1
	pause %rtcheckpause
	match RTCHECK_SUB_SPELL_PREP_CAM_FOCUS_READY What were you referring to
	match RTCHECK_SUB_SPELL_PREP_CAM_FOCUS ...wait
	match RTCHECK_SUB_SPELL_PREP_CAM_FOCUS You may only type ahead
	put get my rtchecking
	matchwait
RTCHECK_SUB_SPELL_PREP_CAM_FOCUS_READY:

#____________________________________________________________________STEP_4
SUB_SPELL_PREP_HARN_TEST:
		goto SUB_SPELL_PREP_HARN_TEST_%spell_harn_test
	SUB_SPELL_PREP_HARN_TEST_ON:
		goto SUB_SPELL_PREP_HARN_CHARGE_START
	SUB_SPELL_PREP_HARN_TEST_OFF:
		goto SUB_SPELL_PREP_CAST_PAUSE

SUB_SPELL_PREP_HARN_CHARGE_START:
	counter set %spell_harn_loop

#---------------------------------------------------------looped
SUB_SPELL_PREP_HARN_CHARGE:
	pause %matchwaitpause
	match SUB_SPELL_PREP_HARN_CHARGE ...wait
	match SUB_SPELL_PREP_HARN_CHARGE You may only type ahead
	matchre RTCHECK_SUB_SPELL_PREP_HARN_CHARGE /.*/i
	put harness %spell_harn_power
	matchwait

RTCHECK_SUB_SPELL_PREP_HARN_CHARGE:
	pause 1
	pause %rtcheckpause
	match RTCHECK_SUB_SPELL_PREP_HARN_CHARGE_READY What were you referring to
	match RTCHECK_SUB_SPELL_PREP_HARN_CHARGE ...wait
	match RTCHECK_SUB_SPELL_PREP_HARN_CHARGE You may only type ahead
	put get my rtchecking
	matchwait
RTCHECK_SUB_SPELL_PREP_HARN_CHARGE_READY:

SUB_SPELL_PREP_HARN_LOOP_TEST:
	pause %branchtestpause
	counter subtract 1
	match SUB_SPELL_PREP_CAST_PAUSE flag 0
	match SUB_SPELL_PREP_HARN_CHARGE not a valid flag
	match SUB_SPELL_PREP_HARN_LOOP_TEST ...wait
	match SUB_SPELL_PREP_HARN_LOOP_TEST You may only type ahead
	put set %c
	matchwait
#---------------------------------------------------------looped


#____________________________________________________________________STEP_5
SUB_SPELL_PREP_CAST_PAUSE:

	pause %spell_cast_pause

#____________________________________________________________________END SUB
SUB_SPELL_PREP_END:
	goto SUBRETURN_%subreturnflag


######################### STANCE SWITCH SUB ##################################################
# variables needed
#       subreturnflagcheckstance
#       mendhunt_stance_test
#       weapon_stance_focus_active

SUB_STANCE_SWITCH:
SUB_STANCE_SWITCH_START:

SUB_STANCE_SWITCH_STANCE_TEST:
		goto SUB_STANCE_SWITCH_STANCE_TEST_%mendhunt_stance_test
	SUB_STANCE_SWITCH_STANCE_TEST_ON:
		goto SUB_STANCE_SWITCH_STANCE_GO
	SUB_STANCE_SWITCH_STANCE_TEST_OFF:
		goto SUB_STANCE_SWITCH_STANCE_SKIP

SUB_STANCE_SWITCH_STANCE_GO:

SUB_STANCE_SWITCH_STANCE_GO_FOCUS_TEST:
		goto SUB_STANCE_SWITCH_STANCE_GO_FOCUS_TEST_%weapon_stance_focus_active
	SUB_STANCE_SWITCH_STANCE_GO_FOCUS_TEST_EVASION:
		goto SUB_STANCE_SWITCH_STANCE_GO_EVASION
	SUB_STANCE_SWITCH_STANCE_GO_FOCUS_TEST_PARRY:
		goto SUB_STANCE_SWITCH_STANCE_GO_PARRY
	SUB_STANCE_SWITCH_STANCE_GO_FOCUS_TEST_SHIELD:
		goto SUB_STANCE_SWITCH_STANCE_GO_SHIELD

SUB_STANCE_SWITCH_STANCE_GO_EVASION:
	pause %matchwaitpause
	match SUB_STANCE_SWITCH_STANCE_GO_COMPLETED are now set to use
	match SUB_STANCE_SWITCH_STANCE_GO_EVASION ...wait
	match SUB_STANCE_SWITCH_STANCE_GO_EVASION You may only type ahead
	put stance evasion
	matchwait

SUB_STANCE_SWITCH_STANCE_GO_PARRY:
	pause %matchwaitpause
	match SUB_STANCE_SWITCH_STANCE_GO_COMPLETED are now set to use
	match SUB_STANCE_SWITCH_STANCE_GO_PARRY ...wait
	match SUB_STANCE_SWITCH_STANCE_GO_PARRY You may only type ahead
	put stance parry
	matchwait

SUB_STANCE_SWITCH_STANCE_GO_SHIELD:
	pause %matchwaitpause
	match SUB_STANCE_SWITCH_STANCE_GO_COMPLETED are now set to use
	match SUB_STANCE_SWITCH_STANCE_GO_SHIELD ...wait
	match SUB_STANCE_SWITCH_STANCE_GO_SHIELD You may only type ahead
	put stance shield
	matchwait

SUB_STANCE_SWITCH_STANCE_GO_COMPLETED:
	echo
	echo *** Changed stance to focus: %weapon_stance_focus_active
	echo
	goto SUB_STANCE_SWITCH_END

SUB_STANCE_SWITCH_STANCE_SKIP:
	echo
	echo *** Stance switch is OFF, not changing stance
	echo
	goto SUB_STANCE_SWITCH_END

SUB_STANCE_SWITCH_END:
	goto SUBRETURN_%subreturnflagcheckstance

######################### NAKED PUT SUB ##################################################
# variables needed
#        subreturnflag
#        nakedput

SUB_NAKED_PUT:
	pause %naked_put_pause
	match SUB_NAKED_PUT ...wait
	match SUB_NAKED_PUT You may only type ahead
	matchre RTCHECK_SUB_NAKED_PUT /.*/i
	put %nakedput
	matchwait

RTCHECK_SUB_NAKED_PUT:
	pause %rtcheckpause
	match RTCHECK_SUB_NAKED_PUT_READY What were you referring to
	match RTCHECK_SUB_NAKED_PUT ...wait
	match RTCHECK_SUB_NAKED_PUT You may only type ahead
	put get my rtchecking
	matchwait
RTCHECK_SUB_NAKED_PUT_READY:

SUB_NAKED_PUT_END:
	goto SUBRETURN_%subreturnflagnp

#____________________________________________________________________naked put 2

SUB_NAKED_PUT2:
	pause %naked_put_pause
	match SUB_NAKED_PUT2 ...wait
	match SUB_NAKED_PUT2 You may only type ahead
	matchre RTCHECK_SUB_NAKED_PUT2 /.*/i
	put %nakedput1 %nakedput2
	matchwait

RTCHECK_SUB_NAKED_PUT2:
	pause %rtcheckpause
	match RTCHECK_SUB_NAKED_PUT2_READY What were you referring to
	match RTCHECK_SUB_NAKED_PUT2 ...wait
	match RTCHECK_SUB_NAKED_PUT2 You may only type ahead
	put get my rtchecking
	matchwait
RTCHECK_SUB_NAKED_PUT2_READY:

SUB_NAKED_PUT2_END:
	goto SUBRETURN_%subreturnflagnp2

#____________________________________________________________________naked put 3


SUB_NAKED_PUT3:
	pause %naked_put_pause
	match SUB_NAKED_PUT3 ...wait
	match SUB_NAKED_PUT3 You may only type ahead
	matchre RTCHECK_SUB_NAKED_PUT3 /.*/i
	put %nakedput1 %nakedput2 %nakedput3
	matchwait

RTCHECK_SUB_NAKED_PUT3:
	pause %rtcheckpause
	match RTCHECK_SUB_NAKED_PUT3_READY What were you referring to
	match RTCHECK_SUB_NAKED_PUT3 ...wait
	match RTCHECK_SUB_NAKED_PUT3 You may only type ahead
	put get my rtchecking
	matchwait
RTCHECK_SUB_NAKED_PUT3_READY:

SUB_NAKED_PUT3_END:
	goto SUBRETURN_%subreturnflagnp3


######################### CRITTER POS CHECK SUB ##################################################


#____________________________________________________________________sub check critter position
# variables needed:
# 	subreturnflag
# variables returned:
#	critter_position = [first/second/third/fourth/fifth/sixth/.../twelfth]

SUB_CRITTER_POSITION:
	pause %matchwaitpause
	match SUB_CRITTER_POSITION_1 (1)
	match SUB_CRITTER_POSITION_2 (2)
	match SUB_CRITTER_POSITION_3 (3)
	match SUB_CRITTER_POSITION_4 (4)
	match SUB_CRITTER_POSITION_5 (5)
	match SUB_CRITTER_POSITION_6 (6)
	match SUB_CRITTER_POSITION_7 (7)
	match SUB_CRITTER_POSITION_8 (8)
	match SUB_CRITTER_POSITION_9 (9)
	match SUB_CRITTER_POSITION_10 (10)
	match SUB_CRITTER_POSITION_11 (11)
	match SUB_CRITTER_POSITION_12 (12)
	match SUB_CRITTER_POSITION_NOCRITTER You glance
	put assess
	put glance
	matchwait

SUB_CRITTER_POSITION_1:
	setvariable critter_position first
	goto SUB_CRITTER_POSITION_END

SUB_CRITTER_POSITION_2:
	setvariable critter_position second
	goto SUB_CRITTER_POSITION_END

SUB_CRITTER_POSITION_3:
	setvariable critter_position third
	goto SUB_CRITTER_POSITION_END

SUB_CRITTER_POSITION_4:
	setvariable critter_position fourth
	goto SUB_CRITTER_POSITION_END

SUB_CRITTER_POSITION_5:
	setvariable critter_position fifth
	goto SUB_CRITTER_POSITION_END

SUB_CRITTER_POSITION_6:
	setvariable critter_position sixth
	goto SUB_CRITTER_POSITION_END

SUB_CRITTER_POSITION_7:
	setvariable critter_position seventh
	goto SUB_CRITTER_POSITION_END

SUB_CRITTER_POSITION_8:
	setvariable critter_position eighth
	goto SUB_CRITTER_POSITION_END

SUB_CRITTER_POSITION_9:
	setvariable critter_position ninth
	goto SUB_CRITTER_POSITION_END

SUB_CRITTER_POSITION_10:
	setvariable critter_position tenth
	goto SUB_CRITTER_POSITION_END

SUB_CRITTER_POSITION_11:
	setvariable critter_position eleventh
	goto SUB_CRITTER_POSITION_END

SUB_CRITTER_POSITION_12:
	setvariable critter_position twelfth
	goto SUB_CRITTER_POSITION_END

SUB_CRITTER_POSITION_NOCRITTER:
	echo
	echo *** No critter position found
	echo
	goto SUB_CRITTER_POSITION_END

SUB_CRITTER_POSITION_END:

RTCHECK_SUB_CRITTER_POSITION_END:
	pause %rtcheckpause
	match RTCHECK_SUB_CRITTER_POSITION_END_READY What were you referring to
	match RTCHECK_SUB_CRITTER_POSITION_END ...wait
	match RTCHECK_SUB_CRITTER_POSITION_END You may only type ahead
	put get my rtchecking
	matchwait
RTCHECK_SUB_CRITTER_POSITION_END_READY:

	goto SUBRETURN_%subreturnflag

######################### RETREAT SUB ##################################################
# variables needed:
# 	subreturnflagretreat

#____________________________________________________________________sub retreat
SUB_RETREAT:
	setvariable retreatloopnum 0

RTCHECK_SUB_RETREAT:
	pause %rtcheckpause
	match RTCHECK_SUB_RETREAT_READY What were you referring to
	match RTCHECK_SUB_RETREAT ...wait
	match RTCHECK_SUB_RETREAT You may only type ahead
	put get my rtchecking
	matchwait
RTCHECK_SUB_RETREAT_READY:

SUB_RETREAT_START:
	pause %matchwaitpause
	match SUB_RETREAT_END You are already as far
	match SUB_RETREAT_STAND You must stand first
	match SUB_RETREAT_STUCK You try to back away
	match SUB_RETREAT_PAUSE You are stun
	match SUB_RETREAT_PAUSE You retreat
	match SUB_RETREAT_PAUSE You sneak back
	match SUB_RETREAT_PAUSE You stop advancing
	match SUB_RETREAT_FAIL You cannot back away
	match DEAD_CHARACTER You are a ghost!
	match SUB_RETREAT_START ...wait
	match SUB_RETREAT_START You may only type ahead
	matchre SUB_RETREAT_PAUSE /.*/i
	put retreat
	matchwait

SUB_RETREAT_PAUSE:
	pause %retreatpause
	goto SUB_RETREAT_START

SUB_RETREAT_STUCK:
	pause %retreatpause
	counter set %retreatloopnum
	counter add 1
	setvariable retreatloopnum %c

SUB_RETREAT_LOOP_COUNT:
		goto SUB_RETREAT_LOOP_COUNT_%retreatloopnum
	SUB_RETREAT_LOOP_COUNT_1:
		goto SUB_RETREAT_START
	SUB_RETREAT_LOOP_COUNT_2:
		goto SUB_RETREAT_START
	SUB_RETREAT_LOOP_COUNT_3:
		goto SUB_RETREAT_START
	SUB_RETREAT_LOOP_COUNT_4:
		goto SUB_RETREAT_START
	SUB_RETREAT_LOOP_COUNT_5:
		goto SUB_RETREAT_FAIL

SUB_RETREAT_STAND:
	pause %matchwaitpause
	match SUB_RETREAT_STAND ...wait
	match SUB_RETREAT_STAND You may only type ahead
	matchre RTCHECK_SUB_RETREAT_STAND /.*/i
	put stand
	matchwait

RTCHECK_SUB_RETREAT_STAND:
	pause %rtcheckpause
	match RTCHECK_SUB_RETREAT_STAND_READY What were you referring to
	match RTCHECK_SUB_RETREAT_STAND ...wait
	match RTCHECK_SUB_RETREAT_STAND You may only type ahead
	put get my rtchecking
	matchwait
RTCHECK_SUB_RETREAT_STAND_READY:
	goto SUB_RETREAT_START

SUB_RETREAT_FAIL:
	echo
	echo *** Retreat fail, unable to retreat...moving on
	echo
	goto SUB_RETREAT_END

SUB_RETREAT_END:
	goto SUBRETURN_%subreturnflagretreat



#############################################################################
###########################    LOOT DATABASE SECTION    #####################
#############################################################################
#needs subreturnflag
#sends loot_active
#	note three return locations: normal, dark, and noloot

#____________________________________________________________________SUB loot boxes DB
SUB_LDB_BOXES:
	pause %matchwaitpause
	matchre SUB_LDB_BOXES_CHEST / chest,| chest\.| chest and /i
	matchre SUB_LDB_BOXES_STRONGBOX / strongbox,| strongbox\.| strongbox and /i
	matchre SUB_LDB_BOXES_TRUNK / trunk,| trunk\.| trunk and /i
	matchre SUB_LDB_BOXES_CRATE / crate,| crate\.| crate and /i
	matchre SUB_LDB_BOXES_CASKET / casket,| casket\.| casket and /i
	matchre SUB_LDB_BOXES_SKIPPET / skippet,| skippet\.| skippet and /i
	matchre SUB_LDB_BOXES_COFFER / coffer,| coffer\.| coffer and /i
	matchre SUB_LDB_BOXES_CADDY / caddy,| caddy\.| caddy and /i
	matchre SUB_LDB_BOXES_BOX / box,| box\.| box and /i
	match SUB_LDB_BOXES_DARK you can't see a thing
	match SUB_LDB_BOXES_END Obvious paths:
	match SUB_LDB_BOXES_END Obvious exits:
	match SUB_LDB_BOXES ...wait
	match SUB_LDB_BOXES You may only type ahead
	put look
	matchwait

SUB_LDB_BOXES_CHEST:
	setvariable loot_active chest
	goto SUBRETURN_%subreturnflag
SUB_LDB_BOXES_STRONGBOX:
	setvariable loot_active strongbox
	goto SUBRETURN_%subreturnflag
SUB_LDB_BOXES_TRUNK:
	setvariable loot_active trunk
	goto SUBRETURN_%subreturnflag
SUB_LDB_BOXES_CRATE:
	setvariable loot_active crate
	goto SUBRETURN_%subreturnflag
SUB_LDB_BOXES_CASKET:
	setvariable loot_active casket
	goto SUBRETURN_%subreturnflag
SUB_LDB_BOXES_SKIPPET:
	setvariable loot_active skippet
	goto SUBRETURN_%subreturnflag
SUB_LDB_BOXES_COFFER:
	setvariable loot_active coffer
	goto SUBRETURN_%subreturnflag
SUB_LDB_BOXES_CADDY:
	setvariable loot_active caddy
	goto SUBRETURN_%subreturnflag
SUB_LDB_BOXES_BOX:
	setvariable loot_active box
	goto SUBRETURN_%subreturnflag

SUB_LDB_BOXES_DARK:
	echo
	echo *** It's too dark to Loot
	echo
	goto SUBRETURN_DARK_%subreturnflag

SUB_LDB_BOXES_END:
	goto SUBRETURN_NOLOOT_%subreturnflag

#____________________________________________________________________SUB loot other DB
SUB_LDB_OTHER:
	pause %matchwaitpause
	matchre SUB_LDB_OTHER_CARD / card,| card\.| card and /i
	matchre SUB_LDB_OTHER_SCROLL / scroll,| scroll\.| scroll and /i
	match SUB_LDB_OTHER_HHRLAVGELUHH_BARK hhr'lav'geluhh bark
	matchre SUB_LDB_OTHER_VELLUM / vellum,| vellum\.| vellum and /i
	matchre SUB_LDB_OTHER_TABLET / tablet,| tablet\.| tablet and /i
	matchre SUB_LDB_OTHER_PARCHMENT / parchment,| parchment\.| parchment and /i
	match SUB_LDB_OTHER_PAPYRUS_ROLL papyrus roll
	matchre SUB_LDB_OTHER_STONES / stones,| stones\.| stones and /i
	matchre SUB_LDB_OTHER_RUNESTONE / runestone,| runestone\.| runestone and /i
	matchre SUB_LDB_OTHER_NUGGET / nugget,| nugget\.| nugget and /i
	matchre SUB_LDB_OTHER_BAR / bar,| bar\.| bar and /i
	matchre SUB_LDB_OTHER_POTION / potion,| potion\.| potion and /i
	matchre SUB_LDB_OTHER_SALVE / salve,| salve\.| salve and /i

	matchre SUB_LDB_OTHER_JULADANOIL / ju'ladan oil,| ju'ladan oil\.| ju'ladan oil and /i
	matchre SUB_LDB_OTHER_DIRA / dira,| dira\.| dira and /i
	matchre SUB_LDB_OTHER_PACKAGE / package,| package\.| package and /i
	matchre SUB_LDB_OTHER_FRAGMENT / fragment,| fragment\.| fragment and /i
	matchre SUB_LDB_OTHER_AMBERGRIS / ambergris,| ambergris\.| ambergris and /i

	match SUB_LDB_OTHER_USERADD_1 %mendhunt_loot_other_useradd_1
	match SUB_LDB_OTHER_USERADD_2 %mendhunt_loot_other_useradd_2
	match SUB_LDB_OTHER_USERADD_3 %mendhunt_loot_other_useradd_3
	match SUB_LDB_OTHER_USERADD_4 %mendhunt_loot_other_useradd_4
	match SUB_LDB_OTHER_USERADD_5 %mendhunt_loot_other_useradd_5
	match SUB_LDB_OTHER_USERADD_6 %mendhunt_loot_other_useradd_6
	match SUB_LDB_OTHER_DARK you can't see a thing
	match SUB_LDB_OTHER_END Obvious paths:
	match SUB_LDB_OTHER_END Obvious exits:
	match SUB_LDB_OTHER ...wait
	match SUB_LDB_OTHER You may only type ahead
	put look
	matchwait

SUB_LDB_OTHER_CARD:
	setvariable loot_active card
	goto SUBRETURN_%subreturnflag
SUB_LDB_OTHER_SCROLL:
	setvariable loot_active scroll
	goto SUBRETURN_%subreturnflag
SUB_LDB_OTHER_HHRLAVGELUHH_BARK:
	setvariable loot_active hhr'lav'geluhh bark
	goto SUBRETURN_%subreturnflag
SUB_LDB_OTHER_VELLUM:
	setvariable loot_active vellum
	goto SUBRETURN_%subreturnflag
SUB_LDB_OTHER_TABLET:
	setvariable loot_active tablet
	goto SUBRETURN_%subreturnflag
SUB_LDB_OTHER_PARCHMENT:
	setvariable loot_active parchment
	goto SUBRETURN_%subreturnflag
SUB_LDB_OTHER_PAPYRUS_ROLL:
	setvariable loot_active papyrus roll
	goto SUBRETURN_%subreturnflag
SUB_LDB_OTHER_STONES:
	setvariable loot_active stones
	goto SUBRETURN_%subreturnflag
SUB_LDB_OTHER_RUNESTONE:
	setvariable loot_active runestone
	goto SUBRETURN_%subreturnflag
SUB_LDB_OTHER_NUGGET:
	setvariable loot_active nugget
	goto SUBRETURN_%subreturnflag
SUB_LDB_OTHER_BAR:
	setvariable loot_active bar
	goto SUBRETURN_%subreturnflag
SUB_LDB_OTHER_POTION:
	setvariable loot_active potion
	goto SUBRETURN_%subreturnflag
SUB_LDB_OTHER_SALVE:
	setvariable loot_active salve
	goto SUBRETURN_%subreturnflag

SUB_LDB_OTHER_JULADANOIL:
	setvariable loot_active oil
	goto SUBRETURN_%subreturnflag
SUB_LDB_OTHER_DIRA:
	setvariable loot_active dira
	goto SUBRETURN_%subreturnflag
SUB_LDB_OTHER_PACKAGE:
	setvariable loot_active package
	goto SUBRETURN_%subreturnflag
SUB_LDB_OTHER_FRAGMENT:
	setvariable loot_active fragment
	goto SUBRETURN_%subreturnflag
SUB_LDB_OTHER_AMBERGRIS:
	setvariable loot_active ambergris
	goto SUBRETURN_%subreturnflag

SUB_LDB_OTHER_USERADD_1:
	setvariable loot_active %mendhunt_loot_other_useradd_1
	goto SUBRETURN_%subreturnflag
SUB_LDB_OTHER_USERADD_2:
	setvariable loot_active %mendhunt_loot_other_useradd_2
	goto SUBRETURN_%subreturnflag
SUB_LDB_OTHER_USERADD_3:
	setvariable loot_active %mendhunt_loot_other_useradd_3
	goto SUBRETURN_%subreturnflag
SUB_LDB_OTHER_USERADD_4:
	setvariable loot_active %mendhunt_loot_other_useradd_4
	goto SUBRETURN_%subreturnflag
SUB_LDB_OTHER_USERADD_5:
	setvariable loot_active %mendhunt_loot_other_useradd_5
	goto SUBRETURN_%subreturnflag
SUB_LDB_OTHER_USERADD_6:
	setvariable loot_active %mendhunt_loot_other_useradd_6
	goto SUBRETURN_%subreturnflag

SUB_LDB_OTHER_DARK:
	echo
	echo *** It's too dark to Loot
	echo
	goto SUBRETURN_DARK_%subreturnflag

SUB_LDB_OTHER_END:
	goto SUBRETURN_NOLOOT_%subreturnflag

#____________________________________________________________________SUB loot gems DB

SUB_LDB_GEMS:

SUB_LDB_GEMS_COMMON_JUMP_TEST:
		goto SUB_LDB_GEMS_COMMON_JUMP_TEST_%commongemssearchedflag
	SUB_LDB_GEMS_COMMON_JUMP_TEST_YES:
		goto SUB_LDB_GEMS_UNCOMMON
	SUB_LDB_GEMS_COMMON_JUMP_TEST_NO:
		goto SUB_LDB_GEMS_COMMON


SUB_LDB_GEMS_COMMON:
matchre SUB_LDB_GEMS_BLOODSTONE / bloodstone,| bloodstone\.| bloodstone and /i
matchre SUB_LDB_GEMS_CRYSTAL / crystal,| crystal\.| crystal and /i
matchre SUB_LDB_GEMS_DIOPSIDE / diopside,| diopside\.| diopside and /i
matchre SUB_LDB_GEMS_JASPER / jasper,| jasper\.| jasper and /i
matchre SUB_LDB_GEMS_QUARTZ / quartz,| quartz\.| quartz and /i
matchre SUB_LDB_GEMS_TOPAZ / topaz,| topaz\.| topaz and /i
matchre SUB_LDB_GEMS_ZIRCON / zircon,| zircon\.| zircon and /i
matchre SUB_LDB_GEMS_TURQUOISE_STONE / turquoise stone,| turquoise stone\.| turquoise stone and /i
matchre SUB_LDB_GEMS_AQUAMARINE / aquamarine,| aquamarine\.| aquamarine and /i

matchre SUB_LDB_GEMS_TSAVORITE / tsavorite,| tsavorite\.| tsavorite and /i
matchre SUB_LDB_GEMS_JADE / jade,| jade\.| jade and /i
matchre SUB_LDB_GEMS_KUNZITE / kunzite,| kunzite\.| kunzite and /i
matchre SUB_LDB_GEMS_ONYX / onyx,| onyx\.| onyx and /i
matchre SUB_LDB_GEMS_STAR-STONE / star-stone,| star-stone\.| star-stone and /i
matchre SUB_LDB_GEMS_HEMATITE / hematite,| hematite\.| hematite and /i
matchre SUB_LDB_GEMS_AGATE / agate,| agate\.| agate and /i
matchre SUB_LDB_GEMS_IOLITE / iolite,| iolite\.| iolite and /i
matchre SUB_LDB_GEMS_TOURMALINE / tourmaline,| tourmaline\.| tourmaline and /i
matchre SUB_LDB_GEMS_PERIDOT / peridot,| peridot\.| peridot and /i
matchre SUB_LDB_GEMS_CITRINE / citrine,| citrine\.| citrine and /i
matchre SUB_LDB_GEMS_CHRYSOBERYL / chrysoberyl,| chrysoberyl\.| chrysoberyl and /i
matchre SUB_LDB_GEMS_SPINEL / spinel,| spinel\.| spinel and /i
matchre SUB_LDB_GEMS_TURQUOISE / turquoise,| turquoise\.| turquoise and /i
matchre SUB_LDB_GEMS_SAPPHIRE / sapphire,| sapphire\.| sapphire and /i
matchre SUB_LDB_GEMS_GARNET / garnet,| garnet\.| garnet and /i
matchre SUB_LDB_GEMS_ALEXANDRITE / alexandrite,| alexandrite\.| alexandrite and /i
matchre SUB_LDB_GEMS_IVORY / ivory,| ivory\.| ivory and /i
matchre SUB_LDB_GEMS_MORGANITE / morganite,| morganite\.| morganite and /i
matchre SUB_LDB_GEMS_BERYL / beryl,| beryl\.| beryl and /i
matchre SUB_LDB_GEMS_AMETHYST / amethyst,| amethyst\.| amethyst and /i
matchre SUB_LDB_GEMS_CARNELIAN / carnelian,| carnelian\.| carnelian and /i
matchre SUB_LDB_GEMS_PEARL / pearl,| pearl\.| pearl and /i
matchre SUB_LDB_GEMS_RUBY / ruby,| ruby\.| ruby and /i
matchre SUB_LDB_GEMS_OPAL / opal,| opal\.| opal and /i
matchre SUB_LDB_GEMS_CORAL / coral,| coral\.| coral and /i
matchre SUB_LDB_GEMS_AMBER / amber,| amber\.| amber and /i
matchre SUB_LDB_GEMS_CHALCEDONY / chalcedony,| chalcedony\.| chalcedony and /i
matchre SUB_LDB_GEMS_DIAMOND / diamond,| diamond\.| diamond and /i
matchre SUB_LDB_GEMS_ANDALUSITE / andalusite,| andalusite\.| andalusite and /i
matchre SUB_LDB_GEMS_TANZANITE / tanzanite,| tanzanite\.| tanzanite and /i
matchre SUB_LDB_GEMS_CHRYSOPRASE / chrysoprase,| chrysoprase\.| chrysoprase and /i

match SUB_LDB_GEMS_DARK you can't see a thing
match SUB_LDB_GEMS_COMMON_DONE Obvious paths:
match SUB_LDB_GEMS_COMMON_DONE Obvious exits:
match SUB_LDB_GEMS_COMMON ...wait
match SUB_LDB_GEMS_COMMON You may only type ahead
put look
matchwait

SUB_LDB_GEMS_COMMON_DONE:
	setvariable commongemssearchedflag YES
	goto SUB_LDB_GEMS_UNCOMMON

SUB_LDB_GEMS_UNCOMMON:
pause %matchwaitpause
matchre SUB_LDB_GEMS_GEM / aquamarine gem,| aquamarine gem\.| aquamarine gem and /i
matchre SUB_LDB_GEMS_MALACHITE_STONE / malachite stone,| malachite stone\.| malachite stone and /i
matchre SUB_LDB_GEMS_EMERALD / emerald,| emerald\.| emerald and /i
matchre SUB_LDB_GEMS_GLASS_PEBBLE / glass pebble,| glass pebble\.| glass pebble and /i
matchre SUB_LDB_GEMS_ONYX_BEAD / onyx bead,| onyx bead\.| onyx bead and /i
matchre SUB_LDB_GEMS_BLOODGEM / bloodgem,| bloodgem\.| bloodgem and /i
matchre SUB_LDB_GEMS_MOONSTONE / moonstone,| moonstone\.| moonstone and /i
matchre SUB_LDB_GEMS_SUNSTONE / sunstone,| sunstone\.| sunstone and /i
matchre SUB_LDB_GEMS_LAZULI / lapis lazuli,| lapis lazuli\.| lapis lazuli and /i
matchre SUB_LDB_GEMS_EGG / alabaster egg,| alabaster egg\.| alabaster egg and /i
matchre SUB_LDB_GEMS_AMBER / dark amber,| dark amber\.| dark amber and /i
matchre SUB_LDB_GEMS_EGGCASE / eggcase,| eggcase\.| eggcase and /i
matchre SUB_LDB_GEMS_GOLDSTONE / glittering goldstone,| glittering goldstone\.| glittering goldstone and /i
matchre SUB_LDB_GEMS_MINERALS / glittering minerals,| glittering minerals\.| glittering minerals and /i
matchre SUB_LDB_GEMS_PLATINUM / glittering platinum,| glittering platinum\.| glittering platinum and /i
matchre SUB_LDB_GEMS_GRANITE / crystallized granite,| crystallized granite\.| crystallized granite and /i
matchre SUB_LDB_GEMS_GRANITE / laced granite,| laced granite\.| laced granite and /i
matchre SUB_LDB_GEMS_SEORDSTONE_TALON / seordstone talon,| seordstone talon\.| seordstone talon and /i
matchre SUB_LDB_GEMS_IVORY_TOOTH / ivory tooth,| ivory tooth\.| ivory tooth and /i
matchre SUB_LDB_GEMS_MALACHITE / malachite,| malachite\.| malachite and /i
match SUB_LDB_GEMS_USERADD_1 %mendhunt_loot_gems_useradd_1
match SUB_LDB_GEMS_USERADD_2 %mendhunt_loot_gems_useradd_2
match SUB_LDB_GEMS_USERADD_3 %mendhunt_loot_gems_useradd_3
match SUB_LDB_GEMS_USERADD_4 %mendhunt_loot_gems_useradd_4
match SUB_LDB_GEMS_USERADD_5 %mendhunt_loot_gems_useradd_5
match SUB_LDB_GEMS_USERADD_6 %mendhunt_loot_gems_useradd_6
match SUB_LDB_GEMS_DARK you can't see a thing
match SUB_LDB_GEMS_END Obvious paths:
match SUB_LDB_GEMS_END Obvious exits:
match SUB_LDB_GEMS_UNCOMMON ...wait
match SUB_LDB_GEMS_UNCOMMON You may only type ahead
put look
matchwait



SUB_LDB_GEMS_PEARL:
	setvariable loot_active pearl
	goto SUBRETURN_%subreturnflag

SUB_LDB_GEMS_OPAL:
	setvariable loot_active opal
	goto SUBRETURN_%subreturnflag
SUB_LDB_GEMS_BLOODSTONE:
	setvariable loot_active bloodstone
	goto SUBRETURN_%subreturnflag
SUB_LDB_GEMS_ZIRCON:
	setvariable loot_active zircon
	goto SUBRETURN_%subreturnflag

SUB_LDB_GEMS_QUARTZ:
	setvariable loot_active quartz
	goto SUBRETURN_%subreturnflag
SUB_LDB_GEMS_JASPER:
	setvariable loot_active jasper
	goto SUBRETURN_%subreturnflag
SUB_LDB_GEMS_BLOODGEM:
	setvariable loot_active bloodgem
	goto SUBRETURN_%subreturnflag
SUB_LDB_GEMS_CRYSTAL:
	setvariable loot_active crystal
	goto SUBRETURN_%subreturnflag
SUB_LDB_GEMS_TOPAZ:
	setvariable loot_active topaz
	goto SUBRETURN_%subreturnflag
SUB_LDB_GEMS_RUBY:
	setvariable loot_active ruby
	goto SUBRETURN_%subreturnflag
SUB_LDB_GEMS_DIOPSIDE:
	setvariable loot_active diopside
	goto SUBRETURN_%subreturnflag
SUB_LDB_GEMS_GEM:
	setvariable loot_active gem
	goto SUBRETURN_%subreturnflag
SUB_LDB_GEMS_EMERALD:
	setvariable loot_active emerald
	goto SUBRETURN_%subreturnflag
SUB_LDB_GEMS_DIAMOND:
	setvariable loot_active diamond
	goto SUBRETURN_%subreturnflag
SUB_LDB_GEMS_RUBY:
	setvariable loot_active ruby
	goto SUBRETURN_%subreturnflag
SUB_LDB_GEMS_LAZULI:
	setvariable loot_active lazuli
	goto SUBRETURN_%subreturnflag
SUB_LDB_GEMS_MOONSTONE:
	setvariable loot_active moonstone
	goto SUBRETURN_%subreturnflag
SUB_LDB_GEMS_SUNSTONE:
	setvariable loot_active sunstone
	goto SUBRETURN_%subreturnflag
SUB_LDB_GEMS_GOLDSTONE:
	setvariable loot_active goldstone
	goto SUBRETURN_%subreturnflag
SUB_LDB_GEMS_MALACHITE:
	setvariable loot_active malachite
	goto SUBRETURN_%subreturnflag
SUB_LDB_GEMS_MINERALS:
	setvariable loot_active minerals
	goto SUBRETURN_%subreturnflag

SUB_LDB_GEMS_MALACHITE_STONE:
	setvariable loot_active malachite stone
	goto SUBRETURN_%subreturnflag
SUB_LDB_GEMS_TURQUOISE_STONE:
	setvariable loot_active turquoise stone
	goto SUBRETURN_%subreturnflag
SUB_LDB_GEMS_AQUAMARINE:
	setvariable loot_active aquamarine
	goto SUBRETURN_%subreturnflag
SUB_LDB_GEMS_GLASS_PEBBLE:
	setvariable loot_active glass pebble
	goto SUBRETURN_%subreturnflag
SUB_LDB_GEMS_ONYX_BEAD:
	setvariable loot_active onyx bead
	goto SUBRETURN_%subreturnflag

SUB_LDB_GEMS_EGG:
	setvariable loot_active egg
	goto SUBRETURN_%subreturnflag
SUB_LDB_GEMS_AMBER:
	setvariable loot_active amber
	goto SUBRETURN_%subreturnflag
SUB_LDB_GEMS_EGGCASE:
	setvariable loot_active eggcase
	goto SUBRETURN_%subreturnflag
SUB_LDB_GEMS_PLATINUM:
	setvariable loot_active platinum
	goto SUBRETURN_%subreturnflag
SUB_LDB_GEMS_GRANITE:
	setvariable loot_active granite
	goto SUBRETURN_%subreturnflag
SUB_LDB_GEMS_SEORDSTONE_TALON:
	setvariable loot_active seordstone talon
	goto SUBRETURN_%subreturnflag
SUB_LDB_GEMS_IVORY_TOOTH:
	setvariable loot_active ivory tooth
	goto SUBRETURN_%subreturnflag

SUB_LDB_GEMS_TSAVORITE:
	setvariable loot_active tsavorite
	goto SUBRETURN_%subreturnflag
SUB_LDB_GEMS_JADE:
	setvariable loot_active jade
	goto SUBRETURN_%subreturnflag
SUB_LDB_GEMS_KUNZITE:
	setvariable loot_active kunzite
	goto SUBRETURN_%subreturnflag
SUB_LDB_GEMS_ONYX:
	setvariable loot_active onyx
	goto SUBRETURN_%subreturnflag
SUB_LDB_GEMS_STAR-STONE:
	setvariable loot_active star-stone
	goto SUBRETURN_%subreturnflag
SUB_LDB_GEMS_HEMATITE:
	setvariable loot_active hematite
	goto SUBRETURN_%subreturnflag
SUB_LDB_GEMS_AGATE:
	setvariable loot_active agate
	goto SUBRETURN_%subreturnflag
SUB_LDB_GEMS_IOLITE:
	setvariable loot_active iolite
	goto SUBRETURN_%subreturnflag
SUB_LDB_GEMS_TOURMALINE:
	setvariable loot_active tourmaline
	goto SUBRETURN_%subreturnflag
SUB_LDB_GEMS_PERIDOT:
	setvariable loot_active peridot
	goto SUBRETURN_%subreturnflag
SUB_LDB_GEMS_CITRINE:
	setvariable loot_active citrine
	goto SUBRETURN_%subreturnflag
SUB_LDB_GEMS_CHRYSOBERYL:
	setvariable loot_active chrysoberyl
	goto SUBRETURN_%subreturnflag
SUB_LDB_GEMS_SPINEL:
	setvariable loot_active spinel
	goto SUBRETURN_%subreturnflag
SUB_LDB_GEMS_TURQUOISE:
	setvariable loot_active turquoise
	goto SUBRETURN_%subreturnflag
SUB_LDB_GEMS_SAPPHIRE:
	setvariable loot_active sapphire
	goto SUBRETURN_%subreturnflag
SUB_LDB_GEMS_GARNET:
	setvariable loot_active garnet
	goto SUBRETURN_%subreturnflag
SUB_LDB_GEMS_ALEXANDRITE:
	setvariable loot_active alexandrite
	goto SUBRETURN_%subreturnflag
SUB_LDB_GEMS_IVORY:
	setvariable loot_active ivory
	goto SUBRETURN_%subreturnflag
SUB_LDB_GEMS_MORGANITE:
	setvariable loot_active morganite
	goto SUBRETURN_%subreturnflag
SUB_LDB_GEMS_BERYL:
	setvariable loot_active beryl
	goto SUBRETURN_%subreturnflag
SUB_LDB_GEMS_AMETHYST:
	setvariable loot_active amethyst
	goto SUBRETURN_%subreturnflag
SUB_LDB_GEMS_CARNELIAN:
	setvariable loot_active carnelian
	goto SUBRETURN_%subreturnflag
SUB_LDB_GEMS_CORAL:
	setvariable loot_active coral
	goto SUBRETURN_%subreturnflag
SUB_LDB_GEMS_AMBER:
	setvariable loot_active amber
	goto SUBRETURN_%subreturnflag
SUB_LDB_GEMS_CHALCEDONY:
	setvariable loot_active chalcedony
	goto SUBRETURN_%subreturnflag
SUB_LDB_GEMS_ANDALUSITE:
	setvariable loot_active andalusite
	goto SUBRETURN_%subreturnflag
SUB_LDB_GEMS_TANZANITE:
	setvariable loot_active tanzanite
	goto SUBRETURN_%subreturnflag
SUB_LDB_GEMS_CHRYSOPRASE:
	setvariable loot_active chrysoprase
	goto SUBRETURN_%subreturnflag

SUB_LDB_GEMS_USERADD_1:
	setvariable loot_active %mendhunt_loot_gems_useradd_1
	goto SUBRETURN_%subreturnflag
SUB_LDB_GEMS_USERADD_2:
	setvariable loot_active %mendhunt_loot_gems_useradd_2
	goto SUBRETURN_%subreturnflag
SUB_LDB_GEMS_USERADD_3:
	setvariable loot_active %mendhunt_loot_gems_useradd_3
	goto SUBRETURN_%subreturnflag
SUB_LDB_GEMS_USERADD_4:
	setvariable loot_active %mendhunt_loot_gems_useradd_4
	goto SUBRETURN_%subreturnflag
SUB_LDB_GEMS_USERADD_5:
	setvariable loot_active %mendhunt_loot_gems_useradd_5
	goto SUBRETURN_%subreturnflag
SUB_LDB_GEMS_USERADD_6:
	setvariable loot_active %mendhunt_loot_gems_useradd_6
	goto SUBRETURN_%subreturnflag

SUB_LDB_GEMS_DARK:
	echo
	echo *** It's too dark to Loot
	echo
	goto SUBRETURN_DARK_%subreturnflag

SUB_LDB_GEMS_END:
	goto SUBRETURN_NOLOOT_%subreturnflag


#____________________________________________________________________SUB loot skins DB
SUB_LDB_SKINS:

SUB_LDB_SKINS_MEMORY:
pause %matchwaitpause
matchre SUB_LDB_SKINS_MEM1 / %mendhunt_skins_memory_1%,| %mendhunt_skins_memory_1%\.| %mendhunt_skins_memory_1% and /i
matchre SUB_LDB_SKINS_MEM2 / %mendhunt_skins_memory_2%,| %mendhunt_skins_memory_2%\.| %mendhunt_skins_memory_2% and /i
matchre SUB_LDB_SKINS_MEM3 / %mendhunt_skins_memory_3%,| %mendhunt_skins_memory_3%\.| %mendhunt_skins_memory_3% and /i
match SUB_LDB_SKINS_DARK you can't see a thing
match SUB_LDB_SKINS_TABLE Obvious paths:
match SUB_LDB_SKINS_TABLE Obvious exits:
match SUB_LDB_SKINS_MEMORY ...wait
match SUB_LDB_SKINS_MEMORY You may only type ahead
put look
matchwait

SUB_LDB_SKINS_TABLE:
pause %matchwaitpause
matchre SUB_LDB_SKINS_SKIN / skin,| skin\.| skin and /i
matchre SUB_LDB_SKINS_CLAW / claw,| claw\.| claw and /i
matchre SUB_LDB_SKINS_SCALP / scalp,| scalp\.| scalp and /i
matchre SUB_LDB_SKINS_PELT / pelt,| pelt\.| pelt and /i
matchre SUB_LDB_SKINS_TAIL / tail,| tail\.| tail and /i
matchre SUB_LDB_SKINS_EAR / ear,| ear\.| ear and /i
matchre SUB_LDB_SKINS_HOOF / hoof,| hoof\.| hoof and /i
matchre SUB_LDB_SKINS_TUSK / tusk,| tusk\.| tusk and /i
matchre SUB_LDB_SKINS_TUSKS / tusks,| tusks\.| tusks and /i
matchre SUB_LDB_SKINS_HORN / horn,| horn\.| horn and /i
matchre SUB_LDB_SKINS_SNOUT / snout,| snout\.| snout and /i
matchre SUB_LDB_SKINS_STRIPE / stripe,| stripe\.| stripe and /i
matchre SUB_LDB_SKINS_FANG / fang,| fang\.| fang and /i
matchre SUB_LDB_SKINS_FANGS / fangs,| fangs\.| fangs and /i
matchre SUB_LDB_SKINS_SHELL / shell,| shell\.| shell and /i
matchre SUB_LDB_SKINS_PSEUDOPOD / pseudopod,| pseudopod\.| pseudopod and /i
matchre SUB_LDB_SKINS_SHEEPSKIN / sheepskin,| sheepskin\.| sheepskin and /i
matchre SUB_LDB_SKINS_TOENAIL / toenail,| toenail\.| toenail and /i
matchre SUB_LDB_SKINS_HIDE / hide,| hide\.| hide and /i
matchre SUB_LDB_SKINS_RAZORTUSK / razortusk,| razortusk\.| razortusk and /i
matchre SUB_LDB_SKINS_PAW / paw,| paw\.| paw and /i
matchre SUB_LDB_SKINS_MANE / mane,| mane\.| mane and /i
matchre SUB_LDB_SKINS_MANDIBLE / mandible,| mandible\.| mandible and /i
matchre SUB_LDB_SKINS_ANTENNAE / antennae,| antennae\.| antennae and /i
matchre SUB_LDB_SKINS_HEART / heart,| heart\.| heart and /i
matchre SUB_LDB_SKINS_SPINE / spine,| spine\.| spine and /i
matchre SUB_LDB_SKINS_MOSSHAIR / mosshair,| mosshair\.| mosshair and /i
matchre SUB_LDB_SKINS_RIB / rib,| rib\.| rib and /i
matchre SUB_LDB_SKINS_WART / wart,| wart\.| wart and /i
matchre SUB_LDB_SKINS_FORECLAW / foreclaw,| foreclaw\.| foreclaw and /i
matchre SUB_LDB_SKINS_EYE / eye,| eye\.| eye and /i
matchre SUB_LDB_SKINS_CARAPACE / carapace,| carapace\.| carapace and /i
matchre SUB_LDB_SKINS_MILKTOOTH / milk\-tooth,| milk\-tooth\.| milk\-tooth and /i
matchre SUB_LDB_SKINS_WING / wing,| wing\.| wing and /i
matchre SUB_LDB_SKINS_SPINNERET / spinneret,| spinneret\.| spinneret and /i
matchre SUB_LDB_SKINS_SAC / sac,| sac\.| sac and /i
matchre SUB_LDB_SKINS_EYEBALL / eyeball,| eyeball\.| eyeball and /i
matchre SUB_LDB_SKINS_BEAK / beak,| beak\.| beak and /i
matchre SUB_LDB_SKINS_STINGER / stinger,| stinger\.| stinger and /i
matchre SUB_LDB_SKINS_BRISTLE / bristle,| bristle\.| bristle and /i
matchre SUB_LDB_SKINS_BARB / barb,| barb\.| barb and /i
matchre SUB_LDB_SKINS_FORELEG / foreleg,| foreleg\.| foreleg and /i
matchre SUB_LDB_SKINS_QUILL / quill,| quill\.| quill and /i
matchre SUB_LDB_SKINS_IMPALER / impaler,| impaler\.| impaler and /i
matchre SUB_LDB_SKINS_CATGUT / catgut,| catgut\.| catgut and /i
matchre SUB_LDB_SKINS_SCALE / scale,| scale\.| scale and /i
matchre SUB_LDB_SKINS_COLLARBONE / collarbone,| collarbone\.| collarbone and /i
matchre SUB_LDB_SKINS_TENTACLE / tentacle,| tentacle\.| tentacle and /i
matchre SUB_LDB_SKINS_TALON / talon,| talon\.| talon and /i
matchre SUB_LDB_SKINS_FEATHER / feather,| feather\.| feather and /i
matchre SUB_LDB_SKINS_TOOTH / tooth,| tooth\.| tooth and /i
match SUB_LDB_SKINS_CHITIN_FRAGMENT chitin fragment
match SUB_LDB_SKINS_CARAPACE_SLIVER carapace sliver
match SUB_LDB_SKINS_BEETLE_LEG beetle leg
match SUB_LDB_SKINS_WHITE_HAIR strand of white hair
match SUB_LDB_SKINS_LAHEKE_ASHUA la'heke ashu'a
match SUB_LDB_SKINS_INKHORNE_RACK inkhorne rack
match SUB_LDB_SKINS_MODA_TONGUE moda tongue
match SUB_LDB_SKINS_GRUBLIKE_TONGUE grub-like tongue
match SUB_LDB_SKINS_USERADD_1 %mendhunt_loot_skins_useradd_1
match SUB_LDB_SKINS_USERADD_2 %mendhunt_loot_skins_useradd_2
match SUB_LDB_SKINS_USERADD_3 %mendhunt_loot_skins_useradd_3
match SUB_LDB_SKINS_USERADD_4 %mendhunt_loot_skins_useradd_4
match SUB_LDB_SKINS_USERADD_5 %mendhunt_loot_skins_useradd_5
match SUB_LDB_SKINS_USERADD_6 %mendhunt_loot_skins_useradd_6
match SUB_LDB_SKINS_DARK you can't see a thing
match SUB_LDB_SKINS_END Obvious paths:
match SUB_LDB_SKINS_END Obvious exits:
match SUB_LDB_SKINS_TABLE ...wait
match SUB_LDB_SKINS_TABLE You may only type ahead
put look
matchwait


SUB_LDB_SKINS_MEM1:
	setvariable loot_active %mendhunt_skins_memory_1
	goto SUBRETURN_%subreturnflag
SUB_LDB_SKINS_MEM2:
	setvariable loot_active %mendhunt_skins_memory_2
	goto SUBRETURN_%subreturnflag
SUB_LDB_SKINS_MEM3:
	setvariable loot_active %mendhunt_skins_memory_3
	goto SUBRETURN_%subreturnflag

SUB_LDB_SKINS_SKIN:
	setvariable loot_active skin
	goto SUB_LDB_SKINS_MEMORY_SET
SUB_LDB_SKINS_CLAW:
	setvariable loot_active claw
	goto SUB_LDB_SKINS_MEMORY_SET
SUB_LDB_SKINS_SCALP:
	setvariable loot_active scalp
	goto SUB_LDB_SKINS_MEMORY_SET
SUB_LDB_SKINS_PELT:
	setvariable loot_active pelt
	goto SUB_LDB_SKINS_MEMORY_SET
SUB_LDB_SKINS_TAIL:
	setvariable loot_active tail
	goto SUB_LDB_SKINS_MEMORY_SET
SUB_LDB_SKINS_EAR:
	setvariable loot_active ear
	goto SUB_LDB_SKINS_MEMORY_SET
SUB_LDB_SKINS_HOOF:
	setvariable loot_active hoof
	goto SUB_LDB_SKINS_MEMORY_SET
SUB_LDB_SKINS_TUSK:
	setvariable loot_active tusk
	goto SUB_LDB_SKINS_MEMORY_SET
SUB_LDB_SKINS_TUSKS:
	setvariable loot_active tusks
	goto SUB_LDB_SKINS_MEMORY_SET
SUB_LDB_SKINS_HORN:
	setvariable loot_active horn
	goto SUB_LDB_SKINS_MEMORY_SET
SUB_LDB_SKINS_SNOUT:
	setvariable loot_active snout
	goto SUB_LDB_SKINS_MEMORY_SET
SUB_LDB_SKINS_STRIPE:
	setvariable loot_active stripe
	goto SUB_LDB_SKINS_MEMORY_SET
SUB_LDB_SKINS_FANG:
	setvariable loot_active fang
	goto SUB_LDB_SKINS_MEMORY_SET
SUB_LDB_SKINS_FANGS:
	setvariable loot_active fangs
	goto SUB_LDB_SKINS_MEMORY_SET
SUB_LDB_SKINS_SHELL:
	setvariable loot_active shell
	goto SUB_LDB_SKINS_MEMORY_SET
SUB_LDB_SKINS_PSEUDOPOD:
	setvariable loot_active pseudopod
	goto SUB_LDB_SKINS_MEMORY_SET
SUB_LDB_SKINS_SHEEPSKIN:
	setvariable loot_active sheepskin
	goto SUB_LDB_SKINS_MEMORY_SET
SUB_LDB_SKINS_TOENAIL:
	setvariable loot_active toenail
	goto SUB_LDB_SKINS_MEMORY_SET
SUB_LDB_SKINS_HIDE:
	setvariable loot_active hide
	goto SUB_LDB_SKINS_MEMORY_SET
SUB_LDB_SKINS_RAZORTUSK:
	setvariable loot_active razortusk
	goto SUB_LDB_SKINS_MEMORY_SET
SUB_LDB_SKINS_PAW:
	setvariable loot_active paw
	goto SUB_LDB_SKINS_MEMORY_SET
SUB_LDB_SKINS_MANE:
	setvariable loot_active mane
	goto SUB_LDB_SKINS_MEMORY_SET
SUB_LDB_SKINS_MANDIBLE:
	setvariable loot_active mandible
	goto SUB_LDB_SKINS_MEMORY_SET
SUB_LDB_SKINS_ANTENNAE:
	setvariable loot_active antennae
	goto SUB_LDB_SKINS_MEMORY_SET
SUB_LDB_SKINS_HEART:
	setvariable loot_active heart
	goto SUB_LDB_SKINS_MEMORY_SET
SUB_LDB_SKINS_SPINE:
	setvariable loot_active spine
	goto SUB_LDB_SKINS_MEMORY_SET
SUB_LDB_SKINS_MOSSHAIR:
	setvariable loot_active mosshair
	goto SUB_LDB_SKINS_MEMORY_SET
SUB_LDB_SKINS_RIB:
	setvariable loot_active rib
	goto SUB_LDB_SKINS_MEMORY_SET
SUB_LDB_SKINS_WART:
	setvariable loot_active wart
	goto SUB_LDB_SKINS_MEMORY_SET
SUB_LDB_SKINS_CHITIN_FRAGMENT:
	setvariable loot_active chitin fragment
	goto SUB_LDB_SKINS_MEMORY_SET
SUB_LDB_SKINS_CARAPACE_SLIVER:
	setvariable loot_active carapace sliver
	goto SUB_LDB_SKINS_MEMORY_SET
SUB_LDB_SKINS_FORECLAW:
	setvariable loot_active foreclaw
	goto SUB_LDB_SKINS_MEMORY_SET
SUB_LDB_SKINS_BEETLE_LEG:
	setvariable loot_active beetle leg
	goto SUB_LDB_SKINS_MEMORY_SET
SUB_LDB_SKINS_EYE:
	setvariable loot_active eye
	goto SUB_LDB_SKINS_MEMORY_SET
SUB_LDB_SKINS_CARAPACE:
	setvariable loot_active carapace
	goto SUB_LDB_SKINS_MEMORY_SET
SUB_LDB_SKINS_MILKTOOTH:
	setvariable loot_active milk-tooth
	goto SUB_LDB_SKINS_MEMORY_SET
SUB_LDB_SKINS_WING:
	setvariable loot_active wing
	goto SUB_LDB_SKINS_MEMORY_SET
SUB_LDB_SKINS_WHITE_HAIR:
	setvariable loot_active white hair
	goto SUB_LDB_SKINS_MEMORY_SET
SUB_LDB_SKINS_SPINNERET:
	setvariable loot_active spinneret
	goto SUB_LDB_SKINS_MEMORY_SET
SUB_LDB_SKINS_LAHEKE_ASHUA:
	setvariable loot_active la'heke ashu'a
	goto SUB_LDB_SKINS_MEMORY_SET
SUB_LDB_SKINS_SAC:
	setvariable loot_active sac
	goto SUB_LDB_SKINS_MEMORY_SET
SUB_LDB_SKINS_EYEBALL:
	setvariable loot_active eyeball
	goto SUB_LDB_SKINS_MEMORY_SET
SUB_LDB_SKINS_INKHORNE_RACK:
	setvariable loot_active inkhorne rack
	goto SUB_LDB_SKINS_MEMORY_SET
SUB_LDB_SKINS_BEAK:
	setvariable loot_active beak
	goto SUB_LDB_SKINS_MEMORY_SET
SUB_LDB_SKINS_MODA_TONGUE:
	setvariable loot_active moda tongue
	goto SUB_LDB_SKINS_MEMORY_SET
SUB_LDB_SKINS_STINGER:
	setvariable loot_active stinger
	goto SUB_LDB_SKINS_MEMORY_SET
SUB_LDB_SKINS_GRUBLIKE_TONGUE:
	setvariable loot_active grub-like tongue
	goto SUB_LDB_SKINS_MEMORY_SET
SUB_LDB_SKINS_BRISTLE:
	setvariable loot_active bristle
	goto SUB_LDB_SKINS_MEMORY_SET
SUB_LDB_SKINS_BARB:
	setvariable loot_active barb
	goto SUB_LDB_SKINS_MEMORY_SET
SUB_LDB_SKINS_FORELEG:
	setvariable loot_active foreleg
	goto SUB_LDB_SKINS_MEMORY_SET
SUB_LDB_SKINS_QUILL:
	setvariable loot_active quill
	goto SUB_LDB_SKINS_MEMORY_SET
SUB_LDB_SKINS_IMPALER:
	setvariable loot_active impaler
	goto SUB_LDB_SKINS_MEMORY_SET
SUB_LDB_SKINS_CATGUT:
	setvariable loot_active catgut
	goto SUB_LDB_SKINS_MEMORY_SET
SUB_LDB_SKINS_SCALE:
	setvariable loot_active scale
	goto SUB_LDB_SKINS_MEMORY_SET
SUB_LDB_SKINS_COLLARBONE:
	setvariable loot_active collarbone
	goto SUB_LDB_SKINS_MEMORY_SET
SUB_LDB_SKINS_TENTACLE:
	setvariable loot_active tentacle
	goto SUB_LDB_SKINS_MEMORY_SET
SUB_LDB_SKINS_TALON:
	setvariable loot_active talon
	goto SUB_LDB_SKINS_MEMORY_SET
SUB_LDB_SKINS_FEATHER:
	setvariable loot_active feather
	goto SUB_LDB_SKINS_MEMORY_SET
SUB_LDB_SKINS_TOOTH:
	setvariable loot_active tooth
	goto SUB_LDB_SKINS_MEMORY_SET
SUB_LDB_SKINS_USERADD_1:
	setvariable loot_active %mendhunt_loot_skins_useradd_1
	goto SUB_LDB_SKINS_MEMORY_SET
SUB_LDB_SKINS_USERADD_2:
	setvariable loot_active %mendhunt_loot_skins_useradd_2
	goto SUB_LDB_SKINS_MEMORY_SET
SUB_LDB_SKINS_USERADD_3:
	setvariable loot_active %mendhunt_loot_skins_useradd_3
	goto SUB_LDB_SKINS_MEMORY_SET
SUB_LDB_SKINS_USERADD_4:
	setvariable loot_active %mendhunt_loot_skins_useradd_4
	goto SUB_LDB_SKINS_MEMORY_SET
SUB_LDB_SKINS_USERADD_5:
	setvariable loot_active %mendhunt_loot_skins_useradd_5
	goto SUB_LDB_SKINS_MEMORY_SET
SUB_LDB_SKINS_USERADD_6:
	setvariable loot_active %mendhunt_loot_skins_useradd_6
	goto SUB_LDB_SKINS_MEMORY_SET


SUB_LDB_SKINS_MEMORY_SET:
echo
echo *** Skins memory is being set
echo
	setvariable temp_skins_memory_1 %mendhunt_skins_memory_1
	setvariable temp_skins_memory_2 %mendhunt_skins_memory_2
	setvariable temp_skins_memory_3 %mendhunt_skins_memory_3
	setvariable mendhunt_skins_memory_1 %loot_active
	setvariable mendhunt_skins_memory_2 %temp_skins_memory_1
	setvariable mendhunt_skins_memory_3 %temp_skins_memory_2
	goto SUBRETURN_%subreturnflag


SUB_LDB_SKINS_DARK:
	echo
	echo *** It's too dark to Loot
	echo
	goto SUBRETURN_DARK_%subreturnflag

SUB_LDB_SKINS_END:
	goto SUBRETURN_NOLOOT_%subreturnflag



#############################################################################
###########################    CRITTER SECTION    ###########################
#############################################################################
#critter database from Elanthipedia 5/17/2008
#needs subreturnflag
#sends critter_active

#____________________________________________________________________SUB check critter by assess
SUB_CDB_ASSESS:


SUB_CDB_ASSESS_GO_TABLE1:
pause %matchwaitpause
matchre CDB_MEM_1 /You (.*) %mendhunt_critter_memory_1%/i
matchre CDB_MEM_2 /You (.*) %mendhunt_critter_memory_2%/i
matchre CDB_MEM_3 /You (.*) %mendhunt_critter_memory_3%/i
matchre CDB_01 /You (.*) %mendhunt_useradd_critter_1%/i
matchre CDB_02 /You (.*) %mendhunt_useradd_critter_2%/i
matchre CDB_03 /You (.*) %mendhunt_useradd_critter_3%/i
matchre CDB_04 /You (.*) %mendhunt_useradd_critter_4%/i
matchre CDB_05 /You (.*) %mendhunt_useradd_critter_5%/i
matchre CDB_06 /You (.*) %mendhunt_useradd_critter_6%/i
match SUB_CDB_ASSESS_GO_TABLE1 ...wait
match SUB_CDB_ASSESS_GO_TABLE1 You may only type ahead
match RTCHECK_SUB_CDB_ASSESS_GO_GLANCE_INTERUPT You glance
put assess
put glance
matchwait

RTCHECK_SUB_CDB_ASSESS_GO_GLANCE_INTERUPT:
	pause %rtcheckpause
	match RTCHECK_SUB_CDB_ASSESS_GO_GLANCE_INTERUPT_READY What were you referring to
	match RTCHECK_SUB_CDB_ASSESS_GO_GLANCE_INTERUPT ...wait
	match RTCHECK_SUB_CDB_ASSESS_GO_GLANCE_INTERUPT You may only type ahead
	put get my rtchecking
	matchwait
RTCHECK_SUB_CDB_ASSESS_GO_GLANCE_INTERUPT_READY:

SUB_CDB_ASSESS_GO_TABLE2:
pause %matchwaitpause
matchre CDB_1 /You (.*) Adan'f Blood Warrior/i
matchre CDB_2 /You (.*) Adan'f Shadow Mage/i
matchre CDB_3 /You (.*) Adan'f Spirit Dancer/i
matchre CDB_4 /You (.*) Adult Desert Armadillo/i
matchre CDB_5 /You (.*) Alley Thug/i
matchre CDB_6 /You (.*) Angiswaerd Hatchling/i
matchre CDB_7 /You (.*) Antelope/i
matchre CDB_8 /You (.*) Arbelog/i
matchre CDB_9 /You (.*) Armored Shalswar/i
matchre CDB_10 /You (.*) Armored Warklin/i
matchre CDB_11 /You (.*) Asaren Celpeze/i
matchre CDB_12 /You (.*) Atik'et/i
matchre CDB_13 /You (.*) Banshee/i
matchre CDB_14 /You (.*) Barghest/i
matchre CDB_15 /You (.*) Bawdy Swain/i
matchre CDB_16 /You (.*) Beisswurm/i
matchre CDB_17 /You (.*) Bison/i
matchre CDB_18 /You (.*) Black Ape/i
matchre CDB_19 /You (.*) Black Bear/i
matchre CDB_20 /You (.*) Black Goblin/i
matchre CDB_21 /You (.*) Black Marble Gargoyle/i
matchre CDB_22 /You (.*) Blight Ogre/i
matchre CDB_23 /You (.*) Blood Dryad/i
matchre CDB_24 /You (.*) Blood Nyad/i
matchre CDB_25 /You (.*) Blood Wolf/i
matchre CDB_26 /You (.*) Blue-belly Crocodile/i
matchre CDB_27 /You (.*) Blue-green Pivuh/i
matchre CDB_28 /You (.*) Blueclaw Sand Crab/i
matchre CDB_29 /You (.*) Bobcat/i
matchre CDB_30 /You (.*) Bone Wolf/i
matchre CDB_31 /You (.*) Boobrie/i
matchre CDB_32 /You (.*) Botuk Hei/i
matchre CDB_33 /You (.*) Bristle-backed Peccary/i
matchre CDB_34 /You (.*) Brown Bear/i
matchre CDB_35 /You (.*) Brown Burrower/i
matchre CDB_36 /You (.*) Caracal/i
matchre CDB_37 /You (.*) Carnivorous Gelapod/i
matchre CDB_38 /You (.*) Cave Bear/i
matchre CDB_39 /You (.*) Cave Troll/i
matchre CDB_40 /You (.*) Clouded Arzumos/i
matchre CDB_41 /You (.*) Corpse Grub/i
matchre CDB_42 /You (.*) Corsair/i
matchre CDB_43 /You (.*) Cougar/i
matchre CDB_44 /You (.*) Crag/i
matchre CDB_45 /You (.*) Crazed Madman/i
matchre CDB_46 /You (.*) Croff Pothanit/i
matchre CDB_47 /You (.*) Crypt Fiend/i
matchre CDB_48 /You (.*) Cutthroat/i
matchre CDB_49 /You (.*) Cyan Mist/i
matchre CDB_50 /You (.*) Damaska Boar/i
matchre CDB_51 /You (.*) Dark Fiend/i
matchre CDB_52 /You (.*) Dark Spirit/i
matchre CDB_53 /You (.*) Dobek Moruryn/i
matchre CDB_54 /You (.*) Dragon Priest Assassin/i
matchre CDB_55 /You (.*) Dragon Priest Crone/i
matchre CDB_56 /You (.*) Dragon Priest Fanatic/i
matchre CDB_57 /You (.*) Dragon Priest Juggernaut/i
matchre CDB_58 /You (.*) Dragon Priest Sentinel/i
matchre CDB_59 /You (.*) Dragon Priest Zealot/i
matchre CDB_60 /You (.*) Dusk Ogre/i
matchre CDB_61 /You (.*) Dusky Scythewing Moth/i
matchre CDB_62 /You (.*) Eidolon Steed/i
matchre CDB_63 /You (.*) Elder Desert Armadillo/i
matchre CDB_64 /You (.*) Emaciated Umbramagus/i
matchre CDB_65 /You (.*) Faenrae Assassin/i
matchre CDB_66 /You (.*) Faenrae Reaver/i
matchre CDB_67 /You (.*) Faenrae Stalker/i
matchre CDB_68 /You (.*) Fell Mage/i
matchre CDB_69 /You (.*) Fendryad/i
matchre CDB_70 /You (.*) Feral Bone Mastiff/i
matchre CDB_71 /You (.*) Fire Maiden/i
matchre CDB_72 /You (.*) Fire Sprite/i
matchre CDB_73 /You (.*) Flame Weaver/i
matchre CDB_74 /You (.*) Footpad/i
matchre CDB_75 /You (.*) Forest Bandit/i
matchre CDB_76 /You (.*) Forest Geni/i
matchre CDB_77 /You (.*) Frost Angiswaerd/i
matchre CDB_78 /You (.*) Frostweaver/i
matchre CDB_79 /You (.*) Frostweyr Bear/i
matchre CDB_80 /You (.*) Gargantuan Bone Golem/i
matchre CDB_81 /You (.*) Gargantuan Korograth/i
matchre CDB_82 /You (.*) Gelv Cyclops/i
matchre CDB_83 /You (.*) Ghoul/i
matchre CDB_84 /You (.*) Giant Black Leucro/i
matchre CDB_85 /You (.*) Giant Blade Spider/i
matchre CDB_86 /You (.*) Giant Blight Bat/i
matchre CDB_87 /You (.*) Giant Thicket Viper/i
matchre CDB_88 /You (.*) Giant Wolf Spider/i
matchre CDB_89 /You (.*) Glistening Scythewing Larva/i
matchre CDB_90 /You (.*) Glutinous Lipopod/i
matchre CDB_91 /You (.*) Goblin/i
matchre CDB_92 /You (.*) Goblin Shaman/i
matchre CDB_93 /You (.*) Golden Pard/i
matchre CDB_94 /You (.*) Granite Gargoyle/i
matchre CDB_95 /You (.*) Grass Eel/i
matchre CDB_96 /You (.*) Grave Worm/i
matchre CDB_97 /You (.*) Greater Shadow Hound/i
matchre CDB_98 /You (.*) Greater Skeleton/i
matchre CDB_99 /You (.*) Greater Sluagh/i
matchre CDB_100 /You (.*) Grizzled Red Leucro/i
matchre CDB_101 /You (.*) Gypsy Marauder/i
matchre CDB_102 /You (.*) Heggarangi Boar/i
matchre CDB_103 /You (.*) Heggarangi Frog/i
matchre CDB_104 /You (.*) Icy Blue Ghast/i
matchre CDB_105 /You (.*) Immature Firecat/i
matchre CDB_106 /You (.*) Inkhorne/i
matchre CDB_107 /You (.*) Jackal/i
matchre CDB_108 /You (.*) Jaguar/i
matchre CDB_109 /You (.*) Juvenile Desert Armadillo/i
matchre CDB_110 /You (.*) Kather Shaman/i
matchre CDB_111 /You (.*) Kather Warrior/i
matchre CDB_112 /You (.*) Kather Watcher/i
matchre CDB_113 /You (.*) Kelpie/i
matchre CDB_114 /You (.*) Kobold/i
matchre CDB_115 /You (.*) Kra'hei/i
matchre CDB_116 /You (.*) Kra'hei Hatchling/i
matchre CDB_117 /You (.*) Lanky Grey Lach/i
matchre CDB_118 /You (.*) Lesser Dusky-Scaled Basilisk/i
matchre CDB_119 /You (.*) Lesser Shadow Hound/i
matchre CDB_120 /You (.*) Lesser Skeleton/i
matchre CDB_121 /You (.*) Lesser Sluagh/i
matchre CDB_122 /You (.*) Long-fanged Warcat/i
matchre CDB_123 /You (.*) Lun'Shele Hunter/i
matchre CDB_124 /You (.*) Lun'Shele Trekhalo/i
matchre CDB_125 /You (.*) Maelshyvean Cinder Beast/i
matchre CDB_126 /You (.*) Maelshyvean Shadow Beast/i
matchre CDB_127 /You (.*) Mage's Construct/i
matchre CDB_128 /You (.*) Malodorous Tommyknocker/i
matchre CDB_129 /You (.*) Marbled Angiswaerd/i
matchre CDB_130 /You (.*) Meadow Ram/i
matchre CDB_131 /You (.*) Medium Crevice Worm/i
matchre CDB_132 /You (.*) Merrows/i
matchre CDB_133 /You (.*) Mimic/i
matchre CDB_134 /You (.*) Misshapen Germish'din/i
matchre CDB_135 /You (.*) Morah Vine/i
matchre CDB_135b /You (.*) Morah Creeper/i
matchre CDB_136 /You (.*) Moss Mey/i
matchre CDB_137 /You (.*) Mottled Westanuryn/i
matchre CDB_138 /You (.*) Mountain Giant/i
matchre CDB_139 /You (.*) Muscular Firecat/i
matchre CDB_140 /You (.*) Musk Hog/i
matchre CDB_141 /You (.*) Nightreaver Unyn/i
matchre CDB_142 /You (.*) Nightstalker Unyn/i
matchre CDB_143 /You (.*) Nightweaver Unyn/i
matchre CDB_144 /You (.*) Nipoh Oshu/i
matchre CDB_145 /You (.*) Ochre La'heke/i
matchre CDB_146 /You (.*) Olensari Mihmanan/i
matchre CDB_147 /You (.*) Orc Bandit/i
matchre CDB_148 /You (.*) Orc Clan-Chief/i
matchre CDB_149 /You (.*) Orc Raider/i
matchre CDB_150 /You (.*) Orc Reiver/i
matchre CDB_151 /You (.*) Orc Scout/i
matchre CDB_152 /You (.*) Pale Grey Death Spirit/i
matchre CDB_153 /You (.*) Pale Grey Death Squirrel/i
matchre CDB_154 /You (.*) Par'i Heitak/i
matchre CDB_155 /You (.*) Peccary/i
matchre CDB_156 /You (.*) Pirate/i
matchre CDB_157 /You (.*) Piruati Serpent/i
matchre CDB_158 /You (.*) Poloh'izh/i
matchre CDB_159 /You (.*) Rat/i
matchre CDB_160 /You (.*) Retan Dolomar/i
matchre CDB_161 /You (.*) Retch Fiend/i
matchre CDB_162 /You (.*) Revenant Warrior/i
matchre CDB_163 /You (.*) Revenant Zombie/i
matchre CDB_164 /You (.*) Rhoat Moda/i
matchre CDB_165 /You (.*) Ring-necked Gidii/i
matchre CDB_166 /You (.*) River Boa/i
matchre CDB_167 /You (.*) River Caiman/i
matchre CDB_168 /You (.*) Robed Dragon Priest/i
matchre CDB_169 /You (.*) Robed Dragon Priestess/i
matchre CDB_170 /You (.*) Rock Guardian/i
matchre CDB_171 /You (.*) Rock Troll/i
matchre CDB_172 /You (.*) Rotting Deadwood Dryad/i
matchre CDB_173 /You (.*) Ruffian/i
matchre CDB_174 /You (.*) S'Kra Kor Shaman/i
matchre CDB_175 /You (.*) S'Kra Kor Villager/i
matchre CDB_176 /You (.*) S'Kra Kor Warrior/i
matchre CDB_177 /You (.*) S'lai Scout/i
matchre CDB_178 /You (.*) S'lai Screamer/i
matchre CDB_179 /You (.*) S'sugi Malchata/i
matchre CDB_180 /You (.*) Sabre-toothed Warcat/i
matchre CDB_181 /You (.*) Salt Crab/i
matchre CDB_182 /You (.*) Sand Spider/i
matchre CDB_183 /You (.*) Sand Sprite/i
matchre CDB_184 /You (.*) Scaly Seordmaor/i
matchre CDB_185 /You (.*) Scarlet Crayfish/i
matchre CDB_186 /You (.*) Scavenger Troll/i
matchre CDB_187 /You (.*) Scout Ogre/i
matchre CDB_188 /You (.*) Seordhevor Kartais/i
matchre CDB_189 /You (.*) Shadefield Eviscerator/i
matchre CDB_190 /You (.*) Shadow Master/i
matchre CDB_191 /You (.*) Shadoweaver/i
matchre CDB_192 /You (.*) Silver Leucro/i
matchre CDB_193 /You (.*) Gryphon/i
matchre CDB_194 /You (.*) Silverfish/i
matchre CDB_195 /You (.*) Sinister Maelshyvean Hierophant/i
matchre CDB_196 /You (.*) Sinuous Elsralael/i
matchre CDB_197 /You (.*) Skeletal Kobold Headhunter/i
matchre CDB_198 /You (.*) Skeletal Kobold Savage/i
matchre CDB_199 /You (.*) Skeletal Sailor/i
matchre CDB_200 /You (.*) Skunk/i
matchre CDB_201 /You (.*) Sky Giant/i
matchre CDB_202 /You (.*) Sleazy Lout/i
matchre CDB_203 /You (.*) Sleek Hele'la/i
matchre CDB_204 /You (.*) Small Boggle/i
matchre CDB_205 /You (.*) Small Crevice Worm/i
matchre CDB_206 /You (.*) Small Grendel/i
matchre CDB_207 /You (.*) Small Peccary/i
matchre CDB_208 /You (.*) Snaer Hafwa/i
matchre CDB_209 /You (.*) Snow Goblin/i
matchre CDB_210 /You (.*) Snowbeast/i
matchre CDB_211 /You (.*) Spectral Pirate/i
matchre CDB_212 /You (.*) Spiny Dyrachis/i
matchre CDB_213 /You (.*) Storm Bull/i
matchre CDB_214 /You (.*) Striped Badger/i
matchre CDB_215 /You (.*) Sun Vulture/i
matchre CDB_216 /You (.*) Supple Firecat/i
matchre CDB_217 /You (.*) Swamp Troll/i
matchre CDB_218 /You (.*) Telga Moradu/i
matchre CDB_219 /You (.*) Tenebraeling/i
matchre CDB_220 /You (.*) Thug/i
matchre CDB_221 /You (.*) Thunder Ram/i
matchre CDB_222 /You (.*) Tortured Soul/i
matchre CDB_223 /You (.*) Transparent Shylvic/i
matchre CDB_224 /You (.*) Trollkin/i
matchre CDB_225 /You (.*) Ur Hhrki'izh/i
matchre CDB_226 /You (.*) Vaporous Blood Wraith/i
matchre CDB_227 /You (.*) Vela'tohr Bloodvine/i
matchre CDB_228 /You (.*) Velakan Slaver/i
matchre CDB_229 /You (.*) Vengeful Shade/i
matchre CDB_230 /You (.*) Vicious Warcat/i
matchre CDB_231 /You (.*) Vile Plague Wraith/i
matchre CDB_232 /You (.*) Voidspawn/i
matchre CDB_233 /You (.*) Vykathi Builder/i
matchre CDB_234 /You (.*) Vykathi Excavator/i
matchre CDB_235 /You (.*) Vykathi Harvester/i
matchre CDB_236 /You (.*) Vykathi Reaper/i
matchre CDB_237 /You (.*) Vykathi Soldier/i
matchre CDB_238 /You (.*) War Mammoth/i
matchre CDB_239 /You (.*) Warklin Mauler/i
matchre CDB_240 /You (.*) Water Sprite/i
matchre CDB_241 /You (.*) Wild Boar/i
matchre CDB_242 /You (.*) Wind Hound/i
matchre CDB_243 /You (.*) Wir Dinego/i
matchre CDB_244 /You (.*) Wood Troll/i
matchre CDB_245 /You (.*) Wormwood Vine/i
matchre CDB_246 /You (.*) Writhing Maiden's Tress/i
matchre CDB_247 /You (.*) Young Desumos/i
matchre CDB_248 /You (.*) Young Firecat/i
matchre CDB_249 /You (.*) Young Forest Gryphon/i
matchre CDB_250 /You (.*) Young Ogre/i
matchre CDB_251 /You (.*) Yvhh La'tami/i
matchre CDB_252 /You (.*) Zombie Kobold Headhunter/i
matchre CDB_253 /You (.*) Zombie Kobold Savage/i
matchre CDB_254 /You (.*) Zombie Nomad/i
matchre CDB_255 /You (.*) Shadowy Black Death Spirit/i

matchre CDB_256 /You (.*) mutt/i
matchre CDB_257 /You (.*) peon/i
matchre CDB_258 /You (.*) prydaen/i
matchre CDB_259 /You (.*) rakash/i
matchre CDB_260 /You (.*) wasp/i
matchre CDB_261 /You (.*) suw bizar/i
matchre CDB_262 /You (.*) oaf/i
matchre CDB_263 /You (.*) beast/i



match SUB_CDB_ASSESS_GO_TABLE2 ...wait
match SUB_CDB_ASSESS_GO_TABLE2 You may only type ahead
match SUB_CDB_ASSESS_FAIL You glance
put assess
put glance
matchwait

SUB_CDB_ASSESS_FAIL:
	echo
	echo *************************************************************
	echo
	echo *** ATTENTION Critter not found in database
	echo
	echo Either it died in between a few milliseconds or its not in database
	echo
	echo Trying to continue
	echo
	echo Add critter to database via critter setup if error continues
	echo
	echo *************************************************************
	echo
	goto SUB_CDB_ASSESS_END

SUB_CDB_ASSESS_END:
	put release
	goto COUNT_CRITTER

#____________________________________________________________________SUB check critter by look
SUB_CDB_DEAD_CRITTER:
SUB_CDB_LOOK:



SUB_CDB_DEAD_CRITTER_GO_TABLE1:
pause %matchwaitpause
match CDB_MEM_1 %mendhunt_critter_memory_1 which appears dead
match CDB_MEM_2 %mendhunt_critter_memory_2 which appears dead
match CDB_MEM_3 %mendhunt_critter_memory_3 which appears dead
match CDB_01 %mendhunt_useradd_critter_1 which appears dead
match CDB_02 %mendhunt_useradd_critter_2 which appears dead
match CDB_03 %mendhunt_useradd_critter_3 which appears dead
match CDB_04 %mendhunt_useradd_critter_4 which appears dead
match CDB_05 %mendhunt_useradd_critter_5 which appears dead
match CDB_06 %mendhunt_useradd_critter_6 which appears dead
match SUB_CDB_DEAD_CRITTER_DARK you can't see a thing
match SUB_CDB_DEAD_CRITTER_GO_TABLE1 ...wait
match SUB_CDB_DEAD_CRITTER_GO_TABLE1 You may only type ahead
match SUB_CDB_DEAD_CRITTER_GO_TABLE2 Obvious paths
match SUB_CDB_DEAD_CRITTER_GO_TABLE2 Obvious exits
put look
matchwait



SUB_CDB_DEAD_CRITTER_GO_TABLE2:
pause %matchwaitpause
match CDB_MEM_1 %mendhunt_critter_memory_1 (dead)
match CDB_MEM_2 %mendhunt_critter_memory_2 (dead)
match CDB_MEM_3 %mendhunt_critter_memory_3 (dead)
match CDB_01 %mendhunt_useradd_critter_1 (dead)
match CDB_02 %mendhunt_useradd_critter_2 (dead)
match CDB_03 %mendhunt_useradd_critter_3 (dead)
match CDB_04 %mendhunt_useradd_critter_4 (dead)
match CDB_05 %mendhunt_useradd_critter_5 (dead)
match CDB_06 %mendhunt_useradd_critter_6 (dead)
match SUB_CDB_DEAD_CRITTER_DARK you can't see a thing
match SUB_CDB_DEAD_CRITTER_GO_TABLE2 ...wait
match SUB_CDB_DEAD_CRITTER_GO_TABLE2 You may only type ahead
match SUB_CDB_DEAD_CRITTER_GO_TABLE3 Obvious paths
match SUB_CDB_DEAD_CRITTER_GO_TABLE3 Obvious exits
put look
matchwait




SUB_CDB_DEAD_CRITTER_GO_TABLE3:
pause %matchwaitpause
match CDB_1 Adan'f Blood Warrior which appears dead
match CDB_2 Adan'f Shadow Mage which appears dead
match CDB_3 Adan'f Spirit Dancer which appears dead
match CDB_4 Adult Desert Armadillo which appears dead
match CDB_5 Alley Thug which appears dead
match CDB_6 Angiswaerd Hatchling which appears dead
match CDB_7 Antelope which appears dead
match CDB_8 Arbelog which appears dead
match CDB_9 Armored Shalswar which appears dead
match CDB_10 Armored Warklin which appears dead
match CDB_11 Asaren Celpeze which appears dead
match CDB_12 Atik'et which appears dead
match CDB_13 Banshee which appears dead
match CDB_14 Barghest which appears dead
match CDB_15 Bawdy Swain which appears dead
match CDB_16 Beisswurm which appears dead
match CDB_17 Bison which appears dead
match CDB_18 Black Ape which appears dead
match CDB_19 Black Bear which appears dead
match CDB_20 Black Goblin which appears dead
match CDB_21 Black Marble Gargoyle which appears dead
match CDB_22 Blight Ogre which appears dead
match CDB_23 Blood Dryad which appears dead
match CDB_24 Blood Nyad which appears dead
match CDB_25 Blood Wolf which appears dead
match CDB_26 Blue-belly Crocodile which appears dead
match CDB_27 Blue-green Pivuh which appears dead
match CDB_28 Blueclaw Sand Crab which appears dead
match CDB_29 Bobcat which appears dead
match CDB_30 Bone Wolf which appears dead
match CDB_31 Boobrie which appears dead
match CDB_32 Botuk Hei which appears dead
match CDB_33 Bristle-backed Peccary which appears dead
match CDB_34 Brown Bear which appears dead
match CDB_35 Brown Burrower which appears dead
match CDB_36 Caracal which appears dead
match CDB_37 Carnivorous Gelapod which appears dead
match CDB_38 Cave Bear which appears dead
match CDB_39 Cave Troll which appears dead
match CDB_40 Clouded Arzumos which appears dead
match CDB_41 Corpse Grub which appears dead
match CDB_42 Corsair which appears dead
match CDB_43 Cougar which appears dead
match CDB_44 Crag which appears dead
match CDB_45 Crazed Madman which appears dead
match CDB_46 Croff Pothanit which appears dead
match CDB_47 Crypt Fiend which appears dead
match CDB_48 Cutthroat which appears dead
match CDB_49 Cyan Mist which appears dead
match CDB_50 Damaska Boar which appears dead
match CDB_51 Dark Fiend which appears dead
match CDB_52 Dark Spirit which appears dead
match CDB_53 Dobek Moruryn which appears dead
match CDB_54 Dragon Priest Assassin which appears dead
match CDB_55 Dragon Priest Crone which appears dead
match CDB_56 Dragon Priest Fanatic which appears dead
match CDB_57 Dragon Priest Juggernaut which appears dead
match CDB_58 Dragon Priest Sentinel which appears dead
match CDB_59 Dragon Priest Zealot which appears dead
match CDB_60 Dusk Ogre which appears dead
match CDB_61 Dusky Scythewing Moth which appears dead
match CDB_62 Eidolon Steed which appears dead
match CDB_63 Elder Desert Armadillo which appears dead
match CDB_64 Emaciated Umbramagus which appears dead
match CDB_65 Faenrae Assassin which appears dead
match CDB_66 Faenrae Reaver which appears dead
match CDB_67 Faenrae Stalker which appears dead
match CDB_68 Fell Mage which appears dead
match CDB_69 Fendryad which appears dead
match CDB_70 Feral Bone Mastiff which appears dead
match CDB_71 Fire Maiden which appears dead
match CDB_72 Fire Sprite which appears dead
match CDB_73 Flame Weaver which appears dead
match CDB_74 Footpad which appears dead
match CDB_75 Forest Bandit which appears dead
match CDB_76 Forest Geni which appears dead
match CDB_77 Frost Angiswaerd which appears dead
match CDB_78 Frostweaver which appears dead
match CDB_79 Frostweyr Bear which appears dead
match CDB_80 Gargantuan Bone Golem which appears dead
match CDB_81 Gargantuan Korograth which appears dead
match CDB_82 Gelv Cyclops which appears dead
match CDB_83 Ghoul which appears dead
match CDB_84 Giant Black Leucro which appears dead
match CDB_85 Giant Blade Spider which appears dead
match CDB_86 Giant Blight Bat which appears dead
match CDB_87 Giant Thicket Viper which appears dead
match CDB_88 Giant Wolf Spider which appears dead
match CDB_89 Glistening Scythewing Larva which appears dead
match CDB_90 Glutinous Lipopod which appears dead
match CDB_91 Goblin which appears dead
match CDB_92 Goblin Shaman which appears dead
match CDB_93 Golden Pard which appears dead
match CDB_94 Granite Gargoyle which appears dead
match CDB_95 Grass Eel which appears dead
match CDB_96 Grave Worm which appears dead
match CDB_97 Greater Shadow Hound which appears dead
match CDB_98 Greater Skeleton which appears dead
match CDB_99 Greater Sluagh which appears dead
match CDB_100 Grizzled Red Leucro which appears dead
match CDB_101 Gypsy Marauder which appears dead
match CDB_102 Heggarangi Boar which appears dead
match CDB_103 Heggarangi Frog which appears dead
match CDB_104 Icy Blue Ghast which appears dead
match CDB_105 Immature Firecat which appears dead
match CDB_106 Inkhorne which appears dead
match CDB_107 Jackal which appears dead
match CDB_108 Jaguar which appears dead
match CDB_109 Juvenile Desert Armadillo which appears dead
match CDB_110 Kather Shaman which appears dead
match CDB_111 Kather Warrior which appears dead
match CDB_112 Kather Watcher which appears dead
match CDB_113 Kelpie which appears dead
match CDB_114 Kobold which appears dead
match CDB_115 Kra'hei which appears dead
match CDB_116 Kra'hei Hatchling which appears dead
match CDB_117 Lanky Grey Lach which appears dead
match CDB_118 Lesser Dusky-Scaled Basilisk which appears dead
match CDB_119 Lesser Shadow Hound which appears dead
match CDB_120 Lesser Skeleton which appears dead
match CDB_121 Lesser Sluagh which appears dead
match CDB_122 Long-fanged Warcat which appears dead
match CDB_123 Lun'Shele Hunter which appears dead
match CDB_124 Lun'Shele Trekhalo which appears dead
match CDB_125 Maelshyvean Cinder Beast which appears dead
match CDB_126 Maelshyvean Shadow Beast which appears dead
match CDB_127 Mage's Construct which appears dead
match CDB_128 Malodorous Tommyknocker which appears dead
match CDB_129 Marbled Angiswaerd which appears dead
match CDB_130 Meadow Ram which appears dead
match CDB_131 Medium Crevice Worm which appears dead
match CDB_132 Merrows which appears dead
match CDB_133 Mimic which appears dead
match CDB_134 Misshapen Germish'din which appears dead
match CDB_135 Morah Vine which appears dead
match CDB_135b Morah Creeper which appears dead
match CDB_136 Moss Mey which appears dead
match CDB_137 Mottled Westanuryn which appears dead
match CDB_138 Mountain Giant which appears dead
match CDB_139 Muscular Firecat which appears dead
match CDB_140 Musk Hog which appears dead
match CDB_141 Nightreaver Unyn which appears dead
match CDB_142 Nightstalker Unyn which appears dead
match CDB_143 Nightweaver Unyn which appears dead
match CDB_144 Nipoh Oshu which appears dead
match CDB_145 Ochre La'heke which appears dead
match CDB_146 Olensari Mihmanan which appears dead
match CDB_147 Orc Bandit which appears dead
match CDB_148 Orc Clan-Chief which appears dead
match CDB_149 Orc Raider which appears dead
match CDB_150 Orc Reiver which appears dead
match CDB_151 Orc Scout which appears dead
match CDB_152 Pale Grey Death Spirit which appears dead
match CDB_153 Pale Grey Death Squirrel which appears dead
match CDB_154 Par'i Heitak which appears dead
match CDB_155 Peccary which appears dead
match CDB_156 Pirate which appears dead
match CDB_157 Piruati Serpent which appears dead
match CDB_158 Poloh'izh which appears dead
match CDB_159 Rat which appears dead
match CDB_160 Retan Dolomar which appears dead
match CDB_161 Retch Fiend which appears dead
match CDB_162 Revenant Warrior which appears dead
match CDB_163 Revenant Zombie which appears dead
match CDB_164 Rhoat Moda which appears dead
match CDB_165 Ring-necked Gidii which appears dead
match CDB_166 River Boa which appears dead
match CDB_167 River Caiman which appears dead
match CDB_168 Robed Dragon Priest which appears dead
match CDB_169 Robed Dragon Priestess which appears dead
match CDB_170 Rock Guardian which appears dead
match CDB_171 Rock Troll which appears dead
match CDB_172 Rotting Deadwood Dryad which appears dead
match CDB_173 Ruffian which appears dead
match CDB_174 S'Kra Kor Shaman which appears dead
match CDB_175 S'Kra Kor Villager which appears dead
match CDB_176 S'Kra Kor Warrior which appears dead
match CDB_177 S'lai Scout which appears dead
match CDB_178 S'lai Screamer which appears dead
match CDB_179 S'sugi Malchata which appears dead
match CDB_180 Sabre-toothed Warcat which appears dead
match CDB_181 Salt Crab which appears dead
match CDB_182 Sand Spider which appears dead
match CDB_183 Sand Sprite which appears dead
match CDB_184 Scaly Seordmaor which appears dead
match CDB_185 Scarlet Crayfish which appears dead
match CDB_186 Scavenger Troll which appears dead
match CDB_187 Scout Ogre which appears dead
match CDB_188 Seordhevor Kartais which appears dead
match CDB_189 Shadefield Eviscerator which appears dead
match CDB_190 Shadow Master which appears dead
match CDB_191 Shadoweaver which appears dead
match CDB_192 Silver Leucro which appears dead
match CDB_193 Gryphon which appears dead
match CDB_194 Silverfish which appears dead
match CDB_195 Sinister Maelshyvean Hierophant which appears dead
match CDB_196 Sinuous Elsralael which appears dead
match CDB_197 Skeletal Kobold Headhunter which appears dead
match CDB_198 Skeletal Kobold Savage which appears dead
match CDB_199 Skeletal Sailor which appears dead
match CDB_200 Skunk which appears dead
match CDB_201 Sky Giant which appears dead
match CDB_202 Sleazy Lout which appears dead
match CDB_203 Sleek Hele'la which appears dead
match CDB_204 Small Boggle which appears dead
match CDB_205 Small Crevice Worm which appears dead
match CDB_206 Small Grendel which appears dead
match CDB_207 Small Peccary which appears dead
match CDB_208 Snaer Hafwa which appears dead
match CDB_209 Snow Goblin which appears dead
match CDB_210 Snowbeast which appears dead
match CDB_211 Spectral Pirate which appears dead
match CDB_212 Spiny Dyrachis which appears dead
match CDB_213 Storm Bull which appears dead
match CDB_214 Striped Badger which appears dead
match CDB_215 Sun Vulture which appears dead
match CDB_216 Supple Firecat which appears dead
match CDB_217 Swamp Troll which appears dead
match CDB_218 Telga Moradu which appears dead
match CDB_219 Tenebraeling which appears dead
match CDB_220 Thug which appears dead
match CDB_221 Thunder Ram which appears dead
match CDB_222 Tortured Soul which appears dead
match CDB_223 Transparent Shylvic which appears dead
match CDB_224 Trollkin which appears dead
match CDB_225 Ur Hhrki'izh which appears dead
match CDB_226 Vaporous Blood Wraith which appears dead
match CDB_227 Vela'tohr Bloodvine which appears dead
match CDB_228 Velakan Slaver which appears dead
match CDB_229 Vengeful Shade which appears dead
match CDB_230 Vicious Warcat which appears dead
match CDB_231 Vile Plague Wraith which appears dead
match CDB_232 Voidspawn which appears dead
match CDB_233 Vykathi Builder which appears dead
match CDB_234 Vykathi Excavator which appears dead
match CDB_235 Vykathi Harvester which appears dead
match CDB_236 Vykathi Reaper which appears dead
match CDB_237 Vykathi Soldier which appears dead
match CDB_238 War Mammoth which appears dead
match CDB_239 Warklin Mauler which appears dead
match CDB_240 Water Sprite which appears dead
match CDB_241 Wild Boar which appears dead
match CDB_242 Wind Hound which appears dead
match CDB_243 Wir Dinego which appears dead
match CDB_244 Wood Troll which appears dead
match CDB_245 Wormwood Vine which appears dead
match CDB_246 Writhing Maiden's Tress which appears dead
match CDB_247 Young Desumos which appears dead
match CDB_248 Young Firecat which appears dead
match CDB_249 Young Forest Gryphon which appears dead
match CDB_250 Young Ogre which appears dead
match CDB_251 Yvhh La'tami which appears dead
match CDB_252 Zombie Kobold Headhunter which appears dead
match CDB_253 Zombie Kobold Savage which appears dead
match CDB_254 Zombie Nomad which appears dead
match CDB_255 Shadowy Black Death Spirit which appears dead


match CDB_256 mutt which appears dead
match CDB_257 peon which appears dead
match CDB_258 prydaen which appears dead
match CDB_259 rakash which appears dead
match CDB_260 wasp which appears dead
match CDB_261 suw bizar which appears dead
match CDB_262 oaf which appears dead
match CDB_263 beast which appears dead




match SUB_CDB_DEAD_CRITTER_DARK you can't see a thing
match SUB_CDB_DEAD_CRITTER_GO_TABLE3 ...wait
match SUB_CDB_DEAD_CRITTER_GO_TABLE3 You may only type ahead
match SUB_CDB_DEAD_CRITTER_GO_TABLE4 Obvious paths
match SUB_CDB_DEAD_CRITTER_GO_TABLE4 Obvious exits
put look
matchwait


SUB_CDB_DEAD_CRITTER_GO_TABLE4:
pause %matchwaitpause
match CDB_1 Adan'f Blood Warrior (dead)
match CDB_2 Adan'f Shadow Mage (dead)
match CDB_3 Adan'f Spirit Dancer (dead)
match CDB_4 Adult Desert Armadillo (dead)
match CDB_5 Alley Thug (dead)
match CDB_6 Angiswaerd Hatchling (dead)
match CDB_7 Antelope (dead)
match CDB_8 Arbelog (dead)
match CDB_9 Armored Shalswar (dead)
match CDB_10 Armored Warklin (dead)
match CDB_11 Asaren Celpeze (dead)
match CDB_12 Atik'et (dead)
match CDB_13 Banshee (dead)
match CDB_14 Barghest (dead)
match CDB_15 Bawdy Swain (dead)
match CDB_16 Beisswurm (dead)
match CDB_17 Bison (dead)
match CDB_18 Black Ape (dead)
match CDB_19 Black Bear (dead)
match CDB_20 Black Goblin (dead)
match CDB_21 Black Marble Gargoyle (dead)
match CDB_22 Blight Ogre (dead)
match CDB_23 Blood Dryad (dead)
match CDB_24 Blood Nyad (dead)
match CDB_25 Blood Wolf (dead)
match CDB_26 Blue-belly Crocodile (dead)
match CDB_27 Blue-green Pivuh (dead)
match CDB_28 Blueclaw Sand Crab (dead)
match CDB_29 Bobcat (dead)
match CDB_30 Bone Wolf (dead)
match CDB_31 Boobrie (dead)
match CDB_32 Botuk Hei (dead)
match CDB_33 Bristle-backed Peccary (dead)
match CDB_34 Brown Bear (dead)
match CDB_35 Brown Burrower (dead)
match CDB_36 Caracal (dead)
match CDB_37 Carnivorous Gelapod (dead)
match CDB_38 Cave Bear (dead)
match CDB_39 Cave Troll (dead)
match CDB_40 Clouded Arzumos (dead)
match CDB_41 Corpse Grub (dead)
match CDB_42 Corsair (dead)
match CDB_43 Cougar (dead)
match CDB_44 Crag (dead)
match CDB_45 Crazed Madman (dead)
match CDB_46 Croff Pothanit (dead)
match CDB_47 Crypt Fiend (dead)
match CDB_48 Cutthroat (dead)
match CDB_49 Cyan Mist (dead)
match CDB_50 Damaska Boar (dead)
match CDB_51 Dark Fiend (dead)
match CDB_52 Dark Spirit (dead)
match CDB_53 Dobek Moruryn (dead)
match CDB_54 Dragon Priest Assassin (dead)
match CDB_55 Dragon Priest Crone (dead)
match CDB_56 Dragon Priest Fanatic (dead)
match CDB_57 Dragon Priest Juggernaut (dead)
match CDB_58 Dragon Priest Sentinel (dead)
match CDB_59 Dragon Priest Zealot (dead)
match CDB_60 Dusk Ogre (dead)
match CDB_61 Dusky Scythewing Moth (dead)
match CDB_62 Eidolon Steed (dead)
match CDB_63 Elder Desert Armadillo (dead)
match CDB_64 Emaciated Umbramagus (dead)
match CDB_65 Faenrae Assassin (dead)
match CDB_66 Faenrae Reaver (dead)
match CDB_67 Faenrae Stalker (dead)
match CDB_68 Fell Mage (dead)
match CDB_69 Fendryad (dead)
match CDB_70 Feral Bone Mastiff (dead)
match CDB_71 Fire Maiden (dead)
match CDB_72 Fire Sprite (dead)
match CDB_73 Flame Weaver (dead)
match CDB_74 Footpad (dead)
match CDB_75 Forest Bandit (dead)
match CDB_76 Forest Geni (dead)
match CDB_77 Frost Angiswaerd (dead)
match CDB_78 Frostweaver (dead)
match CDB_79 Frostweyr Bear (dead)
match CDB_80 Gargantuan Bone Golem (dead)
match CDB_81 Gargantuan Korograth (dead)
match CDB_82 Gelv Cyclops (dead)
match CDB_83 Ghoul (dead)
match CDB_84 Giant Black Leucro (dead)
match CDB_85 Giant Blade Spider (dead)
match CDB_86 Giant Blight Bat (dead)
match CDB_87 Giant Thicket Viper (dead)
match CDB_88 Giant Wolf Spider (dead)
match CDB_89 Glistening Scythewing Larva (dead)
match CDB_90 Glutinous Lipopod (dead)
match CDB_91 Goblin (dead)
match CDB_92 Goblin Shaman (dead)
match CDB_93 Golden Pard (dead)
match CDB_94 Granite Gargoyle (dead)
match CDB_95 Grass Eel (dead)
match CDB_96 Grave Worm (dead)
match CDB_97 Greater Shadow Hound (dead)
match CDB_98 Greater Skeleton (dead)
match CDB_99 Greater Sluagh (dead)
match CDB_100 Grizzled Red Leucro (dead)
match CDB_101 Gypsy Marauder (dead)
match CDB_102 Heggarangi Boar (dead)
match CDB_103 Heggarangi Frog (dead)
match CDB_104 Icy Blue Ghast (dead)
match CDB_105 Immature Firecat (dead)
match CDB_106 Inkhorne (dead)
match CDB_107 Jackal (dead)
match CDB_108 Jaguar (dead)
match CDB_109 Juvenile Desert Armadillo (dead)
match CDB_110 Kather Shaman (dead)
match CDB_111 Kather Warrior (dead)
match CDB_112 Kather Watcher (dead)
match CDB_113 Kelpie (dead)
match CDB_114 Kobold (dead)
match CDB_115 Kra'hei (dead)
match CDB_116 Kra'hei Hatchling (dead)
match CDB_117 Lanky Grey Lach (dead)
match CDB_118 Lesser Dusky-Scaled Basilisk (dead)
match CDB_119 Lesser Shadow Hound (dead)
match CDB_120 Lesser Skeleton (dead)
match CDB_121 Lesser Sluagh (dead)
match CDB_122 Long-fanged Warcat (dead)
match CDB_123 Lun'Shele Hunter (dead)
match CDB_124 Lun'Shele Trekhalo (dead)
match CDB_125 Maelshyvean Cinder Beast (dead)
match CDB_126 Maelshyvean Shadow Beast (dead)
match CDB_127 Mage's Construct (dead)
match CDB_128 Malodorous Tommyknocker (dead)
match CDB_129 Marbled Angiswaerd (dead)
match CDB_130 Meadow Ram (dead)
match CDB_131 Medium Crevice Worm (dead)
match CDB_132 Merrows (dead)
match CDB_133 Mimic (dead)
match CDB_134 Misshapen Germish'din (dead)
match CDB_135 Morah Vine (dead)
match CDB_135b Morah Creeper (dead)
match CDB_136 Moss Mey (dead)
match CDB_137 Mottled Westanuryn (dead)
match CDB_138 Mountain Giant (dead)
match CDB_139 Muscular Firecat (dead)
match CDB_140 Musk Hog (dead)
match CDB_141 Nightreaver Unyn (dead)
match CDB_142 Nightstalker Unyn (dead)
match CDB_143 Nightweaver Unyn (dead)
match CDB_144 Nipoh Oshu (dead)
match CDB_145 Ochre La'heke (dead)
match CDB_146 Olensari Mihmanan (dead)
match CDB_147 Orc Bandit (dead)
match CDB_148 Orc Clan-Chief (dead)
match CDB_149 Orc Raider (dead)
match CDB_150 Orc Reiver (dead)
match CDB_151 Orc Scout (dead)
match CDB_152 Pale Grey Death Spirit (dead)
match CDB_153 Pale Grey Death Squirrel (dead)
match CDB_154 Par'i Heitak (dead)
match CDB_155 Peccary (dead)
match CDB_156 Pirate (dead)
match CDB_157 Piruati Serpent (dead)
match CDB_158 Poloh'izh (dead)
match CDB_159 Rat (dead)
match CDB_160 Retan Dolomar (dead)
match CDB_161 Retch Fiend (dead)
match CDB_162 Revenant Warrior (dead)
match CDB_163 Revenant Zombie (dead)
match CDB_164 Rhoat Moda (dead)
match CDB_165 Ring-necked Gidii (dead)
match CDB_166 River Boa (dead)
match CDB_167 River Caiman (dead)
match CDB_168 Robed Dragon Priest (dead)
match CDB_169 Robed Dragon Priestess (dead)
match CDB_170 Rock Guardian (dead)
match CDB_171 Rock Troll (dead)
match CDB_172 Rotting Deadwood Dryad (dead)
match CDB_173 Ruffian (dead)
match CDB_174 S'Kra Kor Shaman (dead)
match CDB_175 S'Kra Kor Villager (dead)
match CDB_176 S'Kra Kor Warrior (dead)
match CDB_177 S'lai Scout (dead)
match CDB_178 S'lai Screamer (dead)
match CDB_179 S'sugi Malchata (dead)
match CDB_180 Sabre-toothed Warcat (dead)
match CDB_181 Salt Crab (dead)
match CDB_182 Sand Spider (dead)
match CDB_183 Sand Sprite (dead)
match CDB_184 Scaly Seordmaor (dead)
match CDB_185 Scarlet Crayfish (dead)
match CDB_186 Scavenger Troll (dead)
match CDB_187 Scout Ogre (dead)
match CDB_188 Seordhevor Kartais (dead)
match CDB_189 Shadefield Eviscerator (dead)
match CDB_190 Shadow Master (dead)
match CDB_191 Shadoweaver (dead)
match CDB_192 Silver Leucro (dead)
match CDB_193 Gryphon (dead)
match CDB_194 Silverfish (dead)
match CDB_195 Sinister Maelshyvean Hierophant (dead)
match CDB_196 Sinuous Elsralael (dead)
match CDB_197 Skeletal Kobold Headhunter (dead)
match CDB_198 Skeletal Kobold Savage (dead)
match CDB_199 Skeletal Sailor (dead)
match CDB_200 Skunk (dead)
match CDB_201 Sky Giant (dead)
match CDB_202 Sleazy Lout (dead)
match CDB_203 Sleek Hele'la (dead)
match CDB_204 Small Boggle (dead)
match CDB_205 Small Crevice Worm (dead)
match CDB_206 Small Grendel (dead)
match CDB_207 Small Peccary (dead)
match CDB_208 Snaer Hafwa (dead)
match CDB_209 Snow Goblin (dead)
match CDB_210 Snowbeast (dead)
match CDB_211 Spectral Pirate (dead)
match CDB_212 Spiny Dyrachis (dead)
match CDB_213 Storm Bull (dead)
match CDB_214 Striped Badger (dead)
match CDB_215 Sun Vulture (dead)
match CDB_216 Supple Firecat (dead)
match CDB_217 Swamp Troll (dead)
match CDB_218 Telga Moradu (dead)
match CDB_219 Tenebraeling (dead)
match CDB_220 Thug (dead)
match CDB_221 Thunder Ram (dead)
match CDB_222 Tortured Soul (dead)
match CDB_223 Transparent Shylvic (dead)
match CDB_224 Trollkin (dead)
match CDB_225 Ur Hhrki'izh (dead)
match CDB_226 Vaporous Blood Wraith (dead)
match CDB_227 Vela'tohr Bloodvine (dead)
match CDB_228 Velakan Slaver (dead)
match CDB_229 Vengeful Shade (dead)
match CDB_230 Vicious Warcat (dead)
match CDB_231 Vile Plague Wraith (dead)
match CDB_232 Voidspawn (dead)
match CDB_233 Vykathi Builder (dead)
match CDB_234 Vykathi Excavator (dead)
match CDB_235 Vykathi Harvester (dead)
match CDB_236 Vykathi Reaper (dead)
match CDB_237 Vykathi Soldier (dead)
match CDB_238 War Mammoth (dead)
match CDB_239 Warklin Mauler (dead)
match CDB_240 Water Sprite (dead)
match CDB_241 Wild Boar (dead)
match CDB_242 Wind Hound (dead)
match CDB_243 Wir Dinego (dead)
match CDB_244 Wood Troll (dead)
match CDB_245 Wormwood Vine (dead)
match CDB_246 Writhing Maiden's Tress (dead)
match CDB_247 Young Desumos (dead)
match CDB_248 Young Firecat (dead)
match CDB_249 Young Forest Gryphon (dead)
match CDB_250 Young Ogre (dead)
match CDB_251 Yvhh La'tami (dead)
match CDB_252 Zombie Kobold Headhunter (dead)
match CDB_253 Zombie Kobold Savage (dead)
match CDB_254 Zombie Nomad (dead)
match CDB_255 Shadowy Black Death Spirit (dead)

match CDB_256 mutt (dead)
match CDB_257 peon (dead)
match CDB_258 prydaen (dead)
match CDB_259 rakash (dead)
match CDB_260 wasp (dead)
match CDB_261 suw bizar (dead)
match CDB_262 oaf (dead)
match CDB_263 beast (dead)

match SUB_CDB_DEAD_CRITTER_DARK you can't see a thing
match SUB_CDB_DEAD_CRITTER_GO_TABLE4 ...wait
match SUB_CDB_DEAD_CRITTER_GO_TABLE4 You may only type ahead
match SUB_CDB_DEAD_CRITTER_FAIL Obvious paths
match SUB_CDB_DEAD_CRITTER_FAIL Obvious exits
put look
matchwait



SUB_CDB_DEAD_CRITTER_DARK:
	echo
	echo *** It's too dark, need light
	echo
	goto SUB_CDB_DEAD_CRITTER_END

SUB_CDB_DEAD_CRITTER_FAIL:
	echo
	echo *************************************************************
	echo
	echo *** ATTENTION Critter not found in database
	echo
	echo Either it died or left in between a few milliseconds or its not in database
	echo
	echo Trying to continue
	echo
	echo Add critter to database via critter setup if error continues
	echo
	echo *************************************************************
	echo
	goto SUB_CDB_DEAD_CRITTER_END

SUB_CDB_DEAD_CRITTER_END:
	goto SUBRETURN_%subreturnflag

#____________________________________________________________________SUB check critter matchreturn

CDB_MEM_1:
setvariable critter_active %mendhunt_critter_memory_1
goto SUBRETURN_%subreturnflag
CDB_MEM_2:
setvariable critter_active %mendhunt_critter_memory_2
goto SUBRETURN_%subreturnflag
CDB_MEM_3:
setvariable critter_active %mendhunt_critter_memory_3
goto SUBRETURN_%subreturnflag


CDB_01: 
setvariable critter_active %mendhunt_useradd_critter_1
goto SUB_CDB_END
CDB_02:
setvariable critter_active %mendhunt_useradd_critter_2
goto SUB_CDB_END
CDB_03:
setvariable critter_active %mendhunt_useradd_critter_3
goto SUB_CDB_END
CDB_04:
setvariable critter_active %mendhunt_useradd_critter_4
goto SUB_CDB_END
CDB_05:
setvariable critter_active %mendhunt_useradd_critter_5
goto SUB_CDB_END
CDB_06:
setvariable critter_active %mendhunt_useradd_critter_6
goto SUB_CDB_END


CDB_1:
setvariable critter_active Warrior
goto SUB_CDB_END
CDB_2:
setvariable critter_active Mage
goto SUB_CDB_END
CDB_3:
setvariable critter_active Dancer
goto SUB_CDB_END
CDB_4:
setvariable critter_active Armadillo
goto SUB_CDB_END
CDB_5:
setvariable critter_active Alley Thug
goto SUB_CDB_END
CDB_6:
setvariable critter_active Angiswaerd Hatchling
goto SUB_CDB_END
CDB_7:
setvariable critter_active Antelope
goto SUB_CDB_END
CDB_8:
setvariable critter_active Arbelog
goto SUB_CDB_END
CDB_9:
setvariable critter_active Armored Shalswar
goto SUB_CDB_END
CDB_10:
setvariable critter_active Armored Warklin
goto SUB_CDB_END
CDB_11:
setvariable critter_active Asaren Celpeze
goto SUB_CDB_END
CDB_12:
setvariable critter_active Atik'et
goto SUB_CDB_END
CDB_13:
setvariable critter_active Banshee
goto SUB_CDB_END
CDB_14:
setvariable critter_active Barghest
goto SUB_CDB_END
CDB_15:
setvariable critter_active Bawdy Swain
goto SUB_CDB_END
CDB_16:
setvariable critter_active Beisswurm
goto SUB_CDB_END
CDB_17:
setvariable critter_active Bison
goto SUB_CDB_END
CDB_18:
setvariable critter_active Black Ape
goto SUB_CDB_END
CDB_19:
setvariable critter_active Black Bear
goto SUB_CDB_END
CDB_20:
setvariable critter_active Black Goblin
goto SUB_CDB_END
CDB_21:
setvariable critter_active Gargoyle
goto SUB_CDB_END
CDB_22:
setvariable critter_active Blight Ogre
goto SUB_CDB_END
CDB_23:
setvariable critter_active Blood Dryad
goto SUB_CDB_END
CDB_24:
setvariable critter_active Blood Nyad
goto SUB_CDB_END
CDB_25:
setvariable critter_active Blood Wolf
goto SUB_CDB_END
CDB_26:
setvariable critter_active Blue-belly Crocodile
goto SUB_CDB_END
CDB_27:
setvariable critter_active Blue-green Pivuh
goto SUB_CDB_END
CDB_28:
setvariable critter_active Crab
goto SUB_CDB_END
CDB_29:
setvariable critter_active Bobcat
goto SUB_CDB_END
CDB_30:
setvariable critter_active Bone Wolf
goto SUB_CDB_END
CDB_31:
setvariable critter_active Boobrie
goto SUB_CDB_END
CDB_32:
setvariable critter_active Botuk Hei
goto SUB_CDB_END
CDB_33:
setvariable critter_active Bristle-backed Peccary
goto SUB_CDB_END
CDB_34:
setvariable critter_active Brown Bear
goto SUB_CDB_END
CDB_35:
setvariable critter_active Brown Burrower
goto SUB_CDB_END
CDB_36:
setvariable critter_active Caracal
goto SUB_CDB_END
CDB_37:
setvariable critter_active Carnivorous Gelapod
goto SUB_CDB_END
CDB_38:
setvariable critter_active Cave Bear
goto SUB_CDB_END
CDB_39:
setvariable critter_active Cave Troll
goto SUB_CDB_END
CDB_40:
setvariable critter_active Clouded Arzumos
goto SUB_CDB_END
CDB_41:
setvariable critter_active Corpse Grub
goto SUB_CDB_END
CDB_42:
setvariable critter_active Corsair
goto SUB_CDB_END
CDB_43:
setvariable critter_active Cougar
goto SUB_CDB_END
CDB_44:
setvariable critter_active Crag
goto SUB_CDB_END
CDB_45:
setvariable critter_active Crazed Madman
goto SUB_CDB_END
CDB_46:
setvariable critter_active Croff Pothanit
goto SUB_CDB_END
CDB_47:
setvariable critter_active Crypt Fiend
goto SUB_CDB_END
CDB_48:
setvariable critter_active Cutthroat
goto SUB_CDB_END
CDB_49:
setvariable critter_active Cyan Mist
goto SUB_CDB_END
CDB_50:
setvariable critter_active Damaska Boar
goto SUB_CDB_END
CDB_51:
setvariable critter_active Dark Fiend
goto SUB_CDB_END
CDB_52:
setvariable critter_active Dark Spirit
goto SUB_CDB_END
CDB_53:
setvariable critter_active Dobek Moruryn
goto SUB_CDB_END
CDB_54:
setvariable critter_active Assassin
goto SUB_CDB_END
CDB_55:
setvariable critter_active Crone
goto SUB_CDB_END
CDB_56:
setvariable critter_active Fanatic
goto SUB_CDB_END
CDB_57:
setvariable critter_active Juggernaut
goto SUB_CDB_END
CDB_58:
setvariable critter_active Sentinel
goto SUB_CDB_END
CDB_59:
setvariable critter_active Zealot
goto SUB_CDB_END
CDB_60:
setvariable critter_active Dusk Ogre
goto SUB_CDB_END
CDB_61:
setvariable critter_active Moth
goto SUB_CDB_END
CDB_62:
setvariable critter_active Eidolon Steed
goto SUB_CDB_END
CDB_63:
setvariable critter_active Armadillo
goto SUB_CDB_END
CDB_64:
setvariable critter_active Emaciated Umbramagus
goto SUB_CDB_END
CDB_65:
setvariable critter_active Faenrae Assassin
goto SUB_CDB_END
CDB_66:
setvariable critter_active Faenrae Reaver
goto SUB_CDB_END
CDB_67:
setvariable critter_active Faenrae Stalker
goto SUB_CDB_END
CDB_68:
setvariable critter_active Fell Mage
goto SUB_CDB_END
CDB_69:
setvariable critter_active Fendryad
goto SUB_CDB_END
CDB_70:
setvariable critter_active Mastiff
goto SUB_CDB_END
CDB_71:
setvariable critter_active Fire Maiden
goto SUB_CDB_END
CDB_72:
setvariable critter_active Fire Sprite
goto SUB_CDB_END
CDB_73:
setvariable critter_active Flame Weaver
goto SUB_CDB_END
CDB_74:
setvariable critter_active Footpad
goto SUB_CDB_END
CDB_75:
setvariable critter_active Forest Bandit
goto SUB_CDB_END
CDB_76:
setvariable critter_active Forest Geni
goto SUB_CDB_END
CDB_77:
setvariable critter_active Frost Angiswaerd
goto SUB_CDB_END
CDB_78:
setvariable critter_active Frostweaver
goto SUB_CDB_END
CDB_79:
setvariable critter_active Frostweyr Bear
goto SUB_CDB_END
CDB_80:
setvariable critter_active Golem
goto SUB_CDB_END
CDB_81:
setvariable critter_active Gargantuan Korograth
goto SUB_CDB_END
CDB_82:
setvariable critter_active Gelv Cyclops
goto SUB_CDB_END
CDB_83:
setvariable critter_active Ghoul
goto SUB_CDB_END
CDB_84:
setvariable critter_active Leucro
goto SUB_CDB_END
CDB_85:
setvariable critter_active Spider
goto SUB_CDB_END
CDB_86:
setvariable critter_active Bat
goto SUB_CDB_END
CDB_87:
setvariable critter_active Viper
goto SUB_CDB_END
CDB_88:
setvariable critter_active Spider
goto SUB_CDB_END
CDB_89:
setvariable critter_active Larva
goto SUB_CDB_END
CDB_90:
setvariable critter_active Glutinous Lipopod
goto SUB_CDB_END
CDB_91:
setvariable critter_active Goblin
goto SUB_CDB_END
CDB_92:
setvariable critter_active Goblin Shaman
goto SUB_CDB_END
CDB_93:
setvariable critter_active Golden Pard
goto SUB_CDB_END
CDB_94:
setvariable critter_active Granite Gargoyle
goto SUB_CDB_END
CDB_95:
setvariable critter_active Grass Eel
goto SUB_CDB_END
CDB_96:
setvariable critter_active Grave Worm
goto SUB_CDB_END
CDB_97:
setvariable critter_active Hound
goto SUB_CDB_END
CDB_98:
setvariable critter_active Greater Skeleton
goto SUB_CDB_END
CDB_99:
setvariable critter_active Greater Sluagh
goto SUB_CDB_END
CDB_100:
setvariable critter_active Leucro
goto SUB_CDB_END
CDB_101:
setvariable critter_active Gypsy Marauder
goto SUB_CDB_END
CDB_102:
setvariable critter_active Heggarangi Boar
goto SUB_CDB_END
CDB_103:
setvariable critter_active Heggarangi Frog
goto SUB_CDB_END
CDB_104:
setvariable critter_active Icy Blue Ghast
goto SUB_CDB_END
CDB_105:
setvariable critter_active Immature Firecat
goto SUB_CDB_END
CDB_106:
setvariable critter_active Inkhorne
goto SUB_CDB_END
CDB_107:
setvariable critter_active Jackal
goto SUB_CDB_END
CDB_108:
setvariable critter_active Jaguar
goto SUB_CDB_END
CDB_109:
setvariable critter_active Armadillo
goto SUB_CDB_END
CDB_110:
setvariable critter_active Kather Shaman
goto SUB_CDB_END
CDB_111:
setvariable critter_active Kather Warrior
goto SUB_CDB_END
CDB_112:
setvariable critter_active Kather Watcher
goto SUB_CDB_END
CDB_113:
setvariable critter_active Kelpie
goto SUB_CDB_END
CDB_114:
setvariable critter_active Kobold
goto SUB_CDB_END
CDB_115:
setvariable critter_active Kra'hei
goto SUB_CDB_END
CDB_116:
setvariable critter_active Kra'hei Hatchling
goto SUB_CDB_END
CDB_117:
setvariable critter_active Lach
goto SUB_CDB_END
CDB_118:
setvariable critter_active Basilisk
goto SUB_CDB_END
CDB_119:
setvariable critter_active Hound
goto SUB_CDB_END
CDB_120:
setvariable critter_active Lesser Skeleton
goto SUB_CDB_END
CDB_121:
setvariable critter_active Lesser Sluagh
goto SUB_CDB_END
CDB_122:
setvariable critter_active Long-fanged Warcat
goto SUB_CDB_END
CDB_123:
setvariable critter_active Lun'Shele Hunter
goto SUB_CDB_END
CDB_124:
setvariable critter_active Lun'Shele Trekhalo
goto SUB_CDB_END
CDB_125:
setvariable critter_active Cinder Beast
goto SUB_CDB_END
CDB_126:
setvariable critter_active Shadow Beast
goto SUB_CDB_END
CDB_127:
setvariable critter_active Mage's Construct
goto SUB_CDB_END
CDB_128:
setvariable critter_active Malodorous Tommyknocker
goto SUB_CDB_END
CDB_129:
setvariable critter_active Marbled Angiswaerd
goto SUB_CDB_END
CDB_130:
setvariable critter_active Meadow Ram
goto SUB_CDB_END
CDB_131:
setvariable critter_active Worm
goto SUB_CDB_END
CDB_132:
setvariable critter_active Merrows
goto SUB_CDB_END
CDB_133:
setvariable critter_active Mimic
goto SUB_CDB_END
CDB_134:
setvariable critter_active Misshapen Germish'din
goto SUB_CDB_END
CDB_135:
setvariable critter_active Morah Vine
goto SUB_CDB_END
CDB_135b:
setvariable critter_active Morah Creeper
goto SUB_CDB_END
CDB_136:
setvariable critter_active Moss Mey
goto SUB_CDB_END
CDB_137:
setvariable critter_active Mottled Westanuryn
goto SUB_CDB_END
CDB_138:
setvariable critter_active Mountain Giant
goto SUB_CDB_END
CDB_139:
setvariable critter_active Muscular Firecat
goto SUB_CDB_END
CDB_140:
setvariable critter_active Musk Hog
goto SUB_CDB_END
CDB_141:
setvariable critter_active Nightreaver Unyn
goto SUB_CDB_END
CDB_142:
setvariable critter_active Nightstalker Unyn 
goto SUB_CDB_END
CDB_143:
setvariable critter_active Nightweaver Unyn
goto SUB_CDB_END
CDB_144:
setvariable critter_active Nipoh Oshu
goto SUB_CDB_END
CDB_145:
setvariable critter_active Ochre La'heke
goto SUB_CDB_END
CDB_146:
setvariable critter_active Olensari Mihmanan
goto SUB_CDB_END
CDB_147:
setvariable critter_active Orc Bandit
goto SUB_CDB_END
CDB_148:
setvariable critter_active Orc Clan-Chief
goto SUB_CDB_END
CDB_149:
setvariable critter_active Orc Raider
goto SUB_CDB_END
CDB_150:
setvariable critter_active Orc Reiver
goto SUB_CDB_END
CDB_151:
setvariable critter_active Orc Scout
goto SUB_CDB_END
CDB_152:
setvariable critter_active Spirit
goto SUB_CDB_END
CDB_153:
setvariable critter_active Squirrel
goto SUB_CDB_END
CDB_154:
setvariable critter_active Par'i Heitak
goto SUB_CDB_END
CDB_155:
setvariable critter_active Peccary
goto SUB_CDB_END
CDB_156:
setvariable critter_active Pirate
goto SUB_CDB_END
CDB_157:
setvariable critter_active Piruati Serpent
goto SUB_CDB_END
CDB_158:
setvariable critter_active Poloh'izh
goto SUB_CDB_END
CDB_159:
setvariable critter_active Rat
goto SUB_CDB_END
CDB_160:
setvariable critter_active Retan Dolomar
goto SUB_CDB_END
CDB_161:
setvariable critter_active Retch Fiend
goto SUB_CDB_END
CDB_162:
setvariable critter_active Revenant Warrior
goto SUB_CDB_END
CDB_163:
setvariable critter_active Revenant Zombie
goto SUB_CDB_END
CDB_164:
setvariable critter_active Rhoat Moda
goto SUB_CDB_END
CDB_165:
setvariable critter_active Ring-necked Gidii
goto SUB_CDB_END
CDB_166:
setvariable critter_active River Boa
goto SUB_CDB_END
CDB_167:
setvariable critter_active River Caiman
goto SUB_CDB_END
CDB_168:
setvariable critter_active Priest
goto SUB_CDB_END
CDB_169:
setvariable critter_active Priestess
goto SUB_CDB_END
CDB_170:
setvariable critter_active Rock Guardian
goto SUB_CDB_END
CDB_171:
setvariable critter_active Rock Troll
goto SUB_CDB_END
CDB_172:
setvariable critter_active Dryad
goto SUB_CDB_END
CDB_173:
setvariable critter_active Ruffian
goto SUB_CDB_END
CDB_174:
setvariable critter_active Shaman
goto SUB_CDB_END
CDB_175:
setvariable critter_active Villager
goto SUB_CDB_END
CDB_176:
setvariable critter_active Warrior
goto SUB_CDB_END
CDB_177:
setvariable critter_active S'lai Scout
goto SUB_CDB_END
CDB_178:
setvariable critter_active S'lai Screamer
goto SUB_CDB_END
CDB_179:
setvariable critter_active S'sugi Malchata
goto SUB_CDB_END
CDB_180:
setvariable critter_active Sabre-toothed Warcat
goto SUB_CDB_END
CDB_181:
setvariable critter_active Salt Crab
goto SUB_CDB_END
CDB_182:
setvariable critter_active Sand Spider
goto SUB_CDB_END
CDB_183:
setvariable critter_active Sand Sprite
goto SUB_CDB_END
CDB_184:
setvariable critter_active Scaly Seordmaor
goto SUB_CDB_END
CDB_185:
setvariable critter_active Scarlet Crayfish
goto SUB_CDB_END
CDB_186:
setvariable critter_active Scavenger Troll
goto SUB_CDB_END
CDB_187:
setvariable critter_active Scout Ogre
goto SUB_CDB_END
CDB_188:
setvariable critter_active Seordhevor Kartais
goto SUB_CDB_END
CDB_189:
setvariable critter_active Shadefield Eviscerator
goto SUB_CDB_END
CDB_190:
setvariable critter_active Shadow Master
goto SUB_CDB_END
CDB_191:
setvariable critter_active Shadoweaver
goto SUB_CDB_END
CDB_192:
setvariable critter_active Silver Leucro
goto SUB_CDB_END
CDB_193:
setvariable critter_active Gryphon
goto SUB_CDB_END
CDB_194:
setvariable critter_active Silverfish
goto SUB_CDB_END
CDB_195:
setvariable critter_active Hierophant
goto SUB_CDB_END
CDB_196:
setvariable critter_active Sinuous Elsralael
goto SUB_CDB_END
CDB_197:
setvariable critter_active Headhunter
goto SUB_CDB_END
CDB_198:
setvariable critter_active Savage
goto SUB_CDB_END
CDB_199:
setvariable critter_active Skeletal Sailor
goto SUB_CDB_END
CDB_200:
setvariable critter_active Skunk
goto SUB_CDB_END
CDB_201:
setvariable critter_active Sky Giant
goto SUB_CDB_END
CDB_202:
setvariable critter_active Sleazy Lout
goto SUB_CDB_END
CDB_203:
setvariable critter_active Sleek Hele'la
goto SUB_CDB_END
CDB_204:
setvariable critter_active Small Boggle
goto SUB_CDB_END
CDB_205:
setvariable critter_active Worm
goto SUB_CDB_END
CDB_206:
setvariable critter_active Small Grendel
goto SUB_CDB_END
CDB_207:
setvariable critter_active Small Peccary
goto SUB_CDB_END
CDB_208:
setvariable critter_active Snaer Hafwa 
goto SUB_CDB_END
CDB_209:
setvariable critter_active Snow Goblin
goto SUB_CDB_END
CDB_210:
setvariable critter_active Snowbeast
goto SUB_CDB_END
CDB_211:
setvariable critter_active Spectral Pirate
goto SUB_CDB_END
CDB_212:
setvariable critter_active Spiny Dyrachis
goto SUB_CDB_END
CDB_213:
setvariable critter_active Storm Bull
goto SUB_CDB_END
CDB_214:
setvariable critter_active Striped Badger
goto SUB_CDB_END
CDB_215:
setvariable critter_active Sun Vulture
goto SUB_CDB_END
CDB_216:
setvariable critter_active Supple Firecat 
goto SUB_CDB_END
CDB_217:
setvariable critter_active Swamp Troll
goto SUB_CDB_END
CDB_218:
setvariable critter_active Telga Moradu
goto SUB_CDB_END
CDB_219:
setvariable critter_active Tenebraeling
goto SUB_CDB_END
CDB_220:
setvariable critter_active Thug
goto SUB_CDB_END
CDB_221:
setvariable critter_active Thunder Ram
goto SUB_CDB_END
CDB_222:
setvariable critter_active Tortured Soul
goto SUB_CDB_END
CDB_223:
setvariable critter_active Transparent Shylvic
goto SUB_CDB_END
CDB_224:
setvariable critter_active Trollkin
goto SUB_CDB_END
CDB_225:
setvariable critter_active Ur Hhrki'izh
goto SUB_CDB_END
CDB_226:
setvariable critter_active Wraith
goto SUB_CDB_END
CDB_227:
setvariable critter_active Vela'tohr Bloodvine
goto SUB_CDB_END
CDB_228:
setvariable critter_active Velakan Slaver
goto SUB_CDB_END
CDB_229:
setvariable critter_active Vengeful Shade
goto SUB_CDB_END
CDB_230:
setvariable critter_active Vicious Warcat
goto SUB_CDB_END
CDB_231:
setvariable critter_active Wraith
goto SUB_CDB_END
CDB_232:
setvariable critter_active Voidspawn
goto SUB_CDB_END
CDB_233:
setvariable critter_active Vykathi Builder
goto SUB_CDB_END
CDB_234:
setvariable critter_active Vykathi Excavator
goto SUB_CDB_END
CDB_235:
setvariable critter_active Vykathi Harvester
goto SUB_CDB_END
CDB_236:
setvariable critter_active Vykathi Reaper
goto SUB_CDB_END
CDB_237:
setvariable critter_active Vykathi Soldier
goto SUB_CDB_END
CDB_238:
setvariable critter_active War Mammoth
goto SUB_CDB_END
CDB_239:
setvariable critter_active Warklin Mauler
goto SUB_CDB_END
CDB_240:
setvariable critter_active Water Sprite
goto SUB_CDB_END
CDB_241:
setvariable critter_active Wild Boar
goto SUB_CDB_END
CDB_242:
setvariable critter_active Wind Hound
goto SUB_CDB_END
CDB_243:
setvariable critter_active Wir Dinego
goto SUB_CDB_END
CDB_244:
setvariable critter_active Wood Troll
goto SUB_CDB_END
CDB_245:
setvariable critter_active Wormwood Vine
goto SUB_CDB_END
CDB_246:
setvariable critter_active Tress
goto SUB_CDB_END
CDB_247:
setvariable critter_active Young Desumos
goto SUB_CDB_END
CDB_248:
setvariable critter_active Young Firecat
goto SUB_CDB_END
CDB_249:
setvariable critter_active Gryphon
goto SUB_CDB_END
CDB_250:
setvariable critter_active Young Ogre
goto SUB_CDB_END
CDB_251:
setvariable critter_active Yvhh La'tami
goto SUB_CDB_END
CDB_252:
setvariable critter_active Headhunter
goto SUB_CDB_END
CDB_253:
setvariable critter_active Savage
goto SUB_CDB_END
CDB_254:
setvariable critter_active Zombie Nomad
goto SUB_CDB_END
CDB_255:
setvariable critter_active Spirit
goto SUB_CDB_END


CDB_256:
setvariable critter_active mutt
goto SUB_CDB_END
CDB_257:
setvariable critter_active peon
goto SUB_CDB_END
CDB_258:
setvariable critter_active prydaen
goto SUB_CDB_END
CDB_259:
setvariable critter_active rakash
goto SUB_CDB_END
CDB_260:
setvariable critter_active wasp
goto SUB_CDB_END
CDB_261:
setvariable critter_active bizar
goto SUB_CDB_END
CDB_262:
setvariable critter_active oaf
goto SUB_CDB_END
CDB_263:
setvariable critter_active beast
goto SUB_CDB_END




#____________________________________________________________________SUB check critter end
SUB_CDB_END:

echo
echo *** critter memory is being set
echo


	setvariable temp_critter_memory_1 %mendhunt_critter_memory_1
	setvariable temp_critter_memory_2 %mendhunt_critter_memory_2
	setvariable temp_critter_memory_3 %mendhunt_critter_memory_3
	setvariable mendhunt_critter_memory_1 %critter_active
	setvariable mendhunt_critter_memory_2 %temp_critter_memory_1
	setvariable mendhunt_critter_memory_3 %temp_critter_memory_2

	goto SUBRETURN_%subreturnflag


#############################################################################
###########################    COMMAND SECTION    ###########################
#############################################################################

SETUP_START:

	IF_1 goto COMMANDLINE_JUMP
	goto SETUP_HELP

COMMANDLINE_JUMP:
	goto %1

#-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*
HELP:
	goto SETUP_HELP
#-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*
MENU:
	goto SETUP_MAIN_MENU

#-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*
MULTI:
	IF_2 goto MULTI_CHECK_MULTI_SWITCH_TEST

MULTI_ERROR:
	echo
	echo *************************************************************
	echo
	echo *** Wrong usage
	echo
	echo Restart with .mendhunt multi <#>
	echo where <#> is the weapon slot you want to start with (1 to 6)
	echo
	echo Exiting script
	echo
	echo *************************************************************
	echo
	goto END_SCRIPT

MULTI_CHECK_MULTI_SWITCH_TEST:
		goto MULTI_CHECK_MULTI_SWITCH_TEST_%mendhunt_weapon_style_multi_test
	MULTI_CHECK_MULTI_SWITCH_TEST_ON:
		goto MULTI_GO
	MULTI_CHECK_MULTI_SWITCH_TEST_OFF:
		goto MULTI_ERROR2

MULTI_ERROR2:
	echo
	echo *************************************************************
	echo
	echo *** Weapon style is not set to use multiple weapons
	echo
	echo Go to armament menu and set weapon usage to MULTI first
	echo
	echo Exiting script
	echo
	echo *************************************************************
	echo
	goto END_SCRIPT

MULTI_GO:
	setvariable switchnum %2
	goto HUNT_START

#-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*
ARM:
ARMS:
ARMAMENT:
ARMAMENTS:
#.mendhunt arm [main|slot#] [class|slotoff]

	goto ARM_%2

ARM_MAIN:
	setvariable slot main
	goto ARM_JUMPED
ARM_1:
	setvariable slot 1
	goto ARM_JUMPED
ARM_2:
	setvariable slot 2
	goto ARM_JUMPED
ARM_3:
	setvariable slot 3
	goto ARM_JUMPED
ARM_4:
	setvariable slot 4
	goto ARM_JUMPED
ARM_5:
	setvariable slot 5
	goto ARM_JUMPED
ARM_6:
	setvariable slot 6
	goto ARM_JUMPED

ARM_JUMPED:

	goto ARM_%3

ARM_LE:
	setvariable mendhunt_weapon_name_%slot %mendhunt_weapon_name_LE
	setvariable mendhunt_weapon_class_%slot %mendhunt_weapon_class_LE
	setvariable mendhunt_weapon_type_%slot %mendhunt_weapon_type_LE
	setvariable mendhunt_weapon_combo_%slot %mendhunt_weapon_combo_LE
	setvariable mendhunt_weapon_combo_1_%slot %mendhunt_weapon_combo_1_LE
	setvariable mendhunt_weapon_combo_2_%slot %mendhunt_weapon_combo_2_LE
	setvariable mendhunt_weapon_combo_3_%slot %mendhunt_weapon_combo_3_LE
	setvariable mendhunt_weapon_combo_4_%slot %mendhunt_weapon_combo_4_LE
	setvariable mendhunt_weapon_combo_5_%slot %mendhunt_weapon_combo_5_LE
	setvariable mendhunt_weapon_combo_6_%slot %mendhunt_weapon_combo_6_LE
	setvariable mendhunt_weapon_combo_7_%slot %mendhunt_weapon_combo_7_LE
	setvariable mendhunt_weapon_combo_8_%slot %mendhunt_weapon_combo_8_LE
	setvariable mendhunt_weapon_ammo_%slot %mendhunt_weapon_ammo_LE
	setvariable mendhunt_weapon_shield_use_%slot %mendhunt_weapon_shield_use_LE
	setvariable mendhunt_weapon_shield_name_%slot %mendhunt_weapon_shield_name_LE
	setvariable mendhunt_weapon_stance_focus_%slot %mendhunt_weapon_stance_focus_LE
	goto ARMEND
ARM_ME:
	setvariable mendhunt_weapon_name_%slot %mendhunt_weapon_name_ME
	setvariable mendhunt_weapon_class_%slot %mendhunt_weapon_class_ME
	setvariable mendhunt_weapon_type_%slot %mendhunt_weapon_type_ME
	setvariable mendhunt_weapon_combo_%slot %mendhunt_weapon_combo_ME
	setvariable mendhunt_weapon_combo_1_%slot %mendhunt_weapon_combo_1_ME
	setvariable mendhunt_weapon_combo_2_%slot %mendhunt_weapon_combo_2_ME
	setvariable mendhunt_weapon_combo_3_%slot %mendhunt_weapon_combo_3_ME
	setvariable mendhunt_weapon_combo_4_%slot %mendhunt_weapon_combo_4_ME
	setvariable mendhunt_weapon_combo_5_%slot %mendhunt_weapon_combo_5_ME
	setvariable mendhunt_weapon_combo_6_%slot %mendhunt_weapon_combo_6_ME
	setvariable mendhunt_weapon_combo_7_%slot %mendhunt_weapon_combo_7_ME
	setvariable mendhunt_weapon_combo_8_%slot %mendhunt_weapon_combo_8_ME
	setvariable mendhunt_weapon_ammo_%slot %mendhunt_weapon_ammo_ME
	setvariable mendhunt_weapon_shield_use_%slot %mendhunt_weapon_shield_use_ME
	setvariable mendhunt_weapon_shield_name_%slot %mendhunt_weapon_shield_name_ME
	setvariable mendhunt_weapon_stance_focus_%slot %mendhunt_weapon_stance_focus_ME
	goto ARMEND
ARM_HE:
	setvariable mendhunt_weapon_name_%slot %mendhunt_weapon_name_HE
	setvariable mendhunt_weapon_class_%slot %mendhunt_weapon_class_HE
	setvariable mendhunt_weapon_type_%slot %mendhunt_weapon_type_HE
	setvariable mendhunt_weapon_combo_%slot %mendhunt_weapon_combo_HE
	setvariable mendhunt_weapon_combo_1_%slot %mendhunt_weapon_combo_1_HE
	setvariable mendhunt_weapon_combo_2_%slot %mendhunt_weapon_combo_2_HE
	setvariable mendhunt_weapon_combo_3_%slot %mendhunt_weapon_combo_3_HE
	setvariable mendhunt_weapon_combo_4_%slot %mendhunt_weapon_combo_4_HE
	setvariable mendhunt_weapon_combo_5_%slot %mendhunt_weapon_combo_5_HE
	setvariable mendhunt_weapon_combo_6_%slot %mendhunt_weapon_combo_6_HE
	setvariable mendhunt_weapon_combo_7_%slot %mendhunt_weapon_combo_7_HE
	setvariable mendhunt_weapon_combo_8_%slot %mendhunt_weapon_combo_8_HE
	setvariable mendhunt_weapon_ammo_%slot %mendhunt_weapon_ammo_HE
	setvariable mendhunt_weapon_shield_use_%slot %mendhunt_weapon_shield_use_HE
	setvariable mendhunt_weapon_shield_name_%slot %mendhunt_weapon_shield_name_HE
	setvariable mendhunt_weapon_stance_focus_%slot %mendhunt_weapon_stance_focus_HE
	goto ARMEND
ARM_2HE:
	setvariable mendhunt_weapon_name_%slot %mendhunt_weapon_name_2HE
	setvariable mendhunt_weapon_class_%slot %mendhunt_weapon_class_2HE
	setvariable mendhunt_weapon_type_%slot %mendhunt_weapon_type_2HE
	setvariable mendhunt_weapon_combo_%slot %mendhunt_weapon_combo_2HE
	setvariable mendhunt_weapon_combo_1_%slot %mendhunt_weapon_combo_1_2HE
	setvariable mendhunt_weapon_combo_2_%slot %mendhunt_weapon_combo_2_2HE
	setvariable mendhunt_weapon_combo_3_%slot %mendhunt_weapon_combo_3_2HE
	setvariable mendhunt_weapon_combo_4_%slot %mendhunt_weapon_combo_4_2HE
	setvariable mendhunt_weapon_combo_5_%slot %mendhunt_weapon_combo_5_2HE
	setvariable mendhunt_weapon_combo_6_%slot %mendhunt_weapon_combo_6_2HE
	setvariable mendhunt_weapon_combo_7_%slot %mendhunt_weapon_combo_7_2HE
	setvariable mendhunt_weapon_combo_8_%slot %mendhunt_weapon_combo_8_2HE
	setvariable mendhunt_weapon_ammo_%slot %mendhunt_weapon_ammo_2HE
	setvariable mendhunt_weapon_shield_use_%slot %mendhunt_weapon_shield_use_2HE
	setvariable mendhunt_weapon_shield_name_%slot %mendhunt_weapon_shield_name_2HE
	setvariable mendhunt_weapon_stance_focus_%slot %mendhunt_weapon_stance_focus_2HE
	goto ARMEND
ARM_LB:
	setvariable mendhunt_weapon_name_%slot %mendhunt_weapon_name_LB
	setvariable mendhunt_weapon_class_%slot %mendhunt_weapon_class_LB
	setvariable mendhunt_weapon_type_%slot %mendhunt_weapon_type_LB
	setvariable mendhunt_weapon_combo_%slot %mendhunt_weapon_combo_LB
	setvariable mendhunt_weapon_combo_1_%slot %mendhunt_weapon_combo_1_LB
	setvariable mendhunt_weapon_combo_2_%slot %mendhunt_weapon_combo_2_LB
	setvariable mendhunt_weapon_combo_3_%slot %mendhunt_weapon_combo_3_LB
	setvariable mendhunt_weapon_combo_4_%slot %mendhunt_weapon_combo_4_LB
	setvariable mendhunt_weapon_combo_5_%slot %mendhunt_weapon_combo_5_LB
	setvariable mendhunt_weapon_combo_6_%slot %mendhunt_weapon_combo_6_LB
	setvariable mendhunt_weapon_combo_7_%slot %mendhunt_weapon_combo_7_LB
	setvariable mendhunt_weapon_combo_8_%slot %mendhunt_weapon_combo_8_LB
	setvariable mendhunt_weapon_ammo_%slot %mendhunt_weapon_ammo_LB
	setvariable mendhunt_weapon_shield_use_%slot %mendhunt_weapon_shield_use_LB
	setvariable mendhunt_weapon_shield_name_%slot %mendhunt_weapon_shield_name_LB
	setvariable mendhunt_weapon_stance_focus_%slot %mendhunt_weapon_stance_focus_LB
	goto ARMEND
ARM_MB:
	setvariable mendhunt_weapon_name_%slot %mendhunt_weapon_name_MB
	setvariable mendhunt_weapon_class_%slot %mendhunt_weapon_class_MB
	setvariable mendhunt_weapon_type_%slot %mendhunt_weapon_type_MB
	setvariable mendhunt_weapon_combo_%slot %mendhunt_weapon_combo_MB
	setvariable mendhunt_weapon_combo_1_%slot %mendhunt_weapon_combo_1_MB
	setvariable mendhunt_weapon_combo_2_%slot %mendhunt_weapon_combo_2_MB
	setvariable mendhunt_weapon_combo_3_%slot %mendhunt_weapon_combo_3_MB
	setvariable mendhunt_weapon_combo_4_%slot %mendhunt_weapon_combo_4_MB
	setvariable mendhunt_weapon_combo_5_%slot %mendhunt_weapon_combo_5_MB
	setvariable mendhunt_weapon_combo_6_%slot %mendhunt_weapon_combo_6_MB
	setvariable mendhunt_weapon_combo_7_%slot %mendhunt_weapon_combo_7_MB
	setvariable mendhunt_weapon_combo_8_%slot %mendhunt_weapon_combo_8_MB
	setvariable mendhunt_weapon_ammo_%slot %mendhunt_weapon_ammo_MB
	setvariable mendhunt_weapon_shield_use_%slot %mendhunt_weapon_shield_use_MB
	setvariable mendhunt_weapon_shield_name_%slot %mendhunt_weapon_shield_name_MB
	setvariable mendhunt_weapon_stance_focus_%slot %mendhunt_weapon_stance_focus_MB
	goto ARMEND
ARM_HB:
	setvariable mendhunt_weapon_name_%slot %mendhunt_weapon_name_HB
	setvariable mendhunt_weapon_class_%slot %mendhunt_weapon_class_HB
	setvariable mendhunt_weapon_type_%slot %mendhunt_weapon_type_HB
	setvariable mendhunt_weapon_combo_%slot %mendhunt_weapon_combo_HB
	setvariable mendhunt_weapon_combo_1_%slot %mendhunt_weapon_combo_1_HB
	setvariable mendhunt_weapon_combo_2_%slot %mendhunt_weapon_combo_2_HB
	setvariable mendhunt_weapon_combo_3_%slot %mendhunt_weapon_combo_3_HB
	setvariable mendhunt_weapon_combo_4_%slot %mendhunt_weapon_combo_4_HB
	setvariable mendhunt_weapon_combo_5_%slot %mendhunt_weapon_combo_5_HB
	setvariable mendhunt_weapon_combo_6_%slot %mendhunt_weapon_combo_6_HB
	setvariable mendhunt_weapon_combo_7_%slot %mendhunt_weapon_combo_7_HB
	setvariable mendhunt_weapon_combo_8_%slot %mendhunt_weapon_combo_8_HB
	setvariable mendhunt_weapon_ammo_%slot %mendhunt_weapon_ammo_HB
	setvariable mendhunt_weapon_shield_use_%slot %mendhunt_weapon_shield_use_HB
	setvariable mendhunt_weapon_shield_name_%slot %mendhunt_weapon_shield_name_HB
	setvariable mendhunt_weapon_stance_focus_%slot %mendhunt_weapon_stance_focus_HB
	goto ARMEND
ARM_2HB:
	setvariable mendhunt_weapon_name_%slot %mendhunt_weapon_name_2HB
	setvariable mendhunt_weapon_class_%slot %mendhunt_weapon_class_2HB
	setvariable mendhunt_weapon_type_%slot %mendhunt_weapon_type_2HB
	setvariable mendhunt_weapon_combo_%slot %mendhunt_weapon_combo_2HB
	setvariable mendhunt_weapon_combo_1_%slot %mendhunt_weapon_combo_1_2HB
	setvariable mendhunt_weapon_combo_2_%slot %mendhunt_weapon_combo_2_2HB
	setvariable mendhunt_weapon_combo_3_%slot %mendhunt_weapon_combo_3_2HB
	setvariable mendhunt_weapon_combo_4_%slot %mendhunt_weapon_combo_4_2HB
	setvariable mendhunt_weapon_combo_5_%slot %mendhunt_weapon_combo_5_2HB
	setvariable mendhunt_weapon_combo_6_%slot %mendhunt_weapon_combo_6_2HB
	setvariable mendhunt_weapon_combo_7_%slot %mendhunt_weapon_combo_7_2HB
	setvariable mendhunt_weapon_combo_8_%slot %mendhunt_weapon_combo_8_2HB
	setvariable mendhunt_weapon_ammo_%slot %mendhunt_weapon_ammo_2HB
	setvariable mendhunt_weapon_shield_use_%slot %mendhunt_weapon_shield_use_2HB
	setvariable mendhunt_weapon_shield_name_%slot %mendhunt_weapon_shield_name_2HB
	setvariable mendhunt_weapon_stance_focus_%slot %mendhunt_weapon_stance_focus_2HB
	goto ARMEND
ARM_SL:
	setvariable mendhunt_weapon_name_%slot %mendhunt_weapon_name_SL
	setvariable mendhunt_weapon_class_%slot %mendhunt_weapon_class_SL
	setvariable mendhunt_weapon_type_%slot %mendhunt_weapon_type_SL
	setvariable mendhunt_weapon_combo_%slot %mendhunt_weapon_combo_SL
	setvariable mendhunt_weapon_combo_1_%slot %mendhunt_weapon_combo_1_SL
	setvariable mendhunt_weapon_combo_2_%slot %mendhunt_weapon_combo_2_SL
	setvariable mendhunt_weapon_combo_3_%slot %mendhunt_weapon_combo_3_SL
	setvariable mendhunt_weapon_combo_4_%slot %mendhunt_weapon_combo_4_SL
	setvariable mendhunt_weapon_combo_5_%slot %mendhunt_weapon_combo_5_SL
	setvariable mendhunt_weapon_combo_6_%slot %mendhunt_weapon_combo_6_SL
	setvariable mendhunt_weapon_combo_7_%slot %mendhunt_weapon_combo_7_SL
	setvariable mendhunt_weapon_combo_8_%slot %mendhunt_weapon_combo_8_SL
	setvariable mendhunt_weapon_ammo_%slot %mendhunt_weapon_ammo_SL
	setvariable mendhunt_weapon_shield_use_%slot %mendhunt_weapon_shield_use_SL
	setvariable mendhunt_weapon_shield_name_%slot %mendhunt_weapon_shield_name_SL
	setvariable mendhunt_weapon_stance_focus_%slot %mendhunt_weapon_stance_focus_SL
	goto ARMEND
ARM_STAFFSLING:
	setvariable mendhunt_weapon_name_%slot %mendhunt_weapon_name_STAFFSLING
	setvariable mendhunt_weapon_class_%slot %mendhunt_weapon_class_STAFFSLING
	setvariable mendhunt_weapon_type_%slot %mendhunt_weapon_type_STAFFSLING
	setvariable mendhunt_weapon_combo_%slot %mendhunt_weapon_combo_STAFFSLING
	setvariable mendhunt_weapon_combo_1_%slot %mendhunt_weapon_combo_1_STAFFSLING
	setvariable mendhunt_weapon_combo_2_%slot %mendhunt_weapon_combo_2_STAFFSLING
	setvariable mendhunt_weapon_combo_3_%slot %mendhunt_weapon_combo_3_STAFFSLING
	setvariable mendhunt_weapon_combo_4_%slot %mendhunt_weapon_combo_4_STAFFSLING
	setvariable mendhunt_weapon_combo_5_%slot %mendhunt_weapon_combo_5_STAFFSLING
	setvariable mendhunt_weapon_combo_6_%slot %mendhunt_weapon_combo_6_STAFFSLING
	setvariable mendhunt_weapon_combo_7_%slot %mendhunt_weapon_combo_7_STAFFSLING
	setvariable mendhunt_weapon_combo_8_%slot %mendhunt_weapon_combo_8_STAFFSLING
	setvariable mendhunt_weapon_ammo_%slot %mendhunt_weapon_ammo_STAFFSLING
	setvariable mendhunt_weapon_shield_use_%slot %mendhunt_weapon_shield_use_STAFFSLING
	setvariable mendhunt_weapon_shield_name_%slot %mendhunt_weapon_shield_name_STAFFSLING
	setvariable mendhunt_weapon_stance_focus_%slot %mendhunt_weapon_stance_focus_STAFFSLING
	goto ARMEND
ARM_SB:
	setvariable mendhunt_weapon_name_%slot %mendhunt_weapon_name_SB
	setvariable mendhunt_weapon_class_%slot %mendhunt_weapon_class_SB
	setvariable mendhunt_weapon_type_%slot %mendhunt_weapon_type_SB
	setvariable mendhunt_weapon_combo_%slot %mendhunt_weapon_combo_SB
	setvariable mendhunt_weapon_combo_1_%slot %mendhunt_weapon_combo_1_SB
	setvariable mendhunt_weapon_combo_2_%slot %mendhunt_weapon_combo_2_SB
	setvariable mendhunt_weapon_combo_3_%slot %mendhunt_weapon_combo_3_SB
	setvariable mendhunt_weapon_combo_4_%slot %mendhunt_weapon_combo_4_SB
	setvariable mendhunt_weapon_combo_5_%slot %mendhunt_weapon_combo_5_SB
	setvariable mendhunt_weapon_combo_6_%slot %mendhunt_weapon_combo_6_SB
	setvariable mendhunt_weapon_combo_7_%slot %mendhunt_weapon_combo_7_SB
	setvariable mendhunt_weapon_combo_8_%slot %mendhunt_weapon_combo_8_SB
	setvariable mendhunt_weapon_ammo_%slot %mendhunt_weapon_ammo_SB
	setvariable mendhunt_weapon_shield_use_%slot %mendhunt_weapon_shield_use_SB
	setvariable mendhunt_weapon_shield_name_%slot %mendhunt_weapon_shield_name_SB
	setvariable mendhunt_weapon_stance_focus_%slot %mendhunt_weapon_stance_focus_SB
	goto ARMEND
ARM_LOB:
	setvariable mendhunt_weapon_name_%slot %mendhunt_weapon_name_LOB
	setvariable mendhunt_weapon_class_%slot %mendhunt_weapon_class_LOB
	setvariable mendhunt_weapon_type_%slot %mendhunt_weapon_type_LOB
	setvariable mendhunt_weapon_combo_%slot %mendhunt_weapon_combo_LOB
	setvariable mendhunt_weapon_combo_1_%slot %mendhunt_weapon_combo_1_LOB
	setvariable mendhunt_weapon_combo_2_%slot %mendhunt_weapon_combo_2_LOB
	setvariable mendhunt_weapon_combo_3_%slot %mendhunt_weapon_combo_3_LOB
	setvariable mendhunt_weapon_combo_4_%slot %mendhunt_weapon_combo_4_LOB
	setvariable mendhunt_weapon_combo_5_%slot %mendhunt_weapon_combo_5_LOB
	setvariable mendhunt_weapon_combo_6_%slot %mendhunt_weapon_combo_6_LOB
	setvariable mendhunt_weapon_combo_7_%slot %mendhunt_weapon_combo_7_LOB
	setvariable mendhunt_weapon_combo_8_%slot %mendhunt_weapon_combo_8_LOB
	setvariable mendhunt_weapon_ammo_%slot %mendhunt_weapon_ammo_LOB
	setvariable mendhunt_weapon_shield_use_%slot %mendhunt_weapon_shield_use_LOB
	setvariable mendhunt_weapon_shield_name_%slot %mendhunt_weapon_shield_name_LOB
	setvariable mendhunt_weapon_stance_focus_%slot %mendhunt_weapon_stance_focus_LOB
	goto ARMEND
ARM_CB:
	setvariable mendhunt_weapon_name_%slot %mendhunt_weapon_name_CB
	setvariable mendhunt_weapon_class_%slot %mendhunt_weapon_class_CB
	setvariable mendhunt_weapon_type_%slot %mendhunt_weapon_type_CB
	setvariable mendhunt_weapon_combo_%slot %mendhunt_weapon_combo_CB
	setvariable mendhunt_weapon_combo_1_%slot %mendhunt_weapon_combo_1_CB
	setvariable mendhunt_weapon_combo_2_%slot %mendhunt_weapon_combo_2_CB
	setvariable mendhunt_weapon_combo_3_%slot %mendhunt_weapon_combo_3_CB
	setvariable mendhunt_weapon_combo_4_%slot %mendhunt_weapon_combo_4_CB
	setvariable mendhunt_weapon_combo_5_%slot %mendhunt_weapon_combo_5_CB
	setvariable mendhunt_weapon_combo_6_%slot %mendhunt_weapon_combo_6_CB
	setvariable mendhunt_weapon_combo_7_%slot %mendhunt_weapon_combo_7_CB
	setvariable mendhunt_weapon_combo_8_%slot %mendhunt_weapon_combo_8_CB
	setvariable mendhunt_weapon_ammo_%slot %mendhunt_weapon_ammo_CB
	setvariable mendhunt_weapon_shield_use_%slot %mendhunt_weapon_shield_use_CB
	setvariable mendhunt_weapon_shield_name_%slot %mendhunt_weapon_shield_name_CB
	setvariable mendhunt_weapon_stance_focus_%slot %mendhunt_weapon_stance_focus_CB
	goto ARMEND
ARM_LX:
	setvariable mendhunt_weapon_name_%slot %mendhunt_weapon_name_LX
	setvariable mendhunt_weapon_class_%slot %mendhunt_weapon_class_LX
	setvariable mendhunt_weapon_type_%slot %mendhunt_weapon_type_LX
	setvariable mendhunt_weapon_combo_%slot %mendhunt_weapon_combo_LX
	setvariable mendhunt_weapon_combo_1_%slot %mendhunt_weapon_combo_1_LX
	setvariable mendhunt_weapon_combo_2_%slot %mendhunt_weapon_combo_2_LX
	setvariable mendhunt_weapon_combo_3_%slot %mendhunt_weapon_combo_3_LX
	setvariable mendhunt_weapon_combo_4_%slot %mendhunt_weapon_combo_4_LX
	setvariable mendhunt_weapon_combo_5_%slot %mendhunt_weapon_combo_5_LX
	setvariable mendhunt_weapon_combo_6_%slot %mendhunt_weapon_combo_6_LX
	setvariable mendhunt_weapon_combo_7_%slot %mendhunt_weapon_combo_7_LX
	setvariable mendhunt_weapon_combo_8_%slot %mendhunt_weapon_combo_8_LX
	setvariable mendhunt_weapon_ammo_%slot %mendhunt_weapon_ammo_LX
	setvariable mendhunt_weapon_shield_use_%slot %mendhunt_weapon_shield_use_LX
	setvariable mendhunt_weapon_shield_name_%slot %mendhunt_weapon_shield_name_LX
	setvariable mendhunt_weapon_stance_focus_%slot %mendhunt_weapon_stance_focus_LX
	goto ARMEND
ARM_HX:
	setvariable mendhunt_weapon_name_%slot %mendhunt_weapon_name_HX
	setvariable mendhunt_weapon_class_%slot %mendhunt_weapon_class_HX
	setvariable mendhunt_weapon_type_%slot %mendhunt_weapon_type_HX
	setvariable mendhunt_weapon_combo_%slot %mendhunt_weapon_combo_HX
	setvariable mendhunt_weapon_combo_1_%slot %mendhunt_weapon_combo_1_HX
	setvariable mendhunt_weapon_combo_2_%slot %mendhunt_weapon_combo_2_HX
	setvariable mendhunt_weapon_combo_3_%slot %mendhunt_weapon_combo_3_HX
	setvariable mendhunt_weapon_combo_4_%slot %mendhunt_weapon_combo_4_HX
	setvariable mendhunt_weapon_combo_5_%slot %mendhunt_weapon_combo_5_HX
	setvariable mendhunt_weapon_combo_6_%slot %mendhunt_weapon_combo_6_HX
	setvariable mendhunt_weapon_combo_7_%slot %mendhunt_weapon_combo_7_HX
	setvariable mendhunt_weapon_combo_8_%slot %mendhunt_weapon_combo_8_HX
	setvariable mendhunt_weapon_ammo_%slot %mendhunt_weapon_ammo_HX
	setvariable mendhunt_weapon_shield_use_%slot %mendhunt_weapon_shield_use_HX
	setvariable mendhunt_weapon_shield_name_%slot %mendhunt_weapon_shield_name_HX
	setvariable mendhunt_weapon_stance_focus_%slot %mendhunt_weapon_stance_focus_HX
	goto ARMEND
ARM_SS:
	setvariable mendhunt_weapon_name_%slot %mendhunt_weapon_name_SS
	setvariable mendhunt_weapon_class_%slot %mendhunt_weapon_class_SS
	setvariable mendhunt_weapon_type_%slot %mendhunt_weapon_type_SS
	setvariable mendhunt_weapon_combo_%slot %mendhunt_weapon_combo_SS
	setvariable mendhunt_weapon_combo_1_%slot %mendhunt_weapon_combo_1_SS
	setvariable mendhunt_weapon_combo_2_%slot %mendhunt_weapon_combo_2_SS
	setvariable mendhunt_weapon_combo_3_%slot %mendhunt_weapon_combo_3_SS
	setvariable mendhunt_weapon_combo_4_%slot %mendhunt_weapon_combo_4_SS
	setvariable mendhunt_weapon_combo_5_%slot %mendhunt_weapon_combo_5_SS
	setvariable mendhunt_weapon_combo_6_%slot %mendhunt_weapon_combo_6_SS
	setvariable mendhunt_weapon_combo_7_%slot %mendhunt_weapon_combo_7_SS
	setvariable mendhunt_weapon_combo_8_%slot %mendhunt_weapon_combo_8_SS
	setvariable mendhunt_weapon_ammo_%slot %mendhunt_weapon_ammo_SS
	setvariable mendhunt_weapon_shield_use_%slot %mendhunt_weapon_shield_use_SS
	setvariable mendhunt_weapon_shield_name_%slot %mendhunt_weapon_shield_name_SS
	setvariable mendhunt_weapon_stance_focus_%slot %mendhunt_weapon_stance_focus_SS
	goto ARMEND
ARM_QS:
	setvariable mendhunt_weapon_name_%slot %mendhunt_weapon_name_QS
	setvariable mendhunt_weapon_class_%slot %mendhunt_weapon_class_QS
	setvariable mendhunt_weapon_type_%slot %mendhunt_weapon_type_QS
	setvariable mendhunt_weapon_combo_%slot %mendhunt_weapon_combo_QS
	setvariable mendhunt_weapon_combo_1_%slot %mendhunt_weapon_combo_1_QS
	setvariable mendhunt_weapon_combo_2_%slot %mendhunt_weapon_combo_2_QS
	setvariable mendhunt_weapon_combo_3_%slot %mendhunt_weapon_combo_3_QS
	setvariable mendhunt_weapon_combo_4_%slot %mendhunt_weapon_combo_4_QS
	setvariable mendhunt_weapon_combo_5_%slot %mendhunt_weapon_combo_5_QS
	setvariable mendhunt_weapon_combo_6_%slot %mendhunt_weapon_combo_6_QS
	setvariable mendhunt_weapon_combo_7_%slot %mendhunt_weapon_combo_7_QS
	setvariable mendhunt_weapon_combo_8_%slot %mendhunt_weapon_combo_8_QS
	setvariable mendhunt_weapon_ammo_%slot %mendhunt_weapon_ammo_QS
	setvariable mendhunt_weapon_shield_use_%slot %mendhunt_weapon_shield_use_QS
	setvariable mendhunt_weapon_shield_name_%slot %mendhunt_weapon_shield_name_QS
	setvariable mendhunt_weapon_stance_focus_%slot %mendhunt_weapon_stance_focus_QS
	goto ARMEND
ARM_PI:
	setvariable mendhunt_weapon_name_%slot %mendhunt_weapon_name_PI
	setvariable mendhunt_weapon_class_%slot %mendhunt_weapon_class_PI
	setvariable mendhunt_weapon_type_%slot %mendhunt_weapon_type_PI
	setvariable mendhunt_weapon_combo_%slot %mendhunt_weapon_combo_PI
	setvariable mendhunt_weapon_combo_1_%slot %mendhunt_weapon_combo_1_PI
	setvariable mendhunt_weapon_combo_2_%slot %mendhunt_weapon_combo_2_PI
	setvariable mendhunt_weapon_combo_3_%slot %mendhunt_weapon_combo_3_PI
	setvariable mendhunt_weapon_combo_4_%slot %mendhunt_weapon_combo_4_PI
	setvariable mendhunt_weapon_combo_5_%slot %mendhunt_weapon_combo_5_PI
	setvariable mendhunt_weapon_combo_6_%slot %mendhunt_weapon_combo_6_PI
	setvariable mendhunt_weapon_combo_7_%slot %mendhunt_weapon_combo_7_PI
	setvariable mendhunt_weapon_combo_8_%slot %mendhunt_weapon_combo_8_PI
	setvariable mendhunt_weapon_ammo_%slot %mendhunt_weapon_ammo_PI
	setvariable mendhunt_weapon_shield_use_%slot %mendhunt_weapon_shield_use_PI
	setvariable mendhunt_weapon_shield_name_%slot %mendhunt_weapon_shield_name_PI
	setvariable mendhunt_weapon_stance_focus_%slot %mendhunt_weapon_stance_focus_PI
	goto ARMEND
ARM_HAL:
	setvariable mendhunt_weapon_name_%slot %mendhunt_weapon_name_HAL
	setvariable mendhunt_weapon_class_%slot %mendhunt_weapon_class_HAL
	setvariable mendhunt_weapon_type_%slot %mendhunt_weapon_type_HAL
	setvariable mendhunt_weapon_combo_%slot %mendhunt_weapon_combo_HAL
	setvariable mendhunt_weapon_combo_1_%slot %mendhunt_weapon_combo_1_HAL
	setvariable mendhunt_weapon_combo_2_%slot %mendhunt_weapon_combo_2_HAL
	setvariable mendhunt_weapon_combo_3_%slot %mendhunt_weapon_combo_3_HAL
	setvariable mendhunt_weapon_combo_4_%slot %mendhunt_weapon_combo_4_HAL
	setvariable mendhunt_weapon_combo_5_%slot %mendhunt_weapon_combo_5_HAL
	setvariable mendhunt_weapon_combo_6_%slot %mendhunt_weapon_combo_6_HAL
	setvariable mendhunt_weapon_combo_7_%slot %mendhunt_weapon_combo_7_HAL
	setvariable mendhunt_weapon_combo_8_%slot %mendhunt_weapon_combo_8_HAL
	setvariable mendhunt_weapon_ammo_%slot %mendhunt_weapon_ammo_HAL
	setvariable mendhunt_weapon_shield_use_%slot %mendhunt_weapon_shield_use_HAL
	setvariable mendhunt_weapon_shield_name_%slot %mendhunt_weapon_shield_name_HAL
	setvariable mendhunt_weapon_stance_focus_%slot %mendhunt_weapon_stance_focus_HAL
	goto ARMEND
ARM_LT:
	setvariable mendhunt_weapon_name_%slot %mendhunt_weapon_name_LT
	setvariable mendhunt_weapon_class_%slot %mendhunt_weapon_class_LT
	setvariable mendhunt_weapon_type_%slot %mendhunt_weapon_type_LT
	setvariable mendhunt_weapon_combo_%slot %mendhunt_weapon_combo_LT
	setvariable mendhunt_weapon_combo_1_%slot %mendhunt_weapon_combo_1_LT
	setvariable mendhunt_weapon_combo_2_%slot %mendhunt_weapon_combo_2_LT
	setvariable mendhunt_weapon_combo_3_%slot %mendhunt_weapon_combo_3_LT
	setvariable mendhunt_weapon_combo_4_%slot %mendhunt_weapon_combo_4_LT
	setvariable mendhunt_weapon_combo_5_%slot %mendhunt_weapon_combo_5_LT
	setvariable mendhunt_weapon_combo_6_%slot %mendhunt_weapon_combo_6_LT
	setvariable mendhunt_weapon_combo_7_%slot %mendhunt_weapon_combo_7_LT
	setvariable mendhunt_weapon_combo_8_%slot %mendhunt_weapon_combo_8_LT
	setvariable mendhunt_weapon_ammo_%slot %mendhunt_weapon_ammo_LT
	setvariable mendhunt_weapon_shield_use_%slot %mendhunt_weapon_shield_use_LT
	setvariable mendhunt_weapon_shield_name_%slot %mendhunt_weapon_shield_name_LT
	setvariable mendhunt_weapon_stance_focus_%slot %mendhunt_weapon_stance_focus_LT
	goto ARMEND
ARM_HT:
	setvariable mendhunt_weapon_name_%slot %mendhunt_weapon_name_HT
	setvariable mendhunt_weapon_class_%slot %mendhunt_weapon_class_HT
	setvariable mendhunt_weapon_type_%slot %mendhunt_weapon_type_HT
	setvariable mendhunt_weapon_combo_%slot %mendhunt_weapon_combo_HT
	setvariable mendhunt_weapon_combo_1_%slot %mendhunt_weapon_combo_1_HT
	setvariable mendhunt_weapon_combo_2_%slot %mendhunt_weapon_combo_2_HT
	setvariable mendhunt_weapon_combo_3_%slot %mendhunt_weapon_combo_3_HT
	setvariable mendhunt_weapon_combo_4_%slot %mendhunt_weapon_combo_4_HT
	setvariable mendhunt_weapon_combo_5_%slot %mendhunt_weapon_combo_5_HT
	setvariable mendhunt_weapon_combo_6_%slot %mendhunt_weapon_combo_6_HT
	setvariable mendhunt_weapon_combo_7_%slot %mendhunt_weapon_combo_7_HT
	setvariable mendhunt_weapon_combo_8_%slot %mendhunt_weapon_combo_8_HT
	setvariable mendhunt_weapon_ammo_%slot %mendhunt_weapon_ammo_HT
	setvariable mendhunt_weapon_shield_use_%slot %mendhunt_weapon_shield_use_HT
	setvariable mendhunt_weapon_shield_name_%slot %mendhunt_weapon_shield_name_HT
	setvariable mendhunt_weapon_stance_focus_%slot %mendhunt_weapon_stance_focus_HT
	goto ARMEND
ARM_BR:
	setvariable mendhunt_weapon_name_%slot %mendhunt_weapon_name_BR
	setvariable mendhunt_weapon_class_%slot %mendhunt_weapon_class_BR
	setvariable mendhunt_weapon_type_%slot %mendhunt_weapon_type_BR
	setvariable mendhunt_weapon_combo_%slot %mendhunt_weapon_combo_BR
	setvariable mendhunt_weapon_combo_1_%slot %mendhunt_weapon_combo_1_BR
	setvariable mendhunt_weapon_combo_2_%slot %mendhunt_weapon_combo_2_BR
	setvariable mendhunt_weapon_combo_3_%slot %mendhunt_weapon_combo_3_BR
	setvariable mendhunt_weapon_combo_4_%slot %mendhunt_weapon_combo_4_BR
	setvariable mendhunt_weapon_combo_5_%slot %mendhunt_weapon_combo_5_BR
	setvariable mendhunt_weapon_combo_6_%slot %mendhunt_weapon_combo_6_BR
	setvariable mendhunt_weapon_combo_7_%slot %mendhunt_weapon_combo_7_BR
	setvariable mendhunt_weapon_combo_8_%slot %mendhunt_weapon_combo_8_BR
	setvariable mendhunt_weapon_ammo_%slot %mendhunt_weapon_ammo_BR
	setvariable mendhunt_weapon_shield_use_%slot %mendhunt_weapon_shield_use_BR
	setvariable mendhunt_weapon_shield_name_%slot %mendhunt_weapon_shield_name_BR
	setvariable mendhunt_weapon_stance_focus_%slot %mendhunt_weapon_stance_focus_BR
	goto ARMEND
ARM_OW:
	setvariable mendhunt_weapon_name_%slot %mendhunt_weapon_name_OW
	setvariable mendhunt_weapon_name_right_%slot %mendhunt_weapon_name_right_OW
	setvariable mendhunt_weapon_name_left_%slot %mendhunt_weapon_name_left_OW
	setvariable mendhunt_weapon_class_%slot %mendhunt_weapon_class_OW
	setvariable mendhunt_weapon_class_right_%slot %mendhunt_weapon_class_right_OW
	setvariable mendhunt_weapon_class_left_%slot %mendhunt_weapon_class_left_OW
	setvariable mendhunt_weapon_type_%slot %mendhunt_weapon_type_OW
	setvariable mendhunt_weapon_type_right_%slot %mendhunt_weapon_type_right_OW
	setvariable mendhunt_weapon_type_left_%slot %mendhunt_weapon_type_left_OW
	setvariable mendhunt_weapon_combo_%slot %mendhunt_weapon_combo_OW
	setvariable mendhunt_weapon_combo_1_%slot %mendhunt_weapon_combo_1_OW
	setvariable mendhunt_weapon_combo_2_%slot %mendhunt_weapon_combo_2_OW
	setvariable mendhunt_weapon_combo_3_%slot %mendhunt_weapon_combo_3_OW
	setvariable mendhunt_weapon_combo_4_%slot %mendhunt_weapon_combo_4_OW
	setvariable mendhunt_weapon_combo_5_%slot %mendhunt_weapon_combo_5_OW
	setvariable mendhunt_weapon_combo_6_%slot %mendhunt_weapon_combo_6_OW
	setvariable mendhunt_weapon_combo_7_%slot %mendhunt_weapon_combo_7_OW
	setvariable mendhunt_weapon_combo_8_%slot %mendhunt_weapon_combo_8_OW
	setvariable mendhunt_weapon_ammo_%slot %mendhunt_weapon_ammo_OW
	setvariable mendhunt_weapon_shield_use_%slot %mendhunt_weapon_shield_use_OW
	setvariable mendhunt_weapon_shield_name_%slot %mendhunt_weapon_shield_name_OW
	setvariable mendhunt_weapon_stance_focus_%slot %mendhunt_weapon_stance_focus_OW
	goto ARMEND

ARM_SLOTOFF:
	goto ARM_SLOTOFF_%2
ARM_SLOTOFF_MAIN:
	echo
	echo *** Setting MAIN to a condition of slotOFF is not allowed
	echo
	pause 2
	goto SETUP_ARMS_SUBMENU
ARM_SLOTOFF_1:
ARM_SLOTOFF_2:
ARM_SLOTOFF_3:
ARM_SLOTOFF_4:
ARM_SLOTOFF_5:
ARM_SLOTOFF_6:
	setvariable mendhunt_weapon_name_%slot SlotOFF
	setvariable mendhunt_weapon_class_%slot SlotOFF
	setvariable mendhunt_weapon_type_%slot SlotOFF
	setvariable mendhunt_weapon_combo_%slot SlotOFF
	setvariable mendhunt_weapon_combo_1_%slot SlotOFF
	setvariable mendhunt_weapon_combo_2_%slot SlotOFF
	setvariable mendhunt_weapon_combo_3_%slot SlotOFF
	setvariable mendhunt_weapon_combo_4_%slot SlotOFF
	setvariable mendhunt_weapon_combo_5_%slot SlotOFF
	setvariable mendhunt_weapon_combo_6_%slot SlotOFF
	setvariable mendhunt_weapon_combo_7_%slot SlotOFF
	setvariable mendhunt_weapon_combo_8_%slot SlotOFF
	setvariable mendhunt_weapon_ammo_%slot SlotOFF
	setvariable mendhunt_weapon_shield_use_%slot SlotOFF
	setvariable mendhunt_weapon_shield_name_%slot SlotOFF
	setvariable mendhunt_weapon_stance_focus_%slot SlotOFF
	goto ARMEND

ARM_NOWEAP:
	echo
	echo *** Setting any slot to a condition of NOWEAP is not allowed
	echo
	pause 2
	goto SETUP_ARMS_SUBMENU

ARMEND:
	goto SETUP_ARMS_SUBMENU

#-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*
COMBO:
	goto COMBO_%2

# .mendhunt combo <name> <1> <2> <3> <4> <5> <6> <7> <8>
# .mendhunt combo BR <1> <2> <3> <4> <5> <6> <7> <8>

COMBO_BR:
	setvariable mendhunt_weapon_combo_1_BR %3
	shift
	setvariable mendhunt_weapon_combo_2_BR %3
	shift
	setvariable mendhunt_weapon_combo_3_BR %3
	shift
	setvariable mendhunt_weapon_combo_4_BR %3
	shift
	setvariable mendhunt_weapon_combo_5_BR %3
	shift
	setvariable mendhunt_weapon_combo_6_BR %3
	shift
	setvariable mendhunt_weapon_combo_7_BR %3
	shift
	setvariable mendhunt_weapon_combo_8_BR %3
	setvariable mendhunt_need_initialize yes
	goto SETUP_WEAPON_DETAIL_BR

COMBO_OW:
	setvariable mendhunt_weapon_combo_1_OW %3
	shift
	setvariable mendhunt_weapon_combo_2_OW %3
	shift
	setvariable mendhunt_weapon_combo_3_OW %3
	shift
	setvariable mendhunt_weapon_combo_4_OW %3
	shift
	setvariable mendhunt_weapon_combo_5_OW %3
	shift
	setvariable mendhunt_weapon_combo_6_OW %3
	shift
	setvariable mendhunt_weapon_combo_7_OW %3
	shift
	setvariable mendhunt_weapon_combo_8_OW %3
	setvariable mendhunt_need_initialize yes
	goto SETUP_WEAPON_DETAIL_OW

COMBO_LE_slice:
	setvariable mendhunt_LEslice1 %3
	shift
	setvariable mendhunt_LEslice2 %3
	shift
	setvariable mendhunt_LEslice3 %3
	shift
	setvariable mendhunt_LEslice4 %3
	shift
	setvariable mendhunt_LEslice5 %3
	shift
	setvariable mendhunt_LEslice6 %3
	shift
	setvariable mendhunt_LEslice7 %3
	shift
	setvariable mendhunt_LEslice8 %3
	goto COMBOEND
COMBO_LE_thrust:
	setvariable mendhunt_LEthrust1 %3
	shift
	setvariable mendhunt_LEthrust2 %3
	shift
	setvariable mendhunt_LEthrust3 %3
	shift
	setvariable mendhunt_LEthrust4 %3
	shift
	setvariable mendhunt_LEthrust5 %3
	shift
	setvariable mendhunt_LEthrust6 %3
	shift
	setvariable mendhunt_LEthrust7 %3
	shift
	setvariable mendhunt_LEthrust8 %3
	goto COMBOEND
COMBO_ME_slice:
	setvariable mendhunt_MEslice1 %3
	shift
	setvariable mendhunt_MEslice2 %3
	shift
	setvariable mendhunt_MEslice3 %3
	shift
	setvariable mendhunt_MEslice4 %3
	shift
	setvariable mendhunt_MEslice5 %3
	shift
	setvariable mendhunt_MEslice6 %3
	shift
	setvariable mendhunt_MEslice7 %3
	shift
	setvariable mendhunt_MEslice8 %3
	goto COMBOEND
COMBO_ME_thrust:
	setvariable mendhunt_MEthrust1 %3
	shift
	setvariable mendhunt_MEthrust2 %3
	shift
	setvariable mendhunt_MEthrust3 %3
	shift
	setvariable mendhunt_MEthrust4 %3
	shift
	setvariable mendhunt_MEthrust5 %3
	shift
	setvariable mendhunt_MEthrust6 %3
	shift
	setvariable mendhunt_MEthrust7 %3
	shift
	setvariable mendhunt_MEthrust8 %3
	goto COMBOEND
COMBO_HE_slice:
	setvariable mendhunt_HEslice1 %3
	shift
	setvariable mendhunt_HEslice2 %3
	shift
	setvariable mendhunt_HEslice3 %3
	shift
	setvariable mendhunt_HEslice4 %3
	shift
	setvariable mendhunt_HEslice5 %3
	shift
	setvariable mendhunt_HEslice6 %3
	shift
	setvariable mendhunt_HEslice7 %3
	shift
	setvariable mendhunt_HEslice8 %3
	goto COMBOEND
COMBO_HE_thrust:
	setvariable mendhunt_HEthrust1 %3
	shift
	setvariable mendhunt_HEthrust2 %3
	shift
	setvariable mendhunt_HEthrust3 %3
	shift
	setvariable mendhunt_HEthrust4 %3
	shift
	setvariable mendhunt_HEthrust5 %3
	shift
	setvariable mendhunt_HEthrust6 %3
	shift
	setvariable mendhunt_HEthrust7 %3
	shift
	setvariable mendhunt_HEthrust8 %3
	goto COMBOEND
COMBO_2HE:
	setvariable mendhunt_2HE1 %3
	shift
	setvariable mendhunt_2HE2 %3
	shift
	setvariable mendhunt_2HE3 %3
	shift
	setvariable mendhunt_2HE4 %3
	shift
	setvariable mendhunt_2HE5 %3
	shift
	setvariable mendhunt_2HE6 %3
	shift
	setvariable mendhunt_2HE7 %3
	shift
	setvariable mendhunt_2HE8 %3
	goto COMBOEND
COMBO_LB:
	setvariable mendhunt_LB1 %3
	shift
	setvariable mendhunt_LB2 %3
	shift
	setvariable mendhunt_LB3 %3
	shift
	setvariable mendhunt_LB4 %3
	shift
	setvariable mendhunt_LB5 %3
	shift
	setvariable mendhunt_LB6 %3
	shift
	setvariable mendhunt_LB7 %3
	shift
	setvariable mendhunt_LB8 %3
	goto COMBOEND
COMBO_MB:
	setvariable mendhunt_MB1 %3
	shift
	setvariable mendhunt_MB2 %3
	shift
	setvariable mendhunt_MB3 %3
	shift
	setvariable mendhunt_MB4 %3
	shift
	setvariable mendhunt_MB5 %3
	shift
	setvariable mendhunt_MB6 %3
	shift
	setvariable mendhunt_MB7 %3
	shift
	setvariable mendhunt_MB8 %3
	goto COMBOEND
COMBO_HB:
	setvariable mendhunt_HB1 %3
	shift
	setvariable mendhunt_HB2 %3
	shift
	setvariable mendhunt_HB3 %3
	shift
	setvariable mendhunt_HB4 %3
	shift
	setvariable mendhunt_HB5 %3
	shift
	setvariable mendhunt_HB6 %3
	shift
	setvariable mendhunt_HB7 %3
	shift
	setvariable mendhunt_HB8 %3
	goto COMBOEND
COMBO_2HB:
	setvariable mendhunt_2HB1 %3
	shift
	setvariable mendhunt_2HB2 %3
	shift
	setvariable mendhunt_2HB3 %3
	shift
	setvariable mendhunt_2HB4 %3
	shift
	setvariable mendhunt_2HB5 %3
	shift
	setvariable mendhunt_2HB6 %3
	shift
	setvariable mendhunt_2HB7 %3
	shift
	setvariable mendhunt_2HB8 %3
	goto COMBOEND
COMBO_SS:
	setvariable mendhunt_SS1 %3
	shift
	setvariable mendhunt_SS2 %3
	shift
	setvariable mendhunt_SS3 %3
	shift
	setvariable mendhunt_SS4 %3
	shift
	setvariable mendhunt_SS5 %3
	shift
	setvariable mendhunt_SS6 %3
	shift
	setvariable mendhunt_SS7 %3
	shift
	setvariable mendhunt_SS8 %3
	goto COMBOEND
COMBO_QS:
	setvariable mendhunt_QS1 %3
	shift
	setvariable mendhunt_QS2 %3
	shift
	setvariable mendhunt_QS3 %3
	shift
	setvariable mendhunt_QS4 %3
	shift
	setvariable mendhunt_QS5 %3
	shift
	setvariable mendhunt_QS6 %3
	shift
	setvariable mendhunt_QS7 %3
	shift
	setvariable mendhunt_QS8 %3
	goto COMBOEND
COMBO_PI:
	setvariable mendhunt_PI1 %3
	shift
	setvariable mendhunt_PI2 %3
	shift
	setvariable mendhunt_PI3 %3
	shift
	setvariable mendhunt_PI4 %3
	shift
	setvariable mendhunt_PI5 %3
	shift
	setvariable mendhunt_PI6 %3
	shift
	setvariable mendhunt_PI7 %3
	shift
	setvariable mendhunt_PI8 %3
	goto COMBOEND
COMBO_HAL:
	setvariable mendhunt_HAL1 %3
	shift
	setvariable mendhunt_HAL2 %3
	shift
	setvariable mendhunt_HAL3 %3
	shift
	setvariable mendhunt_HAL4 %3
	shift
	setvariable mendhunt_HAL5 %3
	shift
	setvariable mendhunt_HAL6 %3
	shift
	setvariable mendhunt_HAL7 %3
	shift
	setvariable mendhunt_HAL8 %3
	goto COMBOEND
COMBO_ATTACK:
	goto SETUP_WEAPON_COMBO_CHOOSE
COMBO_MYCOMBO1:
	setvariable mendhunt_my11 %3
	shift
	setvariable mendhunt_my12 %3
	shift
	setvariable mendhunt_my13 %3
	shift
	setvariable mendhunt_my14 %3
	shift
	setvariable mendhunt_my15 %3
	shift
	setvariable mendhunt_my16 %3
	shift
	setvariable mendhunt_my17 %3
	shift
	setvariable mendhunt_my18 %3
	goto COMBOEND
COMBO_MYCOMBO2:
	setvariable mendhunt_my21 %3
	shift
	setvariable mendhunt_my22 %3
	shift
	setvariable mendhunt_my23 %3
	shift
	setvariable mendhunt_my24 %3
	shift
	setvariable mendhunt_my25 %3
	shift
	setvariable mendhunt_my26 %3
	shift
	setvariable mendhunt_my27 %3
	shift
	setvariable mendhunt_my28 %3
	goto COMBOEND

COMBOEND:
	setvariable mendhunt_need_initialize yes
	goto SETUP_WEAPON_COMBO_CHOOSE

#-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*

SET:
	goto COMMANDSET_%2

COMMANDSET_WEA:
COMMANDSET_WEAP:
COMMANDSET_WEAPO:
COMMANDSET_WEAPON:
COMMANDSET_WEAPONS:

	goto COMMANDSET_WEAPON_%4

COMMANDSET_WEAPON_NAME:

	goto COMMANDSET_WEAPON_NAME_%3

COMMANDSET_WEAPON_NAME_LE:
	setvariable wclass LE
	setvariable mendhunt_weapon_name_%wclass %5
	goto COMMANDSETWEAPONEND
COMMANDSET_WEAPON_NAME_ME:
	setvariable wclass ME
	setvariable mendhunt_weapon_name_%wclass %5
	goto COMMANDSETWEAPONEND
COMMANDSET_WEAPON_NAME_HE:
	setvariable wclass HE
	setvariable mendhunt_weapon_name_%wclass %5
	goto COMMANDSETWEAPONEND
COMMANDSET_WEAPON_NAME_2HE:
	setvariable wclass 2HE
	setvariable mendhunt_weapon_name_%wclass %5
	goto COMMANDSETWEAPONEND
COMMANDSET_WEAPON_NAME_LB:
	setvariable wclass LB
	setvariable mendhunt_weapon_name_%wclass %5
	goto COMMANDSETWEAPONEND
COMMANDSET_WEAPON_NAME_MB:
	setvariable wclass MB
	setvariable mendhunt_weapon_name_%wclass %5
	goto COMMANDSETWEAPONEND
COMMANDSET_WEAPON_NAME_HB:
	setvariable wclass HB
	setvariable mendhunt_weapon_name_%wclass %5
	goto COMMANDSETWEAPONEND
COMMANDSET_WEAPON_NAME_2HB:
	setvariable wclass 2HB
	setvariable mendhunt_weapon_name_%wclass %5
	goto COMMANDSETWEAPONEND
COMMANDSET_WEAPON_NAME_SL:
	setvariable wclass SL
	setvariable mendhunt_weapon_name_%wclass %5
	goto COMMANDSETWEAPONEND
COMMANDSET_WEAPON_NAME_STAFFSLING:
	setvariable wclass STAFFSLING
	setvariable mendhunt_weapon_name_%wclass %5
	goto COMMANDSETWEAPONEND
COMMANDSET_WEAPON_NAME_SB:
	setvariable wclass SB
	setvariable mendhunt_weapon_name_%wclass %5
	goto COMMANDSETWEAPONEND
COMMANDSET_WEAPON_NAME_LOB:
	setvariable wclass LOB
	setvariable mendhunt_weapon_name_%wclass %5
	goto COMMANDSETWEAPONEND
COMMANDSET_WEAPON_NAME_CB:
	setvariable wclass CB
	setvariable mendhunt_weapon_name_%wclass %5
	goto COMMANDSETWEAPONEND
COMMANDSET_WEAPON_NAME_LX:
	setvariable wclass LX
	setvariable mendhunt_weapon_name_%wclass %5
	goto COMMANDSETWEAPONEND
COMMANDSET_WEAPON_NAME_HX:
	setvariable wclass HX
	setvariable mendhunt_weapon_name_%wclass %5
	goto COMMANDSETWEAPONEND
COMMANDSET_WEAPON_NAME_SS:
	setvariable wclass SS
	setvariable mendhunt_weapon_name_%wclass %5
	goto COMMANDSETWEAPONEND
COMMANDSET_WEAPON_NAME_QS:
	setvariable wclass QS
	setvariable mendhunt_weapon_name_%wclass %5
	goto COMMANDSETWEAPONEND
COMMANDSET_WEAPON_NAME_PI:
	setvariable wclass PI
	setvariable mendhunt_weapon_name_%wclass %5
	goto COMMANDSETWEAPONEND
COMMANDSET_WEAPON_NAME_HAL:
	setvariable wclass HAL
	setvariable mendhunt_weapon_name_%wclass %5
	goto COMMANDSETWEAPONEND
COMMANDSET_WEAPON_NAME_LT:
	setvariable wclass LT
	setvariable mendhunt_weapon_name_%wclass %5
	goto COMMANDSETWEAPONEND
COMMANDSET_WEAPON_NAME_HT:
	setvariable wclass HT
	setvariable mendhunt_weapon_name_%wclass %5
	goto COMMANDSETWEAPONEND

COMMANDSET_WEAPON_NAME_BR:
	echo
	echo Not allowed
	echo
	pause 1
	goto SETUP_WEAPON_DETAIL

COMMANDSET_WEAPON_NAME_OW:
	echo
	echo Not allowed
	echo
	pause 1
	goto SETUP_WEAPON_DETAIL


COMMANDSET_WEAPON_AMMO:

	goto COMMANDSET_WEAPON_AMMO_%3

COMMANDSET_WEAPON_AMMO_LE:
	setvariable wclass LE
	setvariable mendhunt_weapon_ammo_%wclass -
	goto COMMANDSETWEAPONEND
COMMANDSET_WEAPON_AMMO_ME:
	setvariable wclass ME
	setvariable mendhunt_weapon_ammo_%wclass -
	goto COMMANDSETWEAPONEND
COMMANDSET_WEAPON_AMMO_HE:
	setvariable wclass HE
	setvariable mendhunt_weapon_ammo_%wclass -
	goto COMMANDSETWEAPONEND
COMMANDSET_WEAPON_AMMO_2HE:
	setvariable wclass 2HE
	setvariable mendhunt_weapon_ammo_%wclass -
	goto COMMANDSETWEAPONEND
COMMANDSET_WEAPON_AMMO_LB:
	setvariable wclass LB
	setvariable mendhunt_weapon_ammo_%wclass -
	goto COMMANDSETWEAPONEND
COMMANDSET_WEAPON_AMMO_MB:
	setvariable wclass MB
	setvariable mendhunt_weapon_ammo_%wclass -
	goto COMMANDSETWEAPONEND
COMMANDSET_WEAPON_AMMO_HB:
	setvariable wclass HB
	setvariable mendhunt_weapon_ammo_%wclass -
	goto COMMANDSETWEAPONEND
COMMANDSET_WEAPON_AMMO_2HB:
	setvariable wclass 2HB
	setvariable mendhunt_weapon_ammo_%wclass -
	goto COMMANDSETWEAPONEND
COMMANDSET_WEAPON_AMMO_SL:
	setvariable wclass SL
	setvariable mendhunt_weapon_ammo_%wclass %5
	goto COMMANDSETWEAPONEND
COMMANDSET_WEAPON_AMMO_STAFFSLING:
	setvariable wclass STAFFSLING
	setvariable mendhunt_weapon_ammo_%wclass %5
	goto COMMANDSETWEAPONEND
COMMANDSET_WEAPON_AMMO_SB:
	setvariable wclass SB
	setvariable mendhunt_weapon_ammo_%wclass %5
	goto COMMANDSETWEAPONEND
COMMANDSET_WEAPON_AMMO_LOB:
	setvariable wclass LOB
	setvariable mendhunt_weapon_ammo_%wclass %5
	goto COMMANDSETWEAPONEND
COMMANDSET_WEAPON_AMMO_CB:
	setvariable wclass CB
	setvariable mendhunt_weapon_ammo_%wclass %5
	goto COMMANDSETWEAPONEND
COMMANDSET_WEAPON_AMMO_LX:
	setvariable wclass LX
	setvariable mendhunt_weapon_ammo_%wclass %5
	goto COMMANDSETWEAPONEND
COMMANDSET_WEAPON_AMMO_HX:
	setvariable wclass HX
	setvariable mendhunt_weapon_ammo_%wclass %5
	goto COMMANDSETWEAPONEND
COMMANDSET_WEAPON_AMMO_SS:
	setvariable wclass SS
	setvariable mendhunt_weapon_ammo_%wclass -
	goto COMMANDSETWEAPONEND
COMMANDSET_WEAPON_AMMO_QS:
	setvariable wclass QS
	setvariable mendhunt_weapon_ammo_%wclass -
	goto COMMANDSETWEAPONEND
COMMANDSET_WEAPON_AMMO_PI:
	setvariable wclass PI
	setvariable mendhunt_weapon_ammo_%wclass -
	goto COMMANDSETWEAPONEND
COMMANDSET_WEAPON_AMMO_HAL:
	setvariable wclass HAL
	setvariable mendhunt_weapon_ammo_%wclass -
	goto COMMANDSETWEAPONEND
COMMANDSET_WEAPON_AMMO_LT:
	setvariable wclass LT
	setvariable mendhunt_weapon_ammo_%wclass -
	goto COMMANDSETWEAPONEND
COMMANDSET_WEAPON_AMMO_HT:
	setvariable wclass HT
	setvariable mendhunt_weapon_ammo_%wclass -
	goto COMMANDSETWEAPONEND
COMMANDSET_WEAPON_AMMO_BR:
	setvariable wclass BR
	setvariable mendhunt_weapon_ammo_%wclass -
	goto COMMANDSETWEAPONEND
COMMANDSET_WEAPON_AMMO_OW:
	setvariable wclass OW
	setvariable mendhunt_weapon_ammo_%wclass %5
	goto SETUP_WEAPON_DETAIL
#note: OW ammo will not setvar for init need.

COMMANDSETWEAPONEND:
	setvariable mendhunt_need_initialize yes
	goto SETUP_WEAPON_DETAIL



#-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*
COMMANDSET_ARMO:
COMMANDSET_ARMOR:
COMMANDSET_ARMORS:
COMMANDSET_ARMOU:
COMMANDSET_ARMOUR:
COMMANDSET_ARMOURS:

	goto COMMANDSET_ARMOR_%3

COMMANDSET_ARMOR_MAIN:
	setvariable mendhunt_armor_name_main %4
	setvariable mendhunt_armor_class_main %5
	goto SETUP_ARMOR_MENU
COMMANDSET_ARMOR_SECOND:
	setvariable mendhunt_armor_name_second %4
	setvariable mendhunt_armor_class_second %5
	goto SETUP_ARMOR_MENU
COMMANDSET_ARMOR_1:
	setvariable mendhunt_armor_name_1 %4
	setvariable mendhunt_armor_class_1 %5
	goto SETUP_ARMOR_MENU
COMMANDSET_ARMOR_2:
	setvariable mendhunt_armor_name_2 %4
	setvariable mendhunt_armor_class_2 %5
	goto SETUP_ARMOR_MENU
COMMANDSET_ARMOR_3:
	setvariable mendhunt_armor_name_3 %4
	setvariable mendhunt_armor_class_3 %5
	goto SETUP_ARMOR_MENU
COMMANDSET_ARMOR_4:
	setvariable mendhunt_armor_name_4 %4
	setvariable mendhunt_armor_class_4 %5
	goto SETUP_ARMOR_MENU
COMMANDSET_ARMOR_5:
	setvariable mendhunt_armor_name_5 %4
	setvariable mendhunt_armor_class_5 %5
	goto SETUP_ARMOR_MENU
COMMANDSET_ARMOR_6:
	setvariable mendhunt_armor_name_6 %4
	setvariable mendhunt_armor_class_6 %5
	goto SETUP_ARMOR_MENU

#-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*
COMMANDSET_SHI:
COMMANDSET_SHIE:
COMMANDSET_SHIEL:
COMMANDSET_SHIELD:
COMMANDSET_SHEILD:

	goto COMMANDSET_SHIELD_%3

COMMANDSET_SHIELD_ARMWORN:
	setvariable mendhunt_shield_name_armworn %5
	setvariable mendhunt_need_initialize yes
	goto COMMANDSET_SHIELD_END

COMMANDSET_SHIELD_HANDHELD:
	setvariable mendhunt_shield_name_handheld %5
	setvariable mendhunt_need_initialize yes
	goto COMMANDSET_SHIELD_END

COMMANDSET_SHIELD_END:
	setvariable mendhunt_need_initialize yes
	goto SETUP_SHIELD_MENU

#-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*
COMMANDSET_TAR:
COMMANDSET_TARG:
COMMANDSET_TARGE:
COMMANDSET_TARGET:

	goto COMMANDSET_TARGET_%3

COMMANDSET_TARGET_SLOT:
	goto COMMANDSET_TARGET_SLOT_%5

COMMANDSET_TARGET_SLOT_PREP:
	setvariable mendhunt_target_name_%4 %6
	setvariable mendhunt_target_prep_power_%4 %7
	setvariable mendhunt_target_cast_pause_%4 %8
	goto SETUP_TARGET_DETAIL

COMMANDSET_TARGET_SLOT_HARN:
COMMANDSET_TARGET_SLOT_HARNES:
COMMANDSET_TARGET_SLOT_HARNESS:
	setvariable mendhunt_target_harn_power_%4 %6
	setvariable mendhunt_target_harn_loop_%4 %7
	goto SETUP_TARGET_DETAIL

COMMANDSET_TARGET_SLOT_CAM:
COMMANDSET_TARGET_SLOT_CAMB:
COMMANDSET_TARGET_SLOT_CAMBRINTH:
	setvariable mendhunt_target_cam_power_%4 %6
	setvariable mendhunt_target_cam_loop_%4 %7
	goto SETUP_TARGET_DETAIL

#-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*
COMMANDSET_CAM:
COMMANDSET_CAMB:
COMMANDSET_CAMBRINTH:
	setvariable mendhunt_cam_name %3
	goto SETUP_MAIN_MENU

#-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*
COMMANDSET_BUF:
COMMANDSET_BUFF:

	goto COMMANDSET_BUFF_%3

COMMANDSET_BUFF_SLOT:
	goto COMMANDSET_BUFF_SLOT_%5

COMMANDSET_BUFF_SLOT_PREP:
	setvariable mendhunt_buff_name_%4 %6
	setvariable mendhunt_buff_prep_power_%4 %7
	setvariable mendhunt_buff_cast_pause_%4 %8
	goto SETUP_BUFF_DETAIL

COMMANDSET_BUFF_SLOT_HARN:
COMMANDSET_BUFF_SLOT_HARNES:
COMMANDSET_BUFF_SLOT_HARNESS:
	setvariable mendhunt_buff_harn_power_%4 %6
	setvariable mendhunt_buff_harn_loop_%4 %7
	goto SETUP_BUFF_DETAIL

COMMANDSET_BUFF_SLOT_CAM:
COMMANDSET_BUFF_SLOT_CAMB:
COMMANDSET_BUFF_SLOT_CAMBRINTH:
	setvariable mendhunt_buff_cam_power_%4 %6
	setvariable mendhunt_buff_cam_loop_%4 %7
	goto SETUP_BUFF_DETAIL

#-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*
COMMANDSET_DEB:
COMMANDSET_DEBU:
COMMANDSET_DEBUF:
COMMANDSET_DEBUFF:

	goto COMMANDSET_DEBUFF_%3

COMMANDSET_DEBUFF_SLOT:
	goto COMMANDSET_DEBUFF_SLOT_%5

COMMANDSET_DEBUFF_SLOT_PREP:
	setvariable mendhunt_debuff_name_%4 %6
	setvariable mendhunt_debuff_prep_power_%4 %7
	setvariable mendhunt_debuff_cast_pause_%4 %8
	goto SETUP_DEBUFF_DETAIL

COMMANDSET_DEBUFF_SLOT_HARN:
COMMANDSET_DEBUFF_SLOT_HARNES:
COMMANDSET_DEBUFF_SLOT_HARNESS:
	setvariable mendhunt_debuff_harn_power_%4 %6
	setvariable mendhunt_debuff_harn_loop_%4 %7
	goto SETUP_DEBUFF_DETAIL

COMMANDSET_DEBUFF_SLOT_CAM:
COMMANDSET_DEBUFF_SLOT_CAMB:
COMMANDSET_DEBUFF_SLOT_CAMBRINTH:
	setvariable mendhunt_debuff_cam_power_%4 %6
	setvariable mendhunt_debuff_cam_loop_%4 %7
	goto SETUP_DEBUFF_DETAIL

#-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*
COMMANDSET_PATH:
COMMANDSET_PATHWAY:
COMMANDSET_PATHWAYS:
	goto COMMANDSET_PATHWAY_%3

COMMANDSET_PATHWAY_TARGET:
COMMANDSET_PATHWAY_TAR:
COMMANDSET_PATHWAY_TARG:
	setvariable mendhunt_pathway_target_name %4
	goto SETUP_PATHWAY_MENU

COMMANDSET_PATHWAY_FRENZY:
	setvariable mendhunt_pathway_frenzy_name %4
	goto SETUP_PATHWAY_MENU
#-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*
COMMANDSET_HIGH:
COMMANDSET_HIGHLIGHT:
COMMANDSET_HIGHLIGHTS:
COMMANDSET_HIGHLIGHTING:
	deletefromhighlightstrings string="***"
	AddToHighlightStrings string="***" forecolor=%3 highlightEntireLine=True
	goto SETUP_MISC_MENU
#-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*
COMMANDSET_RANG:
COMMANDSET_RANGE:
COMMANDSET_RANGED:
	setvariable mendhunt_ranged_pause %4
	goto SETUP_COMBAT_OPTIONS_MENU
#-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*
COMMANDSET_THRO:
COMMANDSET_THROW:
COMMANDSET_THROWN:
COMMANDSET_THROWNED:
COMMANDSET_THROWING:
	setvariable mendhunt_thrown_pause %4
	goto SETUP_COMBAT_OPTIONS_MENU
#-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*
COMMANDSET_CREATURE:
COMMANDSET_CRITER:
COMMANDSET_CRITTER:
COMMANDSET_BESTIARY:
COMMANDSET_MONSTER:
	setvariable mendhunt_useradd_critter_%3 %4
	goto SETUP_CRITTER_MENU
#-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*
COMMANDSET_DEK:
COMMANDSET_DEKS:
	goto COMMANDSET_DEKS_%4

COMMANDSET_DEKS_1:
	setvariable mendhunt_deks_line_1 %5
	goto SETUP_DEKS_MENU

COMMANDSET_DEKS_2:
	setvariable mendhunt_deks_line_2 %5
	goto SETUP_DEKS_MENU

COMMANDSET_DEKS_3:
	setvariable mendhunt_deks_line_3 %5
	goto SETUP_DEKS_MENU

COMMANDSET_DEKS_4:
	setvariable mendhunt_deks_line_4 %5
	goto SETUP_DEKS_MENU

COMMANDSET_DEKS_5:
	setvariable mendhunt_deks_line_5 %5
	goto SETUP_DEKS_MENU
#-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*
COMMANDSET_MAXCON:
COMMANDSET_MAXCONC:
COMMANDSET_MAXCONCENTRATION:
	setvariable mendhunt_empath_maxconc %3
	goto SETUP_EMPATH_COMBAT_MENU
#-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*
COMMANDSET_INN:
COMMANDSET_INNOC:
COMMANDSET_INNOCENC:
COMMANDSET_INNOCENCE:
COMMANDSET_INNACENCE:
COMMANDSET_INNOCINCE:

	goto COMMANDSET_INNOCENCE_%3

COMMANDSET_INNOCENCE_PREP:
	setvariable mendhunt_empath_prep_power_innocence %4
	setvariable mendhunt_empath_cast_pause_innocence %5
	goto SETUP_EMPATH_INNOCENCE_DETAIL

COMMANDSET_INNOCENCE_HARN:
COMMANDSET_INNOCENCE_HARNES:
COMMANDSET_INNOCENCE_HARNESS:
	setvariable mendhunt_empath_harn_power_innocence %4
	setvariable mendhunt_empath_harn_loop_innocence %5
	goto SETUP_EMPATH_INNOCENCE_DETAIL

COMMANDSET_INNOCENCE_CAM:
COMMANDSET_INNOCENCE_CAMB:
COMMANDSET_INNOCENCE_CAMBRINTH:
	setvariable mendhunt_empath_cam_power_innocence %4
	setvariable mendhunt_empath_cam_loop_innocence %5
	goto SETUP_EMPATH_INNOCENCE_DETAIL
#-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*
COMMANDSET_GS:
COMMANDSET_GUARDIAN:
COMMANDSET_GUARDIANSPIRIT:

	goto COMMANDSET_GS_%3

COMMANDSET_GS_PREP:
	setvariable mendhunt_empath_prep_power_gs %4
	setvariable mendhunt_empath_cast_pause_gs %5
	goto SETUP_EMPATH_GS_DETAIL

COMMANDSET_GS_HARN:
COMMANDSET_GS_HARNES:
COMMANDSET_GS_HARNESS:
	setvariable mendhunt_empath_harn_power_gs %4
	setvariable mendhunt_empath_harn_loop_gs %5
	goto SETUP_EMPATH_GS_DETAIL

COMMANDSET_GS_CAM:
COMMANDSET_GS_CAMB:
COMMANDSET_GS_CAMBRINTH:
	setvariable mendhunt_empath_cam_power_gs %4
	setvariable mendhunt_empath_cam_loop_gs %5
	goto SETUP_EMPATH_GS_DETAIL
#-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*
COMMANDSET_NDC:

	goto COMMANDSET_NDC_%3

COMMANDSET_NDC_HUM:
COMMANDSET_NDC_HUMM:
	setvariable mendhunt_ndc_hum_item %4
	goto SETUP_NDC_MENU

COMMANDSET_NDC_JUGGLE:
COMMANDSET_NDC_JUG:
COMMANDSET_NDC_JUGG:
	setvariable mendhunt_ndc_juggle_item %4
	goto SETUP_NDC_MENU

COMMANDSET_NDC_PYRAMID:
COMMANDSET_NDC_PIRAMID:
	setvariable mendhunt_ndc_pyramid_item %4
	goto SETUP_NDC_MENU

COMMANDSET_NDC_FORAGE:
COMMANDSET_NDC_FORAG:
COMMANDSET_NDC_FORAGING:
	setvariable mendhunt_ndc_forage_item %4
	goto SETUP_NDC_MENU
#-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*
COMMANDSET_FISS:
COMMANDSET_FISSURE:
	goto COMMANDSET_FISSURE_%3

COMMANDSET_FISSURE_PREP:
COMMANDSET_FISSURE_PREPARE:
	setvariable mendhunt_fissure_element %4
	setvariable mendhunt_fissure_prep_power %5
	setvariable mendhunt_fissure_cast_pause %6
	goto SETUP_FISSURE_DETAIL

COMMANDSET_FISSURE_HARN:
COMMANDSET_FISSURE_HARNES:
COMMANDSET_FISSURE_HARNESS:
	setvariable mendhunt_fissure_harn_power %4
	setvariable mendhunt_fissure_harn_loop %5
	goto SETUP_FISSURE_DETAIL

COMMANDSET_FISSURE_CAM:
COMMANDSET_FISSURE_CAMB:
COMMANDSET_FISSURE_CAMBRINTH:
	setvariable mendhunt_fissure_cam_power %4
	setvariable mendhunt_fissure_cam_loop %5
	goto SETUP_FISSURE_DETAIL
#-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*
COMMANDSET_MANTLEOFFLAME:
COMMANDSET_MOF:
	goto COMMANDSET_MOF_%3

COMMANDSET_MOF_PREP:
COMMANDSET_MOF_PREPARE:
	setvariable mendhunt_mof_prep_power %4
	setvariable mendhunt_mof_cast_pause %5
	goto SETUP_MOF_DETAIL

COMMANDSET_MOF_HARN:
COMMANDSET_MOF_HARNES:
COMMANDSET_MOF_HARNESS:
	setvariable mendhunt_mof_harn_power %4
	setvariable mendhunt_mof_harn_loop %5
	goto SETUP_MOF_DETAIL

COMMANDSET_MOF_CAM:
COMMANDSET_MOF_CAMB:
COMMANDSET_MOF_CAMBRINTH:
	setvariable mendhunt_mof_cam_power %4
	setvariable mendhunt_mof_cam_loop %5
	goto SETUP_MOF_DETAIL
#-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*
COMMANDSET_YS:
	goto COMMANDSET_YS_%3

COMMANDSET_YS_PREP:
COMMANDSET_YS_PREPARE:
	setvariable mendhunt_ys_prep_power %4
	setvariable mendhunt_ys_cast_pause %5
	goto SETUP_YS_DETAIL

COMMANDSET_YS_HARN:
COMMANDSET_YS_HARNES:
COMMANDSET_YS_HARNESS:
	setvariable mendhunt_ys_harn_power %4
	setvariable mendhunt_ys_harn_loop %5
	goto SETUP_YS_DETAIL

COMMANDSET_YS_CAM:
COMMANDSET_YS_CAMB:
COMMANDSET_YS_CAMBRINTH:
	setvariable mendhunt_ys_cam_power %4
	setvariable mendhunt_ys_cam_loop %5
	goto SETUP_YS_DETAIL

COMMANDSET_YS_MAINT:
COMMANDSET_YS_MAINTENANCE:
	setvariable mendhunt_ysmaint_prep_power %5
	setvariable mendhunt_ysmaint_cast_pause %6
	goto SETUP_YS_DETAIL

#-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*
COMMANDSET_AEGISOFGRANITE:
COMMANDSET_AEG:
	goto COMMANDSET_AEG_%3

COMMANDSET_AEG_PREP:
COMMANDSET_AEG_PREPARE:
	setvariable mendhunt_aeg_prep_power %4
	setvariable mendhunt_aeg_cast_pause %5
	goto SETUP_AEG_DETAIL

COMMANDSET_AEG_HARN:
COMMANDSET_AEG_HARNES:
COMMANDSET_AEG_HARNESS:
	setvariable mendhunt_aeg_harn_power %4
	setvariable mendhunt_aeg_harn_loop %5
	goto SETUP_AEG_DETAIL

COMMANDSET_AEG_CAM:
COMMANDSET_AEG_CAMB:
COMMANDSET_AEG_CAMBRINTH:
	setvariable mendhunt_aeg_cam_power %4
	setvariable mendhunt_aeg_cam_loop %5
	goto SETUP_AEG_DETAIL

COMMANDSET_AEG_MAINT:
COMMANDSET_AEG_MAINTENANCE:
	setvariable mendhunt_aegmaint_prep_power %4
	setvariable mendhunt_aegmaint_cast_pause %5
	goto SETUP_AEG_DETAIL

#-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*
COMMANDSET_GEM:
COMMANDSET_GEMS:
	goto COMMANDSET_GEMS_%3

COMMANDSET_GEMS_CON:
COMMANDSET_GEMS_CONT:
COMMANDSET_GEMS_CONTAIN:
COMMANDSET_GEMS_CONTAINER:
	setvariable mendhunt_gems_container %4
	goto SETUP_LOOT_MENU

COMMANDSET_BOX:
COMMANDSET_BOXES:
	goto COMMANDSET_BOXES_%3

COMMANDSET_BOXES_CON:
COMMANDSET_BOXES_CONT:
COMMANDSET_BOXES_CONTAIN:
COMMANDSET_BOXES_CONTAINER:
	setvariable mendhunt_boxes_container %4
	goto SETUP_LOOT_MENU

COMMANDSET_OTHERLOOT:
COMMANDSET_OTHER:
	goto COMMANDSET_OTHER_%3

COMMANDSET_OTHER_CON:
COMMANDSET_OTHER_CONT:
COMMANDSET_OTHER_CONTAIN:
COMMANDSET_OTHER_CONTAINER:
	setvariable mendhunt_other_container %4
	goto SETUP_LOOT_MENU

#-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*
COMMANDSET_ITEM:

	goto COMMANDSET_ITEM_%3

COMMANDSET_ITEM_GEM:
COMMANDSET_ITEM_GEMS:
	goto COMMANDSET_ITEM_GEMS_%4

COMMANDSET_ITEM_GEMS_1:
	setvariable mendhunt_loot_gems_useradd_1 %5
	goto SETUP_LOOT_USERADD_MENU
COMMANDSET_ITEM_GEMS_2:
	setvariable mendhunt_loot_gems_useradd_2 %5
	goto SETUP_LOOT_USERADD_MENU
COMMANDSET_ITEM_GEMS_3:
	setvariable mendhunt_loot_gems_useradd_3 %5
	goto SETUP_LOOT_USERADD_MENU
COMMANDSET_ITEM_GEMS_4:
	setvariable mendhunt_loot_gems_useradd_4 %5
	goto SETUP_LOOT_USERADD_MENU
COMMANDSET_ITEM_GEMS_5:
	setvariable mendhunt_loot_gems_useradd_5 %5
	goto SETUP_LOOT_USERADD_MENU
COMMANDSET_ITEM_GEMS_6:
	setvariable mendhunt_loot_gems_useradd_6 %5
	goto SETUP_LOOT_USERADD_MENU

COMMANDSET_ITEM_OTHER:
COMMANDSET_ITEM_OTHERLOOT:
	goto COMMANDSET_ITEM_OTHER_%4

COMMANDSET_ITEM_OTHER_1:
	setvariable mendhunt_loot_other_useradd_1 %5
	goto SETUP_LOOT_USERADD_MENU
COMMANDSET_ITEM_OTHER_2:
	setvariable mendhunt_loot_other_useradd_2 %5
	goto SETUP_LOOT_USERADD_MENU
COMMANDSET_ITEM_OTHER_3:
	setvariable mendhunt_loot_other_useradd_3 %5
	goto SETUP_LOOT_USERADD_MENU
COMMANDSET_ITEM_OTHER_4:
	setvariable mendhunt_loot_other_useradd_4 %5
	goto SETUP_LOOT_USERADD_MENU
COMMANDSET_ITEM_OTHER_5:
	setvariable mendhunt_loot_other_useradd_5 %5
	goto SETUP_LOOT_USERADD_MENU
COMMANDSET_ITEM_OTHER_6:
	setvariable mendhunt_loot_other_useradd_6 %5
	goto SETUP_LOOT_USERADD_MENU

COMMANDSET_ITEM_SKIN:
COMMANDSET_ITEM_SKINS:
	goto COMMANDSET_ITEM_SKINS_%4

COMMANDSET_ITEM_SKINS_1:
	setvariable mendhunt_loot_skins_useradd_1 %5
	goto SETUP_LOOT_USERADD_MENU
COMMANDSET_ITEM_SKINS_2:
	setvariable mendhunt_loot_skins_useradd_2 %5
	goto SETUP_LOOT_USERADD_MENU
COMMANDSET_ITEM_SKINS_3:
	setvariable mendhunt_loot_skins_useradd_3 %5
	goto SETUP_LOOT_USERADD_MENU
COMMANDSET_ITEM_SKINS_4:
	setvariable mendhunt_loot_skins_useradd_4 %5
	goto SETUP_LOOT_USERADD_MENU
COMMANDSET_ITEM_SKINS_5:
	setvariable mendhunt_loot_skins_useradd_5 %5
	goto SETUP_LOOT_USERADD_MENU
COMMANDSET_ITEM_SKINS_6:
	setvariable mendhunt_loot_skins_useradd_6 %5
	goto SETUP_LOOT_USERADD_MENU

#-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*
COMMANDSET_EMPTY:
	goto COMMANDSET_EMPTY_%3

COMMANDSET_EMPTY_POUCH:
	setvariable mendhunt_gpouch_empty_container %5
	goto SETUP_LOOT_MENU

COMMANDSET_FULL:
	goto COMMANDSET_FULL_%3

COMMANDSET_FULL_POUCH:
	setvariable mendhunt_gpouch_full_container %5
	goto SETUP_LOOT_MENU

#-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*
COMMANDSET_FRE:
COMMANDSET_FREN:
COMMANDSET_FRENZ:
COMMANDSET_FRENZY:

	goto COMMANDSET_FRENZY_%3

COMMANDSET_FRENZY_CL:
	goto COMMANDSET_FRENZY_CL_%4
COMMANDSET_FRENZY_CL_PREP:
	setvariable mendhunt_frenzy_cl_prep_mana %5
	setvariable mendhunt_frenzy_cl_cast_pause %6
	goto SETUP_FRENZY_MENU
COMMANDSET_FRENZY_CL_HARN:
COMMANDSET_FRENZY_CL_HARNESS:
	setvariable mendhunt_frenzy_cl_harn_mana %5
	setvariable mendhunt_frenzy_cl_harn_loop %6
	goto SETUP_FRENZY_MENU

COMMANDSET_FRENZY_BOT:
	goto COMMANDSET_FRENZY_BOT_%4
COMMANDSET_FRENZY_BOT_PREP:
	setvariable mendhunt_frenzy_bot_prep_mana %5
	setvariable mendhunt_frenzy_bot_cast_pause %6
	goto SETUP_FRENZY_MENU
COMMANDSET_FRENZY_BOT_HARN:
COMMANDSET_FRENZY_BOT_HARNESS:
	setvariable mendhunt_frenzy_bot_harn_mana %5
	setvariable mendhunt_frenzy_bot_harn_loop %6
	goto SETUP_FRENZY_MENU

COMMANDSET_FRENZY_ROAR:
	setvariable mendhunt_frenzy_roar_type %4
	goto SETUP_FRENZY_MENU

COMMANDSET_FRENZY_BERSERK:
	setvariable mendhunt_frenzy_berserk_type %4
	goto SETUP_FRENZY_MENU

COMMANDSET_FRENZY_SING:
	setvariable mendhunt_frenzy_sing_type %4
	goto SETUP_FRENZY_MENU

COMMANDSET_FRENZY_CHANT:
	setvariable mendhunt_frenzy_chant_type %4
	goto SETUP_FRENZY_MENU

#-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*
COMMANDSET_COMB:
COMMANDSET_COMBA:
COMMANDSET_COMBAT:

	goto COMMANDSET_COMBAT_%3

COMMANDSET_COMBAT_ROAR:
	setvariable mendhunt_combat_roar_type %4
	goto SETUP_DEKS_MENU

COMMANDSET_COMBAT_DANCE:
	setvariable mendhunt_combat_dance_type %4
	goto SETUP_DEKS_MENU

COMMANDSET_COMBAT_SING:
	setvariable mendhunt_combat_sing_type %4
	goto SETUP_DEKS_MENU

COMMANDSET_COMBAT_CHANT:
	setvariable mendhunt_combat_chant_type %4
	goto SETUP_DEKS_MENU

COMMANDSET_COMBAT_KHRI:
	setvariable mendhunt_combat_khri_type %4
	goto SETUP_DEKS_MENU


#############################################################################
###########################    MENU SECTION    ##############################
#############################################################################

SETUP_HELP:
put echo /on
waitfor echocolumn
echo
echo
echo =======================================================================
echo ***                        SETUP HELP
echo =======================================================================
echo Welcome to the setup help for Mendhunt.  Setup is needed to initially configure the
echo script to you.  You will also need to run setup anytime you want to make changes.
echo You can get to setup at anytime by entering:      .mendhunt menu
echo
echo A menu driven setup is provided. From the main menu, you will select a section to edit.
echo Within each section, there will be various options to turn on or off as well as data to enter.
echo You will enter selections to modify how and what the script does.
echo There are three types of selections:
echo        1) hard selection        ex)  a1
echo        2) variable selection    ex)  1=x , where x is picked from a list
echo        3) command entry         ex)  .mendhunt set [x] [y] [z]   (note: use your scriptname if not mendhunt)
echo
echo The first time you run setup, it can be a real pain and may take a while to complete.  However, once
echo initially configured, I think you will find it a snap to make changes.
echo
echo Important:
echo
echo *  When entering a variable selection, use 1=combat... not   1=X   nor   1 = combat
echo *  When entering multiple word text use quotes... "use quotes around multiple words when entering".
echo .         Use "bastard sword"... not   bastard sword   nor   bastard.sword
echo *  Use the tap test to determine what to enter if in doubt about multi word items.  Item names 
echo .         must be as unique as possible.
echo *  Master switches set to the OFF position will over-ride and cause the script to skip
echo .         performing everything in that section.
echo
echo Most important... have fun.
echo
echo Safe paths,
echo Player of Mendaleev
echo =======================================================================
echo To continue to the Main Menu, enter the following:      z1
echo =======================================================================
echo
put echo /off
pause 1
	waitfor z1
	pause 1
	goto SETUP_MAIN_MENU

#-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*
SETUP_MAIN_MENU:
put echo /on
waitfor echocolumn
echo
echo
echo =======================================================================
echo ***                        MAIN MENU
echo =======================================================================
echo .     Script Mechanics.............................. a0
echo .     Modes of Action............................... a1
echo .         Combat Mode
echo .             Combat Options....................................... a2
echo .             Combat Magic......................................... a3
echo .             Combat Dance/Roar, Enchante, Khri, and Specials...... a4
echo .         Empath Mode................................... a5
echo .         Dance Mode.................................... a6
echo .         Frenzy Mode................................... a7
echo .     Armament/weapons.............................. a8
echo .     Armor......................................... a9
echo .     Shields....................................... b1
echo .     Stances....................................... b2
echo .     Critters...................................... b3
echo .     No Dangerous Critters Options................. b4
echo .     Guild Specials................................ b5
echo .     Loot Options.................................. b6
echo .     Skinning Options.............................. b7
echo .     Miscellaneous................................. b8
echo .     SETUP HELP.................................... z1
echo =======================================================================
echo *** Enter selection
echo =======================================================================
echo *** IMPORTANT:
echo 1) If this is your first setup, start with script mechanics (a0) and proceed through each section
echo 2) Use Quick Switches once initially setup
echo 3) You don't have to setup everything, only that which you will use.
echo .     If you are a barbarian, turn magic master OFF and move on.
echo 
put echo /off
pause 1
	match SETUP_SCRIPT_MECH_MENU a0
	match SETUP_COMBAT_MODES_MENU a1
	match SETUP_COMBAT_OPTIONS_MENU a2
	match SETUP_MAGIC_MENU a3
	match SETUP_DEKS_MENU a4
	match SETUP_EMPATH_COMBAT_MENU a5
	match SETUP_DANCE_MENU a6
	match SETUP_FRENZY_MENU a7
	match SETUP_ARMAMENT_MENU a8
	match SETUP_ARMOR_MENU a9
	match SETUP_SHIELD_MENU b1
	match SETUP_STANCE_MENU b2
	match SETUP_CRITTER_MENU b3
	match SETUP_NDC_MENU b4
	match SETUP_GUILD_SPECIALS_MENU b5
	match SETUP_LOOT_MENU b6
	match SETUP_SKINNING_MENU b7
	match SETUP_MISC_MENU b8
	match SETUP_HELP z1
	matchwait
#-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*
SETUP_COMBAT_MODES_MENU:
put echo /on
waitfor echocolumn
echo
echo
echo =======================================================================
echo ***                        MODES OF ACTION MENU
echo =======================================================================
echo Mode is the 'style' (defensive/offensive) of hunting you want to perform.
echo The script executes a mode based on the number of critters in the room.  Modes are:
echo
echo *     DANCE  - to dance with that many critters
echo *     COMBAT - for normal combat with that many critters
echo *     EMPATH - for empath only combat with that many critters
echo *     FRENZY - to frenzy (AOE etc) with that many critters
echo
echo One critter:            %mendhunt_crittercount1
echo Two critters:           %mendhunt_crittercount2
echo Three critters:         %mendhunt_crittercount3
echo Four critters:          %mendhunt_crittercount4
echo Five critters:          %mendhunt_crittercount5
echo Six or more critters:   %mendhunt_crittercount6
echo
echo =======================================================================
echo Change one critter mode............ 1=X  where X is dance, combat, empath, or frenzy
echo Change two critter mode............ 2=X
echo Change three critter mode.......... 3=X
echo Change four critter mode........... 4=X
echo Change five critter mode........... 5=X
echo Change six + critter mode.......... 6=X
echo
echo Return to Main Menu................ z1
echo =======================================================================
echo *** IMPORTANT
echo 1. If an empath, goto the Empath Combat Menu and make sure "I am an empath" is ON
echo 2. Only use Frenzy if you have an action setup in the Frenzy menu
echo 3. Use dance at RISK! Its very likely there will be that many critters
echo .      plus more on you before the script catches up
echo
put echo /off
pause 1
	match SETUP_1CRITTERSETUP_dance 1=dance
	match SETUP_1CRITTERSETUP_combat 1=combat
	match SETUP_1CRITTERSETUP_empath 1=empath
	match SETUP_1CRITTERSETUP_frenzy 1=frenzy
	match SETUP_2CRITTERSETUP_dance 2=dance
	match SETUP_2CRITTERSETUP_combat 2=combat
	match SETUP_2CRITTERSETUP_empath 2=empath
	match SETUP_2CRITTERSETUP_frenzy 2=frenzy
	match SETUP_3CRITTERSETUP_dance 3=dance
	match SETUP_3CRITTERSETUP_combat 3=combat
	match SETUP_3CRITTERSETUP_empath 3=empath
	match SETUP_3CRITTERSETUP_frenzy 3=frenzy
	match SETUP_4CRITTERSETUP_dance 4=dance
	match SETUP_4CRITTERSETUP_combat 4=combat
	match SETUP_4CRITTERSETUP_empath 4=empath
	match SETUP_4CRITTERSETUP_frenzy 4=frenzy
	match SETUP_5CRITTERSETUP_dance 5=dance
	match SETUP_5CRITTERSETUP_combat 5=combat
	match SETUP_5CRITTERSETUP_empath 5=empath
	match SETUP_5CRITTERSETUP_frenzy 5=frenzy
	match SETUP_6CRITTERSETUP_dance 6=dance
	match SETUP_6CRITTERSETUP_combat 6=combat
	match SETUP_6CRITTERSETUP_empath 6=empath
	match SETUP_6CRITTERSETUP_frenzy 6=frenzy
	match SETUP_MAIN_MENU z1
	matchwait

SETUP_1CRITTERSETUP_DANCE:
	setvariable mendhunt_crittercount1 dance
	goto SETUP_COMBAT_MODES_MENU
SETUP_1CRITTERSETUP_COMBAT:
	setvariable mendhunt_crittercount1 combat
	goto SETUP_COMBAT_MODES_MENU
SETUP_1CRITTERSETUP_EMPATH:
	setvariable mendhunt_crittercount1 empath
	goto SETUP_COMBAT_MODES_MENU
SETUP_1CRITTERSETUP_FRENZY:
	setvariable mendhunt_crittercount1 frenzy
	goto SETUP_COMBAT_MODES_MENU
SETUP_2CRITTERSETUP_DANCE:
	setvariable mendhunt_crittercount2 dance
	goto SETUP_COMBAT_MODES_MENU
SETUP_2CRITTERSETUP_COMBAT:
	setvariable mendhunt_crittercount2 combat
	goto SETUP_COMBAT_MODES_MENU
SETUP_2CRITTERSETUP_EMPATH:
	setvariable mendhunt_crittercount2 empath
	goto SETUP_COMBAT_MODES_MENU
SETUP_2CRITTERSETUP_FRENZY:
	setvariable mendhunt_crittercount2 frenzy
	goto SETUP_COMBAT_MODES_MENU
SETUP_3CRITTERSETUP_DANCE:
	setvariable mendhunt_crittercount3 dance
	goto SETUP_COMBAT_MODES_MENU
SETUP_3CRITTERSETUP_COMBAT:
	setvariable mendhunt_crittercount3 combat
	goto SETUP_COMBAT_MODES_MENU
SETUP_3CRITTERSETUP_EMPATH:
	setvariable mendhunt_crittercount3 empath
	goto SETUP_COMBAT_MODES_MENU
SETUP_3CRITTERSETUP_FRENZY:
	setvariable mendhunt_crittercount3 frenzy
	goto SETUP_COMBAT_MODES_MENU
SETUP_4CRITTERSETUP_DANCE:
	setvariable mendhunt_crittercount4 dance
	goto SETUP_COMBAT_MODES_MENU
SETUP_4CRITTERSETUP_COMBAT:
	setvariable mendhunt_crittercount4 combat
	goto SETUP_COMBAT_MODES_MENU
SETUP_4CRITTERSETUP_EMPATH:
	setvariable mendhunt_crittercount4 empath
	goto SETUP_COMBAT_MODES_MENU
SETUP_4CRITTERSETUP_FRENZY:
	setvariable mendhunt_crittercount4 frenzy
	goto SETUP_COMBAT_MODES_MENU
SETUP_5CRITTERSETUP_DANCE:
	setvariable mendhunt_crittercount5 dance
	goto SETUP_COMBAT_MODES_MENU
SETUP_5CRITTERSETUP_COMBAT:
	setvariable mendhunt_crittercount5 combat
	goto SETUP_COMBAT_MODES_MENU
SETUP_5CRITTERSETUP_EMPATH:
	setvariable mendhunt_crittercount5 empath
	goto SETUP_COMBAT_MODES_MENU
SETUP_5CRITTERSETUP_FRENZY:
	setvariable mendhunt_crittercount5 frenzy
	goto SETUP_COMBAT_MODES_MENU
SETUP_6CRITTERSETUP_DANCE:
	setvariable mendhunt_crittercount6 dance
	goto SETUP_COMBAT_MODES_MENU
SETUP_6CRITTERSETUP_COMBAT:
	setvariable mendhunt_crittercount6 combat
	goto SETUP_COMBAT_MODES_MENU
SETUP_6CRITTERSETUP_EMPATH:
	setvariable mendhunt_crittercount6 empath
	goto SETUP_COMBAT_MODES_MENU
SETUP_6CRITTERSETUP_FRENZY:
	setvariable mendhunt_crittercount6 frenzy
	goto SETUP_COMBAT_MODES_MENU

#-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*
SETUP_COMBAT_OPTIONS_MENU:
put echo /on
waitfor echocolumn
echo
echo
echo =======================================================================
echo ***                        COMBAT OPTIONS MENU
echo =======================================================================
echo
echo 1) Retreat when using a ranged or thrown weapon....... %mendhunt_rangedthrown_retreat_test
echo .        (if on, will try to stay out of melee range when using ranged/thrown weapons)
echo
echo 2) Slow attack........................................ %mendhunt_slow_attack_test
echo .        (if on, adds 3 seconds between melee swings, use if getting tired)
echo
echo 3) Ranged aim pause................................... %mendhunt_ranged_pause  seconds
echo .        (time between aim and fire)
echo
echo 4) Thrown pause....................................... %mendhunt_thrown_pause  seconds
echo .        (time between throws, excluding other actions)
echo
echo 5) Hide............................................... %mendhunt_hide_test
echo .        (if on, will hide and stalk)
echo
echo 6) Weapon cycle....................................... %mendhunt_weapon_cycle
echo .        (weapon attacks per combat cycle)
echo .        (will use weapon x times for each use of target/debuff/deks etc)
echo
echo =======================================================================
echo
echo Turn ranged/thrown retreat ON.......................... retreat=on
echo Turn ranged/thrown retreat to OFF...................... retreat=off
echo Turn slow attack to ON................................. slow=on
echo Turn slow attack to OFF................................ slow=off
echo Change ranged pause................................     .mendhunt set ranged pause <#>
echo Change thrown pause................................     .mendhunt set thrown pause <#>
echo Turn hide ON........................................... hide=on
echo Turn hide OFF.......................................... hide=off
echo Change weapon cycle.................................... weaponcycle=X  (where X = 1, 2, 3, or 4)
echo
echo Return to Main Menu.................................... z1
echo =======================================================================
echo
echo
put echo /off
pause 1
	match SETUP_COMBAT_OPTIONS_SLOW_ON slow=on
	match SETUP_COMBAT_OPTIONS_SLOW_OFF slow=off
	match SETUP_COMBAT_OPTIONS_RETREAT_ON retreat=on
	match SETUP_COMBAT_OPTIONS_RETREAT_OFF retreat=off
	match SETUP_COMBAT_OPTIONS_HIDE_ON hide=on
	match SETUP_COMBAT_OPTIONS_HIDE_OFF hide=off
	match SETUP_COMBAT_OPTIONS_WEAPONCYCLE_1 weaponcycle=1
	match SETUP_COMBAT_OPTIONS_WEAPONCYCLE_2 weaponcycle=2
	match SETUP_COMBAT_OPTIONS_WEAPONCYCLE_3 weaponcycle=3
	match SETUP_COMBAT_OPTIONS_WEAPONCYCLE_4 weaponcycle=4
	match SETUP_MAIN_MENU z1
	matchwait

SETUP_COMBAT_OPTIONS_RETREAT_ON:
	setvariable mendhunt_rangedthrown_retreat_test ON
	goto SETUP_COMBAT_OPTIONS_MENU
SETUP_COMBAT_OPTIONS_RETREAT_OFF:
	setvariable mendhunt_rangedthrown_retreat_test OFF
	goto SETUP_COMBAT_OPTIONS_MENU
SETUP_COMBAT_OPTIONS_SLOW_ON:
	setvariable mendhunt_slow_attack_test ON
	goto SETUP_COMBAT_OPTIONS_MENU
SETUP_COMBAT_OPTIONS_SLOW_OFF:
	setvariable mendhunt_slow_attack_test OFF
	goto SETUP_COMBAT_OPTIONS_MENU
SETUP_COMBAT_OPTIONS_HIDE_ON:
	setvariable mendhunt_hide_test ON
	goto SETUP_COMBAT_OPTIONS_MENU
SETUP_COMBAT_OPTIONS_HIDE_OFF:
	setvariable mendhunt_hide_test OFF
	goto SETUP_COMBAT_OPTIONS_MENU
SETUP_COMBAT_OPTIONS_WEAPONCYCLE_1:
	setvariable mendhunt_weapon_cycle 1
	goto SETUP_COMBAT_OPTIONS_MENU
SETUP_COMBAT_OPTIONS_WEAPONCYCLE_2:
	setvariable mendhunt_weapon_cycle 2
	goto SETUP_COMBAT_OPTIONS_MENU
SETUP_COMBAT_OPTIONS_WEAPONCYCLE_3:
	setvariable mendhunt_weapon_cycle 3
	goto SETUP_COMBAT_OPTIONS_MENU
SETUP_COMBAT_OPTIONS_WEAPONCYCLE_4:
	setvariable mendhunt_weapon_cycle 4
	goto SETUP_COMBAT_OPTIONS_MENU

#-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*
SETUP_ARMAMENT_MENU:
put echo /on
waitfor echocolumn
echo
echo
echo =======================================================================
echo ***                        ARMAMENT MENU - weapon style
echo =======================================================================
echo Weapon style is currently set to use:    %mendhunt_weapon_style_master  
echo .  Weapon Main:             %mendhunt_weapon_style_main_test
echo .         Swap:             %mendhunt_weapon_swap_test
echo .  Multi Weapon Switch:     %mendhunt_weapon_style_multi_test
echo .  No Weapons:              %mendhunt_weapon_style_noweap_test
echo
echo MAIN:              %mendhunt_weapon_name_main
echo MULTI:
echo .   Slot 1:        %mendhunt_weapon_name_1
echo .   Slot 2:        %mendhunt_weapon_name_2
echo .   Slot 3:        %mendhunt_weapon_name_3
echo .   Slot 4:        %mendhunt_weapon_name_4
echo .   Slot 5:        %mendhunt_weapon_name_5
echo .   Slot 6:        %mendhunt_weapon_name_6
echo
echo Force Multi Weapon Switch after certain period:  %mendhunt_force_weapon_switch_test
echo
echo =======================================================================
echo
echo View/change armament................................... view=arms
echo View/change no weapons setup........................... view=noweapon
echo
echo Weapon main ON......................................... main=on
echo Multi weapon ON........................................ multi=on
echo No weapon ON........................................... noweap=on
echo
echo Swap main ON........................................... swap=on
echo Swap main OFF.......................................... swap=off
echo
echo Force Multi Switch..................................... force=on
echo Force Multi Switch..................................... force=off 
echo
echo Return to Main Menu.................................... z1 
echo =======================================================================
echo Note:
echo 1) Change the weapons themselves in the arms submenu (view=arms)
echo 1) Weapon Main uses only the main weapon
echo 2) Swap will swap the main weapon... which *MUST* be swappable
echo 3) Multi Weapon uses those weapons in the 'switch' slots... 1 through 6
echo 4) No weapons uses no weapons in hands (can have shield)... this is *NOT* brawling,
echo .  its for magic only hunting, such as empaths with parry sticks... don't know, there if you want it.
echo 5) Force multi weapon switch ON will switch slots after 15 cycles even if weapon not locked.
echo
put echo /off
pause 1
	match SETUP_ARMAMENT_FORCE_MULTI_ON force=on
	match SETUP_ARMAMENT_FORCE_MULTI_OFF force=off
	match SETUP_ARMS_NOWEAPON view=noweap
	match SETUP_ARMS_NOWEAPON view=noweapon
	match SETUP_ARMS_SUBMENU view=weapons
	match SETUP_ARMS_SUBMENU view=weapon
	match SETUP_ARMS_SUBMENU view=arm
	match SETUP_ARMS_SUBMENU view=arms
	match SETUP_ARMS_SUBMENU view=armament
	match SETUP_ARMS_SUBMENU view=armaments
	match SETUP_ARMAMENT_WEAPON_STYLE_MAIN main=on
	match SETUP_ARMAMENT_WEAPON_STYLE_MULTI multi=on
	match SETUP_ARMAMENT_WEAPON_STYLE_NONE none=on
	match SETUP_ARMAMENT_WEAPON_STYLE_NONE noweap=on
	match SETUP_ARMAMENT_WEAPON_STYLE_NONE noweapon=on
	match SETUP_ARMAMENT_WEAPON_STYLE_SWAP_ON swap=on
	match SETUP_ARMAMENT_WEAPON_STYLE_SWAP_OFF swap=off
	match SETUP_MAIN_MENU z1
	matchwait

SETUP_ARMAMENT_WEAPON_STYLE_MAIN:
	setvariable mendhunt_weapon_style_master MAIN
	setvariable mendhunt_weapon_style_main_test ON
	setvariable mendhunt_weapon_style_multi_test OFF
	setvariable mendhunt_weapon_style_noweap_test OFF
	goto SETUP_ARMAMENT_MENU
SETUP_ARMAMENT_WEAPON_STYLE_MULTI:
	setvariable mendhunt_weapon_style_master MULTI
	setvariable mendhunt_weapon_style_main_test OFF
	setvariable mendhunt_weapon_style_multi_test ON
	setvariable mendhunt_weapon_style_noweap_test OFF
	setvariable mendhunt_weapon_swap_test OFF
	goto SETUP_ARMAMENT_MENU
SETUP_ARMAMENT_WEAPON_STYLE_NONE: 
	setvariable mendhunt_weapon_style_master NOWEAP
	setvariable mendhunt_weapon_style_main_test OFF
	setvariable mendhunt_weapon_style_multi_test OFF
	setvariable mendhunt_weapon_style_noweap_test ON
	setvariable mendhunt_weapon_swap_test OFF
	goto SETUP_ARMAMENT_MENU
SETUP_ARMAMENT_WEAPON_STYLE_SWAP_ON:
	setvariable mendhunt_weapon_style_master MAIN
	setvariable mendhunt_weapon_style_main_test ON
	setvariable mendhunt_weapon_style_multi_test OFF
	setvariable mendhunt_weapon_style_noweap_test OFF
	setvariable mendhunt_weapon_swap_test ON
	goto SETUP_ARMAMENT_MENU
SETUP_ARMAMENT_WEAPON_STYLE_SWAP_OFF:
	setvariable mendhunt_weapon_swap_test OFF
	goto SETUP_ARMAMENT_MENU

SETUP_ARMAMENT_FORCE_MULTI_ON:
	setvariable mendhunt_force_weapon_switch_test ON
	goto SETUP_ARMAMENT_MENU
SETUP_ARMAMENT_FORCE_MULTI_OFF:
	setvariable mendhunt_force_weapon_switch_test OFF
	goto SETUP_ARMAMENT_MENU

#-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*
SETUP_ARMS_SUBMENU:
put echo /on
waitfor echocolumn
echo
echo
echo =======================================================================
echo ***                    ARMS SUBMENU - view/change armament
echo =======================================================================
echo .              weapon name / class / shield use / stance focus
echo
echo * Slot main:
echo .              %mendhunt_weapon_name_main
echo .              %mendhunt_weapon_class_main
echo .              %mendhunt_weapon_shield_use_main
echo .              %mendhunt_weapon_stance_focus_main
echo * Slot 1:
echo .              %mendhunt_weapon_name_1
echo .              %mendhunt_weapon_class_1
echo .              %mendhunt_weapon_shield_use_1
echo .              %mendhunt_weapon_stance_focus_1
echo * Slot 2:
echo .              %mendhunt_weapon_name_2
echo .              %mendhunt_weapon_class_2
echo .              %mendhunt_weapon_shield_use_2
echo .              %mendhunt_weapon_stance_focus_2
echo * Slot 3:
echo .              %mendhunt_weapon_name_3
echo .              %mendhunt_weapon_class_3
echo .              %mendhunt_weapon_shield_use_3
echo .              %mendhunt_weapon_stance_focus_3
echo * Slot 4:
echo .              %mendhunt_weapon_name_4
echo .              %mendhunt_weapon_class_4
echo .              %mendhunt_weapon_shield_use_4
echo .              %mendhunt_weapon_stance_focus_4
echo * Slot 5:
echo .              %mendhunt_weapon_name_5
echo .              %mendhunt_weapon_class_5
echo .              %mendhunt_weapon_shield_use_5
echo .              %mendhunt_weapon_stance_focus_5
echo * Slot 6:
echo .              %mendhunt_weapon_name_6
echo .              %mendhunt_weapon_class_6
echo .              %mendhunt_weapon_shield_use_6
echo .              %mendhunt_weapon_stance_focus_6
echo _________________________________________________________________________
echo *** Stored Weapons:
echo
echo LE               %mendhunt_weapon_name_LE
echo ME               %mendhunt_weapon_name_ME
echo HE               %mendhunt_weapon_name_HE
echo 2HE              %mendhunt_weapon_name_2HE
echo LB               %mendhunt_weapon_name_LB
echo MB               %mendhunt_weapon_name_MB
echo HB               %mendhunt_weapon_name_HB
echo 2HB              %mendhunt_weapon_name_2HB
echo SL               %mendhunt_weapon_name_SL
echo STAFFSLING       %mendhunt_weapon_name_STAFFSLING
echo SB               %mendhunt_weapon_name_SB
echo LOB              %mendhunt_weapon_name_LOB
echo CB               %mendhunt_weapon_name_CB
echo LX               %mendhunt_weapon_name_LX
echo HX               %mendhunt_weapon_name_HX
echo SS               %mendhunt_weapon_name_SS
echo QS               %mendhunt_weapon_name_QS
echo PI               %mendhunt_weapon_name_PI
echo HAL              %mendhunt_weapon_name_HAL
echo LT               %mendhunt_weapon_name_LT
echo HT               %mendhunt_weapon_name_HT
echo BR               %mendhunt_weapon_name_BR
echo OW               %mendhunt_weapon_name_OW
echo .                    OW Right: %mendhunt_weapon_name_right_OW
echo .                    OW  Left: %mendhunt_weapon_name_left_OW
echo 
echo =======================================================================
echo *** Change Weapon/Arms Slots
echo Change a weapon slot........................ .mendhunt arm <slot#> <class>  
echo Turn a weapon slot OFF...................... .mendhunt arm <slot#> slotoff
echo
echo .                                              ex)  .mendhunt arm main 2HE
echo .                                                   .mendhunt arm 1 HE
echo .                                                   .mendhunt arm 6 slotoff
echo
echo *** Setup Stored Weapons
echo View/change a stored weapon detail.......... view=<class>     ex) view=LE
echo 
echo
echo See more on weapon class.................... view=classlist
echo Return to the Armament Menu................. z1
echo
echo Reinitialize to see up-to-date info:
echo When you make a change to an embedded variable, you may not see that change in the menu text.
echo Its not necessary to perform this, the script will auto perform the reinitialization.
echo However, it could be annoying. Reinitialize manually if you want; it won't hurt anything. 
echo Reinitialize................................ load=armament
echo =======================================================================
echo Note:
echo Where you see "<class>", put in the class abbreviation:   LE, 2HB, QS, etc.
echo Where you see "<slot#>", put in the slot number:          1, 2, 3, 4, 5, 6, or main.
echo 
echo
put echo /off
pause 1
	match SETUP_WEAPON_DETAIL_BR view=BR
	match SETUP_WEAPON_DETAIL_OW view=OW
	match SETUP_WEAPON_DETAIL_JUMP_LE view=LE
	match SETUP_WEAPON_DETAIL_JUMP_ME view=ME
	match SETUP_WEAPON_DETAIL_JUMP_HE view=HE
	match SETUP_WEAPON_DETAIL_JUMP_2HE view=2HE
	match SETUP_WEAPON_DETAIL_JUMP_LB view=LB
	match SETUP_WEAPON_DETAIL_JUMP_MB view=MB
	match SETUP_WEAPON_DETAIL_JUMP_HB view=HB
	match SETUP_WEAPON_DETAIL_JUMP_2HB view=2HB
	match SETUP_WEAPON_DETAIL_JUMP_SL view=SL
	match SETUP_WEAPON_DETAIL_JUMP_STAFFSLING view=STAFFSLING
	match SETUP_WEAPON_DETAIL_JUMP_SB view=SB
	match SETUP_WEAPON_DETAIL_JUMP_LOB view=LOB
	match SETUP_WEAPON_DETAIL_JUMP_CB view=CB
	match SETUP_WEAPON_DETAIL_JUMP_LX view=LX
	match SETUP_WEAPON_DETAIL_JUMP_HX view=HX
	match SETUP_WEAPON_DETAIL_JUMP_SS view=SS
	match SETUP_WEAPON_DETAIL_JUMP_QS view=QS
	match SETUP_WEAPON_DETAIL_JUMP_PI view=PI
	match SETUP_WEAPON_DETAIL_JUMP_HAL view=HAL
	match SETUP_WEAPON_DETAIL_JUMP_LT view=LT
	match SETUP_WEAPON_DETAIL_JUMP_HT view=HT
	match SETUP_ARMAMENT_REINIT_SLOTS load=armament
	match SETUP_ARMAMENT_REINIT_SLOTS load=arm
	match SETUP_ARMAMENT_REINIT_SLOTS load=armaments
	match SETUP_ARMAMENT_MENU z1
	match SETUP_WEAPONCLASSLIST view=classlist
	matchwait

SETUP_ARMAMENT_REINIT_SLOTS:
	setvariable subreturnflag SETUP_ARMAMENT_REINIT_SLOTS
	goto INITIALIZE_ARMAMENT
SUBRETURN_SETUP_ARMAMENT_REINIT_SLOTS:
	goto SETUP_ARMS_SUBMENU

#-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*

SETUP_WEAPON_DETAIL:
	goto SETUP_WEAPON_DETAIL_JUMP_%s

SETUP_WEAPON_DETAIL_JUMP_LE:
	save LE
	setvariable mendhunt_weapon_name_display %mendhunt_weapon_name_LE
	setvariable mendhunt_weapon_class_display %mendhunt_weapon_class_LE
	setvariable mendhunt_weapon_type_display %mendhunt_weapon_type_LE
	setvariable mendhunt_weapon_combo_display %mendhunt_weapon_combo_LE
	setvariable mendhunt_weapon_combo_1_display %mendhunt_weapon_combo_1_LE
	setvariable mendhunt_weapon_combo_2_display %mendhunt_weapon_combo_2_LE
	setvariable mendhunt_weapon_combo_3_display %mendhunt_weapon_combo_3_LE
	setvariable mendhunt_weapon_combo_4_display %mendhunt_weapon_combo_4_LE
	setvariable mendhunt_weapon_combo_5_display %mendhunt_weapon_combo_5_LE
	setvariable mendhunt_weapon_combo_6_display %mendhunt_weapon_combo_6_LE
	setvariable mendhunt_weapon_combo_7_display %mendhunt_weapon_combo_7_LE
	setvariable mendhunt_weapon_combo_8_display %mendhunt_weapon_combo_8_LE
	setvariable mendhunt_weapon_ammo_display %mendhunt_weapon_ammo_LE
	setvariable mendhunt_weapon_shield_use_display %mendhunt_weapon_shield_use_LE
	setvariable mendhunt_weapon_shield_name_display %mendhunt_weapon_shield_name_LE
	setvariable mendhunt_weapon_stance_focus_display %mendhunt_weapon_stance_focus_LE
	goto SETUP_WEAPON_DETAIL_JUMPED
SETUP_WEAPON_DETAIL_JUMP_ME:
	save ME
	setvariable mendhunt_weapon_name_display %mendhunt_weapon_name_ME
	setvariable mendhunt_weapon_class_display %mendhunt_weapon_class_ME
	setvariable mendhunt_weapon_type_display %mendhunt_weapon_type_ME
	setvariable mendhunt_weapon_combo_display %mendhunt_weapon_combo_ME
	setvariable mendhunt_weapon_combo_1_display %mendhunt_weapon_combo_1_ME
	setvariable mendhunt_weapon_combo_2_display %mendhunt_weapon_combo_2_ME
	setvariable mendhunt_weapon_combo_3_display %mendhunt_weapon_combo_3_ME
	setvariable mendhunt_weapon_combo_4_display %mendhunt_weapon_combo_4_ME
	setvariable mendhunt_weapon_combo_5_display %mendhunt_weapon_combo_5_ME
	setvariable mendhunt_weapon_combo_6_display %mendhunt_weapon_combo_6_ME
	setvariable mendhunt_weapon_combo_7_display %mendhunt_weapon_combo_7_ME
	setvariable mendhunt_weapon_combo_8_display %mendhunt_weapon_combo_8_ME
	setvariable mendhunt_weapon_ammo_display %mendhunt_weapon_ammo_ME
	setvariable mendhunt_weapon_shield_use_display %mendhunt_weapon_shield_use_ME
	setvariable mendhunt_weapon_shield_name_display %mendhunt_weapon_shield_name_ME
	setvariable mendhunt_weapon_stance_focus_display %mendhunt_weapon_stance_focus_ME
	goto SETUP_WEAPON_DETAIL_JUMPED
SETUP_WEAPON_DETAIL_JUMP_HE:
	save HE
	setvariable mendhunt_weapon_name_display %mendhunt_weapon_name_HE
	setvariable mendhunt_weapon_class_display %mendhunt_weapon_class_HE
	setvariable mendhunt_weapon_type_display %mendhunt_weapon_type_HE
	setvariable mendhunt_weapon_combo_display %mendhunt_weapon_combo_HE
	setvariable mendhunt_weapon_combo_1_display %mendhunt_weapon_combo_1_HE
	setvariable mendhunt_weapon_combo_2_display %mendhunt_weapon_combo_2_HE
	setvariable mendhunt_weapon_combo_3_display %mendhunt_weapon_combo_3_HE
	setvariable mendhunt_weapon_combo_4_display %mendhunt_weapon_combo_4_HE
	setvariable mendhunt_weapon_combo_5_display %mendhunt_weapon_combo_5_HE
	setvariable mendhunt_weapon_combo_6_display %mendhunt_weapon_combo_6_HE
	setvariable mendhunt_weapon_combo_7_display %mendhunt_weapon_combo_7_HE
	setvariable mendhunt_weapon_combo_8_display %mendhunt_weapon_combo_8_HE
	setvariable mendhunt_weapon_ammo_display %mendhunt_weapon_ammo_HE
	setvariable mendhunt_weapon_shield_use_display %mendhunt_weapon_shield_use_HE
	setvariable mendhunt_weapon_shield_name_display %mendhunt_weapon_shield_name_HE
	setvariable mendhunt_weapon_stance_focus_display %mendhunt_weapon_stance_focus_HE
	goto SETUP_WEAPON_DETAIL_JUMPED
SETUP_WEAPON_DETAIL_JUMP_2HE:
	save 2HE
	setvariable mendhunt_weapon_name_display %mendhunt_weapon_name_2HE
	setvariable mendhunt_weapon_class_display %mendhunt_weapon_class_2HE
	setvariable mendhunt_weapon_type_display %mendhunt_weapon_type_2HE
	setvariable mendhunt_weapon_combo_display %mendhunt_weapon_combo_2HE
	setvariable mendhunt_weapon_combo_1_display %mendhunt_weapon_combo_1_2HE
	setvariable mendhunt_weapon_combo_2_display %mendhunt_weapon_combo_2_2HE
	setvariable mendhunt_weapon_combo_3_display %mendhunt_weapon_combo_3_2HE
	setvariable mendhunt_weapon_combo_4_display %mendhunt_weapon_combo_4_2HE
	setvariable mendhunt_weapon_combo_5_display %mendhunt_weapon_combo_5_2HE
	setvariable mendhunt_weapon_combo_6_display %mendhunt_weapon_combo_6_2HE
	setvariable mendhunt_weapon_combo_7_display %mendhunt_weapon_combo_7_2HE
	setvariable mendhunt_weapon_combo_8_display %mendhunt_weapon_combo_8_2HE
	setvariable mendhunt_weapon_ammo_display %mendhunt_weapon_ammo_2HE
	setvariable mendhunt_weapon_shield_use_display %mendhunt_weapon_shield_use_2HE
	setvariable mendhunt_weapon_shield_name_display %mendhunt_weapon_shield_name_2HE
	setvariable mendhunt_weapon_stance_focus_display %mendhunt_weapon_stance_focus_2HE
	goto SETUP_WEAPON_DETAIL_JUMPED
SETUP_WEAPON_DETAIL_JUMP_LB:
	save LB
	setvariable mendhunt_weapon_name_display %mendhunt_weapon_name_LB
	setvariable mendhunt_weapon_class_display %mendhunt_weapon_class_LB
	setvariable mendhunt_weapon_type_display %mendhunt_weapon_type_LB
	setvariable mendhunt_weapon_combo_display %mendhunt_weapon_combo_LB
	setvariable mendhunt_weapon_combo_1_display %mendhunt_weapon_combo_1_LB
	setvariable mendhunt_weapon_combo_2_display %mendhunt_weapon_combo_2_LB
	setvariable mendhunt_weapon_combo_3_display %mendhunt_weapon_combo_3_LB
	setvariable mendhunt_weapon_combo_4_display %mendhunt_weapon_combo_4_LB
	setvariable mendhunt_weapon_combo_5_display %mendhunt_weapon_combo_5_LB
	setvariable mendhunt_weapon_combo_6_display %mendhunt_weapon_combo_6_LB
	setvariable mendhunt_weapon_combo_7_display %mendhunt_weapon_combo_7_LB
	setvariable mendhunt_weapon_combo_8_display %mendhunt_weapon_combo_8_LB
	setvariable mendhunt_weapon_ammo_display %mendhunt_weapon_ammo_LB
	setvariable mendhunt_weapon_shield_use_display %mendhunt_weapon_shield_use_LB
	setvariable mendhunt_weapon_shield_name_display %mendhunt_weapon_shield_name_LB
	setvariable mendhunt_weapon_stance_focus_display %mendhunt_weapon_stance_focus_LB
	goto SETUP_WEAPON_DETAIL_JUMPED
SETUP_WEAPON_DETAIL_JUMP_MB:
	save MB
	setvariable mendhunt_weapon_name_display %mendhunt_weapon_name_MB
	setvariable mendhunt_weapon_class_display %mendhunt_weapon_class_MB
	setvariable mendhunt_weapon_type_display %mendhunt_weapon_type_MB
	setvariable mendhunt_weapon_combo_display %mendhunt_weapon_combo_MB
	setvariable mendhunt_weapon_combo_1_display %mendhunt_weapon_combo_1_MB
	setvariable mendhunt_weapon_combo_2_display %mendhunt_weapon_combo_2_MB
	setvariable mendhunt_weapon_combo_3_display %mendhunt_weapon_combo_3_MB
	setvariable mendhunt_weapon_combo_4_display %mendhunt_weapon_combo_4_MB
	setvariable mendhunt_weapon_combo_5_display %mendhunt_weapon_combo_5_MB
	setvariable mendhunt_weapon_combo_6_display %mendhunt_weapon_combo_6_MB
	setvariable mendhunt_weapon_combo_7_display %mendhunt_weapon_combo_7_MB
	setvariable mendhunt_weapon_combo_8_display %mendhunt_weapon_combo_8_MB
	setvariable mendhunt_weapon_ammo_display %mendhunt_weapon_ammo_MB
	setvariable mendhunt_weapon_shield_use_display %mendhunt_weapon_shield_use_MB
	setvariable mendhunt_weapon_shield_name_display %mendhunt_weapon_shield_name_MB
	setvariable mendhunt_weapon_stance_focus_display %mendhunt_weapon_stance_focus_MB
	goto SETUP_WEAPON_DETAIL_JUMPED
SETUP_WEAPON_DETAIL_JUMP_HB:
	save HB
	setvariable mendhunt_weapon_name_display %mendhunt_weapon_name_HB
	setvariable mendhunt_weapon_class_display %mendhunt_weapon_class_HB
	setvariable mendhunt_weapon_type_display %mendhunt_weapon_type_HB
	setvariable mendhunt_weapon_combo_display %mendhunt_weapon_combo_HB
	setvariable mendhunt_weapon_combo_1_display %mendhunt_weapon_combo_1_HB
	setvariable mendhunt_weapon_combo_2_display %mendhunt_weapon_combo_2_HB
	setvariable mendhunt_weapon_combo_3_display %mendhunt_weapon_combo_3_HB
	setvariable mendhunt_weapon_combo_4_display %mendhunt_weapon_combo_4_HB
	setvariable mendhunt_weapon_combo_5_display %mendhunt_weapon_combo_5_HB
	setvariable mendhunt_weapon_combo_6_display %mendhunt_weapon_combo_6_HB
	setvariable mendhunt_weapon_combo_7_display %mendhunt_weapon_combo_7_HB
	setvariable mendhunt_weapon_combo_8_display %mendhunt_weapon_combo_8_HB
	setvariable mendhunt_weapon_ammo_display %mendhunt_weapon_ammo_HB
	setvariable mendhunt_weapon_shield_use_display %mendhunt_weapon_shield_use_HB
	setvariable mendhunt_weapon_shield_name_display %mendhunt_weapon_shield_name_HB
	setvariable mendhunt_weapon_stance_focus_display %mendhunt_weapon_stance_focus_HB
	goto SETUP_WEAPON_DETAIL_JUMPED
SETUP_WEAPON_DETAIL_JUMP_2HB:
	save 2HB
	setvariable mendhunt_weapon_name_display %mendhunt_weapon_name_2HB
	setvariable mendhunt_weapon_class_display %mendhunt_weapon_class_2HB
	setvariable mendhunt_weapon_type_display %mendhunt_weapon_type_2HB
	setvariable mendhunt_weapon_combo_display %mendhunt_weapon_combo_2HB
	setvariable mendhunt_weapon_combo_1_display %mendhunt_weapon_combo_1_2HB
	setvariable mendhunt_weapon_combo_2_display %mendhunt_weapon_combo_2_2HB
	setvariable mendhunt_weapon_combo_3_display %mendhunt_weapon_combo_3_2HB
	setvariable mendhunt_weapon_combo_4_display %mendhunt_weapon_combo_4_2HB
	setvariable mendhunt_weapon_combo_5_display %mendhunt_weapon_combo_5_2HB
	setvariable mendhunt_weapon_combo_6_display %mendhunt_weapon_combo_6_2HB
	setvariable mendhunt_weapon_combo_7_display %mendhunt_weapon_combo_7_2HB
	setvariable mendhunt_weapon_combo_8_display %mendhunt_weapon_combo_8_2HB
	setvariable mendhunt_weapon_ammo_display %mendhunt_weapon_ammo_2HB
	setvariable mendhunt_weapon_shield_use_display %mendhunt_weapon_shield_use_2HB
	setvariable mendhunt_weapon_shield_name_display %mendhunt_weapon_shield_name_2HB
	setvariable mendhunt_weapon_stance_focus_display %mendhunt_weapon_stance_focus_2HB
	goto SETUP_WEAPON_DETAIL_JUMPED
SETUP_WEAPON_DETAIL_JUMP_SL:
	save SL
	setvariable mendhunt_weapon_name_display %mendhunt_weapon_name_SL
	setvariable mendhunt_weapon_class_display %mendhunt_weapon_class_SL
	setvariable mendhunt_weapon_type_display %mendhunt_weapon_type_SL
	setvariable mendhunt_weapon_combo_display %mendhunt_weapon_combo_SL
	setvariable mendhunt_weapon_combo_1_display %mendhunt_weapon_combo_1_SL
	setvariable mendhunt_weapon_combo_2_display %mendhunt_weapon_combo_2_SL
	setvariable mendhunt_weapon_combo_3_display %mendhunt_weapon_combo_3_SL
	setvariable mendhunt_weapon_combo_4_display %mendhunt_weapon_combo_4_SL
	setvariable mendhunt_weapon_combo_5_display %mendhunt_weapon_combo_5_SL
	setvariable mendhunt_weapon_combo_6_display %mendhunt_weapon_combo_6_SL
	setvariable mendhunt_weapon_combo_7_display %mendhunt_weapon_combo_7_SL
	setvariable mendhunt_weapon_combo_8_display %mendhunt_weapon_combo_8_SL
	setvariable mendhunt_weapon_ammo_display %mendhunt_weapon_ammo_SL
	setvariable mendhunt_weapon_shield_use_display %mendhunt_weapon_shield_use_SL
	setvariable mendhunt_weapon_shield_name_display %mendhunt_weapon_shield_name_SL
	setvariable mendhunt_weapon_stance_focus_display %mendhunt_weapon_stance_focus_SL
	goto SETUP_WEAPON_DETAIL_JUMPED
SETUP_WEAPON_DETAIL_JUMP_STAFFSLING:
	save STAFFSLING
	setvariable mendhunt_weapon_name_display %mendhunt_weapon_name_STAFFSLING
	setvariable mendhunt_weapon_class_display %mendhunt_weapon_class_STAFFSLING
	setvariable mendhunt_weapon_type_display %mendhunt_weapon_type_STAFFSLING
	setvariable mendhunt_weapon_combo_display %mendhunt_weapon_combo_STAFFSLING
	setvariable mendhunt_weapon_combo_1_display %mendhunt_weapon_combo_1_STAFFSLING
	setvariable mendhunt_weapon_combo_2_display %mendhunt_weapon_combo_2_STAFFSLING
	setvariable mendhunt_weapon_combo_3_display %mendhunt_weapon_combo_3_STAFFSLING
	setvariable mendhunt_weapon_combo_4_display %mendhunt_weapon_combo_4_STAFFSLING
	setvariable mendhunt_weapon_combo_5_display %mendhunt_weapon_combo_5_STAFFSLING
	setvariable mendhunt_weapon_combo_6_display %mendhunt_weapon_combo_6_STAFFSLING
	setvariable mendhunt_weapon_combo_7_display %mendhunt_weapon_combo_7_STAFFSLING
	setvariable mendhunt_weapon_combo_8_display %mendhunt_weapon_combo_8_STAFFSLING
	setvariable mendhunt_weapon_ammo_display %mendhunt_weapon_ammo_STAFFSLING
	setvariable mendhunt_weapon_shield_use_display %mendhunt_weapon_shield_use_STAFFSLING
	setvariable mendhunt_weapon_shield_name_display %mendhunt_weapon_shield_name_STAFFSLING
	setvariable mendhunt_weapon_stance_focus_display %mendhunt_weapon_stance_focus_STAFFSLING
	goto SETUP_WEAPON_DETAIL_JUMPED
SETUP_WEAPON_DETAIL_JUMP_SB:
	save SB
	setvariable mendhunt_weapon_name_display %mendhunt_weapon_name_SB
	setvariable mendhunt_weapon_class_display %mendhunt_weapon_class_SB
	setvariable mendhunt_weapon_type_display %mendhunt_weapon_type_SB
	setvariable mendhunt_weapon_combo_display %mendhunt_weapon_combo_SB
	setvariable mendhunt_weapon_combo_1_display %mendhunt_weapon_combo_1_SB
	setvariable mendhunt_weapon_combo_2_display %mendhunt_weapon_combo_2_SB
	setvariable mendhunt_weapon_combo_3_display %mendhunt_weapon_combo_3_SB
	setvariable mendhunt_weapon_combo_4_display %mendhunt_weapon_combo_4_SB
	setvariable mendhunt_weapon_combo_5_display %mendhunt_weapon_combo_5_SB
	setvariable mendhunt_weapon_combo_6_display %mendhunt_weapon_combo_6_SB
	setvariable mendhunt_weapon_combo_7_display %mendhunt_weapon_combo_7_SB
	setvariable mendhunt_weapon_combo_8_display %mendhunt_weapon_combo_8_SB
	setvariable mendhunt_weapon_ammo_display %mendhunt_weapon_ammo_SB
	setvariable mendhunt_weapon_shield_use_display %mendhunt_weapon_shield_use_SB
	setvariable mendhunt_weapon_shield_name_display %mendhunt_weapon_shield_name_SB
	setvariable mendhunt_weapon_stance_focus_display %mendhunt_weapon_stance_focus_SB
	goto SETUP_WEAPON_DETAIL_JUMPED
SETUP_WEAPON_DETAIL_JUMP_LOB:
	save LOB
	setvariable mendhunt_weapon_name_display %mendhunt_weapon_name_LOB
	setvariable mendhunt_weapon_class_display %mendhunt_weapon_class_LOB
	setvariable mendhunt_weapon_type_display %mendhunt_weapon_type_LOB
	setvariable mendhunt_weapon_combo_display %mendhunt_weapon_combo_LOB
	setvariable mendhunt_weapon_combo_1_display %mendhunt_weapon_combo_1_LOB
	setvariable mendhunt_weapon_combo_2_display %mendhunt_weapon_combo_2_LOB
	setvariable mendhunt_weapon_combo_3_display %mendhunt_weapon_combo_3_LOB
	setvariable mendhunt_weapon_combo_4_display %mendhunt_weapon_combo_4_LOB
	setvariable mendhunt_weapon_combo_5_display %mendhunt_weapon_combo_5_LOB
	setvariable mendhunt_weapon_combo_6_display %mendhunt_weapon_combo_6_LOB
	setvariable mendhunt_weapon_combo_7_display %mendhunt_weapon_combo_7_LOB
	setvariable mendhunt_weapon_combo_8_display %mendhunt_weapon_combo_8_LOB
	setvariable mendhunt_weapon_ammo_display %mendhunt_weapon_ammo_LOB
	setvariable mendhunt_weapon_shield_use_display %mendhunt_weapon_shield_use_LOB
	setvariable mendhunt_weapon_shield_name_display %mendhunt_weapon_shield_name_LOB
	setvariable mendhunt_weapon_stance_focus_display %mendhunt_weapon_stance_focus_LOB
	goto SETUP_WEAPON_DETAIL_JUMPED
SETUP_WEAPON_DETAIL_JUMP_CB:
	save CB
	setvariable mendhunt_weapon_name_display %mendhunt_weapon_name_CB
	setvariable mendhunt_weapon_class_display %mendhunt_weapon_class_CB
	setvariable mendhunt_weapon_type_display %mendhunt_weapon_type_CB
	setvariable mendhunt_weapon_combo_display %mendhunt_weapon_combo_CB
	setvariable mendhunt_weapon_combo_1_display %mendhunt_weapon_combo_1_CB
	setvariable mendhunt_weapon_combo_2_display %mendhunt_weapon_combo_2_CB
	setvariable mendhunt_weapon_combo_3_display %mendhunt_weapon_combo_3_CB
	setvariable mendhunt_weapon_combo_4_display %mendhunt_weapon_combo_4_CB
	setvariable mendhunt_weapon_combo_5_display %mendhunt_weapon_combo_5_CB
	setvariable mendhunt_weapon_combo_6_display %mendhunt_weapon_combo_6_CB
	setvariable mendhunt_weapon_combo_7_display %mendhunt_weapon_combo_7_CB
	setvariable mendhunt_weapon_combo_8_display %mendhunt_weapon_combo_8_CB
	setvariable mendhunt_weapon_ammo_display %mendhunt_weapon_ammo_CB
	setvariable mendhunt_weapon_shield_use_display %mendhunt_weapon_shield_use_CB
	setvariable mendhunt_weapon_shield_name_display %mendhunt_weapon_shield_name_CB
	setvariable mendhunt_weapon_stance_focus_display %mendhunt_weapon_stance_focus_CB
	goto SETUP_WEAPON_DETAIL_JUMPED
SETUP_WEAPON_DETAIL_JUMP_LX:
	save LX
	setvariable mendhunt_weapon_name_display %mendhunt_weapon_name_LX
	setvariable mendhunt_weapon_class_display %mendhunt_weapon_class_LX
	setvariable mendhunt_weapon_type_display %mendhunt_weapon_type_LX
	setvariable mendhunt_weapon_combo_display %mendhunt_weapon_combo_LX
	setvariable mendhunt_weapon_combo_1_display %mendhunt_weapon_combo_1_LX
	setvariable mendhunt_weapon_combo_2_display %mendhunt_weapon_combo_2_LX
	setvariable mendhunt_weapon_combo_3_display %mendhunt_weapon_combo_3_LX
	setvariable mendhunt_weapon_combo_4_display %mendhunt_weapon_combo_4_LX
	setvariable mendhunt_weapon_combo_5_display %mendhunt_weapon_combo_5_LX
	setvariable mendhunt_weapon_combo_6_display %mendhunt_weapon_combo_6_LX
	setvariable mendhunt_weapon_combo_7_display %mendhunt_weapon_combo_7_LX
	setvariable mendhunt_weapon_combo_8_display %mendhunt_weapon_combo_8_LX
	setvariable mendhunt_weapon_ammo_display %mendhunt_weapon_ammo_LX
	setvariable mendhunt_weapon_shield_use_display %mendhunt_weapon_shield_use_LX
	setvariable mendhunt_weapon_shield_name_display %mendhunt_weapon_shield_name_LX
	setvariable mendhunt_weapon_stance_focus_display %mendhunt_weapon_stance_focus_LX
	goto SETUP_WEAPON_DETAIL_JUMPED
SETUP_WEAPON_DETAIL_JUMP_HX:
	save HX
	setvariable mendhunt_weapon_name_display %mendhunt_weapon_name_HX
	setvariable mendhunt_weapon_class_display %mendhunt_weapon_class_HX
	setvariable mendhunt_weapon_type_display %mendhunt_weapon_type_HX
	setvariable mendhunt_weapon_combo_display %mendhunt_weapon_combo_HX
	setvariable mendhunt_weapon_combo_1_display %mendhunt_weapon_combo_1_HX
	setvariable mendhunt_weapon_combo_2_display %mendhunt_weapon_combo_2_HX
	setvariable mendhunt_weapon_combo_3_display %mendhunt_weapon_combo_3_HX
	setvariable mendhunt_weapon_combo_4_display %mendhunt_weapon_combo_4_HX
	setvariable mendhunt_weapon_combo_5_display %mendhunt_weapon_combo_5_HX
	setvariable mendhunt_weapon_combo_6_display %mendhunt_weapon_combo_6_HX
	setvariable mendhunt_weapon_combo_7_display %mendhunt_weapon_combo_7_HX
	setvariable mendhunt_weapon_combo_8_display %mendhunt_weapon_combo_8_HX
	setvariable mendhunt_weapon_ammo_display %mendhunt_weapon_ammo_HX
	setvariable mendhunt_weapon_shield_use_display %mendhunt_weapon_shield_use_HX
	setvariable mendhunt_weapon_shield_name_display %mendhunt_weapon_shield_name_HX
	setvariable mendhunt_weapon_stance_focus_display %mendhunt_weapon_stance_focus_HX
	goto SETUP_WEAPON_DETAIL_JUMPED
SETUP_WEAPON_DETAIL_JUMP_SS:
	save SS
	setvariable mendhunt_weapon_name_display %mendhunt_weapon_name_SS
	setvariable mendhunt_weapon_class_display %mendhunt_weapon_class_SS
	setvariable mendhunt_weapon_type_display %mendhunt_weapon_type_SS
	setvariable mendhunt_weapon_combo_display %mendhunt_weapon_combo_SS
	setvariable mendhunt_weapon_combo_1_display %mendhunt_weapon_combo_1_SS
	setvariable mendhunt_weapon_combo_2_display %mendhunt_weapon_combo_2_SS
	setvariable mendhunt_weapon_combo_3_display %mendhunt_weapon_combo_3_SS
	setvariable mendhunt_weapon_combo_4_display %mendhunt_weapon_combo_4_SS
	setvariable mendhunt_weapon_combo_5_display %mendhunt_weapon_combo_5_SS
	setvariable mendhunt_weapon_combo_6_display %mendhunt_weapon_combo_6_SS
	setvariable mendhunt_weapon_combo_7_display %mendhunt_weapon_combo_7_SS
	setvariable mendhunt_weapon_combo_8_display %mendhunt_weapon_combo_8_SS
	setvariable mendhunt_weapon_ammo_display %mendhunt_weapon_ammo_SS
	setvariable mendhunt_weapon_shield_use_display %mendhunt_weapon_shield_use_SS
	setvariable mendhunt_weapon_shield_name_display %mendhunt_weapon_shield_name_SS
	setvariable mendhunt_weapon_stance_focus_display %mendhunt_weapon_stance_focus_SS
	goto SETUP_WEAPON_DETAIL_JUMPED
SETUP_WEAPON_DETAIL_JUMP_QS:
	save QS
	setvariable mendhunt_weapon_name_display %mendhunt_weapon_name_QS
	setvariable mendhunt_weapon_class_display %mendhunt_weapon_class_QS
	setvariable mendhunt_weapon_type_display %mendhunt_weapon_type_QS
	setvariable mendhunt_weapon_combo_display %mendhunt_weapon_combo_QS
	setvariable mendhunt_weapon_combo_1_display %mendhunt_weapon_combo_1_QS
	setvariable mendhunt_weapon_combo_2_display %mendhunt_weapon_combo_2_QS
	setvariable mendhunt_weapon_combo_3_display %mendhunt_weapon_combo_3_QS
	setvariable mendhunt_weapon_combo_4_display %mendhunt_weapon_combo_4_QS
	setvariable mendhunt_weapon_combo_5_display %mendhunt_weapon_combo_5_QS
	setvariable mendhunt_weapon_combo_6_display %mendhunt_weapon_combo_6_QS
	setvariable mendhunt_weapon_combo_7_display %mendhunt_weapon_combo_7_QS
	setvariable mendhunt_weapon_combo_8_display %mendhunt_weapon_combo_8_QS
	setvariable mendhunt_weapon_ammo_display %mendhunt_weapon_ammo_QS
	setvariable mendhunt_weapon_shield_use_display %mendhunt_weapon_shield_use_QS
	setvariable mendhunt_weapon_shield_name_display %mendhunt_weapon_shield_name_QS
	setvariable mendhunt_weapon_stance_focus_display %mendhunt_weapon_stance_focus_QS
	goto SETUP_WEAPON_DETAIL_JUMPED
SETUP_WEAPON_DETAIL_JUMP_PI:
	save PI
	setvariable mendhunt_weapon_name_display %mendhunt_weapon_name_PI
	setvariable mendhunt_weapon_class_display %mendhunt_weapon_class_PI
	setvariable mendhunt_weapon_type_display %mendhunt_weapon_type_PI
	setvariable mendhunt_weapon_combo_display %mendhunt_weapon_combo_PI
	setvariable mendhunt_weapon_combo_1_display %mendhunt_weapon_combo_1_PI
	setvariable mendhunt_weapon_combo_2_display %mendhunt_weapon_combo_2_PI
	setvariable mendhunt_weapon_combo_3_display %mendhunt_weapon_combo_3_PI
	setvariable mendhunt_weapon_combo_4_display %mendhunt_weapon_combo_4_PI
	setvariable mendhunt_weapon_combo_5_display %mendhunt_weapon_combo_5_PI
	setvariable mendhunt_weapon_combo_6_display %mendhunt_weapon_combo_6_PI
	setvariable mendhunt_weapon_combo_7_display %mendhunt_weapon_combo_7_PI
	setvariable mendhunt_weapon_combo_8_display %mendhunt_weapon_combo_8_PI
	setvariable mendhunt_weapon_ammo_display %mendhunt_weapon_ammo_PI
	setvariable mendhunt_weapon_shield_use_display %mendhunt_weapon_shield_use_PI
	setvariable mendhunt_weapon_shield_name_display %mendhunt_weapon_shield_name_PI
	setvariable mendhunt_weapon_stance_focus_display %mendhunt_weapon_stance_focus_PI
	goto SETUP_WEAPON_DETAIL_JUMPED
SETUP_WEAPON_DETAIL_JUMP_HAL:
	save HAL
	setvariable mendhunt_weapon_name_display %mendhunt_weapon_name_HAL
	setvariable mendhunt_weapon_class_display %mendhunt_weapon_class_HAL
	setvariable mendhunt_weapon_type_display %mendhunt_weapon_type_HAL
	setvariable mendhunt_weapon_combo_display %mendhunt_weapon_combo_HAL
	setvariable mendhunt_weapon_combo_1_display %mendhunt_weapon_combo_1_HAL
	setvariable mendhunt_weapon_combo_2_display %mendhunt_weapon_combo_2_HAL
	setvariable mendhunt_weapon_combo_3_display %mendhunt_weapon_combo_3_HAL
	setvariable mendhunt_weapon_combo_4_display %mendhunt_weapon_combo_4_HAL
	setvariable mendhunt_weapon_combo_5_display %mendhunt_weapon_combo_5_HAL
	setvariable mendhunt_weapon_combo_6_display %mendhunt_weapon_combo_6_HAL
	setvariable mendhunt_weapon_combo_7_display %mendhunt_weapon_combo_7_HAL
	setvariable mendhunt_weapon_combo_8_display %mendhunt_weapon_combo_8_HAL
	setvariable mendhunt_weapon_ammo_display %mendhunt_weapon_ammo_HAL
	setvariable mendhunt_weapon_shield_use_display %mendhunt_weapon_shield_use_HAL
	setvariable mendhunt_weapon_shield_name_display %mendhunt_weapon_shield_name_HAL
	setvariable mendhunt_weapon_stance_focus_display %mendhunt_weapon_stance_focus_HAL
	goto SETUP_WEAPON_DETAIL_JUMPED
SETUP_WEAPON_DETAIL_JUMP_LT:
	save LT
	setvariable mendhunt_weapon_name_display %mendhunt_weapon_name_LT
	setvariable mendhunt_weapon_class_display %mendhunt_weapon_class_LT
	setvariable mendhunt_weapon_type_display %mendhunt_weapon_type_LT
	setvariable mendhunt_weapon_combo_display %mendhunt_weapon_combo_LT
	setvariable mendhunt_weapon_combo_1_display %mendhunt_weapon_combo_1_LT
	setvariable mendhunt_weapon_combo_2_display %mendhunt_weapon_combo_2_LT
	setvariable mendhunt_weapon_combo_3_display %mendhunt_weapon_combo_3_LT
	setvariable mendhunt_weapon_combo_4_display %mendhunt_weapon_combo_4_LT
	setvariable mendhunt_weapon_combo_5_display %mendhunt_weapon_combo_5_LT
	setvariable mendhunt_weapon_combo_6_display %mendhunt_weapon_combo_6_LT
	setvariable mendhunt_weapon_combo_7_display %mendhunt_weapon_combo_7_LT
	setvariable mendhunt_weapon_combo_8_display %mendhunt_weapon_combo_8_LT
	setvariable mendhunt_weapon_ammo_display %mendhunt_weapon_ammo_LT
	setvariable mendhunt_weapon_shield_use_display %mendhunt_weapon_shield_use_LT
	setvariable mendhunt_weapon_shield_name_display %mendhunt_weapon_shield_name_LT
	setvariable mendhunt_weapon_stance_focus_display %mendhunt_weapon_stance_focus_LT
	goto SETUP_WEAPON_DETAIL_JUMPED
SETUP_WEAPON_DETAIL_JUMP_HT:
	save HT
	setvariable mendhunt_weapon_name_display %mendhunt_weapon_name_HT
	setvariable mendhunt_weapon_class_display %mendhunt_weapon_class_HT
	setvariable mendhunt_weapon_type_display %mendhunt_weapon_type_HT
	setvariable mendhunt_weapon_combo_display %mendhunt_weapon_combo_HT
	setvariable mendhunt_weapon_combo_1_display %mendhunt_weapon_combo_1_HT
	setvariable mendhunt_weapon_combo_2_display %mendhunt_weapon_combo_2_HT
	setvariable mendhunt_weapon_combo_3_display %mendhunt_weapon_combo_3_HT
	setvariable mendhunt_weapon_combo_4_display %mendhunt_weapon_combo_4_HT
	setvariable mendhunt_weapon_combo_5_display %mendhunt_weapon_combo_5_HT
	setvariable mendhunt_weapon_combo_6_display %mendhunt_weapon_combo_6_HT
	setvariable mendhunt_weapon_combo_7_display %mendhunt_weapon_combo_7_HT
	setvariable mendhunt_weapon_combo_8_display %mendhunt_weapon_combo_8_HT
	setvariable mendhunt_weapon_ammo_display %mendhunt_weapon_ammo_HT
	setvariable mendhunt_weapon_shield_use_display %mendhunt_weapon_shield_use_HT
	setvariable mendhunt_weapon_shield_name_display %mendhunt_weapon_shield_name_HT
	setvariable mendhunt_weapon_stance_focus_display %mendhunt_weapon_stance_focus_HT
	goto SETUP_WEAPON_DETAIL_JUMPED


SETUP_WEAPON_DETAIL_JUMPED:
put echo /on
waitfor echocolumn
echo
echo
echo =======================================================================
echo ***                        WEAPON/ARMS DETAIL - %s
echo =======================================================================
echo
echo Name:             %mendhunt_weapon_name_display
echo Class:            %mendhunt_weapon_class_display
echo Type:             %mendhunt_weapon_type_display
echo Combo:            %mendhunt_weapon_combo_display
echo .                      %mendhunt_weapon_combo_1_display
echo .                      %mendhunt_weapon_combo_2_display
echo .                      %mendhunt_weapon_combo_3_display
echo .                      %mendhunt_weapon_combo_4_display
echo .                      %mendhunt_weapon_combo_5_display
echo .                      %mendhunt_weapon_combo_6_display
echo .                      %mendhunt_weapon_combo_7_display
echo .                      %mendhunt_weapon_combo_8_display
echo Ammo:             %mendhunt_weapon_ammo_display
echo Shield Use:       %mendhunt_weapon_shield_use_display
echo Stance Focus:     %mendhunt_weapon_stance_focus_display
echo 
echo =======================================================================
echo Weapon name.............................  .mendhunt set weapon %s name <text>
echo Weapon combo............................  combo=choose
echo Weapon ammo.............................  .mendhunt set weapon %s ammo <text>
echo
echo Shield use OFF..........................  shield=off
echo Shield use armworn......................  shield=armworn
echo Shield use handheld.....................  shield=handheld
echo
echo Stance focus Evasion....................  stance=evasion
echo Stance focus Parry......................  stance=parry
echo Stance focus Shield.....................  stance=shield
echo
echo Return to the Arms SubMenu..............  z1
echo =======================================================================
echo Notes:
echo 1) master stance switch is currently:    %mendhunt_stance_test
echo 2) change stance settings in Stance Menu, important thing here is to set the Stance Focus
echo 3) change shield settings in Shield Menu, important thing here is to set the Shield Use
echo
put echo /off
pause 1
	match SETUP_WEAPON_COMBO_CHOOSE combo=choose
	match SETUP_WEAPON_STANCE_FOCUS_EVASION stance=evasion
	match SETUP_WEAPON_STANCE_FOCUS_PARRY stance=parry
	match SETUP_WEAPON_STANCE_FOCUS_SHIELD stance=shield
	match SETUP_WEAPON_SHIELD_OFF shield=off
	match SETUP_WEAPON_SHIELD_ARMWORN shield=armworn
	match SETUP_WEAPON_SHIELD_HANDHELD shield=handheld
	match SETUP_ARMS_SUBMENU z1
	matchwait

SETUP_WEAPON_SHIELD_OFF:
	setvariable mendhunt_weapon_shield_use_%s OFF
	goto SETUP_WEAPON_DETAIL_END
SETUP_WEAPON_SHIELD_ARMWORN:
	setvariable mendhunt_weapon_shield_use_%s ARMWORN
	goto SETUP_WEAPON_DETAIL_END
SETUP_WEAPON_SHIELD_HANDHELD:
	setvariable mendhunt_weapon_shield_use_%s HANDHELD
	goto SETUP_WEAPON_DETAIL_END
SETUP_WEAPON_STANCE_FOCUS_EVASION:
	setvariable mendhunt_weapon_stance_focus_%s EVASION
	goto SETUP_WEAPON_DETAIL_END
SETUP_WEAPON_STANCE_FOCUS_PARRY:
	setvariable mendhunt_weapon_stance_focus_%s PARRY
	goto SETUP_WEAPON_DETAIL_END
SETUP_WEAPON_STANCE_FOCUS_SHIELD:
	setvariable mendhunt_weapon_stance_focus_%s SHIELD
	goto SETUP_WEAPON_DETAIL_END

SETUP_WEAPON_DETAIL_END:
	setvariable mendhunt_need_initialize_flag yes
	goto SETUP_WEAPON_DETAIL

#-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*
SETUP_WEAPON_DETAIL_BR:
put echo /on
waitfor echocolumn
echo
echo
echo =======================================================================
echo ***                        WEAPON/ARMS DETAIL - Brawling
echo =======================================================================
echo
echo Name:             %mendhunt_weapon_name_BR
echo Class:            %mendhunt_weapon_class_BR
echo Type:             %mendhunt_weapon_type_BR
echo Combo:            %mendhunt_weapon_combo_BR
echo .                      %mendhunt_weapon_combo_1_BR
echo .                      %mendhunt_weapon_combo_2_BR
echo .                      %mendhunt_weapon_combo_3_BR
echo .                      %mendhunt_weapon_combo_4_BR
echo .                      %mendhunt_weapon_combo_5_BR
echo .                      %mendhunt_weapon_combo_6_BR
echo .                      %mendhunt_weapon_combo_7_BR
echo .                      %mendhunt_weapon_combo_8_BR
echo Ammo:             %mendhunt_weapon_ammo_BR
echo Shield Use:       %mendhunt_weapon_shield_use_BR
echo Stance Focus:     %mendhunt_weapon_stance_focus_BR
echo 
echo =======================================================================
echo BR combo................  .mendhunt combo BR <1> <2> <3> <4> <5> <6> <7> <8>
echo
echo .      <#> = [kick|punch|"punch left"|skkip|... ]    (note: skkip with two k's, to not use a number)
echo
echo Shield use OFF..........................  shield=off
echo Shield use armworn......................  shield=armworn
echo Shield use handheld.....................  shield=handheld
echo
echo Stance focus Evasion....................  stance=evasion
echo Stance focus Parry......................  stance=parry
echo Stance focus Shield.....................  stance=shield
echo
echo Return to the Arms SubMenu..............  z1
echo =======================================================================
echo
put echo /off
pause 1
	match SETUP_WEAPON_DETAIL_BR_STANCE_FOCUS_EVASION stance=evasion
	match SETUP_WEAPON_DETAIL_BR_STANCE_FOCUS_PARRY stance=parry
	match SETUP_WEAPON_DETAIL_BR_STANCE_FOCUS_SHIELD stance=shield
	match SETUP_WEAPON_DETAIL_BR_SHIELD_OFF shield=off
	match SETUP_WEAPON_DETAIL_BR_SHIELD_ARMWORN shield=armworn
	match SETUP_WEAPON_DETAIL_BR_SHIELD_HANDHELD shield=handheld
	match SETUP_ARMS_SUBMENU z1
	matchwait

SETUP_WEAPON_DETAIL_BR_SHIELD_OFF:
	setvariable mendhunt_weapon_shield_use_BR OFF
	goto SETUP_WEAPON_DETAIL_BR_END
SETUP_WEAPON_DETAIL_BR_SHIELD_ARMWORN:
	setvariable mendhunt_weapon_shield_use_BR ARMWORN
	goto SETUP_WEAPON_DETAIL_BR_END
SETUP_WEAPON_DETAIL_BR_SHIELD_HANDHELD:
	setvariable mendhunt_weapon_shield_use_BR HANDHELD
	goto SETUP_WEAPON_DETAIL_BR_END
SETUP_WEAPON_DETAIL_BR_STANCE_FOCUS_EVASION:
	setvariable mendhunt_weapon_stance_focus_BR EVASION
	goto SETUP_WEAPON_DETAIL_BR_END
SETUP_WEAPON_DETAIL_BR_STANCE_FOCUS_PARRY:
	setvariable mendhunt_weapon_stance_focus_BR PARRY
	goto SETUP_WEAPON_DETAIL_BR_END
SETUP_WEAPON_DETAIL_BR_STANCE_FOCUS_SHIELD:
	setvariable mendhunt_weapon_stance_focus_BR SHIELD
	goto SETUP_WEAPON_DETAIL_BR_END

SETUP_WEAPON_DETAIL_BR_END:
	setvariable mendhunt_need_initialize_flag yes
	goto SETUP_WEAPON_DETAIL_BR

#-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*
SETUP_WEAPON_DETAIL_OW:
put echo /on
waitfor echocolumn
echo
echo
echo =======================================================================
echo ***                        WEAPON/ARMS DETAIL - Offhand (Dual Wield)
echo =======================================================================
echo
echo Name:             %mendhunt_weapon_name_OW
echo .   right:        %mendhunt_weapon_name_right_OW
echo .   left:         %mendhunt_weapon_name_left_OW
echo Class:            %mendhunt_weapon_class_OW
echo .   right:        %mendhunt_weapon_class_right_OW
echo .   left:         %mendhunt_weapon_class_left_OW
echo Type:             %mendhunt_weapon_type_OW
echo .   right:        %mendhunt_weapon_type_right_OW
echo .   left:         %mendhunt_weapon_type_left_OW
echo Combo:            %mendhunt_weapon_combo_OW
echo .                      %mendhunt_weapon_combo_1_OW
echo .                      %mendhunt_weapon_combo_2_OW
echo .                      %mendhunt_weapon_combo_3_OW
echo .                      %mendhunt_weapon_combo_4_OW
echo .                      %mendhunt_weapon_combo_5_OW
echo .                      %mendhunt_weapon_combo_6_OW
echo .                      %mendhunt_weapon_combo_7_OW
echo .                      %mendhunt_weapon_combo_8_OW
echo Ammo:             %mendhunt_weapon_ammo_OW
echo Shield Use:       %mendhunt_weapon_shield_use_OW
echo Stance Focus:     %mendhunt_weapon_stance_focus_OW
echo 
echo =======================================================================
echo Weapon right hand.......................  right=<class>
echo Weapon left hand........................  left=<class>
echo
echo Combo..........................  .mendhunt combo OW <1> <2> <3> <4> <5> <6> <7> <8>
echo .   where:
echo .   <#> = [parry|"feint left"|"slice right"|skkip|... ]    (note: skkip with two k's, to not use a number)
echo
echo
echo Shield use OFF..........................  shield=off
echo Shield use armworn......................  shield=armworn
echo
echo Stance focus Evasion....................  stance=evasion
echo Stance focus Parry......................  stance=parry
echo Stance focus Shield.....................  stance=shield
echo
echo Return to the Arms SubMenu..............  z1
echo =======================================================================
echo Note:
echo
echo 1) If not obvious, can not choose OW as weapon left/right.  Also, BR is not allowed.
echo 2) Primary weapon guilds can use heavy weapon in left hand, secondary medium, and tertiary light.
echo .    Script will choke if you can't use the weapons in hand.
echo .    Allowing two handed weapons... who knows the future, but for now will choke.
echo 3) Not allowing handheld shields.
echo 4) Left and right weapons *must* have unique names.
echo 5) Script does not perform a weapon check with dual wield... so use swappable weapons
echo .    with caution.  If swapped to wrong class, script may choke.
echo 6) Script alternates OW by activating the left hand then activating the right hand as:
echo .   {perform left hand weapon type (melee/thrown) action} then {perform right (melee/ranged/thrown) action}
echo .    repeating X times depending on what the combat loop is set to (see combat options).
echo .    It may do right then left depending on where it leaves off when a critter is killed.
echo 7) Allowing mixed dual (ie melee in right and thrown in left, etc) however,
echo .    ranged is not allowed in left hand, so that makes six possible dual wield setups.
echo 8) With a mixed dual setup, the script checks what weapon type is in the active hand then
echo .   performs accordingly (ie if it is left hand's turn and left's type is thrown,
echo .   the script will "throw left" and vice versa... if ranged is in right it will aim/fire.
echo .      When melee is activated, the script will use the combo.
echo .        If both hands are melee, use "xxx left" and "xxx right" as you please (even do left left right, etc).
echo .        If using a mixed dual, setup the combo accordingly using "xxx left/right" per hand with melee weapon.
echo 9) If using OW in a multi weapon slot, script switches slots when the OW skill is full.
echo 10) Ammo is auto loaded and updated per ranged weapon in RH... can be changed manually if desired with:
echo .        .mendhunt set weapon OW ammo <text>; however, it will revert back anytime script reinits.
echo
put echo /off
pause 1

	match SETUP_WEAPON_DETAIL_OW_RIGHT_LE right=LE
	match SETUP_WEAPON_DETAIL_OW_RIGHT_ME right=ME
	match SETUP_WEAPON_DETAIL_OW_RIGHT_HE right=HE
	match SETUP_WEAPON_DETAIL_OW_RIGHT_LE right=2HE
	match SETUP_WEAPON_DETAIL_OW_RIGHT_LB right=LB
	match SETUP_WEAPON_DETAIL_OW_RIGHT_MB right=MB
	match SETUP_WEAPON_DETAIL_OW_RIGHT_HB right=HB
	match SETUP_WEAPON_DETAIL_OW_RIGHT_2HB right=2HB
	match SETUP_WEAPON_DETAIL_OW_RIGHT_SL right=SL
	match SETUP_WEAPON_DETAIL_OW_RIGHT_STAFFSLING right=STAFFSLING
	match SETUP_WEAPON_DETAIL_OW_RIGHT_SB right=SB
	match SETUP_WEAPON_DETAIL_OW_RIGHT_LOB right=LOB
	match SETUP_WEAPON_DETAIL_OW_RIGHT_CB right=CB
	match SETUP_WEAPON_DETAIL_OW_RIGHT_LX right=LX
	match SETUP_WEAPON_DETAIL_OW_RIGHT_HX right=HX
	match SETUP_WEAPON_DETAIL_OW_RIGHT_SS right=SS
	match SETUP_WEAPON_DETAIL_OW_RIGHT_QS right=QS
	match SETUP_WEAPON_DETAIL_OW_RIGHT_PI right=PI
	match SETUP_WEAPON_DETAIL_OW_RIGHT_HAL right=HAL
	match SETUP_WEAPON_DETAIL_OW_RIGHT_LT right=LT
	match SETUP_WEAPON_DETAIL_OW_RIGHT_HT right=HT

	match SETUP_WEAPON_DETAIL_OW_LEFT_LE left=LE
	match SETUP_WEAPON_DETAIL_OW_LEFT_ME left=ME
	match SETUP_WEAPON_DETAIL_OW_LEFT_HE left=HE
	match SETUP_WEAPON_DETAIL_OW_LEFT_LE left=2HE
	match SETUP_WEAPON_DETAIL_OW_LEFT_LB left=LB
	match SETUP_WEAPON_DETAIL_OW_LEFT_MB left=MB
	match SETUP_WEAPON_DETAIL_OW_LEFT_HB left=HB
	match SETUP_WEAPON_DETAIL_OW_LEFT_2HB left=2HB
	match SETUP_WEAPON_DETAIL_OW_LEFT_SS left=SS
	match SETUP_WEAPON_DETAIL_OW_LEFT_QS left=QS
	match SETUP_WEAPON_DETAIL_OW_LEFT_PI left=PI
	match SETUP_WEAPON_DETAIL_OW_LEFT_HAL left=HAL
	match SETUP_WEAPON_DETAIL_OW_LEFT_LT left=LT
	match SETUP_WEAPON_DETAIL_OW_LEFT_HT left=HT

	match SETUP_WEAPON_DETAIL_OW_STANCE_FOCUS_EVASION stance=evasion
	match SETUP_WEAPON_DETAIL_OW_STANCE_FOCUS_PARRY stance=parry
	match SETUP_WEAPON_DETAIL_OW_STANCE_FOCUS_SHIELD stance=shield
	match SETUP_WEAPON_DETAIL_OW_SHIELD_OFF shield=off
	match SETUP_WEAPON_DETAIL_OW_SHIELD_ARMWORN shield=armworn
	match SETUP_ARMS_SUBMENU z1
	matchwait


SETUP_WEAPON_DETAIL_OW_SHIELD_OFF:
	setvariable mendhunt_weapon_shield_use_OW OFF
	goto SETUP_WEAPON_DETAIL_OW_END
SETUP_WEAPON_DETAIL_OW_SHIELD_ARMWORN:
	setvariable mendhunt_weapon_shield_use_OW ARMWORN
	goto SETUP_WEAPON_DETAIL_OW_END
SETUP_WEAPON_DETAIL_OW_STANCE_FOCUS_EVASION:
	setvariable mendhunt_weapon_stance_focus_OW EVASION
	goto SETUP_WEAPON_DETAIL_OW_END
SETUP_WEAPON_DETAIL_OW_STANCE_FOCUS_PARRY:
	setvariable mendhunt_weapon_stance_focus_OW PARRY
	goto SETUP_WEAPON_DETAIL_OW_END
SETUP_WEAPON_DETAIL_OW_STANCE_FOCUS_SHIELD:
	setvariable mendhunt_weapon_stance_focus_OW SHIELD
	goto SETUP_WEAPON_DETAIL_OW_END

SETUP_WEAPON_DETAIL_OW_RIGHT_LE:
	setvariable mendhunt_weapon_name_right_OW %mendhunt_weapon_name_LE
	setvariable mendhunt_weapon_class_right_OW %mendhunt_weapon_class_LE
	setvariable mendhunt_weapon_type_right_OW %mendhunt_weapon_type_LE
	goto SETUP_WEAPON_DETAIL_OW_END
SETUP_WEAPON_DETAIL_OW_RIGHT_ME:
	setvariable mendhunt_weapon_name_right_OW %mendhunt_weapon_name_ME
	setvariable mendhunt_weapon_class_right_OW %mendhunt_weapon_class_ME
	setvariable mendhunt_weapon_type_right_OW %mendhunt_weapon_type_ME
	goto SETUP_WEAPON_DETAIL_OW_END
SETUP_WEAPON_DETAIL_OW_RIGHT_HE:
	setvariable mendhunt_weapon_name_right_OW %mendhunt_weapon_name_HE
	setvariable mendhunt_weapon_class_right_OW %mendhunt_weapon_class_HE
	setvariable mendhunt_weapon_type_right_OW %mendhunt_weapon_type_HE
	goto SETUP_WEAPON_DETAIL_OW_END
SETUP_WEAPON_DETAIL_OW_RIGHT_2HE:
	setvariable mendhunt_weapon_name_right_OW %mendhunt_weapon_name_2HE
	setvariable mendhunt_weapon_class_right_OW %mendhunt_weapon_class_2HE
	setvariable mendhunt_weapon_type_right_OW %mendhunt_weapon_type_2HE
	goto SETUP_WEAPON_DETAIL_OW_END
SETUP_WEAPON_DETAIL_OW_RIGHT_LB:
	setvariable mendhunt_weapon_name_right_OW %mendhunt_weapon_name_LB
	setvariable mendhunt_weapon_class_right_OW %mendhunt_weapon_class_LB
	setvariable mendhunt_weapon_type_right_OW %mendhunt_weapon_type_LB
	goto SETUP_WEAPON_DETAIL_OW_END
SETUP_WEAPON_DETAIL_OW_RIGHT_MB:
	setvariable mendhunt_weapon_name_right_OW %mendhunt_weapon_name_MB
	setvariable mendhunt_weapon_class_right_OW %mendhunt_weapon_class_MB
	setvariable mendhunt_weapon_type_right_OW %mendhunt_weapon_type_MB
	goto SETUP_WEAPON_DETAIL_OW_END
SETUP_WEAPON_DETAIL_OW_RIGHT_HB:
	setvariable mendhunt_weapon_name_right_OW %mendhunt_weapon_name_HB
	setvariable mendhunt_weapon_class_right_OW %mendhunt_weapon_class_HB
	setvariable mendhunt_weapon_type_right_OW %mendhunt_weapon_type_HB
	goto SETUP_WEAPON_DETAIL_OW_END
SETUP_WEAPON_DETAIL_OW_RIGHT_2HB:
	setvariable mendhunt_weapon_name_right_OW %mendhunt_weapon_name_2HB
	setvariable mendhunt_weapon_class_right_OW %mendhunt_weapon_class_2HB
	setvariable mendhunt_weapon_type_right_OW %mendhunt_weapon_type_2HB
	goto SETUP_WEAPON_DETAIL_OW_END
SETUP_WEAPON_DETAIL_OW_RIGHT_SL:
	setvariable mendhunt_weapon_name_right_OW %mendhunt_weapon_name_SL
	setvariable mendhunt_weapon_class_right_OW %mendhunt_weapon_class_SL
	setvariable mendhunt_weapon_type_right_OW %mendhunt_weapon_type_SL
	setvariable mendhunt_weapon_ammo_OW %mendhunt_weapon_ammo_SL
	goto SETUP_WEAPON_DETAIL_OW_END
SETUP_WEAPON_DETAIL_OW_RIGHT_STAFFSLING:
	setvariable mendhunt_weapon_name_right_OW %mendhunt_weapon_name_STAFFSLING
	setvariable mendhunt_weapon_class_right_OW %mendhunt_weapon_class_STAFFSLING
	setvariable mendhunt_weapon_type_right_OW %mendhunt_weapon_type_STAFFSLING
	setvariable mendhunt_weapon_ammo_OW %mendhunt_weapon_ammo_STAFFSLING
	goto SETUP_WEAPON_DETAIL_OW_END
SETUP_WEAPON_DETAIL_OW_RIGHT_SB:
	setvariable mendhunt_weapon_name_right_OW %mendhunt_weapon_name_SB
	setvariable mendhunt_weapon_class_right_OW %mendhunt_weapon_class_SB
	setvariable mendhunt_weapon_type_right_OW %mendhunt_weapon_type_SB
	setvariable mendhunt_weapon_ammo_OW %mendhunt_weapon_ammo_SB
	goto SETUP_WEAPON_DETAIL_OW_END
SETUP_WEAPON_DETAIL_OW_RIGHT_LOB:
	setvariable mendhunt_weapon_name_right_OW %mendhunt_weapon_name_LOB
	setvariable mendhunt_weapon_class_right_OW %mendhunt_weapon_class_LOB
	setvariable mendhunt_weapon_type_right_OW %mendhunt_weapon_type_LOB
	setvariable mendhunt_weapon_ammo_OW %mendhunt_weapon_ammo_LOB
	goto SETUP_WEAPON_DETAIL_OW_END
SETUP_WEAPON_DETAIL_OW_RIGHT_CB:
	setvariable mendhunt_weapon_name_right_OW %mendhunt_weapon_name_CB
	setvariable mendhunt_weapon_class_right_OW %mendhunt_weapon_class_CB
	setvariable mendhunt_weapon_type_right_OW %mendhunt_weapon_type_CB
	setvariable mendhunt_weapon_ammo_OW %mendhunt_weapon_ammo_CB
	goto SETUP_WEAPON_DETAIL_OW_END
SETUP_WEAPON_DETAIL_OW_RIGHT_LX:
	setvariable mendhunt_weapon_name_right_OW %mendhunt_weapon_name_LX
	setvariable mendhunt_weapon_class_right_OW %mendhunt_weapon_class_LX
	setvariable mendhunt_weapon_type_right_OW %mendhunt_weapon_type_LX
	setvariable mendhunt_weapon_ammo_OW %mendhunt_weapon_ammo_LX
	goto SETUP_WEAPON_DETAIL_OW_END
SETUP_WEAPON_DETAIL_OW_RIGHT_HX:
	setvariable mendhunt_weapon_name_right_OW %mendhunt_weapon_name_HX
	setvariable mendhunt_weapon_class_right_OW %mendhunt_weapon_class_HX
	setvariable mendhunt_weapon_type_right_OW %mendhunt_weapon_type_HX
	setvariable mendhunt_weapon_ammo_OW %mendhunt_weapon_ammo_HX
	goto SETUP_WEAPON_DETAIL_OW_END
SETUP_WEAPON_DETAIL_OW_RIGHT_SS:
	setvariable mendhunt_weapon_name_right_OW %mendhunt_weapon_name_SS
	setvariable mendhunt_weapon_class_right_OW %mendhunt_weapon_class_SS
	setvariable mendhunt_weapon_type_right_OW %mendhunt_weapon_type_SS
	goto SETUP_WEAPON_DETAIL_OW_END
SETUP_WEAPON_DETAIL_OW_RIGHT_QS:
	setvariable mendhunt_weapon_name_right_OW %mendhunt_weapon_name_QS
	setvariable mendhunt_weapon_class_right_OW %mendhunt_weapon_class_QS
	setvariable mendhunt_weapon_type_right_OW %mendhunt_weapon_type_QS
	goto SETUP_WEAPON_DETAIL_OW_END
SETUP_WEAPON_DETAIL_OW_RIGHT_PI:
	setvariable mendhunt_weapon_name_right_OW %mendhunt_weapon_name_PI
	setvariable mendhunt_weapon_class_right_OW %mendhunt_weapon_class_PI
	setvariable mendhunt_weapon_type_right_OW %mendhunt_weapon_type_PI
	goto SETUP_WEAPON_DETAIL_OW_END
SETUP_WEAPON_DETAIL_OW_RIGHT_HAL:
	setvariable mendhunt_weapon_name_right_OW %mendhunt_weapon_name_HAL
	setvariable mendhunt_weapon_class_right_OW %mendhunt_weapon_class_HAL
	setvariable mendhunt_weapon_type_right_OW %mendhunt_weapon_type_HAL
	goto SETUP_WEAPON_DETAIL_OW_END
SETUP_WEAPON_DETAIL_OW_RIGHT_LT:
	setvariable mendhunt_weapon_name_right_OW %mendhunt_weapon_name_LT
	setvariable mendhunt_weapon_class_right_OW %mendhunt_weapon_class_LT
	setvariable mendhunt_weapon_type_right_OW %mendhunt_weapon_type_LT
	goto SETUP_WEAPON_DETAIL_OW_END
SETUP_WEAPON_DETAIL_OW_RIGHT_HT:
	setvariable mendhunt_weapon_name_right_OW %mendhunt_weapon_name_HT
	setvariable mendhunt_weapon_class_right_OW %mendhunt_weapon_class_HT
	setvariable mendhunt_weapon_type_right_OW %mendhunt_weapon_type_HT
	goto SETUP_WEAPON_DETAIL_OW_END

SETUP_WEAPON_DETAIL_OW_LEFT_LE:
	setvariable mendhunt_weapon_name_left_OW %mendhunt_weapon_name_LE
	setvariable mendhunt_weapon_class_left_OW %mendhunt_weapon_class_LE
	setvariable mendhunt_weapon_type_left_OW %mendhunt_weapon_type_LE
	goto SETUP_WEAPON_DETAIL_OW_END
SETUP_WEAPON_DETAIL_OW_LEFT_ME:
	setvariable mendhunt_weapon_name_left_OW %mendhunt_weapon_name_ME
	setvariable mendhunt_weapon_class_left_OW %mendhunt_weapon_class_ME
	setvariable mendhunt_weapon_type_left_OW %mendhunt_weapon_type_ME
	goto SETUP_WEAPON_DETAIL_OW_END
SETUP_WEAPON_DETAIL_OW_LEFT_HE:
	setvariable mendhunt_weapon_name_left_OW %mendhunt_weapon_name_HE
	setvariable mendhunt_weapon_class_left_OW %mendhunt_weapon_class_HE
	setvariable mendhunt_weapon_type_left_OW %mendhunt_weapon_type_HE
	goto SETUP_WEAPON_DETAIL_OW_END
SETUP_WEAPON_DETAIL_OW_LEFT_2HE:
	setvariable mendhunt_weapon_name_left_OW %mendhunt_weapon_name_2HE
	setvariable mendhunt_weapon_class_left_OW %mendhunt_weapon_class_2HE
	setvariable mendhunt_weapon_type_left_OW %mendhunt_weapon_type_2HE
	goto SETUP_WEAPON_DETAIL_OW_END
SETUP_WEAPON_DETAIL_OW_LEFT_LB:
	setvariable mendhunt_weapon_name_left_OW %mendhunt_weapon_name_LB
	setvariable mendhunt_weapon_class_left_OW %mendhunt_weapon_class_LB
	setvariable mendhunt_weapon_type_left_OW %mendhunt_weapon_type_LB
	goto SETUP_WEAPON_DETAIL_OW_END
SETUP_WEAPON_DETAIL_OW_LEFT_MB:
	setvariable mendhunt_weapon_name_left_OW %mendhunt_weapon_name_MB
	setvariable mendhunt_weapon_class_left_OW %mendhunt_weapon_class_MB
	setvariable mendhunt_weapon_type_left_OW %mendhunt_weapon_type_MB
	goto SETUP_WEAPON_DETAIL_OW_END
SETUP_WEAPON_DETAIL_OW_LEFT_HB:
	setvariable mendhunt_weapon_name_left_OW %mendhunt_weapon_name_HB
	setvariable mendhunt_weapon_class_left_OW %mendhunt_weapon_class_HB
	setvariable mendhunt_weapon_type_left_OW %mendhunt_weapon_type_HB
	goto SETUP_WEAPON_DETAIL_OW_END
SETUP_WEAPON_DETAIL_OW_LEFT_2HB:
	setvariable mendhunt_weapon_name_left_OW %mendhunt_weapon_name_2HB
	setvariable mendhunt_weapon_class_left_OW %mendhunt_weapon_class_2HB
	setvariable mendhunt_weapon_type_left_OW %mendhunt_weapon_type_2HB
	goto SETUP_WEAPON_DETAIL_OW_END
SETUP_WEAPON_DETAIL_OW_LEFT_SS:
	setvariable mendhunt_weapon_name_left_OW %mendhunt_weapon_name_SS
	setvariable mendhunt_weapon_class_left_OW %mendhunt_weapon_class_SS
	setvariable mendhunt_weapon_type_left_OW %mendhunt_weapon_type_SS
	goto SETUP_WEAPON_DETAIL_OW_END
SETUP_WEAPON_DETAIL_OW_LEFT_QS:
	setvariable mendhunt_weapon_name_left_OW %mendhunt_weapon_name_QS
	setvariable mendhunt_weapon_class_left_OW %mendhunt_weapon_class_QS
	setvariable mendhunt_weapon_type_left_OW %mendhunt_weapon_type_QS
	goto SETUP_WEAPON_DETAIL_OW_END
SETUP_WEAPON_DETAIL_OW_LEFT_PI:
	setvariable mendhunt_weapon_name_left_OW %mendhunt_weapon_name_PI
	setvariable mendhunt_weapon_class_left_OW %mendhunt_weapon_class_PI
	setvariable mendhunt_weapon_type_left_OW %mendhunt_weapon_type_PI
	goto SETUP_WEAPON_DETAIL_OW_END
SETUP_WEAPON_DETAIL_OW_LEFT_HAL:
	setvariable mendhunt_weapon_name_left_OW %mendhunt_weapon_name_HAL
	setvariable mendhunt_weapon_class_left_OW %mendhunt_weapon_class_HAL
	setvariable mendhunt_weapon_type_left_OW %mendhunt_weapon_type_HAL
	goto SETUP_WEAPON_DETAIL_OW_END
SETUP_WEAPON_DETAIL_OW_LEFT_LT:
	setvariable mendhunt_weapon_name_left_OW %mendhunt_weapon_name_LT
	setvariable mendhunt_weapon_class_left_OW %mendhunt_weapon_class_LT
	setvariable mendhunt_weapon_type_left_OW %mendhunt_weapon_type_LT
	goto SETUP_WEAPON_DETAIL_OW_END
SETUP_WEAPON_DETAIL_OW_LEFT_HT:
	setvariable mendhunt_weapon_name_left_OW %mendhunt_weapon_name_HT
	setvariable mendhunt_weapon_class_left_OW %mendhunt_weapon_class_HT
	setvariable mendhunt_weapon_type_left_OW %mendhunt_weapon_type_HT
	goto SETUP_WEAPON_DETAIL_OW_END

SETUP_WEAPON_DETAIL_OW_END:
	setvariable mendhunt_need_initialize_flag yes
	goto SETUP_WEAPON_DETAIL_OW

#-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*
SETUP_ARMS_NOWEAPON:
put echo /on
waitfor echocolumn
echo
echo
echo =======================================================================
echo ***                        NO WEAPONS DETAIL
echo =======================================================================
echo
echo Name:             %mendhunt_weapon_name_noweap
echo Class:            %mendhunt_weapon_class_noweap
echo Type:             %mendhunt_weapon_type_noweap
echo Combo:            %mendhunt_weapon_combo_noweap
echo .                      %mendhunt_weapon_combo_1_noweap
echo .                      %mendhunt_weapon_combo_2_noweap
echo .                      %mendhunt_weapon_combo_3_noweap
echo .                      %mendhunt_weapon_combo_4_noweap
echo .                      %mendhunt_weapon_combo_5_noweap
echo .                      %mendhunt_weapon_combo_6_noweap
echo .                      %mendhunt_weapon_combo_7_noweap
echo .                      %mendhunt_weapon_combo_8_noweap
echo Ammo:             %mendhunt_weapon_ammo_noweap
echo Shield Use:       %mendhunt_weapon_shield_use_noweap
echo Stance Focus:     %mendhunt_weapon_stance_focus_noweap
echo 
echo =======================================================================
echo Shield use OFF..........................  shield=off
echo Shield use armworn......................  shield=armworn
echo Shield use handheld.....................  shield=handheld
echo
echo Stance focus Evasion....................  stance=evasion
echo Stance focus Parry......................  stance=parry
echo Stance focus Shield.....................  stance=shield
echo
echo Return to the Armament Menu.............  z1
echo =======================================================================
echo
put echo /off
pause 1
	match SETUP_WEAPON_DETAIL_NOWEAP_STANCE_FOCUS_EVASION stance=evasion
	match SETUP_WEAPON_DETAIL_NOWEAP_STANCE_FOCUS_PARRY stance=parry
	match SETUP_WEAPON_DETAIL_NOWEAP_STANCE_FOCUS_SHIELD stance=shield
	match SETUP_WEAPON_DETAIL_NOWEAP_SHIELD_OFF shield=off
	match SETUP_WEAPON_DETAIL_NOWEAP_SHIELD_ARMWORN shield=armworn
	match SETUP_WEAPON_DETAIL_NOWEAP_SHIELD_HANDHELD shield=handheld
	match SETUP_ARMAMENT_MENU z1
	matchwait

SETUP_WEAPON_DETAIL_NOWEAP_SHIELD_OFF:
	setvariable mendhunt_weapon_shield_use_noweap OFF
	goto SETUP_ARMS_NOWEAPON_END
SETUP_WEAPON_DETAIL_NOWEAP_SHIELD_ARMWORN:
	setvariable mendhunt_weapon_shield_use_noweap ARMWORN
	goto SETUP_ARMS_NOWEAPON_END
SETUP_WEAPON_DETAIL_NOWEAP_SHIELD_HANDHELD:
	setvariable mendhunt_weapon_shield_use_noweap HANDHELD
	goto SETUP_ARMS_NOWEAPON_END
SETUP_WEAPON_DETAIL_NOWEAP_STANCE_FOCUS_EVASION:
	setvariable mendhunt_weapon_stance_focus_noweap EVASION
	goto SETUP_ARMS_NOWEAPON_END
SETUP_WEAPON_DETAIL_NOWEAP_STANCE_FOCUS_PARRY:
	setvariable mendhunt_weapon_stance_focus_noweap PARRY
	goto SETUP_ARMS_NOWEAPON_END
SETUP_WEAPON_DETAIL_NOWEAP_STANCE_FOCUS_SHIELD:
	setvariable mendhunt_weapon_stance_focus_noweap SHIELD
	goto SETUP_ARMS_NOWEAPON_END

SETUP_ARMS_NOWEAPON_END:
	setvariable mendhunt_need_initialize_flag yes
	goto SETUP_ARMS_NOWEAPON

#-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*
SETUP_WEAPON_COMBO_CHOOSE:
put echo /on
waitfor echocolumn
echo
echo 
echo =======================================================================
echo ***                        COMBO MENU
echo =======================================================================
echo *** LE_slice:
echo %mendhunt_LEslice1%, %mendhunt_LEslice2%, %mendhunt_LEslice3%, %mendhunt_LEslice4%, %mendhunt_LEslice5%, %mendhunt_LEslice6%, %mendhunt_LEslice7%, %mendhunt_LEslice8%
echo *** LE_thrust:
echo %mendhunt_LEthrust1%, %mendhunt_LEthrust2%, %mendhunt_LEthrust3%, %mendhunt_LEthrust4%, %mendhunt_LEthrust5%, %mendhunt_LEthrust6%, %mendhunt_LEthrust7%, %mendhunt_LEthrust8%
echo *** ME_slice:
echo %mendhunt_MEslice1%, %mendhunt_MEslice2%, %mendhunt_MEslice3%, %mendhunt_MEslice4%, %mendhunt_MEslice5%, %mendhunt_MEslice6%, %mendhunt_MEslice7%, %mendhunt_MEslice8%
echo *** ME_thrust:
echo %mendhunt_MEthrust1%, %mendhunt_MEthrust2%, %mendhunt_MEthrust3%, %mendhunt_MEthrust4%, %mendhunt_MEthrust5%, %mendhunt_MEthrust6%, %mendhunt_MEthrust7%, %mendhunt_MEthrust8%
echo *** HE_slice:
echo %mendhunt_HEslice1%, %mendhunt_HEslice2%, %mendhunt_HEslice3%, %mendhunt_HEslice4%, %mendhunt_HEslice5%, %mendhunt_HEslice6%, %mendhunt_HEslice7%, %mendhunt_HEslice8%
echo *** HE_thrust:
echo %mendhunt_HEthrust1%, %mendhunt_HEthrust2%, %mendhunt_HEthrust3%, %mendhunt_HEthrust4%, %mendhunt_HEthrust5%, %mendhunt_HEthrust6%, %mendhunt_HEthrust7%, %mendhunt_HEthrust8%
echo *** 2HE:
echo %mendhunt_2HE1%, %mendhunt_2HE2%, %mendhunt_2HE3%, %mendhunt_2HE4%, %mendhunt_2HE5%, %mendhunt_2HE6%, %mendhunt_2HE7%, %mendhunt_2HE8%
echo *** LB:
echo %mendhunt_LB1%, %mendhunt_LB2%, %mendhunt_LB3%, %mendhunt_LB4%, %mendhunt_LB5%, %mendhunt_LB6%, %mendhunt_LB7%, %mendhunt_LB8%
echo *** MB:
echo %mendhunt_MB1%, %mendhunt_MB2%, %mendhunt_MB3%, %mendhunt_MB4%, %mendhunt_MB5%, %mendhunt_MB6%, %mendhunt_MB7%, %mendhunt_MB8%
echo *** HB:
echo %mendhunt_HB1%, %mendhunt_HB2%, %mendhunt_HB3%, %mendhunt_HB4%, %mendhunt_HB5%, %mendhunt_HB6%, %mendhunt_HB7%, %mendhunt_HB8%
echo *** 2HB:
echo %mendhunt_2HB1%, %mendhunt_2HB2%, %mendhunt_2HB3%, %mendhunt_2HB4%, %mendhunt_2HB5%, %mendhunt_2HB6%, %mendhunt_2HB7%, %mendhunt_2HB8%
echo *** SS:
echo %mendhunt_SS1%, %mendhunt_SS2%, %mendhunt_SS3%, %mendhunt_SS4%, %mendhunt_SS5%, %mendhunt_SS6%, %mendhunt_SS7%, %mendhunt_SS8%
echo *** QS:
echo %mendhunt_QS1%, %mendhunt_QS2%, %mendhunt_QS3%, %mendhunt_QS4%, %mendhunt_QS5%, %mendhunt_QS6%, %mendhunt_QS7%, %mendhunt_QS8%
echo *** PI:
echo %mendhunt_PI1%, %mendhunt_PI2%, %mendhunt_PI3%, %mendhunt_PI4%, %mendhunt_PI5%, %mendhunt_PI6%, %mendhunt_PI7%, %mendhunt_PI8%
echo *** HAL:
echo %mendhunt_HAL1%, %mendhunt_HAL2%, %mendhunt_HAL3%, %mendhunt_HAL4%, %mendhunt_HAL5%, %mendhunt_HAL6%, %mendhunt_HAL7%, %mendhunt_HAL8%
echo *** ATTACK:
echo attack, attack, attack, attack, attack, attack, attack, attack
echo *** MyCombo1:
echo %mendhunt_my11%, %mendhunt_my12%, %mendhunt_my13%, %mendhunt_my14%, %mendhunt_my15%, %mendhunt_my16%, %mendhunt_my17%, %mendhunt_my18%
echo *** MyCombo2:
echo %mendhunt_my21%, %mendhunt_my22%, %mendhunt_my23%, %mendhunt_my24%, %mendhunt_my25%, %mendhunt_my26%, %mendhunt_my27%, %mendhunt_my28%
echo
echo =======================================================================
echo
echo *** Enter weapon combo for %s ................... combo=X   where X is combo name above
echo .                                                           (example   combo=le_slice )
echo
echo Create a combo series...........................  combo=create
echo 
echo Return to armaments detail......................  z1
echo
echo =======================================================================
echo Combos obtained from:
echo Malific's SFhunter v2   http://www.malific.com/
echo
echo
put echo /off
pause 1
	match SETUP_WEAPON_COMBO_CHOOSE_LE_slice combo=le_slice
	match SETUP_WEAPON_COMBO_CHOOSE_LE_thrust combo=le_thrust
	match SETUP_WEAPON_COMBO_CHOOSE_ME_slice combo=me_slice
	match SETUP_WEAPON_COMBO_CHOOSE_ME_thrust combo=me_thrust
	match SETUP_WEAPON_COMBO_CHOOSE_HE_slice combo=he_slice
	match SETUP_WEAPON_COMBO_CHOOSE_HE_thrust combo=he_thrust
	match SETUP_WEAPON_COMBO_CHOOSE_2HE combo=2he
	match SETUP_WEAPON_COMBO_CHOOSE_LB combo=lb
	match SETUP_WEAPON_COMBO_CHOOSE_MB combo=mb
	match SETUP_WEAPON_COMBO_CHOOSE_HB combo=hb
	match SETUP_WEAPON_COMBO_CHOOSE_2HB combo=2hb
	match SETUP_WEAPON_COMBO_CHOOSE_SS combo=ss
	match SETUP_WEAPON_COMBO_CHOOSE_QS combo=qs
	match SETUP_WEAPON_COMBO_CHOOSE_PI combo=pi
	match SETUP_WEAPON_COMBO_CHOOSE_HAL combo=hal
	match SETUP_WEAPON_COMBO_CHOOSE_ATTACK combo=attack
	match SETUP_WEAPON_COMBO_CHOOSE_MYCOMBO1 combo=mycombo1
	match SETUP_WEAPON_COMBO_CHOOSE_MYCOMBO2 combo=mycombo2
	match SETUP_WEAPON_COMBO_CREATE combo=create
	match SETUP_WEAPON_DETAIL z1
	matchwait

SETUP_WEAPON_COMBO_CHOOSE_LE_slice:
	setvariable mendhunt_weapon_combo_%s LE_slice
	setvariable mendhunt_weapon_combo_1_%s %mendhunt_LEslice1
	setvariable mendhunt_weapon_combo_2_%s %mendhunt_LEslice2
	setvariable mendhunt_weapon_combo_3_%s %mendhunt_LEslice3
	setvariable mendhunt_weapon_combo_4_%s %mendhunt_LEslice4
	setvariable mendhunt_weapon_combo_5_%s %mendhunt_LEslice5
	setvariable mendhunt_weapon_combo_6_%s %mendhunt_LEslice6
	setvariable mendhunt_weapon_combo_7_%s %mendhunt_LEslice7
	setvariable mendhunt_weapon_combo_8_%s %mendhunt_LEslice8
	goto SETUP_WEAPON_COMBO_END
SETUP_WEAPON_COMBO_CHOOSE_LE_thrust:
	setvariable mendhunt_weapon_combo_%s LE_thrust
	setvariable mendhunt_weapon_combo_1_%s %mendhunt_LEthrust1
	setvariable mendhunt_weapon_combo_2_%s %mendhunt_LEthrust2
	setvariable mendhunt_weapon_combo_3_%s %mendhunt_LEthrust3
	setvariable mendhunt_weapon_combo_4_%s %mendhunt_LEthrust4
	setvariable mendhunt_weapon_combo_5_%s %mendhunt_LEthrust5
	setvariable mendhunt_weapon_combo_6_%s %mendhunt_LEthrust6
	setvariable mendhunt_weapon_combo_7_%s %mendhunt_LEthrust7
	setvariable mendhunt_weapon_combo_8_%s %mendhunt_LEthrust8
	goto SETUP_WEAPON_COMBO_END
SETUP_WEAPON_COMBO_CHOOSE_ME_slice:
	setvariable mendhunt_weapon_combo_%s ME_slice
	setvariable mendhunt_weapon_combo_1_%s %mendhunt_MEslice1
	setvariable mendhunt_weapon_combo_2_%s %mendhunt_MEslice2
	setvariable mendhunt_weapon_combo_3_%s %mendhunt_MEslice3
	setvariable mendhunt_weapon_combo_4_%s %mendhunt_MEslice4
	setvariable mendhunt_weapon_combo_5_%s %mendhunt_MEslice5
	setvariable mendhunt_weapon_combo_6_%s %mendhunt_MEslice6
	setvariable mendhunt_weapon_combo_7_%s %mendhunt_MEslice7
	setvariable mendhunt_weapon_combo_8_%s %mendhunt_MEslice8
	goto SETUP_WEAPON_COMBO_END
SETUP_WEAPON_COMBO_CHOOSE_ME_thrust:
	setvariable mendhunt_weapon_combo_%s ME_thrust
	setvariable mendhunt_weapon_combo_1_%s %mendhunt_MEthrust1
	setvariable mendhunt_weapon_combo_2_%s %mendhunt_MEthrust2
	setvariable mendhunt_weapon_combo_3_%s %mendhunt_MEthrust3
	setvariable mendhunt_weapon_combo_4_%s %mendhunt_MEthrust4
	setvariable mendhunt_weapon_combo_5_%s %mendhunt_MEthrust5
	setvariable mendhunt_weapon_combo_6_%s %mendhunt_MEthrust6
	setvariable mendhunt_weapon_combo_7_%s %mendhunt_MEthrust7
	setvariable mendhunt_weapon_combo_8_%s %mendhunt_MEthrust8
	goto SETUP_WEAPON_COMBO_END
SETUP_WEAPON_COMBO_CHOOSE_HE_slice:
	setvariable mendhunt_weapon_combo_%s HE_slice
	setvariable mendhunt_weapon_combo_1_%s %mendhunt_HEslice1
	setvariable mendhunt_weapon_combo_2_%s %mendhunt_HEslice2
	setvariable mendhunt_weapon_combo_3_%s %mendhunt_HEslice3
	setvariable mendhunt_weapon_combo_4_%s %mendhunt_HEslice4
	setvariable mendhunt_weapon_combo_5_%s %mendhunt_HEslice5
	setvariable mendhunt_weapon_combo_6_%s %mendhunt_HEslice6
	setvariable mendhunt_weapon_combo_7_%s %mendhunt_HEslice7
	setvariable mendhunt_weapon_combo_8_%s %mendhunt_HEslice8
	goto SETUP_WEAPON_COMBO_END
SETUP_WEAPON_COMBO_CHOOSE_HE_thrust:
	setvariable mendhunt_weapon_combo_%s HE_thrust
	setvariable mendhunt_weapon_combo_1_%s %mendhunt_HEthrust1
	setvariable mendhunt_weapon_combo_2_%s %mendhunt_HEthrust2
	setvariable mendhunt_weapon_combo_3_%s %mendhunt_HEthrust3
	setvariable mendhunt_weapon_combo_4_%s %mendhunt_HEthrust4
	setvariable mendhunt_weapon_combo_5_%s %mendhunt_HEthrust5
	setvariable mendhunt_weapon_combo_6_%s %mendhunt_HEthrust6
	setvariable mendhunt_weapon_combo_7_%s %mendhunt_HEthrust7
	setvariable mendhunt_weapon_combo_8_%s %mendhunt_HEthrust8
	goto SETUP_WEAPON_COMBO_END
SETUP_WEAPON_COMBO_CHOOSE_2HE:
	setvariable mendhunt_weapon_combo_%s 2HE
	setvariable mendhunt_weapon_combo_1_%s %mendhunt_2HE1
	setvariable mendhunt_weapon_combo_2_%s %mendhunt_2HE2
	setvariable mendhunt_weapon_combo_3_%s %mendhunt_2HE3
	setvariable mendhunt_weapon_combo_4_%s %mendhunt_2HE4
	setvariable mendhunt_weapon_combo_5_%s %mendhunt_2HE5
	setvariable mendhunt_weapon_combo_6_%s %mendhunt_2HE6
	setvariable mendhunt_weapon_combo_7_%s %mendhunt_2HE7
	setvariable mendhunt_weapon_combo_8_%s %mendhunt_2HE8
	goto SETUP_WEAPON_COMBO_END
SETUP_WEAPON_COMBO_CHOOSE_LB:
	setvariable mendhunt_weapon_combo_%s LB
	setvariable mendhunt_weapon_combo_1_%s %mendhunt_LB1
	setvariable mendhunt_weapon_combo_2_%s %mendhunt_LB2
	setvariable mendhunt_weapon_combo_3_%s %mendhunt_LB3
	setvariable mendhunt_weapon_combo_4_%s %mendhunt_LB4
	setvariable mendhunt_weapon_combo_5_%s %mendhunt_LB5
	setvariable mendhunt_weapon_combo_6_%s %mendhunt_LB6
	setvariable mendhunt_weapon_combo_7_%s %mendhunt_LB7
	setvariable mendhunt_weapon_combo_8_%s %mendhunt_LB8
	goto SETUP_WEAPON_COMBO_END
SETUP_WEAPON_COMBO_CHOOSE_MB:
	setvariable mendhunt_weapon_combo_%s MB
	setvariable mendhunt_weapon_combo_1_%s %mendhunt_MB1
	setvariable mendhunt_weapon_combo_2_%s %mendhunt_MB2
	setvariable mendhunt_weapon_combo_3_%s %mendhunt_MB3
	setvariable mendhunt_weapon_combo_4_%s %mendhunt_MB4
	setvariable mendhunt_weapon_combo_5_%s %mendhunt_MB5
	setvariable mendhunt_weapon_combo_6_%s %mendhunt_MB6
	setvariable mendhunt_weapon_combo_7_%s %mendhunt_MB7
	setvariable mendhunt_weapon_combo_8_%s %mendhunt_MB8
	goto SETUP_WEAPON_COMBO_END
SETUP_WEAPON_COMBO_CHOOSE_HB:
	setvariable mendhunt_weapon_combo_%s HB
	setvariable mendhunt_weapon_combo_1_%s %mendhunt_HB1
	setvariable mendhunt_weapon_combo_2_%s %mendhunt_HB2
	setvariable mendhunt_weapon_combo_3_%s %mendhunt_HB3
	setvariable mendhunt_weapon_combo_4_%s %mendhunt_HB4
	setvariable mendhunt_weapon_combo_5_%s %mendhunt_HB5
	setvariable mendhunt_weapon_combo_6_%s %mendhunt_HB6
	setvariable mendhunt_weapon_combo_7_%s %mendhunt_HB7
	setvariable mendhunt_weapon_combo_8_%s %mendhunt_HB8
	goto SETUP_WEAPON_COMBO_END
SETUP_WEAPON_COMBO_CHOOSE_2HB:
	setvariable mendhunt_weapon_combo_%s 2HB
	setvariable mendhunt_weapon_combo_1_%s %mendhunt_2HB1
	setvariable mendhunt_weapon_combo_2_%s %mendhunt_2HB2
	setvariable mendhunt_weapon_combo_3_%s %mendhunt_2HB3
	setvariable mendhunt_weapon_combo_4_%s %mendhunt_2HB4
	setvariable mendhunt_weapon_combo_5_%s %mendhunt_2HB5
	setvariable mendhunt_weapon_combo_6_%s %mendhunt_2HB6
	setvariable mendhunt_weapon_combo_7_%s %mendhunt_2HB7
	setvariable mendhunt_weapon_combo_8_%s %mendhunt_2HB8
	goto SETUP_WEAPON_COMBO_END
SETUP_WEAPON_COMBO_CHOOSE_SS:
	setvariable mendhunt_weapon_combo_%s SS
	setvariable mendhunt_weapon_combo_1_%s %mendhunt_SS1
	setvariable mendhunt_weapon_combo_2_%s %mendhunt_SS2
	setvariable mendhunt_weapon_combo_3_%s %mendhunt_SS3
	setvariable mendhunt_weapon_combo_4_%s %mendhunt_SS4
	setvariable mendhunt_weapon_combo_5_%s %mendhunt_SS5
	setvariable mendhunt_weapon_combo_6_%s %mendhunt_SS6
	setvariable mendhunt_weapon_combo_7_%s %mendhunt_SS7
	setvariable mendhunt_weapon_combo_8_%s %mendhunt_SS8
	goto SETUP_WEAPON_COMBO_END
SETUP_WEAPON_COMBO_CHOOSE_QS:
	setvariable mendhunt_weapon_combo_%s QS
	setvariable mendhunt_weapon_combo_1_%s %mendhunt_QS1
	setvariable mendhunt_weapon_combo_2_%s %mendhunt_QS2
	setvariable mendhunt_weapon_combo_3_%s %mendhunt_QS3
	setvariable mendhunt_weapon_combo_4_%s %mendhunt_QS4
	setvariable mendhunt_weapon_combo_5_%s %mendhunt_QS5
	setvariable mendhunt_weapon_combo_6_%s %mendhunt_QS6
	setvariable mendhunt_weapon_combo_7_%s %mendhunt_QS7
	setvariable mendhunt_weapon_combo_8_%s %mendhunt_QS8
	goto SETUP_WEAPON_COMBO_END
SETUP_WEAPON_COMBO_CHOOSE_PI:
	setvariable mendhunt_weapon_combo_%s PI
	setvariable mendhunt_weapon_combo_1_%s %mendhunt_PI1
	setvariable mendhunt_weapon_combo_2_%s %mendhunt_PI2
	setvariable mendhunt_weapon_combo_3_%s %mendhunt_PI3
	setvariable mendhunt_weapon_combo_4_%s %mendhunt_PI4
	setvariable mendhunt_weapon_combo_5_%s %mendhunt_PI5
	setvariable mendhunt_weapon_combo_6_%s %mendhunt_PI6
	setvariable mendhunt_weapon_combo_7_%s %mendhunt_PI7
	setvariable mendhunt_weapon_combo_8_%s %mendhunt_PI8
	goto SETUP_WEAPON_COMBO_END
SETUP_WEAPON_COMBO_CHOOSE_HAL:
	setvariable mendhunt_weapon_combo_%s HAL
	setvariable mendhunt_weapon_combo_1_%s %mendhunt_HAL1
	setvariable mendhunt_weapon_combo_2_%s %mendhunt_HAL2
	setvariable mendhunt_weapon_combo_3_%s %mendhunt_HAL3
	setvariable mendhunt_weapon_combo_4_%s %mendhunt_HAL4
	setvariable mendhunt_weapon_combo_5_%s %mendhunt_HAL5
	setvariable mendhunt_weapon_combo_6_%s %mendhunt_HAL6
	setvariable mendhunt_weapon_combo_7_%s %mendhunt_HAL7
	setvariable mendhunt_weapon_combo_8_%s %mendhunt_HAL8
	goto SETUP_WEAPON_COMBO_END
SETUP_WEAPON_COMBO_CHOOSE_ATTACK:
	setvariable mendhunt_weapon_combo_%s ATTACK
	setvariable mendhunt_weapon_combo_1_%s attack
	setvariable mendhunt_weapon_combo_2_%s attack
	setvariable mendhunt_weapon_combo_3_%s attack
	setvariable mendhunt_weapon_combo_4_%s attack
	setvariable mendhunt_weapon_combo_5_%s attack
	setvariable mendhunt_weapon_combo_6_%s attack
	setvariable mendhunt_weapon_combo_7_%s attack
	setvariable mendhunt_weapon_combo_8_%s attack
	goto SETUP_WEAPON_COMBO_END
SETUP_WEAPON_COMBO_CHOOSE_MYCOMBO1:
	setvariable mendhunt_weapon_combo_%s MyCombo1
	setvariable mendhunt_weapon_combo_1_%s %mendhunt_my11
	setvariable mendhunt_weapon_combo_2_%s %mendhunt_my12
	setvariable mendhunt_weapon_combo_3_%s %mendhunt_my13
	setvariable mendhunt_weapon_combo_4_%s %mendhunt_my14
	setvariable mendhunt_weapon_combo_5_%s %mendhunt_my15
	setvariable mendhunt_weapon_combo_6_%s %mendhunt_my16
	setvariable mendhunt_weapon_combo_7_%s %mendhunt_my17
	setvariable mendhunt_weapon_combo_8_%s %mendhunt_my18
	goto SETUP_WEAPON_COMBO_END
SETUP_WEAPON_COMBO_CHOOSE_MYCOMBO2:
	setvariable mendhunt_weapon_combo_%s MyCombo2
	setvariable mendhunt_weapon_combo_1_%s %mendhunt_my21
	setvariable mendhunt_weapon_combo_2_%s %mendhunt_my22
	setvariable mendhunt_weapon_combo_3_%s %mendhunt_my23
	setvariable mendhunt_weapon_combo_4_%s %mendhunt_my24
	setvariable mendhunt_weapon_combo_5_%s %mendhunt_my25
	setvariable mendhunt_weapon_combo_6_%s %mendhunt_my26
	setvariable mendhunt_weapon_combo_7_%s %mendhunt_my27
	setvariable mendhunt_weapon_combo_8_%s %mendhunt_my28
	goto SETUP_WEAPON_COMBO_END

SETUP_WEAPON_COMBO_CLEAR:
	setvariable mendhunt_weapon_combo_SL OFF
	setvariable mendhunt_weapon_combo_1_SL -
	setvariable mendhunt_weapon_combo_2_SL -
	setvariable mendhunt_weapon_combo_3_SL -
	setvariable mendhunt_weapon_combo_4_SL -
	setvariable mendhunt_weapon_combo_5_SL -
	setvariable mendhunt_weapon_combo_6_SL -
	setvariable mendhunt_weapon_combo_7_SL -
	setvariable mendhunt_weapon_combo_8_SL -
	setvariable mendhunt_weapon_combo_STAFFSLING OFF
	setvariable mendhunt_weapon_combo_1_STAFFSLING -
	setvariable mendhunt_weapon_combo_2_STAFFSLING -
	setvariable mendhunt_weapon_combo_3_STAFFSLING -
	setvariable mendhunt_weapon_combo_4_STAFFSLING -
	setvariable mendhunt_weapon_combo_5_STAFFSLING -
	setvariable mendhunt_weapon_combo_6_STAFFSLING -
	setvariable mendhunt_weapon_combo_7_STAFFSLING -
	setvariable mendhunt_weapon_combo_8_STAFFSLING -
	setvariable mendhunt_weapon_combo_SB OFF
	setvariable mendhunt_weapon_combo_1_SB -
	setvariable mendhunt_weapon_combo_2_SB -
	setvariable mendhunt_weapon_combo_3_SB -
	setvariable mendhunt_weapon_combo_4_SB -
	setvariable mendhunt_weapon_combo_5_SB -
	setvariable mendhunt_weapon_combo_6_SB -
	setvariable mendhunt_weapon_combo_7_SB -
	setvariable mendhunt_weapon_combo_8_SB -
	setvariable mendhunt_weapon_combo_LOB OFF
	setvariable mendhunt_weapon_combo_1_LOB -
	setvariable mendhunt_weapon_combo_2_LOB -
	setvariable mendhunt_weapon_combo_3_LOB -
	setvariable mendhunt_weapon_combo_4_LOB -
	setvariable mendhunt_weapon_combo_5_LOB -
	setvariable mendhunt_weapon_combo_6_LOB -
	setvariable mendhunt_weapon_combo_7_LOB -
	setvariable mendhunt_weapon_combo_8_LOB -
	setvariable mendhunt_weapon_combo_CB OFF
	setvariable mendhunt_weapon_combo_1_CB -
	setvariable mendhunt_weapon_combo_2_CB -
	setvariable mendhunt_weapon_combo_3_CB -
	setvariable mendhunt_weapon_combo_4_CB -
	setvariable mendhunt_weapon_combo_5_CB -
	setvariable mendhunt_weapon_combo_6_CB -
	setvariable mendhunt_weapon_combo_7_CB -
	setvariable mendhunt_weapon_combo_8_CB -
	setvariable mendhunt_weapon_combo_LX OFF
	setvariable mendhunt_weapon_combo_1_LX -
	setvariable mendhunt_weapon_combo_2_LX -
	setvariable mendhunt_weapon_combo_3_LX -
	setvariable mendhunt_weapon_combo_4_LX -
	setvariable mendhunt_weapon_combo_5_LX -
	setvariable mendhunt_weapon_combo_6_LX -
	setvariable mendhunt_weapon_combo_7_LX -
	setvariable mendhunt_weapon_combo_8_LX -
	setvariable mendhunt_weapon_combo_HX OFF
	setvariable mendhunt_weapon_combo_1_HX -
	setvariable mendhunt_weapon_combo_2_HX -
	setvariable mendhunt_weapon_combo_3_HX -
	setvariable mendhunt_weapon_combo_4_HX -
	setvariable mendhunt_weapon_combo_5_HX -
	setvariable mendhunt_weapon_combo_6_HX -
	setvariable mendhunt_weapon_combo_7_HX -
	setvariable mendhunt_weapon_combo_8_HX -
	setvariable mendhunt_weapon_combo_LT OFF
	setvariable mendhunt_weapon_combo_1_LT -
	setvariable mendhunt_weapon_combo_2_LT -
	setvariable mendhunt_weapon_combo_3_LT -
	setvariable mendhunt_weapon_combo_4_LT -
	setvariable mendhunt_weapon_combo_5_LT -
	setvariable mendhunt_weapon_combo_6_LT -
	setvariable mendhunt_weapon_combo_7_LT -
	setvariable mendhunt_weapon_combo_8_LT -
	setvariable mendhunt_weapon_combo_HT OFF
	setvariable mendhunt_weapon_combo_1_HT -
	setvariable mendhunt_weapon_combo_2_HT -
	setvariable mendhunt_weapon_combo_3_HT -
	setvariable mendhunt_weapon_combo_4_HT -
	setvariable mendhunt_weapon_combo_5_HT -
	setvariable mendhunt_weapon_combo_6_HT -
	setvariable mendhunt_weapon_combo_7_HT -
	setvariable mendhunt_weapon_combo_8_HT -
	goto SETUP_WEAPON_COMBO_END

SETUP_WEAPON_COMBO_END:
	setvariable mendhunt_need_initialize_flag yes
	goto SETUP_WEAPON_DETAIL

#-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*
SETUP_WEAPON_COMBO_CREATE:
put echo /on
waitfor echocolumn
echo
echo
echo =======================================================================
echo ***                        CREATE COMBO MENU
echo =======================================================================
echo
echo The script allows you to modify a combo or create two user defined combo's... Mycombo1 and Mycombo2
echo
echo Usage:
echo 
echo .    .mendhunt combo <name> <1> <2> <3> <4> <5> <6> <7> <8>
echo 
echo .     <name> = [LE_slice|LE_thrust|ME_slice|... |mycombo1|mycombo2]
echo .     <#>    = [parry|dodge|slice|skkip|... ]
echo
echo
echo Examples:
echo .          .mendhunt combo 2HE parry draw slice slice bash dodge skkip skkip
echo .          .mendhunt combo mycombo1 parry slice draw kick "punch left" skkip skkip skkip
echo 
echo
echo
echo IMPORTANT: Use "skkip" to not use a combo number... yes, its "skkip" with two k's!
echo .          The order is precise: 1 then 2 then 3 etc.
echo .          As always, do not use extra spaces between arguments.
echo
echo
echo Yes, I had a momentary flash of panic...
echo .             Mendaleev slices savagely into the dragon.
echo .             Mendaleev skips around the beast like a little school kid.
echo .             Mendaleev turns skyward shaking his fist at the laughing GM's.
echo =======================================================================
echo 
echo Return to the Weapon Combo Menu....... z1
echo
echo =======================================================================
echo
echo
put echo /off
pause 1
	match SETUP_WEAPON_COMBO_CHOOSE z1
	matchwait

#-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*
SETUP_WEAPONCLASSLIST:
put echo /on
waitfor echocolumn
echo
echo
echo =======================================================================
echo *** Weapon Class List
echo
echo
echo LE - Light Edged     ME - Medium Edged     HE - Heavy Edged     2HE - Twohanded Edged
echo
echo LB - Light Blunt     MB - Medium Blunt     HB - Heavy Blunt     2HB - Twohanded Blunt
echo
echo SL - Slings          StaffSling - Staff Sling
echo
echo SB - Short Bow       LOB - Long Bow        CB - Composite Bow
echo
echo LX - Light Crossbow  HX - Heavy Crossbow
echo
echo SS - Short Staff     QS - Quarterstaff
echo
echo PI - Pikes           HAL - Halberds
echo
echo LT - Light Thrown    HT - Heavy Thrown     
echo
echo BR - Brawling        OW - Offhand Weapon (dual wield)
echo 
echo =======================================================================
echo Return to the Arms SubMenu............ z1
echo =======================================================================
echo
echo
put echo /off
pause 1
	match SETUP_ARMS_SUBMENU z1
	matchwait

#-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*
SETUP_ARMOR_MENU:
put echo /on
waitfor echocolumn
echo
echo
echo =======================================================================
echo ***                        ARMOR MENU
echo =======================================================================
echo * Armor Master Switch:   %mendhunt_armor_switch_test
echo
echo * Main armor:
echo .  name:                 %mendhunt_armor_name_main
echo .  class:                %mendhunt_armor_class_main
echo
echo * Second armor:
echo .  name:                 %mendhunt_armor_name_second
echo .  class:                %mendhunt_armor_class_second
echo
echo
echo Stored armor 1:   %mendhunt_armor_class_1    %mendhunt_armor_name_1
echo Stored armor 2:   %mendhunt_armor_class_2    %mendhunt_armor_name_2
echo Stored armor 3:   %mendhunt_armor_class_3    %mendhunt_armor_name_3
echo Stored armor 4:   %mendhunt_armor_class_4    %mendhunt_armor_name_4
echo Stored armor 5:   %mendhunt_armor_class_5    %mendhunt_armor_name_5
echo Stored armor 6:   %mendhunt_armor_class_6    %mendhunt_armor_name_6
echo 
echo Force Armor Switch after certain period:  %mendhunt_force_armor_switch_test
echo
echo =======================================================================
echo
echo Change main armor..................................... main=# (where # is stored number)
echo Change second armor................................... second=#
echo Change stored armor................................... view=stored
echo Turn armor master switch ON........................... armorswitch=on
echo Turn armor master switch OFF.......................... armorswitch=off
echo Turn force armor switch ON............................ force=on
echo Turn force armor switch OFF........................... force=off
echo Return to Main Menu................................... z1 
echo =======================================================================
echo Note:
echo 1) If ON, script will change between using main & second armors when mentals full.
echo 2) If Force Armor Switch is ON, will switch armors after 15 cycles even if not locked.
echo 3) Main and second armors *MUST* cover the same body area.
echo
put echo /off
pause 1
	match SETUP_ARMOR_FORCE_SWITCH_ON force=on
	match SETUP_ARMOR_FORCE_SWITCH_OFF force=off
	match SETUP_ARMORMAINSETUP1 main=1
	match SETUP_ARMORMAINSETUP2 main=2
	match SETUP_ARMORMAINSETUP3 main=3
	match SETUP_ARMORMAINSETUP4 main=4
	match SETUP_ARMORMAINSETUP5 main=5
	match SETUP_ARMORMAINSETUP6 main=6
	match SETUP_ARMORSECONDSETUP1 second=1
	match SETUP_ARMORSECONDSETUP2 second=2
	match SETUP_ARMORSECONDSETUP3 second=3
	match SETUP_ARMORSECONDSETUP4 second=4
	match SETUP_ARMORSECONDSETUP5 second=5
	match SETUP_ARMORSECONDSETUP6 second=6
	match SETUP_ARMORSAVE view=stored
	match SETUP_ARMORSWITCHSETON armorswitch=on
	match SETUP_ARMORSWITCHSETOFF armorswitch=off
	match SETUP_MAIN_MENU z1
	matchwait

SETUP_ARMOR_FORCE_SWITCH_ON:
	setvariable mendhunt_force_armor_switch_test ON
	goto SETUP_ARMOR_MENU
SETUP_ARMOR_FORCE_SWITCH_OFF:
	setvariable mendhunt_force_armor_switch_test OFF
	goto SETUP_ARMOR_MENU
SETUP_ARMORSWITCHSETON:
	setvariable mendhunt_armor_switch_test ON
	goto SETUP_ARMOR_MENU
SETUP_ARMORSWITCHSETOFF:
	setvariable mendhunt_armor_switch_test OFF
	goto SETUP_ARMOR_MENU
SETUP_ARMORMAINSETUP1:
	setvariable mendhunt_armor_name_main %mendhunt_armor_name_1
	setvariable mendhunt_armor_class_main %mendhunt_armor_class_1
	goto SETUP_ARMOR_MENU
SETUP_ARMORMAINSETUP2:
	setvariable mendhunt_armor_name_main %mendhunt_armor_name_2
	setvariable mendhunt_armor_class_main %mendhunt_armor_class_2
	goto SETUP_ARMOR_MENU
SETUP_ARMORMAINSETUP3:
	setvariable mendhunt_armor_name_main %mendhunt_armor_name_3
	setvariable mendhunt_armor_class_main %mendhunt_armor_class_3
	goto SETUP_ARMOR_MENU
SETUP_ARMORMAINSETUP4:
	setvariable mendhunt_armor_name_main %mendhunt_armor_name_4
	setvariable mendhunt_armor_class_main %mendhunt_armor_class_4
	goto SETUP_ARMOR_MENU
SETUP_ARMORMAINSETUP5:
	setvariable mendhunt_armor_name_main %mendhunt_armor_name_5
	setvariable mendhunt_armor_class_main %mendhunt_armor_class_5
	goto SETUP_ARMOR_MENU
SETUP_ARMORMAINSETUP6:
	setvariable mendhunt_armor_name_main %mendhunt_armor_name_6
	setvariable mendhunt_armor_class_main %mendhunt_armor_class_6
	goto SETUP_ARMOR_MENU
SETUP_ARMORSECONDSETUP1:
	setvariable mendhunt_armor_name_second %mendhunt_armor_name_1
	setvariable mendhunt_armor_class_second %mendhunt_armor_class_1
	goto SETUP_ARMOR_MENU
SETUP_ARMORSECONDSETUP2:
	setvariable mendhunt_armor_name_second %mendhunt_armor_name_2
	setvariable mendhunt_armor_class_second %mendhunt_armor_class_2
	goto SETUP_ARMOR_MENU
SETUP_ARMORSECONDSETUP3:
	setvariable mendhunt_armor_name_second %mendhunt_armor_name_3
	setvariable mendhunt_armor_class_second %mendhunt_armor_class_3
	goto SETUP_ARMOR_MENU
SETUP_ARMORSECONDSETUP4:
	setvariable mendhunt_armor_name_second %mendhunt_armor_name_4
	setvariable mendhunt_armor_class_second %mendhunt_armor_class_4
	goto SETUP_ARMOR_MENU
SETUP_ARMORSECONDSETUP5:
	setvariable mendhunt_armor_name_second %mendhunt_armor_name_5
	setvariable mendhunt_armor_class_second %mendhunt_armor_class_5
	goto SETUP_ARMOR_MENU
SETUP_ARMORSECONDSETUP6:
	setvariable mendhunt_armor_name_second %mendhunt_armor_name_6
	setvariable mendhunt_armor_class_second %mendhunt_armor_class_6
	goto SETUP_ARMOR_MENU

#-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*
SETUP_ARMORSAVE:
put echo /on
waitfor echocolumn
echo
echo
echo =======================================================================
echo ***                   SAVE ARMOR to STORED MENU
echo =======================================================================
echo
echo Enter the following command with desired variables to save an armor to a slot:
echo 
echo ***          .mendhunt set armor <slot#> <name> <class>
echo
echo where:
echo
echo <#> = [1, 2, 3, 4, 5, or 6]
echo <name> = [armor's name]
echo <class> = [LA/LC/HC/LP/HP/CA/BA]
echo
echo
echo ex) .mendhunt set armor 1 "azure-scaled leathers" leather
echo     .myhuntscript set armor 4 gloves HC
echo     .myhuntscript set armor 5 gauntlets HP 
echo 
echo =======================================================================
echo Perform command....................... .mendhunt set armor <slot#> <name> <class>
echo Return to the Armors Menu............. z1
echo See more on Class..................... view=classlist
echo =======================================================================
echo
echo
put echo /off
pause 1
	match SETUP_ARMOR_MENU z1
	match SETUP_ARMORCLASSLIST view=classlist
	matchwait

#-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*
SETUP_ARMORCLASSLIST:
put echo /on
waitfor echocolumn
echo
echo
echo =======================================================================
echo *** Armor Class List
echo
echo Leather Armor.......... LA
echo Light Chain............ LC
echo Heavy Chain............ HC
echo Light Plate............ LP
echo Heavy Plate............ HP
echo Cloth Armor............ CA
echo Bone Armor............. BA
echo
echo =======================================================================
echo Return to Save Armor Menu............ z1
echo =======================================================================
echo
echo
put echo /off
pause 1
	match SETUP_ARMORSAVE z1
	matchwait

#-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*
SETUP_SHIELD_MENU:
put echo /on
waitfor echocolumn
echo
echo
echo =======================================================================
echo ***                        SHIELD MENU
echo =======================================================================
echo
echo ARMWORN
echo .   name:    %mendhunt_shield_name_armworn
echo 
echo
echo HANDHELD
echo .   name:    %mendhunt_shield_name_handheld
echo
echo =======================================================================
echo Set name:
echo .     shield..................... <type>=shield
echo .     targe...................... <type>=targe
echo .     buckler.................... <type>=buckler
echo .     pavise..................... <type>=pavise
echo .     lid........................ <type>=lid
echo
echo .     other...................... .mendhunt set shield [armworn|handheld] name <text>
echo
echo .                           where <type> is either armworn or handheld
echo Examples:
echo .       .mendhunt set shield handheld name "ultimate blocker"
echo .       armworn=buckler
echo .       handheld=shield
echo
echo Return to Main Menu............. z1
echo =======================================================================
echo Note:
echo 1) If physically carrying and using two different shields (ie one for handheld and one for armworn)
echo .      the shields *MUST* have unique names.  Ex) If both are shields, use multi word and set via OTHER:
echo .      "target shield"   "tower shield"   "steel shield"  etc
echo 2) If physically carrying only one shield but using it for both handheld and armworn... no problem,
echo .      use the same name for both handheld and armworn.
echo 2) Shield usage is setup in weapon details.
echo .      Each weapon class will use either armworn, handheld, or no-shield (off).
echo
put echo /off
pause 1
	match SETUP_SHIELDSETUP_NAME_SHIELD_ARMWORN armworn=shield
	match SETUP_SHIELDSETUP_NAME_TARGE_ARMWORN armworn=targe
	match SETUP_SHIELDSETUP_NAME_BUCKLER_ARMWORN armworn=buckler
	match SETUP_SHIELDSETUP_NAME_PAVISE_ARMWORN armworn=pavise
	match SETUP_SHIELDSETUP_NAME_LID_ARMWORN armworn=lid
	match SETUP_SHIELDSETUP_NAME_SHIELD_HANDHELD handheld=shield
	match SETUP_SHIELDSETUP_NAME_TARGE_HANDHELD handheld=targe
	match SETUP_SHIELDSETUP_NAME_BUCKLER_HANDHELD handheld=buckler
	match SETUP_SHIELDSETUP_NAME_PAVISE_HANDHELD handheld=pavise
	match SETUP_SHIELDSETUP_NAME_LID_HANDHELD handheld=lid
	match SETUP_MAIN_MENU z1
	matchwait

SETUP_SHIELDSETUP_NAME_SHIELD_ARMWORN:
	setvariable mendhunt_shield_name_armworn shield
	goto SETUP_SHIELD_MENU_END
SETUP_SHIELDSETUP_NAME_TARGE_ARMWORN:
	setvariable mendhunt_shield_name_armworn targe
	goto SETUP_SHIELD_MENU_END
SETUP_SHIELDSETUP_NAME_BUCKLER_ARMWORN:
	setvariable mendhunt_shield_name_armworn buckler
	goto SETUP_SHIELD_MENU_END
SETUP_SHIELDSETUP_NAME_PAVISE_ARMWORN:
	setvariable mendhunt_shield_name_armworn pavise
	goto SETUP_SHIELD_MENU_END
SETUP_SHIELDSETUP_NAME_LID_ARMWORN:
	setvariable mendhunt_shield_name_armworn lid
	goto SETUP_SHIELD_MENU_END
SETUP_SHIELDSETUP_NAME_SHIELD_HANDHELD:
	setvariable mendhunt_shield_name_handheld shield
	goto SETUP_SHIELD_MENU_END
SETUP_SHIELDSETUP_NAME_TARGE_HANDHELD:
	setvariable mendhunt_shield_name_handheld targe
	goto SETUP_SHIELD_MENU_END
SETUP_SHIELDSETUP_NAME_BUCKLER_HANDHELD:
	setvariable mendhunt_shield_name_handheld buckler
	goto SETUP_SHIELD_MENU_END
SETUP_SHIELDSETUP_NAME_PAVISE_HANDHELD:
	setvariable mendhunt_shield_name_handheld pavise
	goto SETUP_SHIELD_MENU_END
SETUP_SHIELDSETUP_NAME_LID_HANDHELD:
	setvariable mendhunt_shield_name_handheld lid
	goto SETUP_SHIELD_MENU_END

SETUP_SHIELD_MENU_END:
	setvariable mendhunt_need_initialize_flag yes
	goto SETUP_SHIELD_MENU

#-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*
SETUP_STANCE_MENU:
put echo /on
waitfor echocolumn
echo
echo
echo =======================================================================
echo ***                        STANCE MENU
echo =======================================================================
echo
echo Stance master switch:  %mendhunt_stance_test   
echo
echo * The game allows you to save three preset stances: EVASION, PARRY, and SHIELD.
echo * Setup these in-game for use by the script.... type STANCE HELP
echo
echo =======================================================================
echo
echo Turn stance master ON................................... stance=on
echo Turn stance master OFF.................................. stance=off
echo
echo Setup Evasion/parry/shield.............................. setup in game; type Stance Help
echo
echo Return to Main Menu..................................... z1
echo =======================================================================
echo Note:
echo 1) A stance focus is set for each weapon class in the weapons detail menu.
echo .   If stance master is ON, the script will change to that focus when the weapon/shield is used.
echo .   If OFF, script will not change stances.
echo
put echo /off
pause 1
	match SETUP_STANCE_MASTER_TEST_ON stance=on
	match SETUP_STANCE_MASTER_TEST_OFF stance=off
	match SETUP_MAIN_MENU z1
	matchwait

SETUP_STANCE_MASTER_TEST_ON:
	setvariable mendhunt_stance_test ON
	goto SETUP_STANCE_MENU
SETUP_STANCE_MASTER_TEST_OFF:
	setvariable mendhunt_stance_test OFF
	goto SETUP_STANCE_MENU

#-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*
SETUP_MAGIC_MENU:
put echo /on
waitfor echocolumn
echo
echo
echo =======================================================================
echo ***                        MAGIC MENU
echo =======================================================================
echo
echo Master magic switch = %mendhunt_magic_master_test
echo
echo .      Turn master magic ON................ master=on
echo .      Turn master magic OFF............... master=off
echo
echo
echo Targeting........................ a1                         %mendhunt_target_master_test
echo
echo Buffing.......................... a2                         %mendhunt_buff_master_test
echo
echo DeBuffing........................ a3                         %mendhunt_debuff_master_test
echo
echo Pathways......................... a4
echo
echo
echo Return to Main Menu.............. z1
echo =======================================================================
echo 
echo =======================================================================
echo Note:
echo 1) If using a cambrinth, you must have the skill to use it worn and an empty hand (ie no handheld shield or OW).
echo 2) Script only supports one cambrinth item. If you change its name in one menu, you change it for all.
echo 3) Magic master does not affect the use of spells in other menus, only target/buff/debuff spells herein.
echo 4) Target and DeBuff spells fire only in Combat Mode; Buff spells will fire with any Mode setup.
echo 5) If you want a decimal cast pause for a particular spell, open/edit the script manually then 
echo .     change the cast_pause variable for that spell at the top of the script.
echo
put echo /off
pause 1
	match SETUP_MAGIC_MASTER_TEST_ON master=on
	match SETUP_MAGIC_MASTER_TEST_OFF master=off
	match SETUP_MAGIC_MASTER_TEST_ON magic=on
	match SETUP_MAGIC_MASTER_TEST_OFF magic=off
	match SETUP_TARGET_MENU a1
	match SETUP_BUFF_MENU a2
	match SETUP_DEBUFF_MENU a3
	match SETUP_PATHWAY_MENU a4
	match SETUP_MAIN_MENU z1
	matchwait

SETUP_MAGIC_MASTER_TEST_ON:
	setvariable mendhunt_magic_master_test ON
	goto SETUP_MAGIC_MENU
SETUP_MAGIC_MASTER_TEST_OFF:
	setvariable mendhunt_magic_master_test OFF
	goto SETUP_MAGIC_MENU

#-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*
SETUP_TARGET_MENU:
put echo /on
waitfor echocolumn
echo
echo
echo =======================================================================
echo ***                        TARGET MENU
echo =======================================================================
echo
echo *** Current Target Setup is:
echo
echo Master target switch = %mendhunt_target_master_test
echo               
echo 
echo Target slot 1:    %mendhunt_target_name_1     %mendhunt_target_test_1
echo Target slot 2:    %mendhunt_target_name_2     %mendhunt_target_test_2
echo Target slot 3:    %mendhunt_target_name_3     %mendhunt_target_test_3
echo Target slot 4:    %mendhunt_target_name_4     %mendhunt_target_test_4
echo Target slot 5:    %mendhunt_target_name_5     %mendhunt_target_test_5
echo Target slot 6:    %mendhunt_target_name_6     %mendhunt_target_test_6
echo
echo
echo =======================================================================
echo
echo Turn target master ON..................... target=on
echo Turn target master OFF.................... target=off
echo View/change a spell slot.................. view=# [where # is slot number]
echo Return to Magic Menu...................... z1
echo =======================================================================
echo Note:
echo 1) If you wish to be at melee when casting target spells, edit and change the flag at top of script.
echo
put echo /off
pause 1
	match SETUP_TARGET_MASTER_TEST_ON target=on
	match SETUP_TARGET_MASTER_TEST_OFF target=off
	match SETUP_TARGET_DETAIL_JUMP_1 view=1
	match SETUP_TARGET_DETAIL_JUMP_2 view=2
	match SETUP_TARGET_DETAIL_JUMP_3 view=3
	match SETUP_TARGET_DETAIL_JUMP_4 view=4
	match SETUP_TARGET_DETAIL_JUMP_5 view=5
	match SETUP_TARGET_DETAIL_JUMP_6 view=6
	match SETUP_MAGIC_MENU z1
	matchwait

SETUP_TARGET_MASTER_TEST_ON:
	setvariable mendhunt_target_master_test ON
	goto SETUP_TARGET_MENU
SETUP_TARGET_MASTER_TEST_OFF:
	setvariable mendhunt_target_master_test OFF
	goto SETUP_TARGET_MENU

#-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*

SETUP_TARGET_DETAIL:
	goto SETUP_TARGET_DETAIL_JUMP_%s

SETUP_TARGET_DETAIL_JUMP_1:
	save 1
	setvariable mendhunt_target_test_display %mendhunt_target_test_1
	setvariable mendhunt_target_name_display %mendhunt_target_name_1
	setvariable mendhunt_target_prep_power_display %mendhunt_target_prep_power_1
	setvariable mendhunt_target_harn_test_display %mendhunt_target_harn_test_1
	setvariable mendhunt_target_harn_power_display %mendhunt_target_harn_power_1
	setvariable mendhunt_target_harn_loop_display %mendhunt_target_harn_loop_1
	setvariable mendhunt_target_cam_test_display %mendhunt_target_cam_test_1
	setvariable mendhunt_target_cam_power_display %mendhunt_target_cam_power_1
	setvariable mendhunt_target_cam_loop_display %mendhunt_target_cam_loop_1
	setvariable mendhunt_target_cast_pause_display %mendhunt_target_cast_pause_1
	goto SETUP_TARGET_DETAIL_JUMPED
SETUP_TARGET_DETAIL_JUMP_2:
	save 2
	setvariable mendhunt_target_test_display %mendhunt_target_test_2
	setvariable mendhunt_target_name_display %mendhunt_target_name_2
	setvariable mendhunt_target_prep_power_display %mendhunt_target_prep_power_2
	setvariable mendhunt_target_harn_test_display %mendhunt_target_harn_test_2
	setvariable mendhunt_target_harn_power_display %mendhunt_target_harn_power_2
	setvariable mendhunt_target_harn_loop_display %mendhunt_target_harn_loop_2
	setvariable mendhunt_target_cam_test_display %mendhunt_target_cam_test_2
	setvariable mendhunt_target_cam_power_display %mendhunt_target_cam_power_2
	setvariable mendhunt_target_cam_loop_display %mendhunt_target_cam_loop_2
	setvariable mendhunt_target_cast_pause_display %mendhunt_target_cast_pause_2
	goto SETUP_TARGET_DETAIL_JUMPED
SETUP_TARGET_DETAIL_JUMP_3:
	save 3
	setvariable mendhunt_target_test_display %mendhunt_target_test_3
	setvariable mendhunt_target_name_display %mendhunt_target_name_3
	setvariable mendhunt_target_prep_power_display %mendhunt_target_prep_power_3
	setvariable mendhunt_target_harn_test_display %mendhunt_target_harn_test_3
	setvariable mendhunt_target_harn_power_display %mendhunt_target_harn_power_3
	setvariable mendhunt_target_harn_loop_display %mendhunt_target_harn_loop_3
	setvariable mendhunt_target_cam_test_display %mendhunt_target_cam_test_3
	setvariable mendhunt_target_cam_power_display %mendhunt_target_cam_power_3
	setvariable mendhunt_target_cam_loop_display %mendhunt_target_cam_loop_3
	setvariable mendhunt_target_cast_pause_display %mendhunt_target_cast_pause_3
	goto SETUP_TARGET_DETAIL_JUMPED
SETUP_TARGET_DETAIL_JUMP_4:
	save 4
	setvariable mendhunt_target_test_display %mendhunt_target_test_4
	setvariable mendhunt_target_name_display %mendhunt_target_name_4
	setvariable mendhunt_target_prep_power_display %mendhunt_target_prep_power_4
	setvariable mendhunt_target_harn_test_display %mendhunt_target_harn_test_4
	setvariable mendhunt_target_harn_power_display %mendhunt_target_harn_power_4
	setvariable mendhunt_target_harn_loop_display %mendhunt_target_harn_loop_4
	setvariable mendhunt_target_cam_test_display %mendhunt_target_cam_test_4
	setvariable mendhunt_target_cam_power_display %mendhunt_target_cam_power_4
	setvariable mendhunt_target_cam_loop_display %mendhunt_target_cam_loop_4
	setvariable mendhunt_target_cast_pause_display %mendhunt_target_cast_pause_4
	goto SETUP_TARGET_DETAIL_JUMPED
SETUP_TARGET_DETAIL_JUMP_5:
	save 5
	setvariable mendhunt_target_test_display %mendhunt_target_test_5
	setvariable mendhunt_target_name_display %mendhunt_target_name_5
	setvariable mendhunt_target_prep_power_display %mendhunt_target_prep_power_5
	setvariable mendhunt_target_harn_test_display %mendhunt_target_harn_test_5
	setvariable mendhunt_target_harn_power_display %mendhunt_target_harn_power_5
	setvariable mendhunt_target_harn_loop_display %mendhunt_target_harn_loop_5
	setvariable mendhunt_target_cam_test_display %mendhunt_target_cam_test_5
	setvariable mendhunt_target_cam_power_display %mendhunt_target_cam_power_5
	setvariable mendhunt_target_cam_loop_display %mendhunt_target_cam_loop_5
	setvariable mendhunt_target_cast_pause_display %mendhunt_target_cast_pause_5
	goto SETUP_TARGET_DETAIL_JUMPED
SETUP_TARGET_DETAIL_JUMP_6:
	save 6
	setvariable mendhunt_target_test_display %mendhunt_target_test_6
	setvariable mendhunt_target_name_display %mendhunt_target_name_6
	setvariable mendhunt_target_prep_power_display %mendhunt_target_prep_power_6
	setvariable mendhunt_target_harn_test_display %mendhunt_target_harn_test_6
	setvariable mendhunt_target_harn_power_display %mendhunt_target_harn_power_6
	setvariable mendhunt_target_harn_loop_display %mendhunt_target_harn_loop_6
	setvariable mendhunt_target_cam_test_display %mendhunt_target_cam_test_6
	setvariable mendhunt_target_cam_power_display %mendhunt_target_cam_power_6
	setvariable mendhunt_target_cam_loop_display %mendhunt_target_cam_loop_6
	setvariable mendhunt_target_cast_pause_display %mendhunt_target_cast_pause_6
	goto SETUP_TARGET_DETAIL_JUMPED

SETUP_TARGET_DETAIL_JUMPED:
put echo /on
waitfor echocolumn
echo
echo
echo =======================================================================
echo ***                    TARGET %s DETAIL - VIEW/CHANGE
echo =======================================================================
echo Target slot %s is:      %mendhunt_target_test_display
echo
echo Spell Name:             %mendhunt_target_name_display
echo .    prep power:        %mendhunt_target_prep_power_display
echo .    cast pause:        %mendhunt_target_cast_pause_display  seconds
echo Harness:                %mendhunt_target_harn_test_display
echo .    power:             %mendhunt_target_harn_power_display
echo .    loop:              %mendhunt_target_harn_loop_display   harnesses per cast
echo Cambrinth:              %mendhunt_target_cam_test_display
echo .    item name:         %mendhunt_cam_name
echo .    charge:            %mendhunt_target_cam_power_display
echo .    loop:              %mendhunt_target_cam_loop_display   cams per cast
echo =======================================================================
echo General:                                           
echo .    Turn slot ON              slot=on
echo .    Turn slot OFF             slot=off
echo .    Set spell                 .mendhunt set target slot %s prep <name> <mana#> <pause#>
echo 
echo Harness:
echo .    Turn ON                   harn=on
echo .    Turn OFF                  harn=off
echo .    Set harness               .mendhunt set target slot %s harn <mana#> <loop#>
echo 
echo Cambrinth:
echo .    Name of cambrinth         .mendhunt set cambrinth <name>
echo .    Turn ON                   cam=on
echo .    Turn OFF                  cam=off
echo .    Set cambrinth             .mendhunt set target slot %s cam <charge#> <loop#>
echo
echo Return to Target Menu..................... z1
echo Jump to a different slot.................. view=#
echo =======================================================================
echo
echo
put echo /off
pause 1
	match SETUP_TARGET_SLOT_TEST_ON slot=on
	match SETUP_TARGET_SLOT_TEST_OFF slot=off
	match SETUP_TARGET_HARN_TEST_ON harn=on
	match SETUP_TARGET_HARN_TEST_OFF harn=off
	match SETUP_TARGET_CAM_TEST_ON cam=on
	match SETUP_TARGET_CAM_TEST_OFF cam=off
	match SETUP_TARGET_DETAIL_JUMP_1 view=1
	match SETUP_TARGET_DETAIL_JUMP_2 view=2
	match SETUP_TARGET_DETAIL_JUMP_3 view=3
	match SETUP_TARGET_DETAIL_JUMP_4 view=4
	match SETUP_TARGET_DETAIL_JUMP_5 view=5
	match SETUP_TARGET_DETAIL_JUMP_6 view=6
	match SETUP_TARGET_MENU z1
	matchwait

SETUP_TARGET_SLOT_TEST_ON:
	setvariable mendhunt_target_test_%s ON
	goto SETUP_TARGET_DETAIL
SETUP_TARGET_SLOT_TEST_OFF:
	setvariable mendhunt_target_test_%s OFF
	goto SETUP_TARGET_DETAIL
SETUP_TARGET_HARN_TEST_ON:
	setvariable mendhunt_target_harn_test_%s ON
	goto SETUP_TARGET_DETAIL
SETUP_TARGET_HARN_TEST_OFF:
	setvariable mendhunt_target_harn_test_%s OFF
	goto SETUP_TARGET_DETAIL
SETUP_TARGET_CAM_TEST_ON:
	setvariable mendhunt_target_cam_test_%s ON
	goto SETUP_TARGET_DETAIL
SETUP_TARGET_CAM_TEST_OFF:
	setvariable mendhunt_target_cam_test_%s OFF
	goto SETUP_TARGET_DETAIL

#-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*
SETUP_BUFF_MENU:
put echo /on
waitfor echocolumn
echo
echo
echo =======================================================================
echo ***                        BUFF MENU
echo =======================================================================
echo
echo *** Current Buff Setup is:
echo
echo Master buff switch = %mendhunt_buff_master_test
echo               
echo 
echo Buff slot 1:    %mendhunt_buff_name_1     %mendhunt_buff_test_1
echo Buff slot 2:    %mendhunt_buff_name_2     %mendhunt_buff_test_2
echo Buff slot 3:    %mendhunt_buff_name_3     %mendhunt_buff_test_3
echo Buff slot 4:    %mendhunt_buff_name_4     %mendhunt_buff_test_4
echo Buff slot 5:    %mendhunt_buff_name_5     %mendhunt_buff_test_5
echo Buff slot 6:    %mendhunt_buff_name_6     %mendhunt_buff_test_6
echo
echo
echo Retreat when buffing:  %mendhunt_buff_retreat_test
echo
echo =======================================================================
echo
echo Turn buff master ON....................... buff=on
echo Turn buff master OFF...................... buff=off
echo View/change a spell slot.................. view=# [where # is slot number]
echo Turn buff retreat ON...................... retreat=on
echo Turn buff retreat OFF..................... retreat=off
echo Return to Magic Menu...................... z1
echo =======================================================================
echo 
put echo /off
pause 1
	match SETUP_BUFF_RETREAT_TEST_ON retreat=on
	match SETUP_BUFF_RETREAT_TEST_OFF retreat=off
	match SETUP_BUFF_MASTER_TEST_ON buff=on
	match SETUP_BUFF_MASTER_TEST_OFF buff=off
	match SETUP_BUFF_DETAIL_JUMP_1 view=1
	match SETUP_BUFF_DETAIL_JUMP_2 view=2
	match SETUP_BUFF_DETAIL_JUMP_3 view=3
	match SETUP_BUFF_DETAIL_JUMP_4 view=4
	match SETUP_BUFF_DETAIL_JUMP_5 view=5
	match SETUP_BUFF_DETAIL_JUMP_6 view=6
	match SETUP_MAGIC_MENU z1
	matchwait

SETUP_BUFF_MASTER_TEST_ON:
	setvariable mendhunt_buff_master_test ON
	goto SETUP_BUFF_MENU
SETUP_BUFF_MASTER_TEST_OFF:
	setvariable mendhunt_buff_master_test OFF
	goto SETUP_BUFF_MENU
SETUP_BUFF_RETREAT_TEST_ON:
	setvariable mendhunt_buff_retreat_test ON
	goto SETUP_BUFF_MENU
SETUP_BUFF_RETREAT_TEST_OFF:
	setvariable mendhunt_buff_retreat_test OFF
	goto SETUP_BUFF_MENU

#-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*

SETUP_BUFF_DETAIL:
	goto SETUP_BUFF_DETAIL_JUMP_%s

SETUP_BUFF_DETAIL_JUMP_1:
	save 1
	setvariable mendhunt_buff_test_display %mendhunt_buff_test_1
	setvariable mendhunt_buff_name_display %mendhunt_buff_name_1
	setvariable mendhunt_buff_prep_power_display %mendhunt_buff_prep_power_1
	setvariable mendhunt_buff_harn_test_display %mendhunt_buff_harn_test_1
	setvariable mendhunt_buff_harn_power_display %mendhunt_buff_harn_power_1
	setvariable mendhunt_buff_harn_loop_display %mendhunt_buff_harn_loop_1
	setvariable mendhunt_buff_cam_test_display %mendhunt_buff_cam_test_1
	setvariable mendhunt_buff_cam_power_display %mendhunt_buff_cam_power_1
	setvariable mendhunt_buff_cam_loop_display %mendhunt_buff_cam_loop_1
	setvariable mendhunt_buff_cast_pause_display %mendhunt_buff_cast_pause_1
	goto SETUP_BUFF_DETAIL_JUMPED
SETUP_BUFF_DETAIL_JUMP_2:
	save 2
	setvariable mendhunt_buff_test_display %mendhunt_buff_test_2
	setvariable mendhunt_buff_name_display %mendhunt_buff_name_2
	setvariable mendhunt_buff_prep_power_display %mendhunt_buff_prep_power_2
	setvariable mendhunt_buff_harn_test_display %mendhunt_buff_harn_test_2
	setvariable mendhunt_buff_harn_power_display %mendhunt_buff_harn_power_2
	setvariable mendhunt_buff_harn_loop_display %mendhunt_buff_harn_loop_2
	setvariable mendhunt_buff_cam_test_display %mendhunt_buff_cam_test_2
	setvariable mendhunt_buff_cam_power_display %mendhunt_buff_cam_power_2
	setvariable mendhunt_buff_cam_loop_display %mendhunt_buff_cam_loop_2
	setvariable mendhunt_buff_cast_pause_display %mendhunt_buff_cast_pause_2
	goto SETUP_BUFF_DETAIL_JUMPED
SETUP_BUFF_DETAIL_JUMP_3:
	save 3
	setvariable mendhunt_buff_test_display %mendhunt_buff_test_3
	setvariable mendhunt_buff_name_display %mendhunt_buff_name_3
	setvariable mendhunt_buff_prep_power_display %mendhunt_buff_prep_power_3
	setvariable mendhunt_buff_harn_test_display %mendhunt_buff_harn_test_3
	setvariable mendhunt_buff_harn_power_display %mendhunt_buff_harn_power_3
	setvariable mendhunt_buff_harn_loop_display %mendhunt_buff_harn_loop_3
	setvariable mendhunt_buff_cam_test_display %mendhunt_buff_cam_test_3
	setvariable mendhunt_buff_cam_power_display %mendhunt_buff_cam_power_3
	setvariable mendhunt_buff_cam_loop_display %mendhunt_buff_cam_loop_3
	setvariable mendhunt_buff_cast_pause_display %mendhunt_buff_cast_pause_3
	goto SETUP_BUFF_DETAIL_JUMPED
SETUP_BUFF_DETAIL_JUMP_4:
	save 4
	setvariable mendhunt_buff_test_display %mendhunt_buff_test_4
	setvariable mendhunt_buff_name_display %mendhunt_buff_name_4
	setvariable mendhunt_buff_prep_power_display %mendhunt_buff_prep_power_4
	setvariable mendhunt_buff_harn_test_display %mendhunt_buff_harn_test_4
	setvariable mendhunt_buff_harn_power_display %mendhunt_buff_harn_power_4
	setvariable mendhunt_buff_harn_loop_display %mendhunt_buff_harn_loop_4
	setvariable mendhunt_buff_cam_test_display %mendhunt_buff_cam_test_4
	setvariable mendhunt_buff_cam_power_display %mendhunt_buff_cam_power_4
	setvariable mendhunt_buff_cam_loop_display %mendhunt_buff_cam_loop_4
	setvariable mendhunt_buff_cast_pause_display %mendhunt_buff_cast_pause_4
	goto SETUP_BUFF_DETAIL_JUMPED
SETUP_BUFF_DETAIL_JUMP_5:
	save 5
	setvariable mendhunt_buff_test_display %mendhunt_buff_test_5
	setvariable mendhunt_buff_name_display %mendhunt_buff_name_5
	setvariable mendhunt_buff_prep_power_display %mendhunt_buff_prep_power_5
	setvariable mendhunt_buff_harn_test_display %mendhunt_buff_harn_test_5
	setvariable mendhunt_buff_harn_power_display %mendhunt_buff_harn_power_5
	setvariable mendhunt_buff_harn_loop_display %mendhunt_buff_harn_loop_5
	setvariable mendhunt_buff_cam_test_display %mendhunt_buff_cam_test_5
	setvariable mendhunt_buff_cam_power_display %mendhunt_buff_cam_power_5
	setvariable mendhunt_buff_cam_loop_display %mendhunt_buff_cam_loop_5
	setvariable mendhunt_buff_cast_pause_display %mendhunt_buff_cast_pause_5
	goto SETUP_BUFF_DETAIL_JUMPED
SETUP_BUFF_DETAIL_JUMP_6:
	save 6
	setvariable mendhunt_buff_test_display %mendhunt_buff_test_6
	setvariable mendhunt_buff_name_display %mendhunt_buff_name_6
	setvariable mendhunt_buff_prep_power_display %mendhunt_buff_prep_power_6
	setvariable mendhunt_buff_harn_test_display %mendhunt_buff_harn_test_6
	setvariable mendhunt_buff_harn_power_display %mendhunt_buff_harn_power_6
	setvariable mendhunt_buff_harn_loop_display %mendhunt_buff_harn_loop_6
	setvariable mendhunt_buff_cam_test_display %mendhunt_buff_cam_test_6
	setvariable mendhunt_buff_cam_power_display %mendhunt_buff_cam_power_6
	setvariable mendhunt_buff_cam_loop_display %mendhunt_buff_cam_loop_6
	setvariable mendhunt_buff_cast_pause_display %mendhunt_buff_cast_pause_6
	goto SETUP_BUFF_DETAIL_JUMPED

SETUP_BUFF_DETAIL_JUMPED:
put echo /on
waitfor echocolumn
echo
echo
echo =======================================================================
echo ***                    BUFF %s DETAIL - VIEW/CHANGE
echo =======================================================================
echo Buff slot %s is:        %mendhunt_buff_test_display
echo
echo Spell Name:             %mendhunt_buff_name_display
echo .    prep power:        %mendhunt_buff_prep_power_display
echo .    cast pause:        %mendhunt_buff_cast_pause_display  seconds
echo Harness:                %mendhunt_buff_harn_test_display
echo .    power:             %mendhunt_buff_harn_power_display
echo .    loop:              %mendhunt_buff_harn_loop_display   harnesses per cast
echo Cambrinth:              %mendhunt_buff_cam_test_display
echo .    item name:         %mendhunt_cam_name
echo .    charge:            %mendhunt_buff_cam_power_display
echo .    loop:              %mendhunt_buff_cam_loop_display   cams per cast
echo =======================================================================
echo General:                                           
echo .    Turn slot ON              slot=on
echo .    Turn slot OFF             slot=off
echo .    Set spell                 .mendhunt set buff slot %s prep <name> <mana#> <pause#>
echo 
echo Harness:
echo .    Turn ON                   harn=on
echo .    Turn OFF                  harn=off
echo .    Set harness               .mendhunt set buff slot %s harn <mana#> <loop#>
echo 
echo Cambrinth:
echo .    Name of cambrinth         .mendhunt set cambrinth <name>
echo .    Turn ON                   cam=on
echo .    Turn OFF                  cam=off
echo .    Set cambrinth             .mendhunt set buff slot %s cam <charge#> <loop#>
echo
echo Return to Buff Menu..................... z1
echo Jump to a different slot.................. view=#
echo =======================================================================
echo
put echo /off
pause 1
	match SETUP_BUFF_SLOT_TEST_ON slot=on
	match SETUP_BUFF_SLOT_TEST_OFF slot=off
	match SETUP_BUFF_HARN_TEST_ON harn=on
	match SETUP_BUFF_HARN_TEST_OFF harn=off
	match SETUP_BUFF_CAM_TEST_ON cam=on
	match SETUP_BUFF_CAM_TEST_OFF cam=off
	match SETUP_BUFF_DETAIL_JUMP_1 view=1
	match SETUP_BUFF_DETAIL_JUMP_2 view=2
	match SETUP_BUFF_DETAIL_JUMP_3 view=3
	match SETUP_BUFF_DETAIL_JUMP_4 view=4
	match SETUP_BUFF_DETAIL_JUMP_5 view=5
	match SETUP_BUFF_DETAIL_JUMP_6 view=6
	match SETUP_BUFF_MENU z1
	matchwait

SETUP_BUFF_SLOT_TEST_ON:
	setvariable mendhunt_buff_test_%s ON
	goto SETUP_BUFF_DETAIL
SETUP_BUFF_SLOT_TEST_OFF:
	setvariable mendhunt_buff_test_%s OFF
	goto SETUP_BUFF_DETAIL
SETUP_BUFF_HARN_TEST_ON:
	setvariable mendhunt_buff_harn_test_%s ON
	goto SETUP_BUFF_DETAIL
SETUP_BUFF_HARN_TEST_OFF:
	setvariable mendhunt_buff_harn_test_%s OFF
	goto SETUP_BUFF_DETAIL
SETUP_BUFF_CAM_TEST_ON:
	setvariable mendhunt_buff_cam_test_%s ON
	goto SETUP_BUFF_DETAIL
SETUP_BUFF_CAM_TEST_OFF:
	setvariable mendhunt_buff_cam_test_%s OFF
	goto SETUP_BUFF_DETAIL

#-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*
SETUP_DEBUFF_MENU:
put echo /on
waitfor echocolumn
echo
echo
echo =======================================================================
echo ***                        DEBUFF MENU
echo =======================================================================
echo
echo *** Current Debuff Setup is:
echo
echo Master debuff switch = %mendhunt_debuff_master_test
echo               
echo 
echo Debuff slot 1:    %mendhunt_debuff_name_1     %mendhunt_debuff_test_1
echo Debuff slot 2:    %mendhunt_debuff_name_2     %mendhunt_debuff_test_2
echo Debuff slot 3:    %mendhunt_debuff_name_3     %mendhunt_debuff_test_3
echo Debuff slot 4:    %mendhunt_debuff_name_4     %mendhunt_debuff_test_4
echo Debuff slot 5:    %mendhunt_debuff_name_5     %mendhunt_debuff_test_5
echo Debuff slot 6:    %mendhunt_debuff_name_6     %mendhunt_debuff_test_6
echo
echo
echo =======================================================================
echo
echo Turn debuff master ON..................... debuff=on
echo Turn debuff master OFF.................... debuff=off
echo View/change a spell slot.................. view=# [where # is slot number]
echo Return to Magic Menu...................... z1
echo =======================================================================
echo
echo
put echo /off
pause 1
	match SETUP_DEBUFF_MASTER_TEST_ON debuff=on
	match SETUP_DEBUFF_MASTER_TEST_OFF debuff=off
	match SETUP_DEBUFF_DETAIL_JUMP_1 view=1
	match SETUP_DEBUFF_DETAIL_JUMP_2 view=2
	match SETUP_DEBUFF_DETAIL_JUMP_3 view=3
	match SETUP_DEBUFF_DETAIL_JUMP_4 view=4
	match SETUP_DEBUFF_DETAIL_JUMP_5 view=5
	match SETUP_DEBUFF_DETAIL_JUMP_6 view=6
	match SETUP_MAGIC_MENU z1
	matchwait

SETUP_DEBUFF_MASTER_TEST_ON:
	setvariable mendhunt_debuff_master_test ON
	goto SETUP_DEBUFF_MENU
SETUP_DEBUFF_MASTER_TEST_OFF:
	setvariable mendhunt_debuff_master_test OFF
	goto SETUP_DEBUFF_MENU

#-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*

SETUP_DEBUFF_DETAIL:
	goto SETUP_DEBUFF_DETAIL_JUMP_%s

SETUP_DEBUFF_DETAIL_JUMP_1:
	save 1
	setvariable mendhunt_debuff_test_display %mendhunt_debuff_test_1
	setvariable mendhunt_debuff_name_display %mendhunt_debuff_name_1
	setvariable mendhunt_debuff_prep_power_display %mendhunt_debuff_prep_power_1
	setvariable mendhunt_debuff_harn_test_display %mendhunt_debuff_harn_test_1
	setvariable mendhunt_debuff_harn_power_display %mendhunt_debuff_harn_power_1
	setvariable mendhunt_debuff_harn_loop_display %mendhunt_debuff_harn_loop_1
	setvariable mendhunt_debuff_cam_test_display %mendhunt_debuff_cam_test_1
	setvariable mendhunt_debuff_cam_power_display %mendhunt_debuff_cam_power_1
	setvariable mendhunt_debuff_cam_loop_display %mendhunt_debuff_cam_loop_1
	setvariable mendhunt_debuff_cast_pause_display %mendhunt_debuff_cast_pause_1
	setvariable mendhunt_debuff_once_test_display %mendhunt_debuff_once_test_1
	goto SETUP_DEBUFF_DETAIL_JUMPED
SETUP_DEBUFF_DETAIL_JUMP_2:
	save 2
	setvariable mendhunt_debuff_test_display %mendhunt_debuff_test_2
	setvariable mendhunt_debuff_name_display %mendhunt_debuff_name_2
	setvariable mendhunt_debuff_prep_power_display %mendhunt_debuff_prep_power_2
	setvariable mendhunt_debuff_harn_test_display %mendhunt_debuff_harn_test_2
	setvariable mendhunt_debuff_harn_power_display %mendhunt_debuff_harn_power_2
	setvariable mendhunt_debuff_harn_loop_display %mendhunt_debuff_harn_loop_2
	setvariable mendhunt_debuff_cam_test_display %mendhunt_debuff_cam_test_2
	setvariable mendhunt_debuff_cam_power_display %mendhunt_debuff_cam_power_2
	setvariable mendhunt_debuff_cam_loop_display %mendhunt_debuff_cam_loop_2
	setvariable mendhunt_debuff_cast_pause_display %mendhunt_debuff_cast_pause_2
	setvariable mendhunt_debuff_once_test_display %mendhunt_debuff_once_test_2
	goto SETUP_DEBUFF_DETAIL_JUMPED
SETUP_DEBUFF_DETAIL_JUMP_3:
	save 3
	setvariable mendhunt_debuff_test_display %mendhunt_debuff_test_3
	setvariable mendhunt_debuff_name_display %mendhunt_debuff_name_3
	setvariable mendhunt_debuff_prep_power_display %mendhunt_debuff_prep_power_3
	setvariable mendhunt_debuff_harn_test_display %mendhunt_debuff_harn_test_3
	setvariable mendhunt_debuff_harn_power_display %mendhunt_debuff_harn_power_3
	setvariable mendhunt_debuff_harn_loop_display %mendhunt_debuff_harn_loop_3
	setvariable mendhunt_debuff_cam_test_display %mendhunt_debuff_cam_test_3
	setvariable mendhunt_debuff_cam_power_display %mendhunt_debuff_cam_power_3
	setvariable mendhunt_debuff_cam_loop_display %mendhunt_debuff_cam_loop_3
	setvariable mendhunt_debuff_cast_pause_display %mendhunt_debuff_cast_pause_3
	setvariable mendhunt_debuff_once_test_display %mendhunt_debuff_once_test_3
	goto SETUP_DEBUFF_DETAIL_JUMPED
SETUP_DEBUFF_DETAIL_JUMP_4:
	save 4
	setvariable mendhunt_debuff_test_display %mendhunt_debuff_test_4
	setvariable mendhunt_debuff_name_display %mendhunt_debuff_name_4
	setvariable mendhunt_debuff_prep_power_display %mendhunt_debuff_prep_power_4
	setvariable mendhunt_debuff_harn_test_display %mendhunt_debuff_harn_test_4
	setvariable mendhunt_debuff_harn_power_display %mendhunt_debuff_harn_power_4
	setvariable mendhunt_debuff_harn_loop_display %mendhunt_debuff_harn_loop_4
	setvariable mendhunt_debuff_cam_test_display %mendhunt_debuff_cam_test_4
	setvariable mendhunt_debuff_cam_power_display %mendhunt_debuff_cam_power_4
	setvariable mendhunt_debuff_cam_loop_display %mendhunt_debuff_cam_loop_4
	setvariable mendhunt_debuff_cast_pause_display %mendhunt_debuff_cast_pause_4
	setvariable mendhunt_debuff_once_test_display %mendhunt_debuff_once_test_4
	goto SETUP_DEBUFF_DETAIL_JUMPED
SETUP_DEBUFF_DETAIL_JUMP_5:
	save 5
	setvariable mendhunt_debuff_test_display %mendhunt_debuff_test_5
	setvariable mendhunt_debuff_name_display %mendhunt_debuff_name_5
	setvariable mendhunt_debuff_prep_power_display %mendhunt_debuff_prep_power_5
	setvariable mendhunt_debuff_harn_test_display %mendhunt_debuff_harn_test_5
	setvariable mendhunt_debuff_harn_power_display %mendhunt_debuff_harn_power_5
	setvariable mendhunt_debuff_harn_loop_display %mendhunt_debuff_harn_loop_5
	setvariable mendhunt_debuff_cam_test_display %mendhunt_debuff_cam_test_5
	setvariable mendhunt_debuff_cam_power_display %mendhunt_debuff_cam_power_5
	setvariable mendhunt_debuff_cam_loop_display %mendhunt_debuff_cam_loop_5
	setvariable mendhunt_debuff_cast_pause_display %mendhunt_debuff_cast_pause_5
	setvariable mendhunt_debuff_once_test_display %mendhunt_debuff_once_test_5
	goto SETUP_DEBUFF_DETAIL_JUMPED
SETUP_DEBUFF_DETAIL_JUMP_6:
	save 6
	setvariable mendhunt_debuff_test_display %mendhunt_debuff_test_6
	setvariable mendhunt_debuff_name_display %mendhunt_debuff_name_6
	setvariable mendhunt_debuff_prep_power_display %mendhunt_debuff_prep_power_6
	setvariable mendhunt_debuff_harn_test_display %mendhunt_debuff_harn_test_6
	setvariable mendhunt_debuff_harn_power_display %mendhunt_debuff_harn_power_6
	setvariable mendhunt_debuff_harn_loop_display %mendhunt_debuff_harn_loop_6
	setvariable mendhunt_debuff_cam_test_display %mendhunt_debuff_cam_test_6
	setvariable mendhunt_debuff_cam_power_display %mendhunt_debuff_cam_power_6
	setvariable mendhunt_debuff_cam_loop_display %mendhunt_debuff_cam_loop_6
	setvariable mendhunt_debuff_cast_pause_display %mendhunt_debuff_cast_pause_6
	setvariable mendhunt_debuff_once_test_display %mendhunt_debuff_once_test_6
	goto SETUP_DEBUFF_DETAIL_JUMPED

SETUP_DEBUFF_DETAIL_JUMPED:
put echo /on
waitfor echocolumn
echo
echo
echo =======================================================================
echo ***                    DEBUFF %s DETAIL - VIEW/CHANGE
echo =======================================================================
echo Debuff slot %s is:      %mendhunt_debuff_test_display
echo
echo Spell Name:             %mendhunt_debuff_name_display
echo .    prep power:        %mendhunt_debuff_prep_power_display
echo .    cast pause:        %mendhunt_debuff_cast_pause_display  seconds
echo Harness:                %mendhunt_debuff_harn_test_display
echo .    power:             %mendhunt_debuff_harn_power_display
echo .    loop:              %mendhunt_debuff_harn_loop_display   harnesses per cast
echo Cambrinth:              %mendhunt_debuff_cam_test_display
echo .    item name:         %mendhunt_cam_name
echo .    charge:            %mendhunt_debuff_cam_power_display
echo .    loop:              %mendhunt_debuff_cam_loop_display   cams per cast
echo
echo Debuff only once per critter:   %mendhunt_debuff_once_test_display
echo =======================================================================
echo General:                                           
echo .    Turn slot ON              slot=on
echo .    Turn slot OFF             slot=off
echo .    Set spell                 .mendhunt set debuff slot %s prep <name> <mana#> <pause#>
echo 
echo Harness:
echo .    Turn ON                   harn=on
echo .    Turn OFF                  harn=off
echo .    Set harness               .mendhunt set debuff slot %s harn <mana#> <loop#>
echo 
echo Cambrinth:
echo .    Name of cambrinth         .mendhunt set cambrinth <name>
echo .    Turn ON                   cam=on
echo .    Turn OFF                  cam=off
echo .    Set cambrinth             .mendhunt set debuff slot %s cam <charge#> <loop#>
echo
echo Debuff only once ON            debuffonce=on
echo Debuff only once OFF           debuffonce=off
echo
echo Return to Debuff Menu..................... z1
echo Jump to a different slot.................. view=#
echo =======================================================================
echo Note:
echo 1) "Debuff only once" does not check if it landed with effect or backfired, only that you tried once
echo
put echo /off
pause 1
	match SETUP_DEBUFF_SLOT_TEST_ON slot=on
	match SETUP_DEBUFF_SLOT_TEST_OFF slot=off
	match SETUP_DEBUFF_HARN_TEST_ON harn=on
	match SETUP_DEBUFF_HARN_TEST_OFF harn=off
	match SETUP_DEBUFF_CAM_TEST_ON cam=on
	match SETUP_DEBUFF_CAM_TEST_OFF cam=off
	match SETUP_DEBUFF_ONCE_TEST_ON debuffonce=on
	match SETUP_DEBUFF_ONCE_TEST_OFF debuffonce=off
	match SETUP_DEBUFF_DETAIL_JUMP_1 view=1
	match SETUP_DEBUFF_DETAIL_JUMP_2 view=2
	match SETUP_DEBUFF_DETAIL_JUMP_3 view=3
	match SETUP_DEBUFF_DETAIL_JUMP_4 view=4
	match SETUP_DEBUFF_DETAIL_JUMP_5 view=5
	match SETUP_DEBUFF_DETAIL_JUMP_6 view=6
	match SETUP_DEBUFF_MENU z1
	matchwait

SETUP_DEBUFF_SLOT_TEST_ON:
	setvariable mendhunt_debuff_test_%s ON
	goto SETUP_DEBUFF_DETAIL
SETUP_DEBUFF_SLOT_TEST_OFF:
	setvariable mendhunt_debuff_test_%s OFF
	goto SETUP_DEBUFF_DETAIL
SETUP_DEBUFF_HARN_TEST_ON:
	setvariable mendhunt_debuff_harn_test_%s ON
	goto SETUP_DEBUFF_DETAIL
SETUP_DEBUFF_HARN_TEST_OFF:
	setvariable mendhunt_debuff_harn_test_%s OFF
	goto SETUP_DEBUFF_DETAIL
SETUP_DEBUFF_CAM_TEST_ON:
	setvariable mendhunt_debuff_cam_test_%s ON
	goto SETUP_DEBUFF_DETAIL
SETUP_DEBUFF_CAM_TEST_OFF:
	setvariable mendhunt_debuff_cam_test_%s OFF
	goto SETUP_DEBUFF_DETAIL
SETUP_DEBUFF_ONCE_TEST_ON:
	setvariable mendhunt_debuff_once_test_%s ON
	goto SETUP_DEBUFF_DETAIL
SETUP_DEBUFF_ONCE_TEST_OFF:
	setvariable mendhunt_debuff_once_test_%s OFF
	goto SETUP_DEBUFF_DETAIL


#-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*
SETUP_PATHWAY_MENU:
put echo /on
waitfor echocolumn
echo
echo
echo =======================================================================
echo ***                        PATHWAY MENU
echo =======================================================================
echo 
echo Target pathway:    %mendhunt_pathway_target_name     %mendhunt_pathway_target_test
echo Frenzy pathway:    %mendhunt_pathway_frenzy_name     %mendhunt_pathway_frenzy_test
echo
echo =======================================================================
echo
echo Turn pathway target ON..................... pathwaytarget=on
echo Turn pathway target OFF.................... pathwaytarget=off
echo
echo Turn pathway frenzy ON..................... pathwayfrenzy=on
echo Turn pathway frenzy OFF.................... pathwayfrenzy=off
echo
echo Change a pathway........................... .mendhunt set pathway [target|frenzy] <name>
echo                             
echo Return to Magic Menu....................... z1
echo =======================================================================
echo
echo
put echo /off
pause 1
	match SETUP_PATHWAY_TARGET_ON pathwaytarget=on
	match SETUP_PATHWAY_TARGET_OFF pathwaytarget=off
	match SETUP_PATHWAY_FRENZY_ON pathwayfrenzy=on
	match SETUP_PATHWAY_FRENZY_OFF pathwayfrenzy=off
	match SETUP_MAGIC_MENU z1
	matchwait

SETUP_PATHWAY_TARGET_ON:
	setvariable mendhunt_pathway_target_test ON
	goto SETUP_PATHWAY_MENU
SETUP_PATHWAY_TARGET_OFF:
	setvariable mendhunt_pathway_target_test OFF
	goto SETUP_PATHWAY_MENU
SETUP_PATHWAY_FRENZY_ON:
	setvariable mendhunt_pathway_frenzy_test ON
	goto SETUP_PATHWAY_MENU
SETUP_PATHWAY_FRENZY_OFF:
	setvariable mendhunt_pathway_frenzy_test OFF
	goto SETUP_PATHWAY_MENU

#-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*
SETUP_DEKS_MENU:
put echo /on
waitfor echocolumn
echo
echo
echo =======================================================================
echo ***        Dance/Roar, Enchante, Khri, and Specials (DEKS) MENU
echo =======================================================================
echo <<< IMPORTANT >>>   These fire only in Combat Mode (ie not in Frenzy, Empath, or Dance Modes)
echo
echo Barbarian
echo .   roar:                %mendhunt_combat_roar_test
echo .     roar type:         %mendhunt_combat_roar_type
echo .   dance:               %mendhunt_combat_dance_test
echo .     dance type:        %mendhunt_combat_dance_type
echo
echo Bard
echo .   sing:                %mendhunt_combat_sing_test
echo .     sing type:         %mendhunt_combat_sing_type
echo .   chant:               %mendhunt_combat_chant_test
echo .     chant type:        %mendhunt_combat_chant_type
echo
echo Thief
echo .   khri:                %mendhunt_combat_khri_test
echo .     khri type:         %mendhunt_combat_khri_type
echo
echo ________________________________________________________________________
echo The script supports the ability to perform "specials".  This involves you setting up to five lines
echo of actions or other entries for the script to perform.
echo The Special fires before debuff, targeted magic, other Deks, and melee/ranged/thrown weapon usage.
echo
echo * DEKS special:          %mendhunt_deks_special_test
echo 
echo .     line 1:  %mendhunt_deks_line_1
echo .     line 2:  %mendhunt_deks_line_2
echo .     line 3:  %mendhunt_deks_line_3
echo .     line 4:  %mendhunt_deks_line_4
echo .     line 5:  %mendhunt_deks_line_5
echo
echo Examples:
echo .          .mendhunt set deks line 1 "prep myheldmanaspell 15"
echo .          .mendhunt set deks line 2 "cast"
echo .          .mendhunt set deks line 3 "harn 10"
echo .          .mendhunt set deks line 4 "say Ok, I set the deks pause for line3 to 10 seconds, wait"
echo .          .mendhunt set deks line 5 "release"
echo 
echo .          .mendhunt set deks line 1 "wear my shield"
echo .          .mendhunt set deks line 2 "forage flower"
echo .          .mendhunt set deks line 3 "drop my flower"
echo .          .mendhunt set deks line 4 "remove my shield"
echo .          .mendhunt set deks line 5 "say Ok, now I am ready for that TKT spell in targeting"
echo
echo .          .mendhunt set deks line 1 "forage dirt"
echo .          .mendhunt set deks line 2 "throw dirt"
echo .          .mendhunt set deks line 3 "say not really sure if that blinded the critter but you get the idea"
echo .          .mendhunt set deks line 4 " "
echo .          .mendhunt set deks line 5 " "
echo
echo NOTES:
echo . Five successive lines are provided for flexibility.  If not needed, blank out {" "} those lines not used.
echo . Use quotation marks for multiple words.
echo . RT checks are auto-provided.
echo . If you need a pause (not an rt-check but a pause of xxx seconds) then open script; near the top you will
echo .    find a dekspause variable to adjust.
echo =======================================================================
echo *** Roar
echo .     Turn roar ON...................... roar=on
echo .     Turn roar OFF..................... roar=off
echo .     Setup roar........................ .mendhunt set combat roar <type>
echo
echo *** Dance
echo .     Turn dance ON..................... dance=on
echo .     Turn dance OFF.................... dance=off
echo .     Setup dance....................... .mendhunt set combat berserk <type>
echo
echo *** Sing
echo .     Turn sing ON...................... sing=on
echo .     Turn sing OFF..................... sing=off
echo .     Setup sing........................ .mendhunt set combat sing <type>
echo
echo *** Chant
echo .     Turn chant ON..................... chant=on
echo .     Turn chant OFF.................... chant=off
echo .     Setup chant....................... .mendhunt set combat chant <type>
echo
echo *** Khri
echo .     Turn khri ON...................... khri=on
echo .     Turn khri OFF..................... khri=off
echo .     Setup chant....................... .mendhunt set combat khri <type>
echo
echo *** Special
echo .     Turn Special ON................... special=on
echo .     Turn Special OFF.................. special=off
echo .     Setup a DEKS special line......... .mendhunt set deks line <#> {full text}
echo
echo Return to Main Menu........................... z1
echo =======================================================================
echo Notes:
echo 1) Either sing or chant can be on...both can't be on at same time...both can be off though
echo
put echo /off
pause 1
	match SETUP_DEKS_SPECIAL_ON special=on
	match SETUP_DEKS_SPECIAL_OFF special=off
	match SETUP_DEKS_ROAR_ON roar=on
	match SETUP_DEKS_ROAR_OFF roar=off
	match SETUP_DEKS_DANCE_ON dance=on
	match SETUP_DEKS_DANCE_OFF dance=off
	match SETUP_DEKS_SING_ON sing=on
	match SETUP_DEKS_SING_OFF sing=off
	match SETUP_DEKS_CHANT_ON chant=on
	match SETUP_DEKS_CHANT_OFF chant=off
	match SETUP_DEKS_KHRI_ON khri=on
	match SETUP_DEKS_KHRI_OFF khri=off
	match SETUP_MAIN_MENU z1
	matchwait

SETUP_DEKS_SPECIAL_ON:
	setvariable mendhunt_deks_special_test ON
	goto SETUP_DEKS_MENU
SETUP_DEKS_SPECIAL_OFF:
	setvariable mendhunt_deks_special_test OFF
	goto SETUP_DEKS_MENU
SETUP_DEKS_ROAR_ON:
	setvariable mendhunt_combat_roar_test ON
	goto SETUP_DEKS_MENU
SETUP_DEKS_ROAR_OFF:
	setvariable mendhunt_combat_roar_test OFF
	goto SETUP_DEKS_MENU
SETUP_DEKS_DANCE_ON:
	setvariable mendhunt_combat_dance_test ON
	goto SETUP_DEKS_MENU
SETUP_DEKS_DANCE_OFF:
	setvariable mendhunt_combat_dance_test OFF
	goto SETUP_DEKS_MENU
SETUP_DEKS_SING_ON:
	setvariable mendhunt_combat_sing_test ON
	setvariable mendhunt_combat_chant_test OFF
	goto SETUP_DEKS_MENU
SETUP_DEKS_SING_OFF:
	setvariable mendhunt_combat_sing_test OFF
	goto SETUP_DEKS_MENU
SETUP_DEKS_CHANT_ON:
	setvariable mendhunt_combat_sing_test OFF
	setvariable mendhunt_combat_chant_test ON
	goto SETUP_DEKS_MENU
SETUP_DEKS_CHANT_OFF:
	setvariable mendhunt_combat_chant_test OFF
	goto SETUP_DEKS_MENU
SETUP_DEKS_KHRI_ON:
	setvariable mendhunt_combat_khri_test ON
	goto SETUP_DEKS_MENU
SETUP_DEKS_KHRI_OFF:
	setvariable mendhunt_combat_khri_test OFF
	goto SETUP_DEKS_MENU

#-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*
SETUP_EMPATH_COMBAT_MENU:
put echo /on
waitfor echocolumn
echo
echo
echo =======================================================================
echo ***                     EMPATH COMBAT MENU
echo =======================================================================
echo I am an empath:   %mendhunt_empath_guild_test    <----<<< IMPORTANT
echo
echo Manipulate:       %mendhunt_empath_test_manipulate
echo .    Character's max concentration = %mendhunt_empath_maxconc
echo
echo Innocence:        %mendhunt_empath_test_innocence
echo
echo GS - Avenger:     %mendhunt_empath_test_gs
echo 
echo =======================================================================
echo
echo Turn "I am an empath" ON...................... empath=on
echo Turn "I am an empath" OFF..................... empath=off
echo
echo Turn Manipulate ON............................ manipulate=on
echo Turn Manipulate OFF........................... manipulate=off
echo Change your Max Concentration..............    .mendhunt set maxconc <#>
echo
echo Turn Innocence ON............................. innocence=on
echo Turn Innocence OFF............................ innocence=off
echo
echo Turn GS ON.................................... gs=on
echo Turn GS OFF................................... gs=off
echo
echo View/change Innocence setup................... view=innocence
echo View/change GS setup.......................... view=gs
echo
echo Return to Main Menu........................... z1
echo =======================================================================
echo Notes:
echo 1) <<< IMPORTANT >>> If you are an empath...make sure "I am an empath" is ON!
echo 2) If you train stats or circle, reset max conc (or manipulate wont fire).
echo 3) Manipulation tanks concentration, if ON, others probably won't fire.
echo
put echo /off
pause 1
	match SETUP_EMPATH_GUILD_FLAG_ON empath=on
	match SETUP_EMPATH_GUILD_FLAG_OFF empath=off
	match SETUP_MANIPULATE_ON manipulate=on
	match SETUP_MANIPULATE_OFF manipulate=off
	match SETUP_INNOCENCE_ON innocence=on
	match SETUP_INNOCENCE_OFF innocence=off
	match SETUP_GS_ON gs=on
	match SETUP_GS_OFF gs=off
	match SETUP_EMPATH_INNOCENCE_DETAIL view=innocence
	match SETUP_EMPATH_GS_DETAIL view=gs
	match SETUP_MAIN_MENU z1
	matchwait

SETUP_EMPATH_GUILD_FLAG_ON:
	setvariable mendhunt_empath_guild_test ON
	goto SETUP_EMPATH_COMBAT_MENU
SETUP_EMPATH_GUILD_FLAG_OFF:
	setvariable mendhunt_empath_guild_test OFF
	goto SETUP_EMPATH_COMBAT_MENU
SETUP_MANIPULATE_ON:
	setvariable mendhunt_empath_test_manipulate ON
	goto SETUP_EMPATH_COMBAT_MENU
SETUP_MANIPULATE_OFF:
	setvariable mendhunt_empath_test_manipulate OFF
	goto SETUP_EMPATH_COMBAT_MENU
SETUP_INNOCENCE_ON:
	setvariable mendhunt_empath_test_innocence ON
	goto SETUP_EMPATH_COMBAT_MENU
SETUP_INNOCENCE_OFF:
	setvariable mendhunt_empath_test_innocence OFF
	goto SETUP_EMPATH_COMBAT_MENU
SETUP_GS_ON:
	setvariable mendhunt_empath_test_gs ON
	goto SETUP_EMPATH_COMBAT_MENU
SETUP_GS_OFF:
	setvariable mendhunt_empath_test_gs OFF
	goto SETUP_EMPATH_COMBAT_MENU

#-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*
SETUP_EMPATH_INNOCENCE_DETAIL:
put echo /on
waitfor echocolumn
echo
echo
echo =======================================================================
echo ***                    INNOCENCE DETAIL - VIEW/CHANGE
echo =======================================================================
echo Innocence:
echo .    prep power:        %mendhunt_empath_prep_power_innocence
echo .    cast pause:        %mendhunt_empath_cast_pause_innocence  seconds
echo Harness:                %mendhunt_empath_harn_test_innocence
echo .    power:             %mendhunt_empath_harn_power_innocence
echo .    loop:              %mendhunt_empath_harn_loop_innocence   harnesses per cast
echo Cambrinth:              %mendhunt_empath_cam_test_innocence
echo .    item name:         %mendhunt_cam_name
echo .    charge:            %mendhunt_empath_cam_power_innocence
echo .    loop:              %mendhunt_empath_cam_loop_innocence   cams per cast
echo =======================================================================
echo General:                                           
echo .    Set prep mana & pause     .mendhunt set innocence prep <mana#> <pause#>
echo 
echo Harness:
echo .    Turn ON                   harn=on
echo .    Turn OFF                  harn=off
echo .    Set harness               .mendhunt set innocence harn <mana#> <loop#>
echo 
echo Cambrinth:
echo .    Name of cambrinth         .mendhunt set cambrinth <name>
echo .    Turn ON                   cam=on
echo .    Turn OFF                  cam=off
echo .    Set cambrinth             .mendhunt set innocence cam <charge#> <loop#>
echo
echo Return to Empath Menu..................... z1
echo 
echo =======================================================================
echo
echo
put echo /off
pause 1
	match SETUP_EMPATH_HARN_TEST_INNOCENCE_ON harn=on
	match SETUP_EMPATH_HARN_TEST_INNOCENCE_OFF harn=off
	match SETUP_EMPATH_CAM_TEST_INNOCENCE_ON cam=on
	match SETUP_EMPATH_CAM_TEST_INNOCENCE_OFF cam=off
	match SETUP_EMPATH_COMBAT_MENU z1
	matchwait

SETUP_EMPATH_HARN_TEST_INNOCENCE_ON:
	setvariable mendhunt_empath_harn_test_innocence ON
	goto SETUP_EMPATH_INNOCENCE_DETAIL
SETUP_EMPATH_HARN_TEST_INNOCENCE_OFF:
	setvariable mendhunt_empath_harn_test_innocence OFF
	goto SETUP_EMPATH_INNOCENCE_DETAIL
SETUP_EMPATH_CAM_TEST_INNOCENCE_ON:
	setvariable mendhunt_empath_cam_test_innocence ON
	goto SETUP_EMPATH_INNOCENCE_DETAIL
SETUP_EMPATH_CAM_TEST_INNOCENCE_OFF:
	setvariable mendhunt_empath_cam_test_innocence OFF
	goto SETUP_EMPATH_INNOCENCE_DETAIL

#-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*
SETUP_EMPATH_GS_DETAIL:
put echo /on
waitfor echocolumn
echo
echo
echo =======================================================================
echo ***               GUARDIAN SPIRIT (GS) DETAIL - VIEW/CHANGE
echo =======================================================================
echo GS:
echo .    prep power:        %mendhunt_empath_prep_power_gs
echo .    cast pause:        %mendhunt_empath_cast_pause_gs  seconds
echo Harness:                %mendhunt_empath_harn_test_gs
echo .    power:             %mendhunt_empath_harn_power_gs
echo .    loop:              %mendhunt_empath_harn_loop_gs   harnesses per cast
echo Cambrinth:              %mendhunt_empath_cam_test_gs
echo .    item name:         %mendhunt_cam_name
echo .    charge:            %mendhunt_empath_cam_power_gs
echo .    loop:              %mendhunt_empath_cam_loop_gs   cams per cast
echo =======================================================================
echo General:                                           
echo .    Set prep mana & pause     .mendhunt set gs prep <mana#> <pause#>
echo 
echo Harness:
echo .    Turn ON                   harn=on
echo .    Turn OFF                  harn=off
echo .    Set harness               .mendhunt set gs harn <mana#> <loop#>
echo 
echo Cambrinth:
echo .    Name of cambrinth         .mendhunt set cambrinth <name>
echo .    Turn ON                   cam=on
echo .    Turn OFF                  cam=off
echo .    Set cambrinth             .mendhunt set gs cam <charge#> <loop#>
echo
echo Return to Empath Menu..................... z1
echo 
echo =======================================================================
echo
echo
put echo /off
pause 1
	match SETUP_EMPATH_HARN_TEST_GS_ON harn=on
	match SETUP_EMPATH_HARN_TEST_GS_OFF harn=off
	match SETUP_EMPATH_CAM_TEST_GS_ON cam=on
	match SETUP_EMPATH_CAM_TEST_GS_OFF cam=off
	match SETUP_EMPATH_COMBAT_MENU z1
	matchwait

SETUP_EMPATH_HARN_TEST_GS_ON:
	setvariable mendhunt_empath_harn_test_gs ON
	goto SETUP_EMPATH_GS_DETAIL
SETUP_EMPATH_HARN_TEST_GS_OFF:
	setvariable mendhunt_empath_harn_test_gs OFF
	goto SETUP_EMPATH_GS_DETAIL
SETUP_EMPATH_CAM_TEST_GS_ON:
	setvariable mendhunt_empath_cam_test_gs ON
	goto SETUP_EMPATH_GS_DETAIL
SETUP_EMPATH_CAM_TEST_GS_OFF:
	setvariable mendhunt_empath_cam_test_gs OFF
	goto SETUP_EMPATH_GS_DETAIL

#-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*
SETUP_CRITTER_MENU:
put echo /on
waitfor echocolumn
echo
echo
echo =======================================================================
echo ***                        CRITTERS MENU
echo =======================================================================
echo
echo Creature database obtained from Elanthipedia's bestiary on 5/17/2008.
echo http://www.elanthipedia.com/wiki/Main_Page
echo 
echo The following are user added:
echo
echo 1.   %mendhunt_useradd_critter_1
echo
echo 2.   %mendhunt_useradd_critter_2
echo
echo 3.   %mendhunt_useradd_critter_3
echo
echo 4.   %mendhunt_useradd_critter_4
echo
echo 5.   %mendhunt_useradd_critter_5
echo
echo 6.   %mendhunt_useradd_critter_6
echo
echo =======================================================================
echo
echo Add/change a user added creature.............. .mendhunt set creature <#> <name>
echo
echo Return to Main Menu........................... z1
echo
echo =======================================================================
echo
echo
put echo /off
pause 1
	match SETUP_MAIN_MENU z1
	matchwait

#-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*
SETUP_FRENZY_MENU:
put echo /on
waitfor echocolumn
echo
echo
echo =======================================================================
echo ***                        FRENZY MENU
echo =======================================================================
echo <<< IMPORTANT >>>   These fire only in Frenzy Mode (ie not in Combat, Empath, or Dance Modes)
echo
echo Warrior Mage
echo .   chain lightning (cl)          %mendhunt_frenzy_cl_test
echo .       prep mana                 %mendhunt_frenzy_cl_prep_mana
echo .       harness use               %mendhunt_frenzy_cl_harn_test
echo .       harness mana              %mendhunt_frenzy_cl_harn_mana
echo .       harness loop              %mendhunt_frenzy_cl_harn_loop
echo .       cast pause                %mendhunt_frenzy_cl_cast_pause
echo
echo Barbarian
echo .   roar                          %mendhunt_frenzy_roar_test
echo .       roar type                 %mendhunt_frenzy_roar_type
echo .   berserk                       %mendhunt_frenzy_berserk_test
echo .       berserk type              %mendhunt_frenzy_berserk_type
echo
echo Bard
echo .   sing                          %mendhunt_frenzy_sing_test
echo .       sing type                 %mendhunt_frenzy_sing_type
echo .   chant                         %mendhunt_frenzy_chant_test
echo .       chant type                %mendhunt_frenzy_chant_type
echo
echo Paladin
echo .   banner of truce (bot)         %mendhunt_frenzy_bot_test
echo .       prep mana                 %mendhunt_frenzy_bot_prep_mana
echo .       harness use               %mendhunt_frenzy_bot_harn_test
echo .       harness mana              %mendhunt_frenzy_bot_harn_mana
echo .       harness loop              %mendhunt_frenzy_bot_harn_loop
echo .       cast pause                %mendhunt_frenzy_bot_cast_pause
echo
echo Flee                              %mendhunt_frenzy_flee_test
echo
echo Hide till safe                    %mendhunt_frenzy_hide_test
echo
echo =======================================================================
echo
echo *** Chain lightning
echo .     Turn CL ON........................ cl=on
echo .     Setup CL.......................... .mendhunt set frenzy cl prep <mana> <pause>
echo .     Turn CL harness ON................ clharn=on
echo .     Turn CL harness OFF............... clharn=off
echo .     Setup CL harness.................. .mendhunt set frenzy cl harn <mana> <loop>
echo
echo *** Roar
echo .     Turn roar ON...................... roar=on
echo .     Setup roar........................ .mendhunt set frenzy roar <type>
echo
echo *** Berserk
echo .     Turn berserk ON................... berserk=on
echo .     Setup berserk..................... .mendhunt set frenzy berserk <type>
echo
echo *** Sing
echo .     Turn sing ON...................... sing=on
echo .     Setup sing........................ .mendhunt set frenzy sing <type>
echo
echo *** Chant
echo .     Turn chant ON..................... chant=on
echo .     Setup chant....................... .mendhunt set frenzy chant <type>
echo
echo *** Banner of Truce
echo .     Turn BOT ON....................... bot=on
echo .     Setup BOT......................... .mendhunt set frenzy bot prep <mana> <pause>
echo .     Turn BOT harness ON............... botharn=on
echo .     Turn BOT harness OFF.............. botharn=off
echo .     Setup BOT harness................. .mendhunt set frenzy bot harn <mana> <loop>
echo
echo *** Others
echo .     Turn flee ON...................... flee=on
echo .     Turn hide till safe ON............ hidesafe=on
echo
echo Return to Main Menu..................... z1
echo =======================================================================
echo Note:
echo 1) If you want to use a pathway, set it up in the combat magic menu
echo 2) Use flee at risk... do NOT use in a maze.  Flee tries to return to the original hunting spot.
echo .    Flee will retreat first... at the top of script, you can set the following flag:
echo .    frenzyfleeretreatflag = [YES|NO].  I think you gain more exp by not retreating but its not as safe.
echo 3) Only one frenzy option may be used at a time
echo
put echo /off
pause 1
	match SETUP_FRENZY_CL_ON cl=on
	match SETUP_FRENZY_ROAR_ON roar=on
	match SETUP_FRENZY_BERSERK_ON berserk=on
	match SETUP_FRENZY_SING_ON sing=on
	match SETUP_FRENZY_CHANT_ON chant=on
	match SETUP_FRENZY_BOT_ON bot=on
	match SETUP_FRENZY_FLEE_ON flee=on
	match SETUP_FRENZY_HIDESAFE_ON hidesafe=on
	match SETUP_FRENZY_CL_HARN_ON clharn=on
	match SETUP_FRENZY_CL_HARN_OFF clharn=off
	match SETUP_FRENZY_BOT_HARN_ON botharn=on
	match SETUP_FRENZY_BOT_HARN_OFF botharn=off
	match SETUP_MAIN_MENU z1
	matchwait

SETUP_FRENZY_CL_HARN_ON:
	setvariable mendhunt_frenzy_cl_harn_test ON
	goto SETUP_FRENZY_MENU
SETUP_FRENZY_CL_HARN_OFF:
	setvariable mendhunt_frenzy_cl_harn_test OFF
	goto SETUP_FRENZY_MENU
SETUP_FRENZY_BOT_HARN_ON:
	setvariable mendhunt_frenzy_bot_harn_test ON
	goto SETUP_FRENZY_MENU
SETUP_FRENZY_BOT_HARN_OFF:
	setvariable mendhunt_frenzy_bot_harn_test OFF
	goto SETUP_FRENZY_MENU
SETUP_FRENZY_CL_ON:
	setvariable mendhunt_frenzy_cl_test ON
	setvariable mendhunt_frenzy_roar_test OFF
	setvariable mendhunt_frenzy_berserk_test OFF
	setvariable mendhunt_frenzy_sing_test OFF
	setvariable mendhunt_frenzy_chant_test OFF
	setvariable mendhunt_frenzy_bot_test OFF
	setvariable mendhunt_frenzy_flee_test OFF
	setvariable mendhunt_frenzy_hide_test OFF
	goto SETUP_FRENZY_MENU
SETUP_FRENZY_ROAR_ON:
	setvariable mendhunt_frenzy_cl_test OFF
	setvariable mendhunt_frenzy_roar_test ON
	setvariable mendhunt_frenzy_berserk_test OFF
	setvariable mendhunt_frenzy_sing_test OFF
	setvariable mendhunt_frenzy_chant_test OFF
	setvariable mendhunt_frenzy_bot_test OFF
	setvariable mendhunt_frenzy_flee_test OFF
	setvariable mendhunt_frenzy_hide_test OFF
	goto SETUP_FRENZY_MENU
SETUP_FRENZY_BERSERK_ON:
	setvariable mendhunt_frenzy_cl_test OFF
	setvariable mendhunt_frenzy_roar_test OFF
	setvariable mendhunt_frenzy_berserk_test ON
	setvariable mendhunt_frenzy_sing_test OFF
	setvariable mendhunt_frenzy_chant_test OFF
	setvariable mendhunt_frenzy_bot_test OFF
	setvariable mendhunt_frenzy_flee_test OFF
	setvariable mendhunt_frenzy_hide_test OFF
	goto SETUP_FRENZY_MENU
SETUP_FRENZY_SING_ON:
	setvariable mendhunt_frenzy_cl_test OFF
	setvariable mendhunt_frenzy_roar_test OFF
	setvariable mendhunt_frenzy_berserk_test OFF
	setvariable mendhunt_frenzy_sing_test ON
	setvariable mendhunt_frenzy_chant_test OFF
	setvariable mendhunt_frenzy_bot_test OFF
	setvariable mendhunt_frenzy_flee_test OFF
	setvariable mendhunt_frenzy_hide_test OFF
	goto SETUP_FRENZY_MENU
SETUP_FRENZY_CHANT_ON:
	setvariable mendhunt_frenzy_cl_test OFF
	setvariable mendhunt_frenzy_roar_test OFF
	setvariable mendhunt_frenzy_berserk_test OFF
	setvariable mendhunt_frenzy_sing_test OFF
	setvariable mendhunt_frenzy_chant_test ON
	setvariable mendhunt_frenzy_bot_test OFF
	setvariable mendhunt_frenzy_flee_test OFF
	setvariable mendhunt_frenzy_hide_test OFF
	goto SETUP_FRENZY_MENU
SETUP_FRENZY_BOT_ON:
	setvariable mendhunt_frenzy_cl_test OFF
	setvariable mendhunt_frenzy_roar_test OFF
	setvariable mendhunt_frenzy_berserk_test OFF
	setvariable mendhunt_frenzy_sing_test OFF
	setvariable mendhunt_frenzy_chant_test OFF
	setvariable mendhunt_frenzy_bot_test ON
	setvariable mendhunt_frenzy_flee_test OFF
	setvariable mendhunt_frenzy_hide_test OFF
	goto SETUP_FRENZY_MENU
SETUP_FRENZY_FLEE_ON:
	setvariable mendhunt_frenzy_cl_test OFF
	setvariable mendhunt_frenzy_roar_test OFF
	setvariable mendhunt_frenzy_berserk_test OFF
	setvariable mendhunt_frenzy_sing_test OFF
	setvariable mendhunt_frenzy_chant_test OFF
	setvariable mendhunt_frenzy_bot_test OFF
	setvariable mendhunt_frenzy_flee_test ON
	setvariable mendhunt_frenzy_hide_test OFF
	goto SETUP_FRENZY_MENU
SETUP_FRENZY_HIDESAFE_ON:
	setvariable mendhunt_frenzy_cl_test OFF
	setvariable mendhunt_frenzy_roar_test OFF
	setvariable mendhunt_frenzy_berserk_test OFF
	setvariable mendhunt_frenzy_sing_test OFF
	setvariable mendhunt_frenzy_chant_test OFF
	setvariable mendhunt_frenzy_bot_test OFF
	setvariable mendhunt_frenzy_flee_test OFF
	setvariable mendhunt_frenzy_hide_test ON
	goto SETUP_FRENZY_MENU

#-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*
SETUP_DANCE_MENU:
put echo /on
waitfor echocolumn
echo
echo
echo =======================================================================
echo ***                        DANCE OPTIONS MENU
echo =======================================================================
echo
echo Dance Mode MO check:                        %mendhunt_dance_mode_mo_test
echo
echo App critter while dancing is:               %mendhunt_dance_app_test
echo
echo Brawl (empathic) while dancing is:          %mendhunt_dance_brawl_test
echo
echo Hunt while dancing:                         %mendhunt_dance_hunt_test
echo
echo =======================================================================
echo Turn MO check ON.............................. mocheck=on
echo Turn MO check OFF............................. mocheck=off
echo
echo Turn appraisal ON............................. app=on
echo Turn appraisal OFF............................ app=off
echo
echo Turn brawling ON.............................. brawl=on
echo Turn brawling OFF............................. brawl=off
echo
echo Turn hunt ON.................................. hunt=on
echo Turn hunt OFF................................. hunt=off
echo
echo Return to Main Menu........................... z1
echo =======================================================================
echo Note:
echo 1) If MO check is on, script will go to combat (or empath combat) when multi ops is full
echo
put echo /off
pause 1
	match SETUP_DANCE_MOCHECK_TEST_ON mocheck=on
	match SETUP_DANCE_MOCHECK_TEST_OFF mocheck=off
	match SETUP_DANCE_APP_TEST_ON app=on
	match SETUP_DANCE_APP_TEST_OFF app=off
	match SETUP_DANCE_BRAWL_TEST_ON brawl=on
	match SETUP_DANCE_BRAWL_TEST_OFF brawl=off
	match SETUP_DANCE_HUNT_TEST_ON hunt=on
	match SETUP_DANCE_HUNT_TEST_OFF hunt=off
	match SETUP_MAIN_MENU z1
	matchwait

SETUP_DANCE_MOCHECK_TEST_ON:
	setvariable mendhunt_dance_mode_mo_test ON
	goto SETUP_DANCE_MENU
SETUP_DANCE_MOCHECK_TEST_OFF:
	setvariable mendhunt_dance_mode_mo_test OFF
	goto SETUP_DANCE_MENU
SETUP_DANCE_APP_TEST_ON:
	setvariable mendhunt_dance_app_test ON
	goto SETUP_DANCE_MENU
SETUP_DANCE_APP_TEST_OFF:
	setvariable mendhunt_dance_app_test OFF
	goto SETUP_DANCE_MENU
SETUP_DANCE_BRAWL_TEST_ON:
	setvariable mendhunt_dance_brawl_test ON
	goto SETUP_DANCE_MENU
SETUP_DANCE_BRAWL_TEST_OFF:
	setvariable mendhunt_dance_brawl_test OFF
	goto SETUP_DANCE_MENU
SETUP_DANCE_HUNT_TEST_ON:
	setvariable mendhunt_dance_hunt_test ON
	goto SETUP_DANCE_MENU
SETUP_DANCE_HUNT_TEST_OFF:
	setvariable mendhunt_dance_hunt_test OFF
	goto SETUP_DANCE_MENU

#-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*
SETUP_SCRIPT_MECH_MENU:
put echo /on
waitfor echocolumn
echo
echo
echo =======================================================================
echo ***                        SCRIPT MECHANICS MENU
echo =======================================================================
echo
echo Change highlighting of the *** string:
echo
echo ENTER..............   .mendhunt set highlight <color> 
echo
echo .    Where color is a palette color number
echo .    For palette colors: In SF, go to OPTIONS then HIGHLIGHTS and mouse-over the colors.
echo .    yellow is #FFFF00 and is good for dark backgrounds
echo .    red is #FF0000 and is good for light backgrounds
echo
echo .       ex) .mendhunt set highlight #FFFF00
echo _______________________________________________________________________
echo
echo It is highly recommended that you configure SF to ignore the following strings to reduce scroll:
echo
echo .         setVariable:                (note the capital V and colon)
echo .         EchoColumn                  (note the capital E and C)
echo .         rtchecking
echo .         not a valid flag
echo
echo In SF, go to Options, then Highlights, then Ignore, and then the ADD button.
echo
echo _______________________________________________________________________
echo
echo High level emergencies are flagged by echoing:         WARNING
echo
echo Lower level problems are flagged by echoing:           ATTENTION
echo
echo _______________________________________________________________________
echo
echo Reset variables to Factory settings if you spill milk............. reset=factory
echo
echo _______________________________________________________________________
echo
echo Change the speed of the script by editing pause variables.  Open/edit the script,
echo near the top you will find a message about pause variables.
echo
echo =======================================================================
echo
echo Return to Main Menu...................................... z1
echo =======================================================================
echo
echo
put echo /off
pause 1
	match SETUP_RESET_FACTORY reset=factory
	match SETUP_MAIN_MENU z1
	matchwait


SETUP_RESET_FACTORY:
put echo /on
waitfor echocolumn
	echo
	echo *************************************************
	echo *** <<< W A R N I N G >>>
	echo
	echo This will reset all variables to factory settings.
	echo All customization will be lost!
	echo You will need to re-setup the script to your character.
	echo
	echo Only continue if something has really really gone wrong.
	echo If you have saved an archive, it might be better to restore it.
	echo
	echo *** To EXIT....................... reset=no
	echo *** To Continue................... reset=overwrite
	echo
	echo *************************************************
	echo
put echo /off
pause 1
	match SETUP_RESET_FACTORY_NO reset=no
	match SETUP_RESET_FACTORY_OVERWRITE reset=overwrite
	matchwait

SETUP_RESET_FACTORY_NO:
	goto SETUP_SCRIPT_MECH_MENU

SETUP_RESET_FACTORY_OVERWRITE:
	setvariable subreturnflag SETUP_RESET_FACTORY_OVERWRITE
	goto INITIALIZE_FACTORY_SETTINGS
SUBRETURN_SETUP_RESET_FACTORY_OVERWRITE:
	echo
	echo
	echo *** Variables have been reset to Factory Settings
	echo
	echo
	pause 1
	goto SETUP_SCRIPT_MECH_MENU


#-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*
SETUP_NDC_MENU:
put echo /on
waitfor echocolumn
echo
echo
echo =======================================================================
echo ***                  NO DANGEROUS CRITTERS MENU
echo =======================================================================
echo <<< IMPORTANT >>>   Use at RISK!
echo These will fire when the script determines that there are no dangerous critters around.
echo However, it is very likely a critter will be on you before the script catches up!
echo Hands will not have a shield or weapon out when using!
echo This is intended to primarily be used when backtraining or very comfortable with area.
echo Use sparingly... best not to turn all actions on, only one or two.
echo _______________________________________________________________________
echo
echo No Dangerous Critters (NDC) Master Switch is:  %mendhunt_ndc_master_test
echo 
echo Hum:                       %mendhunt_ndc_hum_test
echo . hum tune:                %mendhunt_ndc_hum_item
echo
echo POW:                       %mendhunt_ndc_pow_test
echo
echo Juggle:                    %mendhunt_ndc_juggle_test
echo . juggle item:             %mendhunt_ndc_juggle_item
echo
echo Study compendium:          %mendhunt_ndc_comp_test
echo
echo Combine stones:            %mendhunt_ndc_stones_test
echo
echo Pyramid:                   %mendhunt_ndc_pyramid_test
echo . forage item:             %mendhunt_ndc_pyramid_item
echo
echo Forage:                    %mendhunt_ndc_forage_test
echo . forage item:             %mendhunt_ndc_forage_item
echo
echo =======================================================================
echo Turn NDC Master Switch ON....................... ndc=on
echo Turn NDC Master Switch OFF...................... ndc=off
echo
echo Turn Hum ON..................................... hum=on
echo Turn Hum OFF.................................... hum=off
echo Set Hum tune.................................... .mendhunt set ndc hum <tune>
echo
echo Turn POW ON..................................... pow=on
echo Turn POW OFF.................................... pow=off
echo
echo Turn Juggle ON.................................. juggle=on
echo Turn Juggle OFF................................. juggle=off
echo Set juggle item................................. .mendhunt set ndc juggle <item>
echo
echo Turn Compendium ON.............................. comp=on
echo Turn Compendium OFF............................. comp=off
echo
echo Turn Stones ON.................................. stones=on
echo Turn Stones OFF................................. stones=off
echo
echo Turn Pyramid ON................................. pyramid=on
echo Turn Pyramid OFF................................ pyramid=off
echo Set pyramid forage item......................... .mendhunt set ndc pyramid <item>
echo
echo Turn Forage ON.................................. forage=on
echo Turn Forage OFF................................. forage=off
echo Set forage item................................. .mendhunt set ndc forage <item>
echo
echo Return to Main Menu............................. z1
echo =======================================================================
echo
echo
put echo /off
pause 1
	match SETUP_NDC_MASTER_SWITCH_ON ndc=on
	match SETUP_NDC_MASTER_SWITCH_OFF ndc=off
	match SETUP_NDC_HUM_ON hum=on
	match SETUP_NDC_HUM_OFF hum=off
	match SETUP_NDC_POW_ON pow=on
	match SETUP_NDC_POW_OFF pow=off
	match SETUP_NDC_JUGGLE_ON juggle=on
	match SETUP_NDC_JUGGLE_OFF juggle=off
	match SETUP_NDC_COMP_ON comp=on
	match SETUP_NDC_COMP_OFF comp=off
	match SETUP_NDC_STONES_ON stones=on
	match SETUP_NDC_STONES_OFF stones=off
	match SETUP_NDC_PYRAMID_ON pyramid=on
	match SETUP_NDC_PYRAMID_OFF pyramid=off
	match SETUP_NDC_FORAGE_ON forage=on
	match SETUP_NDC_FORAGE_OFF forage=off
	match SETUP_MAIN_MENU z1
	matchwait

SETUP_NDC_MASTER_SWITCH_ON:
	setvariable mendhunt_ndc_master_test ON
	goto SETUP_NDC_MENU
SETUP_NDC_MASTER_SWITCH_OFF:
	setvariable mendhunt_ndc_master_test OFF
	goto SETUP_NDC_MENU
SETUP_NDC_HUM_ON:
	setvariable mendhunt_ndc_hum_test ON
	goto SETUP_NDC_MENU
SETUP_NDC_HUM_OFF:
	setvariable mendhunt_ndc_hum_test OFF
	goto SETUP_NDC_MENU
SETUP_NDC_POW_ON:
	setvariable mendhunt_ndc_pow_test ON
	goto SETUP_NDC_MENU
SETUP_NDC_POW_OFF:
	setvariable mendhunt_ndc_pow_test OFF
	goto SETUP_NDC_MENU
SETUP_NDC_JUGGLE_ON:
	setvariable mendhunt_ndc_juggle_test ON
	goto SETUP_NDC_MENU
SETUP_NDC_JUGGLE_OFF:
	setvariable mendhunt_ndc_juggle_test OFF
	goto SETUP_NDC_MENU
SETUP_NDC_COMP_ON:
	setvariable mendhunt_ndc_comp_test ON
	goto SETUP_NDC_MENU
SETUP_NDC_COMP_OFF:
	setvariable mendhunt_ndc_comp_test OFF
	goto SETUP_NDC_MENU
SETUP_NDC_STONES_ON:
	setvariable mendhunt_ndc_stones_test ON
	goto SETUP_NDC_MENU
SETUP_NDC_STONES_OFF:
	setvariable mendhunt_ndc_stones_test OFF
	goto SETUP_NDC_MENU
SETUP_NDC_PYRAMID_ON:
	setvariable mendhunt_ndc_pyramid_test ON
	goto SETUP_NDC_MENU
SETUP_NDC_PYRAMID_OFF:
	setvariable mendhunt_ndc_pyramid_test OFF
	goto SETUP_NDC_MENU
SETUP_NDC_FORAGE_ON:
	setvariable mendhunt_ndc_forage_test ON
	goto SETUP_NDC_MENU
SETUP_NDC_FORAGE_OFF:
	setvariable mendhunt_ndc_forage_test OFF
	goto SETUP_NDC_MENU

#-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*
SETUP_GUILD_SPECIALS_MENU:
put echo /on
waitfor echocolumn
echo
echo
echo =======================================================================
echo ***                        GUILD SPECIALS MENU
echo =======================================================================
echo *** Warrior Mage
echo .      Fissure (FISS):                    %mendhunt_fissure_master_test
echo .      Mantle of Flame (MOF):             %mendhunt_mof_master_test
echo .      Aegis of Granite (AEG):            %mendhunt_aeg_master_test
echo .      Y'ntrel Sechra (YS):               %mendhunt_ys_master_test
echo
echo *** Ranger
echo .      Arrange skins:                     %mendhunt_arrange_master_test
echo
echo *** Thief
echo .      Backstab:                          %mendhunt_backstab_master_test
echo
echo *** Necro
echo .      Preserve:                          %mendhunt_preserve_master_test
echo       
echo =======================================================================
echo
echo Turn Fissure ON.............................. fissure=on
echo Turn Fissure OFF............................. fissure=off
echo Setup fissure................................ view=fissure
echo
echo Turn MOF ON.................................. mof=on
echo Turn MOF OFF................................. mof=off
echo Setup MOF.................................... view=mof
echo
echo Turn AEG ON.................................. aeg=on
echo Turn AEG OFF................................. aeg=off
echo Setup AEG.................................... view=aeg
echo
echo Turn YS ON................................... ys=on
echo Turn YS OFF.................................. ys=off
echo Setup YS..................................... view=ys
echo
echo Turn Arrange ON.............................. arrange=on
echo Turn Arrange OFF............................. arrange=off
echo
echo Turn Backstab ON............................. backstab=on
echo Turn Backstab OFF............................ backstab=off
echo
echo Turn Preserve ON............................. preserve=on
echo Turn Preserve OFF............................ preserve=off
echo
echo Return to Main Menu.......................... z1
echo =======================================================================
echo
echo
put echo /off
pause 1
	match SETUP_BACKSTAB_MASTER_TEST_ON backstab=on
	match SETUP_BACKSTAB_MASTER_TEST_OFF backstab=off
	match SETUP_AEG_MASTER_TEST_ON aeg=on
	match SETUP_AEG_MASTER_TEST_OFF aeg=off
	match SETUP_ARRANGE_MASTER_TEST_ON arrange=on
	match SETUP_ARRANGE_MASTER_TEST_OFF arrange=off
	match SETUP_FISSURE_MASTER_TEST_ON fissure=on
	match SETUP_FISSURE_MASTER_TEST_OFF fissure=off
	match SETUP_MOF_MASTER_TEST_ON mof=on
	match SETUP_MOF_MASTER_TEST_OFF mof=off
	match SETUP_YS_MASTER_TEST_ON ys=on
	match SETUP_YS_MASTER_TEST_OFF ys=off
	match SETUP_FISSURE_DETAIL view=fissure
	match SETUP_MOF_DETAIL view=mof
	match SETUP_AEG_DETAIL view=aeg
	match SETUP_YS_DETAIL view=ys
	match SETUP_PRESERVE_ON preserve=on
	match SETUP_PRESERVE_OFF preserve=off
	match SETUP_MAIN_MENU z1
	matchwait

SETUP_ARRANGE_MASTER_TEST_ON:
	setvariable mendhunt_arrange_master_test ON
	goto SETUP_GUILD_SPECIALS_MENU
SETUP_ARRANGE_MASTER_TEST_OFF:
	setvariable mendhunt_arrange_master_test OFF
	goto SETUP_GUILD_SPECIALS_MENU
SETUP_FISSURE_MASTER_TEST_ON:
	setvariable mendhunt_fissure_master_test ON
	goto SETUP_GUILD_SPECIALS_MENU
SETUP_FISSURE_MASTER_TEST_OFF:
	setvariable mendhunt_fissure_master_test OFF
	goto SETUP_GUILD_SPECIALS_MENU
SETUP_MOF_MASTER_TEST_ON:
	setvariable mendhunt_mof_master_test ON
	goto SETUP_GUILD_SPECIALS_MENU
SETUP_MOF_MASTER_TEST_OFF:
	setvariable mendhunt_mof_master_test OFF
	goto SETUP_GUILD_SPECIALS_MENU
SETUP_AEG_MASTER_TEST_ON:
	setvariable mendhunt_aeg_master_test ON
	goto SETUP_GUILD_SPECIALS_MENU
SETUP_AEG_MASTER_TEST_OFF:
	setvariable mendhunt_aeg_master_test OFF
	goto SETUP_GUILD_SPECIALS_MENU
SETUP_BACKSTAB_MASTER_TEST_ON:
	setvariable mendhunt_backstab_master_test ON
	goto SETUP_GUILD_SPECIALS_MENU
SETUP_BACKSTAB_MASTER_TEST_OFF:
	setvariable mendhunt_backstab_master_test OFF
	goto SETUP_GUILD_SPECIALS_MENU
SETUP_YS_MASTER_TEST_ON:
	setvariable mendhunt_ys_master_test ON
	goto SETUP_GUILD_SPECIALS_MENU
SETUP_YS_MASTER_TEST_OFF:
	setvariable mendhunt_ys_master_test OFF
	goto SETUP_GUILD_SPECIALS_MENU
SETUP_PRESERVE_ON:
	setvariable mendhunt_preserve_master_test ON
	goto SETUP_GUILD_SPECIALS_MENU
SETUP_PRESERVE_OFF:
	setvariable mendhunt_preserve_master_test OFF
	goto SETUP_GUILD_SPECIALS_MENU
#-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*
SETUP_FISSURE_DETAIL:
put echo /on
waitfor echocolumn
echo
echo
echo =======================================================================
echo ***                    FISSURE DETAIL - VIEW/CHANGE
echo =======================================================================
echo FISSURE:
echo .    element:           %mendhunt_fissure_element
echo .    prep power:        %mendhunt_fissure_prep_power
echo .    cast pause:        %mendhunt_fissure_cast_pause  seconds
echo Harness:                %mendhunt_fissure_harn_test
echo .    power:             %mendhunt_fissure_harn_power
echo .    loop:              %mendhunt_fissure_harn_loop   harnesses per cast
echo Cambrinth:              %mendhunt_fissure_cam_test
echo .    cam name:          %mendhunt_cam_name
echo .    charge:            %mendhunt_fissure_cam_power
echo .    loop:              %mendhunt_fissure_cam_loop   cams per cast
echo =======================================================================
echo General:                                           
echo .    Set spell                 .mendhunt set fissure prep <element> <mana#> <pause#>
echo 
echo Harness:
echo .    Turn ON                   harn=on
echo .    Turn OFF                  harn=off
echo .    Set harness               .mendhunt set fissure harn <mana#> <loop#>
echo 
echo Cambrinth:
echo .    Name of cambrinth         .mendhunt set cambrinth <name>
echo .    Turn ON                   cam=on
echo .    Turn OFF                  cam=off
echo .    Set cambrinth             .mendhunt set fissure cam <charge#> <loop#>
echo
echo Return to Guild Specials Menu..................... z1
echo =======================================================================
echo Note: If fissure is already out, the script skips thereby not adding to the fissure
echo
put echo /off
pause 1
	match SETUP_FISSURE_HARN_TEST_ON harn=on
	match SETUP_FISSURE_HARN_TEST_OFF harn=off
	match SETUP_FISSURE_CAM_TEST_ON cam=on
	match SETUP_FISSURE_CAM_TEST_OFF cam=off
	match SETUP_GUILD_SPECIALS_MENU z1
	matchwait

SETUP_FISSURE_HARN_TEST_ON:
	setvariable mendhunt_fissure_harn_test ON
	goto SETUP_FISSURE_DETAIL
SETUP_FISSURE_HARN_TEST_OFF:
	setvariable mendhunt_fissure_harn_test OFF
	goto SETUP_FISSURE_DETAIL
SETUP_FISSURE_CAM_TEST_ON:
	setvariable mendhunt_fissure_cam_test ON
	goto SETUP_FISSURE_DETAIL
SETUP_FISSURE_CAM_TEST_OFF:
	setvariable mendhunt_fissure_cam_test OFF
	goto SETUP_FISSURE_DETAIL

#-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*
SETUP_MOF_DETAIL:
put echo /on
waitfor echocolumn
echo
echo
echo =======================================================================
echo ***                    Mantle of Flame DETAIL - VIEW/CHANGE
echo =======================================================================
echo MOF:
echo .    prep power:        %mendhunt_mof_prep_power
echo .    cast pause:        %mendhunt_mof_cast_pause  seconds
echo Harness:                %mendhunt_mof_harn_test
echo .    power:             %mendhunt_mof_harn_power
echo .    loop:              %mendhunt_mof_harn_loop   harnesses per cast
echo Cambrinth:              %mendhunt_mof_cam_test
echo .    cam name:          %mendhunt_cam_name
echo .    charge:            %mendhunt_mof_cam_power
echo .    loop:              %mendhunt_mof_cam_loop   cams per cast
echo =======================================================================
echo General:                                           
echo .    Set spell                 .mendhunt set mof prep <mana#> <pause#>
echo 
echo Harness:
echo .    Turn ON                   harn=on
echo .    Turn OFF                  harn=off
echo .    Set harness               .mendhunt set mof harn <mana#> <loop#>
echo 
echo Cambrinth:
echo .    Name of cambrinth         .mendhunt set cambrinth <name>
echo .    Turn ON                   cam=on
echo .    Turn OFF                  cam=off
echo .    Set cambrinth             .mendhunt set mof cam <charge#> <loop#>
echo
echo Return to Guild Specials Menu..................... z1
echo =======================================================================
echo Note:
echo 1) ES is auto-cast prior to MoF; ES casts at 5 mana every 1 second until full.
echo 2) You can change the mofesmana and mofespause variables at the top of script.
echo
put echo /off
pause 1
	match SETUP_MOF_HARN_TEST_ON harn=on
	match SETUP_MOF_HARN_TEST_OFF harn=off
	match SETUP_MOF_CAM_TEST_ON cam=on
	match SETUP_MOF_CAM_TEST_OFF cam=off
	match SETUP_GUILD_SPECIALS_MENU z1
	matchwait

SETUP_MOF_HARN_TEST_ON:
	setvariable mendhunt_mof_harn_test ON
	goto SETUP_MOF_DETAIL
SETUP_MOF_HARN_TEST_OFF:
	setvariable mendhunt_mof_harn_test OFF
	goto SETUP_MOF_DETAIL
SETUP_MOF_CAM_TEST_ON:
	setvariable mendhunt_mof_cam_test ON
	goto SETUP_MOF_DETAIL
SETUP_MOF_CAM_TEST_OFF:
	setvariable mendhunt_mof_cam_test OFF
	goto SETUP_MOF_DETAIL

#-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*
SETUP_YS_DETAIL:
put echo /on
waitfor echocolumn
echo
echo
echo =======================================================================
echo ***                    Y'ntrel Sechra DETAIL - VIEW/CHANGE
echo =======================================================================
echo
echo ***........................ YS Full Cast
echo
echo YS Full Cast:
echo .    prep power:        %mendhunt_ys_prep_power
echo .    cast pause:        %mendhunt_ys_cast_pause  seconds
echo Harness:                %mendhunt_ys_harn_test
echo .    power:             %mendhunt_ys_harn_power
echo .    loop:              %mendhunt_ys_harn_loop   harnesses per cast
echo Cambrinth:              %mendhunt_ys_cam_test
echo .    cam name:          %mendhunt_cam_name
echo .    charge:            %mendhunt_ys_cam_power
echo .    loop:              %mendhunt_ys_cam_loop   cams per cast
echo =======================================================================
echo General:                                           
echo .    Set spell                 .mendhunt set ys prep <mana#> <pause#>
echo 
echo Harness:
echo .    Turn ON                   harn=on
echo .    Turn OFF                  harn=off
echo .    Set harness               .mendhunt set ys harn <mana#> <loop#>
echo 
echo Cambrinth:
echo .    Name of cambrinth         .mendhunt set cambrinth <name>
echo .    Turn ON                   cam=on
echo .    Turn OFF                  cam=off
echo .    Set cambrinth             .mendhunt set ys cam <charge#> <loop#>
echo
echo ______________________________________________________________________
echo
echo ***........................ YS Maintenance Cast
echo
echo YS Maintenance Cast:
echo .    prep power:        %mendhunt_ysmaint_prep_power
echo .    cast pause:        %mendhunt_ysmaint_cast_pause  seconds
echo .    Set spell                 .mendhunt set ys maint prep <mana#> <pause#>
echo 
echo
echo =======================================================================
echo Return to Guild Specials Menu..................... z1
echo =======================================================================
echo Note:
echo 1) <<< IMPORTANT >>> Script casts full YS once at start... from then on will use maintenance cast.
echo 2) If you don't like this method... turn YS off in guild special and set YS up in Buff menu.
echo 3) If switching armors, script resets and when armors switched, will full cast once on next cycle. 
echo
put echo /off
pause 1
	match SETUP_YS_HARN_TEST_ON harn=on
	match SETUP_YS_HARN_TEST_OFF harn=off
	match SETUP_YS_CAM_TEST_ON cam=on
	match SETUP_YS_CAM_TEST_OFF cam=off
	match SETUP_GUILD_SPECIALS_MENU z1
	matchwait

SETUP_YS_HARN_TEST_ON:
	setvariable mendhunt_ys_harn_test ON
	goto SETUP_YS_DETAIL
SETUP_YS_HARN_TEST_OFF:
	setvariable mendhunt_ys_harn_test OFF
	goto SETUP_YS_DETAIL
SETUP_YS_CAM_TEST_ON:
	setvariable mendhunt_ys_cam_test ON
	goto SETUP_YS_DETAIL
SETUP_YS_CAM_TEST_OFF:
	setvariable mendhunt_ys_cam_test OFF
	goto SETUP_YS_DETAIL

#-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*
SETUP_AEG_DETAIL:
put echo /on
waitfor echocolumn
echo
echo
echo =======================================================================
echo ***                    Aegis of Granite DETAIL - VIEW/CHANGE
echo =======================================================================
echo AEG:
echo .    prep power:        %mendhunt_aeg_prep_power
echo .    cast pause:        %mendhunt_aeg_cast_pause  seconds
echo Harness:                %mendhunt_aeg_harn_test
echo .    power:             %mendhunt_aeg_harn_power
echo .    loop:              %mendhunt_aeg_harn_loop   harnesses per cast
echo Cambrinth:              %mendhunt_aeg_cam_test
echo .    cam name:          %mendhunt_cam_name
echo .    charge:            %mendhunt_aeg_cam_power
echo .    loop:              %mendhunt_aeg_cam_loop   cams per cast
echo _______________________________________________________________________
echo
echo The script checks if a normal shield (ie non-aeg-granite shield) is currently being used with the
echo active weapon... if so, then AEG will be cast on that normal shield.
echo
echo If shield is OFF for the active weapon, then AEG ON will cast according to the
echo following:
echo
echo LE               %mendhunt_aeg_type_LE
echo ME               %mendhunt_aeg_type_ME
echo HE               %mendhunt_aeg_type_HE
echo 2HE              %mendhunt_aeg_type_2HE
echo LB               %mendhunt_aeg_type_LB
echo MB               %mendhunt_aeg_type_MB
echo HB               %mendhunt_aeg_type_HB
echo 2HB              %mendhunt_aeg_type_2HB
echo SL               %mendhunt_aeg_type_SL
echo STAFFSLING       %mendhunt_aeg_type_STAFFSLING
echo SB               %mendhunt_aeg_type_SB
echo LOB              %mendhunt_aeg_type_LOB
echo CB               %mendhunt_aeg_type_CB
echo LX               %mendhunt_aeg_type_LX
echo HX               %mendhunt_aeg_type_HX
echo SS               %mendhunt_aeg_type_SS
echo QS               %mendhunt_aeg_type_QS
echo PI               %mendhunt_aeg_type_PI
echo HAL              %mendhunt_aeg_type_HAL
echo LT               %mendhunt_aeg_type_LT
echo HT               %mendhunt_aeg_type_HT
echo BR               %mendhunt_aeg_type_BR
echo OW               %mendhunt_aeg_type_OW
echo noweap           %mendhunt_aeg_type_noweap
echo
echo _______________________________________________________________________
echo
echo If ON, AEG maintenance will attempt to maintain the spell without full casting.
echo
echo AEG Maintenance:        %mendhunt_aegmaint_test
echo
echo .     prep mana:        %mendhunt_aegmaint_prep_power
echo .    cast pause:        %mendhunt_aegmaint_cast_pause
echo
echo =======================================================================
echo General:                                           
echo .    Set spell                 .mendhunt set aeg prep <mana#> <pause#>
echo 
echo Harness:
echo .    Turn ON                   harn=on
echo .    Turn OFF                  harn=off
echo .    Set harness               .mendhunt set aeg harn <mana#> <loop#>
echo 
echo Cambrinth:
echo .    Name of cambrinth         .mendhunt set cambrinth <name>
echo .    Turn ON                   cam=on
echo .    Turn OFF                  cam=off
echo .    Set cambrinth             .mendhunt set aeg cam <charge#> <loop#>
echo
echo
echo Change weapon class usage      granite+<class>=<type>
echo .                                             where <class>=[LE|ME|HE|...|HT]
echo .                                                   <type>=[armworn|handheld|OFF]
echo
echo .                              example) granite+LE=armworn or granite+HB=handheld or granite+LOB=off
echo
echo AEG Maintenance:
echo .    Turn ON                   maint=on
echo .    Turn OFF                  maint=off
echo .    Setup                     .mendhunt set aeg maint <mana#> <pause#>
echo
echo Return to Guild Specials Menu..................... z1
echo =======================================================================
echo Note:
echo 1) Use at risk, while the script attempts to check if granite shield is out when ON... no guarantees.
echo .     Its always possible that the spell runs out in the middle of a combat loop.  With AEG maintenance
echo .     ON it reduces that likelyhood considerably.
echo 2) Be especially CAREFUL using this as a *handheld* granite with either skinning or
echo .     looting ON...its a mana hog and you may well end up fighting with no shield at times.
echo 3) Currently, only metal shields can be successfully cast upon.  Script does not check that.
echo 4) If AEG master is off, maintenance wont fire.
echo
put echo /off
pause 1
	match SETUP_AEG_TYPE_LE_ARMWORN granite+le=armworn
	match SETUP_AEG_TYPE_ME_ARMWORN granite+me=armworn
	match SETUP_AEG_TYPE_HE_ARMWORN granite+he=armworn
	match SETUP_AEG_TYPE_2HE_ARMWORN granite+2he=armworn
	match SETUP_AEG_TYPE_LB_ARMWORN granite+lb=armworn
	match SETUP_AEG_TYPE_MB_ARMWORN granite+mb=armworn
	match SETUP_AEG_TYPE_HB_ARMWORN granite+hb=armworn
	match SETUP_AEG_TYPE_2HB_ARMWORN granite+2hb=armworn
	match SETUP_AEG_TYPE_SL_ARMWORN granite+sl=armworn
	match SETUP_AEG_TYPE_STAFFSLING_ARMWORN granite+staffsling=armworn
	match SETUP_AEG_TYPE_SB_ARMWORN granite+sb=armworn
	match SETUP_AEG_TYPE_LOB_ARMWORN granite+lob=armworn
	match SETUP_AEG_TYPE_CB_ARMWORN granite+cb=armworn
	match SETUP_AEG_TYPE_LX_ARMWORN granite+lx=armworn
	match SETUP_AEG_TYPE_HX_ARMWORN granite+hx=armworn
	match SETUP_AEG_TYPE_SS_ARMWORN granite+ss=armworn
	match SETUP_AEG_TYPE_QS_ARMWORN granite+qs=armworn
	match SETUP_AEG_TYPE_PI_ARMWORN granite+pi=armworn
	match SETUP_AEG_TYPE_HAL_ARMWORN granite+hal=armworn
	match SETUP_AEG_TYPE_LT_ARMWORN granite+lt=armworn
	match SETUP_AEG_TYPE_HT_ARMWORN granite+ht=armworn
	match SETUP_AEG_TYPE_BR_ARMWORN granite+br=armworn
	match SETUP_AEG_TYPE_OW_ARMWORN granite+ow=armworn
	match SETUP_AEG_TYPE_NOWEAP_ARMWORN granite+noweap=armworn

	match SETUP_AEG_TYPE_LE_HANDHELD granite+le=handheld
	match SETUP_AEG_TYPE_ME_HANDHELD granite+me=handheld
	match SETUP_AEG_TYPE_HE_HANDHELD granite+he=handheld
#	match SETUP_AEG_TYPE_2HE_HANDHELD granite+2he=handheld
	match SETUP_AEG_TYPE_LB_HANDHELD granite+lb=handheld
	match SETUP_AEG_TYPE_MB_HANDHELD granite+mb=handheld
	match SETUP_AEG_TYPE_HB_HANDHELD granite+hb=handheld
#	match SETUP_AEG_TYPE_2HB_HANDHELD granite+2hb=handheld
#	match SETUP_AEG_TYPE_SL_HANDHELD granite+sl=handheld
#	match SETUP_AEG_TYPE_STAFFSLING_HANDHELD granite+staffsling=handheld
#	match SETUP_AEG_TYPE_SB_HANDHELD granite+sb=handheld
#	match SETUP_AEG_TYPE_LOB_HANDHELD granite+lob=handheld
#	match SETUP_AEG_TYPE_CB_HANDHELD granite+cb=handheld
#	match SETUP_AEG_TYPE_LX_HANDHELD granite+lx=handheld
#	match SETUP_AEG_TYPE_HX_HANDHELD granite+hx=handheld
	match SETUP_AEG_TYPE_SS_HANDHELD granite+ss=handheld
	match SETUP_AEG_TYPE_QS_HANDHELD granite+qs=handheld
	match SETUP_AEG_TYPE_PI_HANDHELD granite+pi=handheld
#	match SETUP_AEG_TYPE_HAL_HANDHELD granite+hal=handheld
	match SETUP_AEG_TYPE_LT_HANDHELD granite+lt=handheld
	match SETUP_AEG_TYPE_HT_HANDHELD granite+ht=handheld
	match SETUP_AEG_TYPE_BR_HANDHELD granite+br=handheld
#	match SETUP_AEG_TYPE_OW_HANDHELD granite+ow=handheld
	match SETUP_AEG_TYPE_NOWEAP_HANDHELD granite+noweap=handheld

	match SETUP_AEG_TYPE_LE_OFF granite+le=off
	match SETUP_AEG_TYPE_ME_OFF granite+me=off
	match SETUP_AEG_TYPE_HE_OFF granite+he=off
	match SETUP_AEG_TYPE_2HE_OFF granite+2he=off
	match SETUP_AEG_TYPE_LB_OFF granite+lb=off
	match SETUP_AEG_TYPE_MB_OFF granite+mb=off
	match SETUP_AEG_TYPE_HB_OFF granite+hb=off
	match SETUP_AEG_TYPE_2HB_OFF granite+2hb=off
	match SETUP_AEG_TYPE_SL_OFF granite+sl=off
	match SETUP_AEG_TYPE_STAFFSLING_OFF granite+staffsling=off
	match SETUP_AEG_TYPE_SB_OFF granite+sb=off
	match SETUP_AEG_TYPE_LOB_OFF granite+lob=off
	match SETUP_AEG_TYPE_CB_OFF granite+cb=off
	match SETUP_AEG_TYPE_LX_OFF granite+lx=off
	match SETUP_AEG_TYPE_HX_OFF granite+hx=off
	match SETUP_AEG_TYPE_SS_OFF granite+ss=off
	match SETUP_AEG_TYPE_QS_OFF granite+qs=off
	match SETUP_AEG_TYPE_PI_OFF granite+pi=off
	match SETUP_AEG_TYPE_HAL_OFF granite+hal=off
	match SETUP_AEG_TYPE_LT_OFF granite+lt=off
	match SETUP_AEG_TYPE_HT_OFF granite+ht=off
	match SETUP_AEG_TYPE_BR_OFF granite+br=off
	match SETUP_AEG_TYPE_OW_OFF granite+ow=off
	match SETUP_AEG_TYPE_NOWEAP_OFF granite+noweap=off

	match SETUP_AEG_MAINT_TEST_ON maint=on
	match SETUP_AEG_MAINT_TEST_OFF maint=off
	match SETUP_AEG_HARN_TEST_ON harn=on
	match SETUP_AEG_HARN_TEST_OFF harn=off
	match SETUP_AEG_CAM_TEST_ON cam=on
	match SETUP_AEG_CAM_TEST_OFF cam=off
	match SETUP_GUILD_SPECIALS_MENU z1
	matchwait

SETUP_AEG_MAINT_TEST_ON:
	setvariable mendhunt_aegmaint_test ON
	goto SETUP_AEG_DETAIL
SETUP_AEG_MAINT_TEST_OFF:
	setvariable mendhunt_aegmaint_test OFF
	goto SETUP_AEG_DETAIL
SETUP_AEG_HARN_TEST_ON:
	setvariable mendhunt_aeg_harn_test ON
	goto SETUP_AEG_DETAIL
SETUP_AEG_HARN_TEST_OFF:
	setvariable mendhunt_aeg_harn_test OFF
	goto SETUP_AEG_DETAIL
SETUP_AEG_CAM_TEST_ON:
	setvariable mendhunt_aeg_cam_test ON
	goto SETUP_AEG_DETAIL
SETUP_AEG_CAM_TEST_OFF:
	setvariable mendhunt_aeg_cam_test OFF
	goto SETUP_AEG_DETAIL

SETUP_AEG_TYPE_LE_ARMWORN:
	setvariable mendhunt_aeg_type_LE ARMWORN
	goto SETUP_AEG_DETAIL
SETUP_AEG_TYPE_LE_HANDHELD:
	setvariable mendhunt_aeg_type_LE HANDHELD
	goto SETUP_AEG_DETAIL
SETUP_AEG_TYPE_LE_OFF:
	setvariable mendhunt_aeg_type_LE OFF
	goto SETUP_AEG_DETAIL
SETUP_AEG_TYPE_ME_ARMWORN:
	setvariable mendhunt_aeg_type_ME ARMWORN
	goto SETUP_AEG_DETAIL
SETUP_AEG_TYPE_ME_HANDHELD:
	setvariable mendhunt_aeg_type_ME HANDHELD
	goto SETUP_AEG_DETAIL
SETUP_AEG_TYPE_ME_OFF:
	setvariable mendhunt_aeg_type_ME OFF
	goto SETUP_AEG_DETAIL
SETUP_AEG_TYPE_HE_ARMWORN:
	setvariable mendhunt_aeg_type_HE ARMWORN
	goto SETUP_AEG_DETAIL
SETUP_AEG_TYPE_HE_HANDHELD:
	setvariable mendhunt_aeg_type_HE HANDHELD
	goto SETUP_AEG_DETAIL
SETUP_AEG_TYPE_HE_OFF:
	setvariable mendhunt_aeg_type_HE OFF
	goto SETUP_AEG_DETAIL
SETUP_AEG_TYPE_2HE_ARMWORN:
	setvariable mendhunt_aeg_type_2HE ARMWORN
	goto SETUP_AEG_DETAIL
SETUP_AEG_TYPE_2HE_HANDHELD:
	setvariable mendhunt_aeg_type_2HE HANDHELD
	goto SETUP_AEG_DETAIL
SETUP_AEG_TYPE_2HE_OFF:
	setvariable mendhunt_aeg_type_2HE OFF
	goto SETUP_AEG_DETAIL
SETUP_AEG_TYPE_LB_ARMWORN:
	setvariable mendhunt_aeg_type_LB ARMWORN
	goto SETUP_AEG_DETAIL
SETUP_AEG_TYPE_LB_HANDHELD:
	setvariable mendhunt_aeg_type_LB HANDHELD
	goto SETUP_AEG_DETAIL
SETUP_AEG_TYPE_LB_OFF:
	setvariable mendhunt_aeg_type_LB OFF
	goto SETUP_AEG_DETAIL
SETUP_AEG_TYPE_MB_ARMWORN:
	setvariable mendhunt_aeg_type_MB ARMWORN
	goto SETUP_AEG_DETAIL
SETUP_AEG_TYPE_MB_HANDHELD:
	setvariable mendhunt_aeg_type_MB HANDHELD
	goto SETUP_AEG_DETAIL
SETUP_AEG_TYPE_MB_OFF:
	setvariable mendhunt_aeg_type_MB OFF
	goto SETUP_AEG_DETAIL
SETUP_AEG_TYPE_HB_ARMWORN:
	setvariable mendhunt_aeg_type_HB ARMWORN
	goto SETUP_AEG_DETAIL
SETUP_AEG_TYPE_HB_HANDHELD:
	setvariable mendhunt_aeg_type_HB HANDHELD
	goto SETUP_AEG_DETAIL
SETUP_AEG_TYPE_HB_OFF:
	setvariable mendhunt_aeg_type_HB OFF
	goto SETUP_AEG_DETAIL
SETUP_AEG_TYPE_2HB_ARMWORN:
	setvariable mendhunt_aeg_type_2HB ARMWORN
	goto SETUP_AEG_DETAIL
SETUP_AEG_TYPE_2HB_HANDHELD:
	setvariable mendhunt_aeg_type_2HB HANDHELD
	goto SETUP_AEG_DETAIL
SETUP_AEG_TYPE_2HB_OFF:
	setvariable mendhunt_aeg_type_2HB OFF
	goto SETUP_AEG_DETAIL
SETUP_AEG_TYPE_SL_ARMWORN:
	setvariable mendhunt_aeg_type_SL ARMWORN
	goto SETUP_AEG_DETAIL
SETUP_AEG_TYPE_SL_HANDHELD:
	setvariable mendhunt_aeg_type_SL HANDHELD
	goto SETUP_AEG_DETAIL
SETUP_AEG_TYPE_SL_OFF:
	setvariable mendhunt_aeg_type_SL OFF
	goto SETUP_AEG_DETAIL
SETUP_AEG_TYPE_STAFFSLING_ARMWORN:
	setvariable mendhunt_aeg_type_STAFFSLING ARMWORN
	goto SETUP_AEG_DETAIL
SETUP_AEG_TYPE_STAFFSLING_HANDHELD:
	setvariable mendhunt_aeg_type_STAFFSLING HANDHELD
	goto SETUP_AEG_DETAIL
SETUP_AEG_TYPE_STAFFSLING_OFF:
	setvariable mendhunt_aeg_type_STAFFSLING OFF
	goto SETUP_AEG_DETAIL
SETUP_AEG_TYPE_SB_ARMWORN:
	setvariable mendhunt_aeg_type_SB ARMWORN
	goto SETUP_AEG_DETAIL
SETUP_AEG_TYPE_SB_HANDHELD:
	setvariable mendhunt_aeg_type_SB HANDHELD
	goto SETUP_AEG_DETAIL
SETUP_AEG_TYPE_SB_OFF:
	setvariable mendhunt_aeg_type_SB OFF
	goto SETUP_AEG_DETAIL
SETUP_AEG_TYPE_LOB_ARMWORN:
	setvariable mendhunt_aeg_type_LOB ARMWORN
	goto SETUP_AEG_DETAIL
SETUP_AEG_TYPE_LOB_HANDHELD:
	setvariable mendhunt_aeg_type_LOB HANDHELD
	goto SETUP_AEG_DETAIL
SETUP_AEG_TYPE_LOB_OFF:
	setvariable mendhunt_aeg_type_LOB OFF
	goto SETUP_AEG_DETAIL
SETUP_AEG_TYPE_CB_ARMWORN:
	setvariable mendhunt_aeg_type_CB ARMWORN
	goto SETUP_AEG_DETAIL
SETUP_AEG_TYPE_CB_HANDHELD:
	setvariable mendhunt_aeg_type_CB HANDHELD
	goto SETUP_AEG_DETAIL
SETUP_AEG_TYPE_CB_OFF:
	setvariable mendhunt_aeg_type_CB OFF
	goto SETUP_AEG_DETAIL
SETUP_AEG_TYPE_LX_ARMWORN:
	setvariable mendhunt_aeg_type_LX ARMWORN
	goto SETUP_AEG_DETAIL
SETUP_AEG_TYPE_LX_HANDHELD:
	setvariable mendhunt_aeg_type_LX HANDHELD
	goto SETUP_AEG_DETAIL
SETUP_AEG_TYPE_LX_OFF:
	setvariable mendhunt_aeg_type_LX OFF
	goto SETUP_AEG_DETAIL
SETUP_AEG_TYPE_HX_ARMWORN:
	setvariable mendhunt_aeg_type_HX ARMWORN
	goto SETUP_AEG_DETAIL
SETUP_AEG_TYPE_HX_HANDHELD:
	setvariable mendhunt_aeg_type_HX HANDHELD
	goto SETUP_AEG_DETAIL
SETUP_AEG_TYPE_HX_OFF:
	setvariable mendhunt_aeg_type_HX OFF
	goto SETUP_AEG_DETAIL
SETUP_AEG_TYPE_SS_ARMWORN:
	setvariable mendhunt_aeg_type_SS ARMWORN
	goto SETUP_AEG_DETAIL
SETUP_AEG_TYPE_SS_HANDHELD:
	setvariable mendhunt_aeg_type_SS HANDHELD
	goto SETUP_AEG_DETAIL
SETUP_AEG_TYPE_SS_OFF:
	setvariable mendhunt_aeg_type_SS OFF
	goto SETUP_AEG_DETAIL
SETUP_AEG_TYPE_QS_ARMWORN:
	setvariable mendhunt_aeg_type_QS ARMWORN
	goto SETUP_AEG_DETAIL
SETUP_AEG_TYPE_QS_HANDHELD:
	setvariable mendhunt_aeg_type_QS HANDHELD
	goto SETUP_AEG_DETAIL
SETUP_AEG_TYPE_QS_OFF:
	setvariable mendhunt_aeg_type_QS OFF
	goto SETUP_AEG_DETAIL
SETUP_AEG_TYPE_PI_ARMWORN:
	setvariable mendhunt_aeg_type_PI ARMWORN
	goto SETUP_AEG_DETAIL
SETUP_AEG_TYPE_PI_HANDHELD:
	setvariable mendhunt_aeg_type_PI HANDHELD
	goto SETUP_AEG_DETAIL
SETUP_AEG_TYPE_PI_OFF:
	setvariable mendhunt_aeg_type_PI OFF
	goto SETUP_AEG_DETAIL
SETUP_AEG_TYPE_HAL_ARMWORN:
	setvariable mendhunt_aeg_type_HAL ARMWORN
	goto SETUP_AEG_DETAIL
SETUP_AEG_TYPE_HAL_HANDHELD:
	setvariable mendhunt_aeg_type_HAL HANDHELD
	goto SETUP_AEG_DETAIL
SETUP_AEG_TYPE_HAL_OFF:
	setvariable mendhunt_aeg_type_HAL OFF
	goto SETUP_AEG_DETAIL
SETUP_AEG_TYPE_LT_ARMWORN:
	setvariable mendhunt_aeg_type_LT ARMWORN
	goto SETUP_AEG_DETAIL
SETUP_AEG_TYPE_LT_HANDHELD:
	setvariable mendhunt_aeg_type_LT HANDHELD
	goto SETUP_AEG_DETAIL
SETUP_AEG_TYPE_LT_OFF:
	setvariable mendhunt_aeg_type_LT OFF
	goto SETUP_AEG_DETAIL
SETUP_AEG_TYPE_HT_ARMWORN:
	setvariable mendhunt_aeg_type_HT ARMWORN
	goto SETUP_AEG_DETAIL
SETUP_AEG_TYPE_HT_HANDHELD:
	setvariable mendhunt_aeg_type_HT HANDHELD
	goto SETUP_AEG_DETAIL
SETUP_AEG_TYPE_HT_OFF:
	setvariable mendhunt_aeg_type_HT OFF
	goto SETUP_AEG_DETAIL
SETUP_AEG_TYPE_BR_ARMWORN:
	setvariable mendhunt_aeg_type_BR ARMWORN
	goto SETUP_AEG_DETAIL
SETUP_AEG_TYPE_BR_HANDHELD:
	setvariable mendhunt_aeg_type_BR HANDHELD
	goto SETUP_AEG_DETAIL
SETUP_AEG_TYPE_BR_OFF:
	setvariable mendhunt_aeg_type_BR OFF
	goto SETUP_AEG_DETAIL
SETUP_AEG_TYPE_OW_ARMWORN:
	setvariable mendhunt_aeg_type_OW ARMWORN
	goto SETUP_AEG_DETAIL
SETUP_AEG_TYPE_OW_HANDHELD:
	setvariable mendhunt_aeg_type_OW HANDHELD
	goto SETUP_AEG_DETAIL
SETUP_AEG_TYPE_OW_OFF:
	setvariable mendhunt_aeg_type_OW OFF
	goto SETUP_AEG_DETAIL
SETUP_AEG_TYPE_NOWEAP_ARMWORN:
	setvariable mendhunt_aeg_type_noweap ARMWORN
	goto SETUP_AEG_DETAIL
SETUP_AEG_TYPE_NOWEAP_HANDHELD:
	setvariable mendhunt_aeg_type_noweap HANDHELD
	goto SETUP_AEG_DETAIL
SETUP_AEG_TYPE_NOWEAP_OFF:
	setvariable mendhunt_aeg_type_noweap OFF
	goto SETUP_AEG_DETAIL

#-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*
SETUP_LOOT_MENU:
put echo /on
waitfor echocolumn
echo
echo
echo =======================================================================
echo ***                        LOOT MENU
echo =======================================================================
echo
echo Loot Master Switch is:     %mendhunt_loot_master_test
echo
echo Loot:
echo .  plat coins:       %mendhunt_loot_plat_test
echo .  gold coins:       %mendhunt_loot_gold_test
echo .  silver coins:     %mendhunt_loot_silver_test
echo .  bronze coins:     %mendhunt_loot_bronze_test
echo .  copper coins:     %mendhunt_loot_copper_test
echo
echo .  Gems:             %mendhunt_loot_gems_test
echo .  Boxes:            %mendhunt_loot_boxes_test
echo .  Other:            %mendhunt_loot_other_test
echo
echo
echo Containers:
echo .  gems container (gems are kept in):          %mendhunt_gems_container
echo .  boxes are kept in:                          %mendhunt_boxes_container
echo .  other-loot is kept in:                      %mendhunt_other_container
echo .  empty gem pouches are kept in:              %mendhunt_gpouch_empty_container
echo .  full gem pouches are kept in:               %mendhunt_gpouch_full_container
echo
echo Gem pouch use is:                              %mendhunt_gpouch_use_test
echo .  tie full gem pouches is:                    %mendhunt_gpouch_tie_test
echo
echo
echo _______________________________________________________________________
echo .  NOTE: If gem pouch use is ON, you *must* set the gems container above to either:
echo
echo .                1) "<color> pouch"  ex) red pouch, black pouch, etc., or
echo .                2) "gem pouch"
echo
echo .   This is a bit convoluted, but it depends on how you get your pouches from the shop keepers.
echo .           It appears that if you ask the keeper for a red pouch, you get a *red* pouch.
echo .           If you ask for a red gem pouch, you get a *gem* pouch, which is colored red.
echo .   Use a tap to determine which to use... tap my gem pouch in my pack vs tap my red pouch in my pack
echo .   Whichever tap works, use that name as the gems container... fill up with those.
echo
echo .  Note: While its not absolutely necessary to have unique containers, its best.
echo
echo =======================================================================
echo Turn loot master ON............................... loot=on
echo Turn loot master OFF.............................. loot=off
echo
echo Turn loot plat coins ON........................... plat=on
echo Turn loot plat coins OFF.......................... plat=off
echo Turn loot gold coins ON........................... gold=on
echo Turn loot gold coins OFF.......................... gold=off
echo Turn loot silver coins ON......................... silver=on
echo Turn loot silver coins OFF........................ silver=off
echo Turn loot bronze coins ON......................... bronze=on
echo Turn loot bronze coins OFF........................ bronze=off
echo Turn loot copper coins ON......................... copper=on
echo Turn loot copper coins OFF........................ copper=off
echo
echo Turn loot gems ON................................. gems=on
echo Turn loot gems OFF................................ gems=off
echo Turn loot boxes ON................................ boxes=on
echo Turn loot boxes OFF............................... boxes=off
echo Turn loot other ON................................ other=on
echo Turn loot other OFF............................... other=off
echo
echo Containers:
echo .  set gems container...................    .mendhunt set gems container <name>
echo .  set boxes container..................    .mendhunt set boxes container <name>
echo .  set other-loot container.............    .mendhunt set other container <name>
echo .  set empty gem pouch container........    .mendhunt set empty pouch container <name>
echo .  set full gem pouch container.........    .mendhunt set full pouch container <name>
echo
echo Gem Pouch usage:
echo .  Turn gem pouch use ON......................... gempouch=on
echo .  Turn gem pouch use OFF........................ gempouch=off
echo .  Turn gem pouch tie ON......................... tiepouch=on
echo .  Turn gem pouch tie OFF........................ tiepouch=off
echo
echo
echo View/change loot tables.......................... view=loot
echo
echo Return to Main Menu.............................. z1
echo =======================================================================
echo 
echo
put echo /off
pause 1
	match SETUP_LOOT_MASTER_TEST_ON loot=on
	match SETUP_LOOT_MASTER_TEST_OFF loot=off
	match SETUP_LOOT_PLAT_ON plat=on
	match SETUP_LOOT_PLAT_OFF plat=off
	match SETUP_LOOT_GOLD_ON gold=on
	match SETUP_LOOT_GOLD_OFF gold=off
	match SETUP_LOOT_SILVER_ON silver=on
	match SETUP_LOOT_SILVER_OFF silver=off
	match SETUP_LOOT_BRONZE_ON bronze=on
	match SETUP_LOOT_BRONZE_OFF bronze=off
	match SETUP_LOOT_COPPER_ON copper=on
	match SETUP_LOOT_COPPER_OFF copper=off
	match SETUP_LOOT_GEMS_ON gems=on
	match SETUP_LOOT_GEMS_OFF gems=off
	match SETUP_LOOT_BOXES_ON boxes=on
	match SETUP_LOOT_BOXES_OFF boxes=off
	match SETUP_LOOT_OTHER_ON other=on
	match SETUP_LOOT_OTHER_OFF other=off
	match SETUP_LOOT_GPOUCH_USE_ON gempouch=on
	match SETUP_LOOT_GPOUCH_USE_OFF gempouch=off
	match SETUP_LOOT_GPOUCH_TIE_ON tiepouch=on
	match SETUP_LOOT_GPOUCH_TIE_OFF tiepouch=off
	match SETUP_LOOT_USERADD_MENU view=loot
	match SETUP_MAIN_MENU z1
	matchwait

SETUP_LOOT_MASTER_TEST_ON:
	setvariable mendhunt_loot_master_test ON
	goto SETUP_LOOT_MENU
SETUP_LOOT_MASTER_TEST_OFF:
	setvariable mendhunt_loot_master_test OFF
	goto SETUP_LOOT_MENU
SETUP_LOOT_PLAT_ON:
	setvariable mendhunt_loot_plat_test ON
	goto SETUP_LOOT_MENU
SETUP_LOOT_PLAT_OFF:
	setvariable mendhunt_loot_plat_test OFF
	goto SETUP_LOOT_MENU
SETUP_LOOT_GOLD_ON:
	setvariable mendhunt_loot_gold_test ON
	goto SETUP_LOOT_MENU
SETUP_LOOT_GOLD_OFF:
	setvariable mendhunt_loot_gold_test OFF
	goto SETUP_LOOT_MENU
SETUP_LOOT_SILVER_ON:
	setvariable mendhunt_loot_silver_test ON
	goto SETUP_LOOT_MENU
SETUP_LOOT_SILVER_OFF:
	setvariable mendhunt_loot_silver_test OFF
	goto SETUP_LOOT_MENU
SETUP_LOOT_BRONZE_ON:
	setvariable mendhunt_loot_bronze_test ON
	goto SETUP_LOOT_MENU
SETUP_LOOT_BRONZE_OFF:
	setvariable mendhunt_loot_bronze_test OFF
	goto SETUP_LOOT_MENU
SETUP_LOOT_COPPER_ON:
	setvariable mendhunt_loot_copper_test ON
	goto SETUP_LOOT_MENU
SETUP_LOOT_COPPER_OFF:
	setvariable mendhunt_loot_copper_test OFF
	goto SETUP_LOOT_MENU
SETUP_LOOT_GEMS_ON:
	setvariable mendhunt_loot_gems_test ON
	goto SETUP_LOOT_MENU
SETUP_LOOT_GEMS_OFF:
	setvariable mendhunt_loot_gems_test OFF
	goto SETUP_LOOT_MENU
SETUP_LOOT_BOXES_ON:
	setvariable mendhunt_loot_boxes_test ON
	goto SETUP_LOOT_MENU
SETUP_LOOT_BOXES_OFF:
	setvariable mendhunt_loot_boxes_test OFF
	goto SETUP_LOOT_MENU
SETUP_LOOT_OTHER_ON:
	setvariable mendhunt_loot_other_test ON
	goto SETUP_LOOT_MENU
SETUP_LOOT_OTHER_OFF:
	setvariable mendhunt_loot_other_test OFF
	goto SETUP_LOOT_MENU
SETUP_LOOT_GPOUCH_USE_ON:
	setvariable mendhunt_gpouch_use_test ON
	goto SETUP_LOOT_MENU
SETUP_LOOT_GPOUCH_USE_OFF:
	setvariable mendhunt_gpouch_use_test OFF
	goto SETUP_LOOT_MENU
SETUP_LOOT_GPOUCH_TIE_ON:
	setvariable mendhunt_gpouch_tie_test ON
	goto SETUP_LOOT_MENU
SETUP_LOOT_GPOUCH_TIE_OFF:
	setvariable mendhunt_gpouch_tie_test OFF
	goto SETUP_LOOT_MENU

#-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*
SETUP_LOOT_USERADD_MENU:
put echo /on
waitfor echocolumn
echo
echo
echo =======================================================================
echo ***                        LOOT TABLE MENU
echo =======================================================================
echo The script has built in loot tables for common gems, skins, and other items.
echo Use this menu to add to the tables.
echo
echo * GEMS:
echo User added gem 1:              %mendhunt_loot_gems_useradd_1
echo User added gem 2:              %mendhunt_loot_gems_useradd_2
echo User added gem 3:              %mendhunt_loot_gems_useradd_3
echo User added gem 4:              %mendhunt_loot_gems_useradd_4
echo User added gem 5:              %mendhunt_loot_gems_useradd_5
echo User added gem 6:              %mendhunt_loot_gems_useradd_6
echo
echo * OTHER LOOT:
echo User added other-loot 1:       %mendhunt_loot_other_useradd_1
echo User added other-loot 2:       %mendhunt_loot_other_useradd_2
echo User added other-loot 3:       %mendhunt_loot_other_useradd_3
echo User added other-loot 4:       %mendhunt_loot_other_useradd_4
echo User added other-loot 5:       %mendhunt_loot_other_useradd_5
echo User added other-loot 6:       %mendhunt_loot_other_useradd_6
echo
echo * SKINS:
echo User added skin 1:             %mendhunt_loot_skins_useradd_1
echo User added skin 2:             %mendhunt_loot_skins_useradd_2
echo User added skin 3:             %mendhunt_loot_skins_useradd_3
echo User added skin 4:             %mendhunt_loot_skins_useradd_4
echo User added skin 5:             %mendhunt_loot_skins_useradd_5
echo User added skin 6:             %mendhunt_loot_skins_useradd_6
echo
echo =======================================================================
echo Add/change a user added gem..................   .mendhunt set item gem <slot#> <name>
echo Add/change a user added other-loot...........   .mendhunt set item other <slot#> <name>
echo Add/change a user added skin.................   .mendhunt set item skin  <slot#> <name>
echo
echo Return to Loot Menu..........................   z1
echo =======================================================================
echo Gems loot table obtained from:
echo Pick Up Gems by Kraelyst; located at http://www.elanthipedia.com/wiki/Main_Page on 6/2/08
echo
put echo /off
pause 1
	match SETUP_LOOT_MENU z1
	matchwait


#-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*
SETUP_SKINNING_MENU:
put echo /on
waitfor echocolumn
echo
echo
echo =======================================================================
echo ***                        SKINNING MENU
echo =======================================================================
echo
echo Skinning is:                     %mendhunt_skinning_test
echo
echo Skinning is set to skin with:    %mendhunt_skinner_name
echo
echo Bundling is:                     %mendhunt_loot_skins_test
echo
echo =======================================================================
echo Turn skinning ON............................... skinning=on
echo Turn skinning OFF.............................. skinning=off
echo
echo Change to knife................................ skinner=knife
echo Change to skinning knife....................... skinner=skinknife
echo Change to outdoors knife....................... skinner=outknife
echo Change to use weapon in hand................... skinner=weapon
echo
echo Turn bundle ON................................. bundle=on
echo Turn bundle OFF................................ bundle=off
echo
echo Return to Main Menu............................ z1
echo =======================================================================
echo Notes:
echo 1) If skinning with weapon, script does not check if it is sharp... won't choke, just won't skin.
echo 2) Skinning can be ON even when hunting non-skinnable critters.
echo 3) Loot master must be ON to bundle.
echo 4) If not obvious, do not skin with weapon when using brawling or no-weapon... no weapons are in hand.
echo
put echo /off
pause 1
	match SETUP_SKIN_TEST_ON skinning=on
	match SETUP_SKIN_TEST_OFF skinning=off
	match SETUP_SKINNER_KNIFE skinner=knife
	match SETUP_SKINNER_SKINKNIFE skinner=skinknife
	match SETUP_SKINNER_OUTKNIFE skinner=outknife
	match SETUP_SKINNER_WEAPON skinner=weapon
	match SETUP_BUNDLE_ON bundle=on
	match SETUP_BUNDLE_OFF bundle=off
	match SETUP_MAIN_MENU z1
	matchwait


SETUP_SKIN_TEST_ON:
	setvariable mendhunt_skinning_test ON
	goto SETUP_SKINNING_MENU
SETUP_SKIN_TEST_OFF:
	setvariable mendhunt_skinning_test OFF
	goto SETUP_SKINNING_MENU
SETUP_SKINNER_KNIFE:
	setvariable mendhunt_skinner_name_branch knife
	setvariable mendhunt_skinner_name knife
	goto SETUP_SKINNING_MENU
SETUP_SKINNER_SKINKNIFE:
	setvariable mendhunt_skinner_name_branch knife
	setvariable mendhunt_skinner_name skinning knife
	goto SETUP_SKINNING_MENU
SETUP_SKINNER_OUTKNIFE:
	setvariable mendhunt_skinner_name_branch knife
	setvariable mendhunt_skinner_name outdoor knife
	goto SETUP_SKINNING_MENU
SETUP_SKINNER_WEAPON:
	setvariable mendhunt_skinner_name_branch weapon
	setvariable mendhunt_skinner_name weapon
	goto SETUP_SKINNING_MENU
SETUP_BUNDLE_ON:
	setvariable mendhunt_loot_skins_test ON
	goto SETUP_SKINNING_MENU
SETUP_BUNDLE_OFF:
	setvariable mendhunt_loot_skins_test OFF
	goto SETUP_SKINNING_MENU


#-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*
SETUP_MISC_MENU:
put echo /on
waitfor echocolumn
echo
echo
echo =======================================================================
echo ***                        MISCELLANEOUS MENU
echo =======================================================================
echo
echo Mind state check is:             %mendhunt_mindstate_test
echo .    turn mind state testing ON..................... mindstate=on
echo .    turn mind state testing OFF.................... mindstate=off
echo
echo _______________________________________________________________________
echo
echo The script allows you to save two setups... PRIMARY and BACKTRAIN.
echo You can save a setup then retrieve it at anytime for quick turnaround.
echo Note that this will overwrite all variables (except loot & critter useradd tables).
echo This means if you change a weapon etc then retrieve an archive, it will overwrite that change.
echo
echo
echo Save to PRIMARY Archive............................. save=primary
echo Retrieve from PRIMARY Archive....................... load=primary
echo
echo Save to BACKTRAIN Archive........................... save=backtrain
echo Retrieve from BACKTRAIN Archive..................... load=backtrain
echo
echo =======================================================================
echo Return to Main Menu................................. z1
echo =======================================================================
echo 
echo
put echo /off
pause 1

	match SETUP_MISC_ARCHIVE_PRIMARY_SAVE save=primary
	match SETUP_MISC_ARCHIVE_PRIMARY_RETRIEVE load=primary
	match SETUP_MISC_ARCHIVE_BACKTRAIN_SAVE save=backtrain
	match SETUP_MISC_ARCHIVE_BACKTRAIN_RETRIEVE load=backtrain
	match SETUP_MINDSTATE_TEST_ON mindstate=on
	match SETUP_MINDSTATE_TEST_OFF mindstate=off
	match SETUP_MAIN_MENU z1
	matchwait

SETUP_MINDSTATE_TEST_ON:
	setvariable mendhunt_mindstate_test ON
	goto SETUP_MISC_MENU
SETUP_MINDSTATE_TEST_OFF:
	setvariable mendhunt_mindstate_test ON
	goto SETUP_MISC_MENU


SETUP_MISC_ARCHIVE_PRIMARY_SAVE:
put echo /on
waitfor echocolumn
	echo
	echo *************************************************
	echo
	echo This will overwrite your PRIMARY Archive.
	echo
	echo
	echo *** To Exit....................... reset=no
	echo *** To Continue................... reset=overwrite
	echo
	echo *************************************************
	echo
put echo /off
pause 1
	match SETUP_MISC_MENU reset=no
	match ARCHIVE_PRIMARY_SAVE reset=overwrite
	matchwait

SETUP_MISC_ARCHIVE_PRIMARY_RETRIEVE:
put echo /on
waitfor echocolumn
	echo
	echo *************************************************
	echo
	echo This will retrieve your PRIMARY Archive and overwrite current setup.
	echo
	echo
	echo *** To Exit....................... reset=no
	echo *** To Continue................... reset=overwrite
	echo
	echo *************************************************
	echo
put echo /off
pause 1
	match SETUP_MISC_MENU reset=no
	match ARCHIVE_PRIMARY_RETRIEVE reset=overwrite
	matchwait


SETUP_MISC_ARCHIVE_BACKTRAIN_SAVE:
put echo /on
waitfor echocolumn
	echo
	echo *************************************************
	echo
	echo This will overwrite your BACKTRAIN Archive.
	echo
	echo
	echo *** To Exit....................... reset=no
	echo *** To Continue................... reset=overwrite
	echo
	echo *************************************************
	echo
put echo /off
pause 1
	match SETUP_MISC_MENU reset=no
	match ARCHIVE_BACKTRAIN_SAVE reset=overwrite
	matchwait

SETUP_MISC_ARCHIVE_BACKTRAIN_RETRIEVE:
put echo /on
waitfor echocolumn
	echo
	echo *************************************************
	echo
	echo This will retrieve your BACKTRAIN Archive and overwrite current setup.
	echo
	echo
	echo *** To Exit....................... reset=no
	echo *** To Continue................... reset=overwrite
	echo
	echo *************************************************
	echo
put echo /off
pause 1
	match SETUP_MISC_MENU reset=no
	match ARCHIVE_BACKTRAIN_RETRIEVE reset=overwrite
	matchwait


SETUP_MISC_ARCHIVE_RETURN:
	echo
	echo *** Good to go.
	echo
	goto SETUP_MISC_MENU


#-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*-----*
SETUP_QUICK_SWITCHES:
	goto SETUP_MAIN_MENU


#############################################################################
###########################    INITIALIZE ARMS SECTION    ###################
#############################################################################
# This subroutine re-loads information into armament slots when user has made changes to embedded variables
# If slot variables are modified/edited/created... update this subroutine
#
# variables needed:
# %subreturnflag
# %mendhunt_weapon_class_<slot#>


INITIALIZE_ARMAMENT:
INITIALIZE_ARMAMENTS:
INITIALIZE_ARMAMENT_START:

echo
echo *** Embedded variables have been changed, script needs to re-initialize
echo
echo Please hold on while initialization is performed
echo
pause 1

INITIALIZE_ARMAMENT_WEAPON_DETAIL_LOAD:
	setvariable IWDsubreturnflag INITIALIZE_ARMAMENT_WEAPON_DETAIL_LOAD
	goto INITIALIZE_WEAPON_DETAIL
SUBRETURN_INITIALIZE_ARMAMENT_WEAPON_DETAIL_LOAD:

#____________________________________________________________________initialize armaments

echo
echo *** Initializing armament START
echo
echo *** Initializing armament [|_______]

INITIALIZE_ARMAMENT_MAIN:
	setvariable IAreturnflag INITIALIZE_ARMAMENT_MAIN
	setvariable slot main
	goto INITIALIZE_ARM_%mendhunt_weapon_class_main
RETURN_INITIALIZE_ARMAMENT_MAIN:

echo *** Initializing armament [||______]

INITIALIZE_ARMAMENT_1:
	setvariable IAreturnflag INITIALIZE_ARMAMENT_1
	setvariable slot 1
	goto INITIALIZE_ARM_%mendhunt_weapon_class_1
RETURN_INITIALIZE_ARMAMENT_1:

echo *** Initializing armament [|||_____]

INITIALIZE_ARMAMENT_2:
	setvariable IAreturnflag INITIALIZE_ARMAMENT_2
	setvariable slot 2
	goto INITIALIZE_ARM_%mendhunt_weapon_class_2
RETURN_INITIALIZE_ARMAMENT_2:

echo *** Initializing armament [||||____]

INITIALIZE_ARMAMENT_3:
	setvariable IAreturnflag INITIALIZE_ARMAMENT_3
	setvariable slot 3
	goto INITIALIZE_ARM_%mendhunt_weapon_class_3
RETURN_INITIALIZE_ARMAMENT_3:

echo *** Initializing armament [|||||___]

INITIALIZE_ARMAMENT_4:
	setvariable IAreturnflag INITIALIZE_ARMAMENT_4
	setvariable slot 4
	goto INITIALIZE_ARM_%mendhunt_weapon_class_4
RETURN_INITIALIZE_ARMAMENT_4:

echo *** Initializing armament [||||||__]

INITIALIZE_ARMAMENT_5:
	setvariable IAreturnflag INITIALIZE_ARMAMENT_5
	setvariable slot 5
	goto INITIALIZE_ARM_%mendhunt_weapon_class_5
RETURN_INITIALIZE_ARMAMENT_5:

echo *** Initializing armament [|||||||_]

INITIALIZE_ARMAMENT_6:
	setvariable IAreturnflag INITIALIZE_ARMAMENT_6
	setvariable slot 6
	goto INITIALIZE_ARM_%mendhunt_weapon_class_6
RETURN_INITIALIZE_ARMAMENT_6:


echo *** Initializing armament [||||||||]
echo
echo *** Initializing armament COMPLETED
echo

	goto INITIALIZE_ARMAMENT_END

#____________________________________________________________________initialize arms

INITIALIZE_ARM_LE:
	setvariable mendhunt_weapon_name_%slot %mendhunt_weapon_name_LE
	setvariable mendhunt_weapon_class_%slot %mendhunt_weapon_class_LE
	setvariable mendhunt_weapon_type_%slot %mendhunt_weapon_type_LE
	setvariable mendhunt_weapon_combo_%slot %mendhunt_weapon_combo_LE
	setvariable mendhunt_weapon_combo_1_%slot %mendhunt_weapon_combo_1_LE
	setvariable mendhunt_weapon_combo_2_%slot %mendhunt_weapon_combo_2_LE
	setvariable mendhunt_weapon_combo_3_%slot %mendhunt_weapon_combo_3_LE
	setvariable mendhunt_weapon_combo_4_%slot %mendhunt_weapon_combo_4_LE
	setvariable mendhunt_weapon_combo_5_%slot %mendhunt_weapon_combo_5_LE
	setvariable mendhunt_weapon_combo_6_%slot %mendhunt_weapon_combo_6_LE
	setvariable mendhunt_weapon_combo_7_%slot %mendhunt_weapon_combo_7_LE
	setvariable mendhunt_weapon_combo_8_%slot %mendhunt_weapon_combo_8_LE
	setvariable mendhunt_weapon_ammo_%slot %mendhunt_weapon_ammo_LE
	setvariable mendhunt_weapon_shield_use_%slot %mendhunt_weapon_shield_use_LE
	setvariable mendhunt_weapon_shield_name_%slot %mendhunt_weapon_shield_name_LE
	setvariable mendhunt_weapon_stance_focus_%slot %mendhunt_weapon_stance_focus_LE
	goto RETURN_%IAreturnflag
INITIALIZE_ARM_ME:
	setvariable mendhunt_weapon_name_%slot %mendhunt_weapon_name_ME
	setvariable mendhunt_weapon_class_%slot %mendhunt_weapon_class_ME
	setvariable mendhunt_weapon_type_%slot %mendhunt_weapon_type_ME
	setvariable mendhunt_weapon_combo_%slot %mendhunt_weapon_combo_ME
	setvariable mendhunt_weapon_combo_1_%slot %mendhunt_weapon_combo_1_ME
	setvariable mendhunt_weapon_combo_2_%slot %mendhunt_weapon_combo_2_ME
	setvariable mendhunt_weapon_combo_3_%slot %mendhunt_weapon_combo_3_ME
	setvariable mendhunt_weapon_combo_4_%slot %mendhunt_weapon_combo_4_ME
	setvariable mendhunt_weapon_combo_5_%slot %mendhunt_weapon_combo_5_ME
	setvariable mendhunt_weapon_combo_6_%slot %mendhunt_weapon_combo_6_ME
	setvariable mendhunt_weapon_combo_7_%slot %mendhunt_weapon_combo_7_ME
	setvariable mendhunt_weapon_combo_8_%slot %mendhunt_weapon_combo_8_ME
	setvariable mendhunt_weapon_ammo_%slot %mendhunt_weapon_ammo_ME
	setvariable mendhunt_weapon_shield_use_%slot %mendhunt_weapon_shield_use_ME
	setvariable mendhunt_weapon_shield_name_%slot %mendhunt_weapon_shield_name_ME
	setvariable mendhunt_weapon_stance_focus_%slot %mendhunt_weapon_stance_focus_ME
	goto RETURN_%IAreturnflag
INITIALIZE_ARM_HE:
	setvariable mendhunt_weapon_name_%slot %mendhunt_weapon_name_HE
	setvariable mendhunt_weapon_class_%slot %mendhunt_weapon_class_HE
	setvariable mendhunt_weapon_type_%slot %mendhunt_weapon_type_HE
	setvariable mendhunt_weapon_combo_%slot %mendhunt_weapon_combo_HE
	setvariable mendhunt_weapon_combo_1_%slot %mendhunt_weapon_combo_1_HE
	setvariable mendhunt_weapon_combo_2_%slot %mendhunt_weapon_combo_2_HE
	setvariable mendhunt_weapon_combo_3_%slot %mendhunt_weapon_combo_3_HE
	setvariable mendhunt_weapon_combo_4_%slot %mendhunt_weapon_combo_4_HE
	setvariable mendhunt_weapon_combo_5_%slot %mendhunt_weapon_combo_5_HE
	setvariable mendhunt_weapon_combo_6_%slot %mendhunt_weapon_combo_6_HE
	setvariable mendhunt_weapon_combo_7_%slot %mendhunt_weapon_combo_7_HE
	setvariable mendhunt_weapon_combo_8_%slot %mendhunt_weapon_combo_8_HE
	setvariable mendhunt_weapon_ammo_%slot %mendhunt_weapon_ammo_HE
	setvariable mendhunt_weapon_shield_use_%slot %mendhunt_weapon_shield_use_HE
	setvariable mendhunt_weapon_shield_name_%slot %mendhunt_weapon_shield_name_HE
	setvariable mendhunt_weapon_stance_focus_%slot %mendhunt_weapon_stance_focus_HE
	goto RETURN_%IAreturnflag
INITIALIZE_ARM_2HE:
	setvariable mendhunt_weapon_name_%slot %mendhunt_weapon_name_2HE
	setvariable mendhunt_weapon_class_%slot %mendhunt_weapon_class_2HE
	setvariable mendhunt_weapon_type_%slot %mendhunt_weapon_type_2HE
	setvariable mendhunt_weapon_combo_%slot %mendhunt_weapon_combo_2HE
	setvariable mendhunt_weapon_combo_1_%slot %mendhunt_weapon_combo_1_2HE
	setvariable mendhunt_weapon_combo_2_%slot %mendhunt_weapon_combo_2_2HE
	setvariable mendhunt_weapon_combo_3_%slot %mendhunt_weapon_combo_3_2HE
	setvariable mendhunt_weapon_combo_4_%slot %mendhunt_weapon_combo_4_2HE
	setvariable mendhunt_weapon_combo_5_%slot %mendhunt_weapon_combo_5_2HE
	setvariable mendhunt_weapon_combo_6_%slot %mendhunt_weapon_combo_6_2HE
	setvariable mendhunt_weapon_combo_7_%slot %mendhunt_weapon_combo_7_2HE
	setvariable mendhunt_weapon_combo_8_%slot %mendhunt_weapon_combo_8_2HE
	setvariable mendhunt_weapon_ammo_%slot %mendhunt_weapon_ammo_2HE
	setvariable mendhunt_weapon_shield_use_%slot %mendhunt_weapon_shield_use_2HE
	setvariable mendhunt_weapon_shield_name_%slot %mendhunt_weapon_shield_name_2HE
	setvariable mendhunt_weapon_stance_focus_%slot %mendhunt_weapon_stance_focus_2HE
	goto RETURN_%IAreturnflag
INITIALIZE_ARM_LB:
	setvariable mendhunt_weapon_name_%slot %mendhunt_weapon_name_LB
	setvariable mendhunt_weapon_class_%slot %mendhunt_weapon_class_LB
	setvariable mendhunt_weapon_type_%slot %mendhunt_weapon_type_LB
	setvariable mendhunt_weapon_combo_%slot %mendhunt_weapon_combo_LB
	setvariable mendhunt_weapon_combo_1_%slot %mendhunt_weapon_combo_1_LB
	setvariable mendhunt_weapon_combo_2_%slot %mendhunt_weapon_combo_2_LB
	setvariable mendhunt_weapon_combo_3_%slot %mendhunt_weapon_combo_3_LB
	setvariable mendhunt_weapon_combo_4_%slot %mendhunt_weapon_combo_4_LB
	setvariable mendhunt_weapon_combo_5_%slot %mendhunt_weapon_combo_5_LB
	setvariable mendhunt_weapon_combo_6_%slot %mendhunt_weapon_combo_6_LB
	setvariable mendhunt_weapon_combo_7_%slot %mendhunt_weapon_combo_7_LB
	setvariable mendhunt_weapon_combo_8_%slot %mendhunt_weapon_combo_8_LB
	setvariable mendhunt_weapon_ammo_%slot %mendhunt_weapon_ammo_LB
	setvariable mendhunt_weapon_shield_use_%slot %mendhunt_weapon_shield_use_LB
	setvariable mendhunt_weapon_shield_name_%slot %mendhunt_weapon_shield_name_LB
	setvariable mendhunt_weapon_stance_focus_%slot %mendhunt_weapon_stance_focus_LB
	goto RETURN_%IAreturnflag
INITIALIZE_ARM_MB:
	setvariable mendhunt_weapon_name_%slot %mendhunt_weapon_name_MB
	setvariable mendhunt_weapon_class_%slot %mendhunt_weapon_class_MB
	setvariable mendhunt_weapon_type_%slot %mendhunt_weapon_type_MB
	setvariable mendhunt_weapon_combo_%slot %mendhunt_weapon_combo_MB
	setvariable mendhunt_weapon_combo_1_%slot %mendhunt_weapon_combo_1_MB
	setvariable mendhunt_weapon_combo_2_%slot %mendhunt_weapon_combo_2_MB
	setvariable mendhunt_weapon_combo_3_%slot %mendhunt_weapon_combo_3_MB
	setvariable mendhunt_weapon_combo_4_%slot %mendhunt_weapon_combo_4_MB
	setvariable mendhunt_weapon_combo_5_%slot %mendhunt_weapon_combo_5_MB
	setvariable mendhunt_weapon_combo_6_%slot %mendhunt_weapon_combo_6_MB
	setvariable mendhunt_weapon_combo_7_%slot %mendhunt_weapon_combo_7_MB
	setvariable mendhunt_weapon_combo_8_%slot %mendhunt_weapon_combo_8_MB
	setvariable mendhunt_weapon_ammo_%slot %mendhunt_weapon_ammo_MB
	setvariable mendhunt_weapon_shield_use_%slot %mendhunt_weapon_shield_use_MB
	setvariable mendhunt_weapon_shield_name_%slot %mendhunt_weapon_shield_name_MB
	setvariable mendhunt_weapon_stance_focus_%slot %mendhunt_weapon_stance_focus_MB
	goto RETURN_%IAreturnflag
INITIALIZE_ARM_HB:
	setvariable mendhunt_weapon_name_%slot %mendhunt_weapon_name_HB
	setvariable mendhunt_weapon_class_%slot %mendhunt_weapon_class_HB
	setvariable mendhunt_weapon_type_%slot %mendhunt_weapon_type_HB
	setvariable mendhunt_weapon_combo_%slot %mendhunt_weapon_combo_HB
	setvariable mendhunt_weapon_combo_1_%slot %mendhunt_weapon_combo_1_HB
	setvariable mendhunt_weapon_combo_2_%slot %mendhunt_weapon_combo_2_HB
	setvariable mendhunt_weapon_combo_3_%slot %mendhunt_weapon_combo_3_HB
	setvariable mendhunt_weapon_combo_4_%slot %mendhunt_weapon_combo_4_HB
	setvariable mendhunt_weapon_combo_5_%slot %mendhunt_weapon_combo_5_HB
	setvariable mendhunt_weapon_combo_6_%slot %mendhunt_weapon_combo_6_HB
	setvariable mendhunt_weapon_combo_7_%slot %mendhunt_weapon_combo_7_HB
	setvariable mendhunt_weapon_combo_8_%slot %mendhunt_weapon_combo_8_HB
	setvariable mendhunt_weapon_ammo_%slot %mendhunt_weapon_ammo_HB
	setvariable mendhunt_weapon_shield_use_%slot %mendhunt_weapon_shield_use_HB
	setvariable mendhunt_weapon_shield_name_%slot %mendhunt_weapon_shield_name_HB
	setvariable mendhunt_weapon_stance_focus_%slot %mendhunt_weapon_stance_focus_HB
	goto RETURN_%IAreturnflag
INITIALIZE_ARM_2HB:
	setvariable mendhunt_weapon_name_%slot %mendhunt_weapon_name_2HB
	setvariable mendhunt_weapon_class_%slot %mendhunt_weapon_class_2HB
	setvariable mendhunt_weapon_type_%slot %mendhunt_weapon_type_2HB
	setvariable mendhunt_weapon_combo_%slot %mendhunt_weapon_combo_2HB
	setvariable mendhunt_weapon_combo_1_%slot %mendhunt_weapon_combo_1_2HB
	setvariable mendhunt_weapon_combo_2_%slot %mendhunt_weapon_combo_2_2HB
	setvariable mendhunt_weapon_combo_3_%slot %mendhunt_weapon_combo_3_2HB
	setvariable mendhunt_weapon_combo_4_%slot %mendhunt_weapon_combo_4_2HB
	setvariable mendhunt_weapon_combo_5_%slot %mendhunt_weapon_combo_5_2HB
	setvariable mendhunt_weapon_combo_6_%slot %mendhunt_weapon_combo_6_2HB
	setvariable mendhunt_weapon_combo_7_%slot %mendhunt_weapon_combo_7_2HB
	setvariable mendhunt_weapon_combo_8_%slot %mendhunt_weapon_combo_8_2HB
	setvariable mendhunt_weapon_ammo_%slot %mendhunt_weapon_ammo_2HB
	setvariable mendhunt_weapon_shield_use_%slot %mendhunt_weapon_shield_use_2HB
	setvariable mendhunt_weapon_shield_name_%slot %mendhunt_weapon_shield_name_2HB
	setvariable mendhunt_weapon_stance_focus_%slot %mendhunt_weapon_stance_focus_2HB
	goto RETURN_%IAreturnflag
INITIALIZE_ARM_SL:
	setvariable mendhunt_weapon_name_%slot %mendhunt_weapon_name_SL
	setvariable mendhunt_weapon_class_%slot %mendhunt_weapon_class_SL
	setvariable mendhunt_weapon_type_%slot %mendhunt_weapon_type_SL
	setvariable mendhunt_weapon_combo_%slot %mendhunt_weapon_combo_SL
	setvariable mendhunt_weapon_combo_1_%slot %mendhunt_weapon_combo_1_SL
	setvariable mendhunt_weapon_combo_2_%slot %mendhunt_weapon_combo_2_SL
	setvariable mendhunt_weapon_combo_3_%slot %mendhunt_weapon_combo_3_SL
	setvariable mendhunt_weapon_combo_4_%slot %mendhunt_weapon_combo_4_SL
	setvariable mendhunt_weapon_combo_5_%slot %mendhunt_weapon_combo_5_SL
	setvariable mendhunt_weapon_combo_6_%slot %mendhunt_weapon_combo_6_SL
	setvariable mendhunt_weapon_combo_7_%slot %mendhunt_weapon_combo_7_SL
	setvariable mendhunt_weapon_combo_8_%slot %mendhunt_weapon_combo_8_SL
	setvariable mendhunt_weapon_ammo_%slot %mendhunt_weapon_ammo_SL
	setvariable mendhunt_weapon_shield_use_%slot %mendhunt_weapon_shield_use_SL
	setvariable mendhunt_weapon_shield_name_%slot %mendhunt_weapon_shield_name_SL
	setvariable mendhunt_weapon_stance_focus_%slot %mendhunt_weapon_stance_focus_SL
	goto RETURN_%IAreturnflag
INITIALIZE_ARM_STAFFSLING:
	setvariable mendhunt_weapon_name_%slot %mendhunt_weapon_name_STAFFSLING
	setvariable mendhunt_weapon_class_%slot %mendhunt_weapon_class_STAFFSLING
	setvariable mendhunt_weapon_type_%slot %mendhunt_weapon_type_STAFFSLING
	setvariable mendhunt_weapon_combo_%slot %mendhunt_weapon_combo_STAFFSLING
	setvariable mendhunt_weapon_combo_1_%slot %mendhunt_weapon_combo_1_STAFFSLING
	setvariable mendhunt_weapon_combo_2_%slot %mendhunt_weapon_combo_2_STAFFSLING
	setvariable mendhunt_weapon_combo_3_%slot %mendhunt_weapon_combo_3_STAFFSLING
	setvariable mendhunt_weapon_combo_4_%slot %mendhunt_weapon_combo_4_STAFFSLING
	setvariable mendhunt_weapon_combo_5_%slot %mendhunt_weapon_combo_5_STAFFSLING
	setvariable mendhunt_weapon_combo_6_%slot %mendhunt_weapon_combo_6_STAFFSLING
	setvariable mendhunt_weapon_combo_7_%slot %mendhunt_weapon_combo_7_STAFFSLING
	setvariable mendhunt_weapon_combo_8_%slot %mendhunt_weapon_combo_8_STAFFSLING
	setvariable mendhunt_weapon_ammo_%slot %mendhunt_weapon_ammo_STAFFSLING
	setvariable mendhunt_weapon_shield_use_%slot %mendhunt_weapon_shield_use_STAFFSLING
	setvariable mendhunt_weapon_shield_name_%slot %mendhunt_weapon_shield_name_STAFFSLING
	setvariable mendhunt_weapon_stance_focus_%slot %mendhunt_weapon_stance_focus_STAFFSLING
	goto RETURN_%IAreturnflag
INITIALIZE_ARM_SB:
	setvariable mendhunt_weapon_name_%slot %mendhunt_weapon_name_SB
	setvariable mendhunt_weapon_class_%slot %mendhunt_weapon_class_SB
	setvariable mendhunt_weapon_type_%slot %mendhunt_weapon_type_SB
	setvariable mendhunt_weapon_combo_%slot %mendhunt_weapon_combo_SB
	setvariable mendhunt_weapon_combo_1_%slot %mendhunt_weapon_combo_1_SB
	setvariable mendhunt_weapon_combo_2_%slot %mendhunt_weapon_combo_2_SB
	setvariable mendhunt_weapon_combo_3_%slot %mendhunt_weapon_combo_3_SB
	setvariable mendhunt_weapon_combo_4_%slot %mendhunt_weapon_combo_4_SB
	setvariable mendhunt_weapon_combo_5_%slot %mendhunt_weapon_combo_5_SB
	setvariable mendhunt_weapon_combo_6_%slot %mendhunt_weapon_combo_6_SB
	setvariable mendhunt_weapon_combo_7_%slot %mendhunt_weapon_combo_7_SB
	setvariable mendhunt_weapon_combo_8_%slot %mendhunt_weapon_combo_8_SB
	setvariable mendhunt_weapon_ammo_%slot %mendhunt_weapon_ammo_SB
	setvariable mendhunt_weapon_shield_use_%slot %mendhunt_weapon_shield_use_SB
	setvariable mendhunt_weapon_shield_name_%slot %mendhunt_weapon_shield_name_SB
	setvariable mendhunt_weapon_stance_focus_%slot %mendhunt_weapon_stance_focus_SB
	goto RETURN_%IAreturnflag
INITIALIZE_ARM_LOB:
	setvariable mendhunt_weapon_name_%slot %mendhunt_weapon_name_LOB
	setvariable mendhunt_weapon_class_%slot %mendhunt_weapon_class_LOB
	setvariable mendhunt_weapon_type_%slot %mendhunt_weapon_type_LOB
	setvariable mendhunt_weapon_combo_%slot %mendhunt_weapon_combo_LOB
	setvariable mendhunt_weapon_combo_1_%slot %mendhunt_weapon_combo_1_LOB
	setvariable mendhunt_weapon_combo_2_%slot %mendhunt_weapon_combo_2_LOB
	setvariable mendhunt_weapon_combo_3_%slot %mendhunt_weapon_combo_3_LOB
	setvariable mendhunt_weapon_combo_4_%slot %mendhunt_weapon_combo_4_LOB
	setvariable mendhunt_weapon_combo_5_%slot %mendhunt_weapon_combo_5_LOB
	setvariable mendhunt_weapon_combo_6_%slot %mendhunt_weapon_combo_6_LOB
	setvariable mendhunt_weapon_combo_7_%slot %mendhunt_weapon_combo_7_LOB
	setvariable mendhunt_weapon_combo_8_%slot %mendhunt_weapon_combo_8_LOB
	setvariable mendhunt_weapon_ammo_%slot %mendhunt_weapon_ammo_LOB
	setvariable mendhunt_weapon_shield_use_%slot %mendhunt_weapon_shield_use_LOB
	setvariable mendhunt_weapon_shield_name_%slot %mendhunt_weapon_shield_name_LOB
	setvariable mendhunt_weapon_stance_focus_%slot %mendhunt_weapon_stance_focus_LOB
	goto RETURN_%IAreturnflag
INITIALIZE_ARM_CB:
	setvariable mendhunt_weapon_name_%slot %mendhunt_weapon_name_CB
	setvariable mendhunt_weapon_class_%slot %mendhunt_weapon_class_CB
	setvariable mendhunt_weapon_type_%slot %mendhunt_weapon_type_CB
	setvariable mendhunt_weapon_combo_%slot %mendhunt_weapon_combo_CB
	setvariable mendhunt_weapon_combo_1_%slot %mendhunt_weapon_combo_1_CB
	setvariable mendhunt_weapon_combo_2_%slot %mendhunt_weapon_combo_2_CB
	setvariable mendhunt_weapon_combo_3_%slot %mendhunt_weapon_combo_3_CB
	setvariable mendhunt_weapon_combo_4_%slot %mendhunt_weapon_combo_4_CB
	setvariable mendhunt_weapon_combo_5_%slot %mendhunt_weapon_combo_5_CB
	setvariable mendhunt_weapon_combo_6_%slot %mendhunt_weapon_combo_6_CB
	setvariable mendhunt_weapon_combo_7_%slot %mendhunt_weapon_combo_7_CB
	setvariable mendhunt_weapon_combo_8_%slot %mendhunt_weapon_combo_8_CB
	setvariable mendhunt_weapon_ammo_%slot %mendhunt_weapon_ammo_CB
	setvariable mendhunt_weapon_shield_use_%slot %mendhunt_weapon_shield_use_CB
	setvariable mendhunt_weapon_shield_name_%slot %mendhunt_weapon_shield_name_CB
	setvariable mendhunt_weapon_stance_focus_%slot %mendhunt_weapon_stance_focus_CB
	goto RETURN_%IAreturnflag
INITIALIZE_ARM_LX:
	setvariable mendhunt_weapon_name_%slot %mendhunt_weapon_name_LX
	setvariable mendhunt_weapon_class_%slot %mendhunt_weapon_class_LX
	setvariable mendhunt_weapon_type_%slot %mendhunt_weapon_type_LX
	setvariable mendhunt_weapon_combo_%slot %mendhunt_weapon_combo_LX
	setvariable mendhunt_weapon_combo_1_%slot %mendhunt_weapon_combo_1_LX
	setvariable mendhunt_weapon_combo_2_%slot %mendhunt_weapon_combo_2_LX
	setvariable mendhunt_weapon_combo_3_%slot %mendhunt_weapon_combo_3_LX
	setvariable mendhunt_weapon_combo_4_%slot %mendhunt_weapon_combo_4_LX
	setvariable mendhunt_weapon_combo_5_%slot %mendhunt_weapon_combo_5_LX
	setvariable mendhunt_weapon_combo_6_%slot %mendhunt_weapon_combo_6_LX
	setvariable mendhunt_weapon_combo_7_%slot %mendhunt_weapon_combo_7_LX
	setvariable mendhunt_weapon_combo_8_%slot %mendhunt_weapon_combo_8_LX
	setvariable mendhunt_weapon_ammo_%slot %mendhunt_weapon_ammo_LX
	setvariable mendhunt_weapon_shield_use_%slot %mendhunt_weapon_shield_use_LX
	setvariable mendhunt_weapon_shield_name_%slot %mendhunt_weapon_shield_name_LX
	setvariable mendhunt_weapon_stance_focus_%slot %mendhunt_weapon_stance_focus_LX
	goto RETURN_%IAreturnflag
INITIALIZE_ARM_HX:
	setvariable mendhunt_weapon_name_%slot %mendhunt_weapon_name_HX
	setvariable mendhunt_weapon_class_%slot %mendhunt_weapon_class_HX
	setvariable mendhunt_weapon_type_%slot %mendhunt_weapon_type_HX
	setvariable mendhunt_weapon_combo_%slot %mendhunt_weapon_combo_HX
	setvariable mendhunt_weapon_combo_1_%slot %mendhunt_weapon_combo_1_HX
	setvariable mendhunt_weapon_combo_2_%slot %mendhunt_weapon_combo_2_HX
	setvariable mendhunt_weapon_combo_3_%slot %mendhunt_weapon_combo_3_HX
	setvariable mendhunt_weapon_combo_4_%slot %mendhunt_weapon_combo_4_HX
	setvariable mendhunt_weapon_combo_5_%slot %mendhunt_weapon_combo_5_HX
	setvariable mendhunt_weapon_combo_6_%slot %mendhunt_weapon_combo_6_HX
	setvariable mendhunt_weapon_combo_7_%slot %mendhunt_weapon_combo_7_HX
	setvariable mendhunt_weapon_combo_8_%slot %mendhunt_weapon_combo_8_HX
	setvariable mendhunt_weapon_ammo_%slot %mendhunt_weapon_ammo_HX
	setvariable mendhunt_weapon_shield_use_%slot %mendhunt_weapon_shield_use_HX
	setvariable mendhunt_weapon_shield_name_%slot %mendhunt_weapon_shield_name_HX
	setvariable mendhunt_weapon_stance_focus_%slot %mendhunt_weapon_stance_focus_HX
	goto RETURN_%IAreturnflag
INITIALIZE_ARM_SS:
	setvariable mendhunt_weapon_name_%slot %mendhunt_weapon_name_SS
	setvariable mendhunt_weapon_class_%slot %mendhunt_weapon_class_SS
	setvariable mendhunt_weapon_type_%slot %mendhunt_weapon_type_SS
	setvariable mendhunt_weapon_combo_%slot %mendhunt_weapon_combo_SS
	setvariable mendhunt_weapon_combo_1_%slot %mendhunt_weapon_combo_1_SS
	setvariable mendhunt_weapon_combo_2_%slot %mendhunt_weapon_combo_2_SS
	setvariable mendhunt_weapon_combo_3_%slot %mendhunt_weapon_combo_3_SS
	setvariable mendhunt_weapon_combo_4_%slot %mendhunt_weapon_combo_4_SS
	setvariable mendhunt_weapon_combo_5_%slot %mendhunt_weapon_combo_5_SS
	setvariable mendhunt_weapon_combo_6_%slot %mendhunt_weapon_combo_6_SS
	setvariable mendhunt_weapon_combo_7_%slot %mendhunt_weapon_combo_7_SS
	setvariable mendhunt_weapon_combo_8_%slot %mendhunt_weapon_combo_8_SS
	setvariable mendhunt_weapon_ammo_%slot %mendhunt_weapon_ammo_SS
	setvariable mendhunt_weapon_shield_use_%slot %mendhunt_weapon_shield_use_SS
	setvariable mendhunt_weapon_shield_name_%slot %mendhunt_weapon_shield_name_SS
	setvariable mendhunt_weapon_stance_focus_%slot %mendhunt_weapon_stance_focus_SS
	goto RETURN_%IAreturnflag
INITIALIZE_ARM_QS:
	setvariable mendhunt_weapon_name_%slot %mendhunt_weapon_name_QS
	setvariable mendhunt_weapon_class_%slot %mendhunt_weapon_class_QS
	setvariable mendhunt_weapon_type_%slot %mendhunt_weapon_type_QS
	setvariable mendhunt_weapon_combo_%slot %mendhunt_weapon_combo_QS
	setvariable mendhunt_weapon_combo_1_%slot %mendhunt_weapon_combo_1_QS
	setvariable mendhunt_weapon_combo_2_%slot %mendhunt_weapon_combo_2_QS
	setvariable mendhunt_weapon_combo_3_%slot %mendhunt_weapon_combo_3_QS
	setvariable mendhunt_weapon_combo_4_%slot %mendhunt_weapon_combo_4_QS
	setvariable mendhunt_weapon_combo_5_%slot %mendhunt_weapon_combo_5_QS
	setvariable mendhunt_weapon_combo_6_%slot %mendhunt_weapon_combo_6_QS
	setvariable mendhunt_weapon_combo_7_%slot %mendhunt_weapon_combo_7_QS
	setvariable mendhunt_weapon_combo_8_%slot %mendhunt_weapon_combo_8_QS
	setvariable mendhunt_weapon_ammo_%slot %mendhunt_weapon_ammo_QS
	setvariable mendhunt_weapon_shield_use_%slot %mendhunt_weapon_shield_use_QS
	setvariable mendhunt_weapon_shield_name_%slot %mendhunt_weapon_shield_name_QS
	setvariable mendhunt_weapon_stance_focus_%slot %mendhunt_weapon_stance_focus_QS
	goto RETURN_%IAreturnflag
INITIALIZE_ARM_PI:
	setvariable mendhunt_weapon_name_%slot %mendhunt_weapon_name_PI
	setvariable mendhunt_weapon_class_%slot %mendhunt_weapon_class_PI
	setvariable mendhunt_weapon_type_%slot %mendhunt_weapon_type_PI
	setvariable mendhunt_weapon_combo_%slot %mendhunt_weapon_combo_PI
	setvariable mendhunt_weapon_combo_1_%slot %mendhunt_weapon_combo_1_PI
	setvariable mendhunt_weapon_combo_2_%slot %mendhunt_weapon_combo_2_PI
	setvariable mendhunt_weapon_combo_3_%slot %mendhunt_weapon_combo_3_PI
	setvariable mendhunt_weapon_combo_4_%slot %mendhunt_weapon_combo_4_PI
	setvariable mendhunt_weapon_combo_5_%slot %mendhunt_weapon_combo_5_PI
	setvariable mendhunt_weapon_combo_6_%slot %mendhunt_weapon_combo_6_PI
	setvariable mendhunt_weapon_combo_7_%slot %mendhunt_weapon_combo_7_PI
	setvariable mendhunt_weapon_combo_8_%slot %mendhunt_weapon_combo_8_PI
	setvariable mendhunt_weapon_ammo_%slot %mendhunt_weapon_ammo_PI
	setvariable mendhunt_weapon_shield_use_%slot %mendhunt_weapon_shield_use_PI
	setvariable mendhunt_weapon_shield_name_%slot %mendhunt_weapon_shield_name_PI
	setvariable mendhunt_weapon_stance_focus_%slot %mendhunt_weapon_stance_focus_PI
	goto RETURN_%IAreturnflag
INITIALIZE_ARM_HAL:
	setvariable mendhunt_weapon_name_%slot %mendhunt_weapon_name_HAL
	setvariable mendhunt_weapon_class_%slot %mendhunt_weapon_class_HAL
	setvariable mendhunt_weapon_type_%slot %mendhunt_weapon_type_HAL
	setvariable mendhunt_weapon_combo_%slot %mendhunt_weapon_combo_HAL
	setvariable mendhunt_weapon_combo_1_%slot %mendhunt_weapon_combo_1_HAL
	setvariable mendhunt_weapon_combo_2_%slot %mendhunt_weapon_combo_2_HAL
	setvariable mendhunt_weapon_combo_3_%slot %mendhunt_weapon_combo_3_HAL
	setvariable mendhunt_weapon_combo_4_%slot %mendhunt_weapon_combo_4_HAL
	setvariable mendhunt_weapon_combo_5_%slot %mendhunt_weapon_combo_5_HAL
	setvariable mendhunt_weapon_combo_6_%slot %mendhunt_weapon_combo_6_HAL
	setvariable mendhunt_weapon_combo_7_%slot %mendhunt_weapon_combo_7_HAL
	setvariable mendhunt_weapon_combo_8_%slot %mendhunt_weapon_combo_8_HAL
	setvariable mendhunt_weapon_ammo_%slot %mendhunt_weapon_ammo_HAL
	setvariable mendhunt_weapon_shield_use_%slot %mendhunt_weapon_shield_use_HAL
	setvariable mendhunt_weapon_shield_name_%slot %mendhunt_weapon_shield_name_HAL
	setvariable mendhunt_weapon_stance_focus_%slot %mendhunt_weapon_stance_focus_HAL
	goto RETURN_%IAreturnflag
INITIALIZE_ARM_LT:
	setvariable mendhunt_weapon_name_%slot %mendhunt_weapon_name_LT
	setvariable mendhunt_weapon_class_%slot %mendhunt_weapon_class_LT
	setvariable mendhunt_weapon_type_%slot %mendhunt_weapon_type_LT
	setvariable mendhunt_weapon_combo_%slot %mendhunt_weapon_combo_LT
	setvariable mendhunt_weapon_combo_1_%slot %mendhunt_weapon_combo_1_LT
	setvariable mendhunt_weapon_combo_2_%slot %mendhunt_weapon_combo_2_LT
	setvariable mendhunt_weapon_combo_3_%slot %mendhunt_weapon_combo_3_LT
	setvariable mendhunt_weapon_combo_4_%slot %mendhunt_weapon_combo_4_LT
	setvariable mendhunt_weapon_combo_5_%slot %mendhunt_weapon_combo_5_LT
	setvariable mendhunt_weapon_combo_6_%slot %mendhunt_weapon_combo_6_LT
	setvariable mendhunt_weapon_combo_7_%slot %mendhunt_weapon_combo_7_LT
	setvariable mendhunt_weapon_combo_8_%slot %mendhunt_weapon_combo_8_LT
	setvariable mendhunt_weapon_ammo_%slot %mendhunt_weapon_ammo_LT
	setvariable mendhunt_weapon_shield_use_%slot %mendhunt_weapon_shield_use_LT
	setvariable mendhunt_weapon_shield_name_%slot %mendhunt_weapon_shield_name_LT
	setvariable mendhunt_weapon_stance_focus_%slot %mendhunt_weapon_stance_focus_LT
	goto RETURN_%IAreturnflag
INITIALIZE_ARM_HT:
	setvariable mendhunt_weapon_name_%slot %mendhunt_weapon_name_HT
	setvariable mendhunt_weapon_class_%slot %mendhunt_weapon_class_HT
	setvariable mendhunt_weapon_type_%slot %mendhunt_weapon_type_HT
	setvariable mendhunt_weapon_combo_%slot %mendhunt_weapon_combo_HT
	setvariable mendhunt_weapon_combo_1_%slot %mendhunt_weapon_combo_1_HT
	setvariable mendhunt_weapon_combo_2_%slot %mendhunt_weapon_combo_2_HT
	setvariable mendhunt_weapon_combo_3_%slot %mendhunt_weapon_combo_3_HT
	setvariable mendhunt_weapon_combo_4_%slot %mendhunt_weapon_combo_4_HT
	setvariable mendhunt_weapon_combo_5_%slot %mendhunt_weapon_combo_5_HT
	setvariable mendhunt_weapon_combo_6_%slot %mendhunt_weapon_combo_6_HT
	setvariable mendhunt_weapon_combo_7_%slot %mendhunt_weapon_combo_7_HT
	setvariable mendhunt_weapon_combo_8_%slot %mendhunt_weapon_combo_8_HT
	setvariable mendhunt_weapon_ammo_%slot %mendhunt_weapon_ammo_HT
	setvariable mendhunt_weapon_shield_use_%slot %mendhunt_weapon_shield_use_HT
	setvariable mendhunt_weapon_shield_name_%slot %mendhunt_weapon_shield_name_HT
	setvariable mendhunt_weapon_stance_focus_%slot %mendhunt_weapon_stance_focus_HT
	goto RETURN_%IAreturnflag
INITIALIZE_ARM_BR:
	setvariable mendhunt_weapon_name_%slot %mendhunt_weapon_name_BR
	setvariable mendhunt_weapon_class_%slot %mendhunt_weapon_class_BR
	setvariable mendhunt_weapon_type_%slot %mendhunt_weapon_type_BR
	setvariable mendhunt_weapon_combo_%slot %mendhunt_weapon_combo_BR
	setvariable mendhunt_weapon_combo_1_%slot %mendhunt_weapon_combo_1_BR
	setvariable mendhunt_weapon_combo_2_%slot %mendhunt_weapon_combo_2_BR
	setvariable mendhunt_weapon_combo_3_%slot %mendhunt_weapon_combo_3_BR
	setvariable mendhunt_weapon_combo_4_%slot %mendhunt_weapon_combo_4_BR
	setvariable mendhunt_weapon_combo_5_%slot %mendhunt_weapon_combo_5_BR
	setvariable mendhunt_weapon_combo_6_%slot %mendhunt_weapon_combo_6_BR
	setvariable mendhunt_weapon_combo_7_%slot %mendhunt_weapon_combo_7_BR
	setvariable mendhunt_weapon_combo_8_%slot %mendhunt_weapon_combo_8_BR
	setvariable mendhunt_weapon_ammo_%slot %mendhunt_weapon_ammo_BR
	setvariable mendhunt_weapon_shield_use_%slot %mendhunt_weapon_shield_use_BR
	setvariable mendhunt_weapon_shield_name_%slot %mendhunt_weapon_shield_name_BR
	setvariable mendhunt_weapon_stance_focus_%slot %mendhunt_weapon_stance_focus_BR
	goto RETURN_%IAreturnflag
INITIALIZE_ARM_OW:
	setvariable mendhunt_weapon_name_%slot %mendhunt_weapon_name_OW
	setvariable mendhunt_weapon_name_right_%slot %mendhunt_weapon_name_right_OW
	setvariable mendhunt_weapon_name_left_%slot %mendhunt_weapon_name_left_OW
	setvariable mendhunt_weapon_class_%slot %mendhunt_weapon_class_OW
	setvariable mendhunt_weapon_class_right_%slot %mendhunt_weapon_class_right_OW
	setvariable mendhunt_weapon_class_left_%slot %mendhunt_weapon_class_left_OW
	setvariable mendhunt_weapon_type_%slot %mendhunt_weapon_type_OW
	setvariable mendhunt_weapon_type_right_%slot %mendhunt_weapon_type_right_OW
	setvariable mendhunt_weapon_type_left_%slot %mendhunt_weapon_type_left_OW
	setvariable mendhunt_weapon_combo_%slot %mendhunt_weapon_combo_OW
	setvariable mendhunt_weapon_combo_1_%slot %mendhunt_weapon_combo_1_OW
	setvariable mendhunt_weapon_combo_2_%slot %mendhunt_weapon_combo_2_OW
	setvariable mendhunt_weapon_combo_3_%slot %mendhunt_weapon_combo_3_OW
	setvariable mendhunt_weapon_combo_4_%slot %mendhunt_weapon_combo_4_OW
	setvariable mendhunt_weapon_combo_5_%slot %mendhunt_weapon_combo_5_OW
	setvariable mendhunt_weapon_combo_6_%slot %mendhunt_weapon_combo_6_OW
	setvariable mendhunt_weapon_combo_7_%slot %mendhunt_weapon_combo_7_OW
	setvariable mendhunt_weapon_combo_8_%slot %mendhunt_weapon_combo_8_OW
	setvariable mendhunt_weapon_ammo_%slot %mendhunt_weapon_ammo_OW
	setvariable mendhunt_weapon_shield_use_%slot %mendhunt_weapon_shield_use_OW
	setvariable mendhunt_weapon_shield_name_%slot %mendhunt_weapon_shield_name_OW
	setvariable mendhunt_weapon_stance_focus_%slot %mendhunt_weapon_stance_focus_OW
	goto RETURN_%IAreturnflag
INITIALIZE_ARM_SLOTOFF:
	setvariable mendhunt_weapon_name_%slot SlotOFF
	setvariable mendhunt_weapon_class_%slot SlotOFF
	setvariable mendhunt_weapon_type_%slot SlotOFF
	setvariable mendhunt_weapon_combo_%slot SlotOFF
	setvariable mendhunt_weapon_combo_1_%slot SlotOFF
	setvariable mendhunt_weapon_combo_2_%slot SlotOFF
	setvariable mendhunt_weapon_combo_3_%slot SlotOFF
	setvariable mendhunt_weapon_combo_4_%slot SlotOFF
	setvariable mendhunt_weapon_combo_5_%slot SlotOFF
	setvariable mendhunt_weapon_combo_6_%slot SlotOFF
	setvariable mendhunt_weapon_combo_7_%slot SlotOFF
	setvariable mendhunt_weapon_combo_8_%slot SlotOFF
	setvariable mendhunt_weapon_ammo_%slot SlotOFF
	setvariable mendhunt_weapon_shield_use_%slot SlotOFF
	setvariable mendhunt_weapon_shield_name_%slot SlotOFF
	setvariable mendhunt_weapon_stance_focus_%slot SlotOFF
	goto RETURN_%IAreturnflag

#INITIALIZE_ARM_NOWEAP: mendhunt_weapon_name_noweap %mendhunt_weapon_name_noweap etc, not necessary

INITIALIZE_ARMAMENT_END:
	setvariable mendhunt_need_initialize_flag no
	goto SUBRETURN_%subreturnflag


#############################################################################
###########################    INITIALIZE WEAP DETAIL SECTION    ############
#############################################################################
# Re-declares embedded variables at sub-slot level (details)
#
# variables needed:
#    %IWDsubreturnflag
#    %mendhunt_weapon_shield_use_<class>
#    %mendhunt_weapon_combo_<class>
#    %mendhunt_weapon_class_right_OW {for ammo}

INITIALIZE_WEAPON_DETAIL:
INITIALIZE_WEAPONS_DETAIL:

INITIALIZE_WEAPON_DETAIL_START:


#____________________________________________________________________initialize weapons call

echo
echo *** Initializing weapon details START
echo
echo *** Initializing weapon details [|_____________________]

INITIALIZE_WEAPON_DETAIL_LE:
		setvariable IWD LE
		goto INITIALIZE_WEAPON_SHIELD_%mendhunt_weapon_shield_use_LE
	IWD_SHIELD_RETURN_LE:
		goto INITIALIZE_WEAPON_COMBO_%mendhunt_weapon_combo_LE
	IWD_COMBO_RETURN_LE:

echo *** Initializing weapon details [||____________________]

INITIALIZE_WEAPON_DETAIL_ME:
		setvariable IWD ME
		goto INITIALIZE_WEAPON_SHIELD_%mendhunt_weapon_shield_use_ME
	IWD_SHIELD_RETURN_ME:
		goto INITIALIZE_WEAPON_COMBO_%mendhunt_weapon_combo_ME
	IWD_COMBO_RETURN_ME:

echo *** Initializing weapon details [|||___________________]

INITIALIZE_WEAPON_DETAIL_HE:
		setvariable IWD HE
		goto INITIALIZE_WEAPON_SHIELD_%mendhunt_weapon_shield_use_HE
	IWD_SHIELD_RETURN_HE:
		goto INITIALIZE_WEAPON_COMBO_%mendhunt_weapon_combo_HE
	IWD_COMBO_RETURN_HE:

echo *** Initializing weapon details [||||__________________]

INITIALIZE_WEAPON_DETAIL_2HE:
		setvariable IWD 2HE
		goto INITIALIZE_WEAPON_SHIELD_%mendhunt_weapon_shield_use_2HE
	IWD_SHIELD_RETURN_2HE:
		goto INITIALIZE_WEAPON_COMBO_%mendhunt_weapon_combo_2HE
	IWD_COMBO_RETURN_2HE:

echo *** Initializing weapon details [|||||_________________]

INITIALIZE_WEAPON_DETAIL_LB:
		setvariable IWD LB
		goto INITIALIZE_WEAPON_SHIELD_%mendhunt_weapon_shield_use_LB
	IWD_SHIELD_RETURN_LB:
		goto INITIALIZE_WEAPON_COMBO_%mendhunt_weapon_combo_LB
	IWD_COMBO_RETURN_LB:

echo *** Initializing weapon details [||||||________________]

INITIALIZE_WEAPON_DETAIL_MB:
		setvariable IWD MB
		goto INITIALIZE_WEAPON_SHIELD_%mendhunt_weapon_shield_use_MB
	IWD_SHIELD_RETURN_MB:
		goto INITIALIZE_WEAPON_COMBO_%mendhunt_weapon_combo_MB
	IWD_COMBO_RETURN_MB:

echo *** Initializing weapon details [|||||||_______________]

INITIALIZE_WEAPON_DETAIL_HB:
		setvariable IWD HB
		goto INITIALIZE_WEAPON_SHIELD_%mendhunt_weapon_shield_use_HB
	IWD_SHIELD_RETURN_HB:
		goto INITIALIZE_WEAPON_COMBO_%mendhunt_weapon_combo_HB
	IWD_COMBO_RETURN_HB:

echo *** Initializing weapon details [||||||||______________]

INITIALIZE_WEAPON_DETAIL_2HB:
		setvariable IWD 2HB
		goto INITIALIZE_WEAPON_SHIELD_%mendhunt_weapon_shield_use_2HB
	IWD_SHIELD_RETURN_2HB:
		goto INITIALIZE_WEAPON_COMBO_%mendhunt_weapon_combo_2HB
	IWD_COMBO_RETURN_2HB:

echo *** Initializing weapon details [|||||||||_____________]

INITIALIZE_WEAPON_DETAIL_SL:
		setvariable IWD SL
		goto INITIALIZE_WEAPON_SHIELD_%mendhunt_weapon_shield_use_SL
	IWD_SHIELD_RETURN_SL:
#		goto INITIALIZE_WEAPON_COMBO_%mendhunt_weapon_combo_SL
#	IWD_COMBO_RETURN_SL:

echo *** Initializing weapon details [||||||||||____________]

INITIALIZE_WEAPON_DETAIL_STAFFSLING:
		setvariable IWD STAFFSLING
		goto INITIALIZE_WEAPON_SHIELD_%mendhunt_weapon_shield_use_STAFFSLING
	IWD_SHIELD_RETURN_STAFFSLING:
#		goto INITIALIZE_WEAPON_COMBO_%mendhunt_weapon_combo_STAFFSLING
#	IWD_COMBO_RETURN_STAFFSLING:

echo *** Initializing weapon details [|||||||||||___________]

INITIALIZE_WEAPON_DETAIL_SB:
		setvariable IWD SB
		goto INITIALIZE_WEAPON_SHIELD_%mendhunt_weapon_shield_use_SB
	IWD_SHIELD_RETURN_SB:
#		goto INITIALIZE_WEAPON_COMBO_%mendhunt_weapon_combo_SB
#	IWD_COMBO_RETURN_SB:

echo *** Initializing weapon details [||||||||||||__________]

INITIALIZE_WEAPON_DETAIL_LOB:
		setvariable IWD LOB
		goto INITIALIZE_WEAPON_SHIELD_%mendhunt_weapon_shield_use_LOB
	IWD_SHIELD_RETURN_LOB:
#		goto INITIALIZE_WEAPON_COMBO_%mendhunt_weapon_combo_LOB
#	IWD_COMBO_RETURN_LOB:

echo *** Initializing weapon details [|||||||||||||_________]

INITIALIZE_WEAPON_DETAIL_CB:
		setvariable IWD CB
		goto INITIALIZE_WEAPON_SHIELD_%mendhunt_weapon_shield_use_CB
	IWD_SHIELD_RETURN_CB:
#		goto INITIALIZE_WEAPON_COMBO_%mendhunt_weapon_combo_CB
#	IWD_COMBO_RETURN_CB:

echo *** Initializing weapon details [||||||||||||||________]

INITIALIZE_WEAPON_DETAIL_LX:
		setvariable IWD LX
		goto INITIALIZE_WEAPON_SHIELD_%mendhunt_weapon_shield_use_LX
	IWD_SHIELD_RETURN_LX:
#		goto INITIALIZE_WEAPON_COMBO_%mendhunt_weapon_combo_LX
#	IWD_COMBO_RETURN_LX:

echo *** Initializing weapon details [|||||||||||||||_______]

INITIALIZE_WEAPON_DETAIL_HX:
		setvariable IWD HX
		goto INITIALIZE_WEAPON_SHIELD_%mendhunt_weapon_shield_use_HX
	IWD_SHIELD_RETURN_HX:
#		goto INITIALIZE_WEAPON_COMBO_%mendhunt_weapon_combo_HX
#	IWD_COMBO_RETURN_HX:

echo *** Initializing weapon details [||||||||||||||||______]

INITIALIZE_WEAPON_DETAIL_SS:
		setvariable IWD SS
		goto INITIALIZE_WEAPON_SHIELD_%mendhunt_weapon_shield_use_SS
	IWD_SHIELD_RETURN_SS:
		goto INITIALIZE_WEAPON_COMBO_%mendhunt_weapon_combo_SS
	IWD_COMBO_RETURN_SS:

echo *** Initializing weapon details [|||||||||||||||||_____]

INITIALIZE_WEAPON_DETAIL_QS:
		setvariable IWD QS
		goto INITIALIZE_WEAPON_SHIELD_%mendhunt_weapon_shield_use_QS
	IWD_SHIELD_RETURN_QS:
		goto INITIALIZE_WEAPON_COMBO_%mendhunt_weapon_combo_QS
	IWD_COMBO_RETURN_QS:

echo *** Initializing weapon details [||||||||||||||||||____]

INITIALIZE_WEAPON_DETAIL_PI:
		setvariable IWD PI
		goto INITIALIZE_WEAPON_SHIELD_%mendhunt_weapon_shield_use_PI
	IWD_SHIELD_RETURN_PI:
		goto INITIALIZE_WEAPON_COMBO_%mendhunt_weapon_combo_PI
	IWD_COMBO_RETURN_PI:

echo *** Initializing weapon details [|||||||||||||||||||___]

INITIALIZE_WEAPON_DETAIL_HAL:
		setvariable IWD HAL
		goto INITIALIZE_WEAPON_SHIELD_%mendhunt_weapon_shield_use_HAL
	IWD_SHIELD_RETURN_HAL:
		goto INITIALIZE_WEAPON_COMBO_%mendhunt_weapon_combo_HAL
	IWD_COMBO_RETURN_HAL:

echo *** Initializing weapon details [||||||||||||||||||||__]

INITIALIZE_WEAPON_DETAIL_LT:
		setvariable IWD LT
		goto INITIALIZE_WEAPON_SHIELD_%mendhunt_weapon_shield_use_LT
	IWD_SHIELD_RETURN_LT:
#		goto INITIALIZE_WEAPON_COMBO_%mendhunt_weapon_combo_LT
#	IWD_COMBO_RETURN_LT:

echo *** Initializing weapon details [|||||||||||||||||||||_]

INITIALIZE_WEAPON_DETAIL_HT:
		setvariable IWD HT
		goto INITIALIZE_WEAPON_SHIELD_%mendhunt_weapon_shield_use_HT
	IWD_SHIELD_RETURN_HT:
#		goto INITIALIZE_WEAPON_COMBO_%mendhunt_weapon_combo_HT
#	IWD_COMBO_RETURN_HT:

INITIALIZE_WEAPON_DETAIL_BR:
		setvariable IWD BR
		goto INITIALIZE_WEAPON_SHIELD_%mendhunt_weapon_shield_use_BR
	IWD_SHIELD_RETURN_BR:
#BR combo is set directly in BR menu, not from combo menu

INITIALIZE_WEAPON_DETAIL_OW:
		setvariable IWD OW
		goto INITIALIZE_WEAPON_SHIELD_%mendhunt_weapon_shield_use_OW
	IWD_SHIELD_RETURN_OW:
#OW combo is set directly in OW menu, not from combo menu

INITIALIZE_WEAPON_DETAIL_NOWEAP:
		setvariable IWD noweap
		goto INITIALIZE_WEAPON_SHIELD_%mendhunt_weapon_shield_use_noweap
	IWD_SHIELD_RETURN_NOWEAP:

INITIALIZE_WEAPON_DETAIL_OW_AMMO:
		goto INITIALIZE_WEAPON_DETAIL_OW_AMMO_%mendhunt_weapon_class_right_OW

	INITIALIZE_WEAPON_DETAIL_OW_AMMO_LE:
		goto INITIALIZE_WEAPON_DETAIL_OW_AMMO_DONE
	INITIALIZE_WEAPON_DETAIL_OW_AMMO_ME:
		goto INITIALIZE_WEAPON_DETAIL_OW_AMMO_DONE
	INITIALIZE_WEAPON_DETAIL_OW_AMMO_HE:
		goto INITIALIZE_WEAPON_DETAIL_OW_AMMO_DONE
	INITIALIZE_WEAPON_DETAIL_OW_AMMO_2HE:
		goto INITIALIZE_WEAPON_DETAIL_OW_AMMO_DONE
	INITIALIZE_WEAPON_DETAIL_OW_AMMO_LB:
		goto INITIALIZE_WEAPON_DETAIL_OW_AMMO_DONE
	INITIALIZE_WEAPON_DETAIL_OW_AMMO_MB:
		goto INITIALIZE_WEAPON_DETAIL_OW_AMMO_DONE
	INITIALIZE_WEAPON_DETAIL_OW_AMMO_HB:
		goto INITIALIZE_WEAPON_DETAIL_OW_AMMO_DONE
	INITIALIZE_WEAPON_DETAIL_OW_AMMO_2HB:
		goto INITIALIZE_WEAPON_DETAIL_OW_AMMO_DONE
	INITIALIZE_WEAPON_DETAIL_OW_AMMO_SL:
		setvariable mendhunt_weapon_ammo_OW %mendhunt_weapon_ammo_SL
		goto INITIALIZE_WEAPON_DETAIL_OW_AMMO_DONE
	INITIALIZE_WEAPON_DETAIL_OW_AMMO_STAFFSLING:
		setvariable mendhunt_weapon_ammo_OW %mendhunt_weapon_ammo_STAFFSLING
		goto INITIALIZE_WEAPON_DETAIL_OW_AMMO_DONE
	INITIALIZE_WEAPON_DETAIL_OW_AMMO_SB:
		setvariable mendhunt_weapon_ammo_OW %mendhunt_weapon_ammo_SB
		goto INITIALIZE_WEAPON_DETAIL_OW_AMMO_DONE
	INITIALIZE_WEAPON_DETAIL_OW_AMMO_LOB:
		setvariable mendhunt_weapon_ammo_OW %mendhunt_weapon_ammo_LOB
		goto INITIALIZE_WEAPON_DETAIL_OW_AMMO_DONE
	INITIALIZE_WEAPON_DETAIL_OW_AMMO_CB:
		setvariable mendhunt_weapon_ammo_OW %mendhunt_weapon_ammo_CB
		goto INITIALIZE_WEAPON_DETAIL_OW_AMMO_DONE
	INITIALIZE_WEAPON_DETAIL_OW_AMMO_LX:
		setvariable mendhunt_weapon_ammo_OW %mendhunt_weapon_ammo_LX
		goto INITIALIZE_WEAPON_DETAIL_OW_AMMO_DONE
	INITIALIZE_WEAPON_DETAIL_OW_AMMO_HX:
		setvariable mendhunt_weapon_ammo_OW %mendhunt_weapon_ammo_HX
		goto INITIALIZE_WEAPON_DETAIL_OW_AMMO_DONE
	INITIALIZE_WEAPON_DETAIL_OW_AMMO_SS:
		goto INITIALIZE_WEAPON_DETAIL_OW_AMMO_DONE
	INITIALIZE_WEAPON_DETAIL_OW_AMMO_QS:
		goto INITIALIZE_WEAPON_DETAIL_OW_AMMO_DONE
	INITIALIZE_WEAPON_DETAIL_OW_AMMO_PI:
		goto INITIALIZE_WEAPON_DETAIL_OW_AMMO_DONE
	INITIALIZE_WEAPON_DETAIL_OW_AMMO_HAL:
		goto INITIALIZE_WEAPON_DETAIL_OW_AMMO_DONE
	INITIALIZE_WEAPON_DETAIL_OW_AMMO_LT:
		goto INITIALIZE_WEAPON_DETAIL_OW_AMMO_DONE
	INITIALIZE_WEAPON_DETAIL_OW_AMMO_HT:
		goto INITIALIZE_WEAPON_DETAIL_OW_AMMO_DONE
	INITIALIZE_WEAPON_DETAIL_OW_AMMO_BR:
		goto INITIALIZE_WEAPON_DETAIL_OW_AMMO_DONE
	INITIALIZE_WEAPON_DETAIL_OW_AMMO_OW:
		goto INITIALIZE_WEAPON_DETAIL_OW_AMMO_DONE
	INITIALIZE_WEAPON_DETAIL_OW_AMMO_noweap:
		goto INITIALIZE_WEAPON_DETAIL_OW_AMMO_DONE

INITIALIZE_WEAPON_DETAIL_OW_AMMO_DONE:


echo *** Initializing weapon details [||||||||||||||||||||||]
echo
echo *** Initializing weapon details COMPLETED
echo
	goto INITIALIZE_WEAPON_DETAIL_END

#____________________________________________________________________initialize weapons/shield

INITIALIZE_WEAPON_SHIELD_OFF:
	setvariable mendhunt_weapon_shield_name_%IWD OFF
	goto IWD_SHIELD_RETURN_%IWD

INITIALIZE_WEAPON_SHIELD_ARMWORN:
	setvariable mendhunt_weapon_shield_name_%IWD %mendhunt_shield_name_armworn
	goto IWD_SHIELD_RETURN_%IWD

INITIALIZE_WEAPON_SHIELD_HANDHELD:
	setvariable mendhunt_weapon_shield_name_%IWD %mendhunt_shield_name_handheld
	goto IWD_SHIELD_RETURN_%IWD

#____________________________________________________________________initialize weapons/combo
INITIALIZE_WEAPON_COMBO_LE_slice:
	setvariable mendhunt_weapon_combo_1_%IWD %mendhunt_LEslice1
	setvariable mendhunt_weapon_combo_2_%IWD %mendhunt_LEslice2
	setvariable mendhunt_weapon_combo_3_%IWD %mendhunt_LEslice3
	setvariable mendhunt_weapon_combo_4_%IWD %mendhunt_LEslice4
	setvariable mendhunt_weapon_combo_5_%IWD %mendhunt_LEslice5
	setvariable mendhunt_weapon_combo_6_%IWD %mendhunt_LEslice6
	setvariable mendhunt_weapon_combo_7_%IWD %mendhunt_LEslice7
	setvariable mendhunt_weapon_combo_8_%IWD %mendhunt_LEslice8
	goto IWD_COMBO_RETURN_%IWD
INITIALIZE_WEAPON_COMBO_LE_thrust:
	setvariable mendhunt_weapon_combo_1_%IWD %mendhunt_LEthrust1
	setvariable mendhunt_weapon_combo_2_%IWD %mendhunt_LEthrust2
	setvariable mendhunt_weapon_combo_3_%IWD %mendhunt_LEthrust3
	setvariable mendhunt_weapon_combo_4_%IWD %mendhunt_LEthrust4
	setvariable mendhunt_weapon_combo_5_%IWD %mendhunt_LEthrust5
	setvariable mendhunt_weapon_combo_6_%IWD %mendhunt_LEthrust6
	setvariable mendhunt_weapon_combo_7_%IWD %mendhunt_LEthrust7
	setvariable mendhunt_weapon_combo_8_%IWD %mendhunt_LEthrust8
	goto IWD_COMBO_RETURN_%IWD
INITIALIZE_WEAPON_COMBO_ME_slice:
	setvariable mendhunt_weapon_combo_1_%IWD %mendhunt_MEslice1
	setvariable mendhunt_weapon_combo_2_%IWD %mendhunt_MEslice2
	setvariable mendhunt_weapon_combo_3_%IWD %mendhunt_MEslice3
	setvariable mendhunt_weapon_combo_4_%IWD %mendhunt_MEslice4
	setvariable mendhunt_weapon_combo_5_%IWD %mendhunt_MEslice5
	setvariable mendhunt_weapon_combo_6_%IWD %mendhunt_MEslice6
	setvariable mendhunt_weapon_combo_7_%IWD %mendhunt_MEslice7
	setvariable mendhunt_weapon_combo_8_%IWD %mendhunt_MEslice8
	goto IWD_COMBO_RETURN_%IWD
INITIALIZE_WEAPON_COMBO_ME_thrust:
	setvariable mendhunt_weapon_combo_1_%IWD %mendhunt_MEthrust1
	setvariable mendhunt_weapon_combo_2_%IWD %mendhunt_MEthrust2
	setvariable mendhunt_weapon_combo_3_%IWD %mendhunt_MEthrust3
	setvariable mendhunt_weapon_combo_4_%IWD %mendhunt_MEthrust4
	setvariable mendhunt_weapon_combo_5_%IWD %mendhunt_MEthrust5
	setvariable mendhunt_weapon_combo_6_%IWD %mendhunt_MEthrust6
	setvariable mendhunt_weapon_combo_7_%IWD %mendhunt_MEthrust7
	setvariable mendhunt_weapon_combo_8_%IWD %mendhunt_MEthrust8
	goto IWD_COMBO_RETURN_%IWD
INITIALIZE_WEAPON_COMBO_HE_slice:
	setvariable mendhunt_weapon_combo_1_%IWD %mendhunt_HEslice1
	setvariable mendhunt_weapon_combo_2_%IWD %mendhunt_HEslice2
	setvariable mendhunt_weapon_combo_3_%IWD %mendhunt_HEslice3
	setvariable mendhunt_weapon_combo_4_%IWD %mendhunt_HEslice4
	setvariable mendhunt_weapon_combo_5_%IWD %mendhunt_HEslice5
	setvariable mendhunt_weapon_combo_6_%IWD %mendhunt_HEslice6
	setvariable mendhunt_weapon_combo_7_%IWD %mendhunt_HEslice7
	setvariable mendhunt_weapon_combo_8_%IWD %mendhunt_HEslice8
	goto IWD_COMBO_RETURN_%IWD
INITIALIZE_WEAPON_COMBO_HE_thrust:
	setvariable mendhunt_weapon_combo_1_%IWD %mendhunt_HEthrust1
	setvariable mendhunt_weapon_combo_2_%IWD %mendhunt_HEthrust2
	setvariable mendhunt_weapon_combo_3_%IWD %mendhunt_HEthrust3
	setvariable mendhunt_weapon_combo_4_%IWD %mendhunt_HEthrust4
	setvariable mendhunt_weapon_combo_5_%IWD %mendhunt_HEthrust5
	setvariable mendhunt_weapon_combo_6_%IWD %mendhunt_HEthrust6
	setvariable mendhunt_weapon_combo_7_%IWD %mendhunt_HEthrust7
	setvariable mendhunt_weapon_combo_8_%IWD %mendhunt_HEthrust8
	goto IWD_COMBO_RETURN_%IWD
INITIALIZE_WEAPON_COMBO_2HE:
	setvariable mendhunt_weapon_combo_1_%IWD %mendhunt_2HE1
	setvariable mendhunt_weapon_combo_2_%IWD %mendhunt_2HE2
	setvariable mendhunt_weapon_combo_3_%IWD %mendhunt_2HE3
	setvariable mendhunt_weapon_combo_4_%IWD %mendhunt_2HE4
	setvariable mendhunt_weapon_combo_5_%IWD %mendhunt_2HE5
	setvariable mendhunt_weapon_combo_6_%IWD %mendhunt_2HE6
	setvariable mendhunt_weapon_combo_7_%IWD %mendhunt_2HE7
	setvariable mendhunt_weapon_combo_8_%IWD %mendhunt_2HE8
	goto IWD_COMBO_RETURN_%IWD
INITIALIZE_WEAPON_COMBO_LB:
	setvariable mendhunt_weapon_combo_1_%IWD %mendhunt_LB1
	setvariable mendhunt_weapon_combo_2_%IWD %mendhunt_LB2
	setvariable mendhunt_weapon_combo_3_%IWD %mendhunt_LB3
	setvariable mendhunt_weapon_combo_4_%IWD %mendhunt_LB4
	setvariable mendhunt_weapon_combo_5_%IWD %mendhunt_LB5
	setvariable mendhunt_weapon_combo_6_%IWD %mendhunt_LB6
	setvariable mendhunt_weapon_combo_7_%IWD %mendhunt_LB7
	setvariable mendhunt_weapon_combo_8_%IWD %mendhunt_LB8
	goto IWD_COMBO_RETURN_%IWD
INITIALIZE_WEAPON_COMBO_MB:
	setvariable mendhunt_weapon_combo_1_%IWD %mendhunt_MB1
	setvariable mendhunt_weapon_combo_2_%IWD %mendhunt_MB2
	setvariable mendhunt_weapon_combo_3_%IWD %mendhunt_MB3
	setvariable mendhunt_weapon_combo_4_%IWD %mendhunt_MB4
	setvariable mendhunt_weapon_combo_5_%IWD %mendhunt_MB5
	setvariable mendhunt_weapon_combo_6_%IWD %mendhunt_MB6
	setvariable mendhunt_weapon_combo_7_%IWD %mendhunt_MB7
	setvariable mendhunt_weapon_combo_8_%IWD %mendhunt_MB8
	goto IWD_COMBO_RETURN_%IWD
INITIALIZE_WEAPON_COMBO_HB:
	setvariable mendhunt_weapon_combo_1_%IWD %mendhunt_HB1
	setvariable mendhunt_weapon_combo_2_%IWD %mendhunt_HB2
	setvariable mendhunt_weapon_combo_3_%IWD %mendhunt_HB3
	setvariable mendhunt_weapon_combo_4_%IWD %mendhunt_HB4
	setvariable mendhunt_weapon_combo_5_%IWD %mendhunt_HB5
	setvariable mendhunt_weapon_combo_6_%IWD %mendhunt_HB6
	setvariable mendhunt_weapon_combo_7_%IWD %mendhunt_HB7
	setvariable mendhunt_weapon_combo_8_%IWD %mendhunt_HB8
	goto IWD_COMBO_RETURN_%IWD
INITIALIZE_WEAPON_COMBO_2HB:
	setvariable mendhunt_weapon_combo_1_%IWD %mendhunt_2HB1
	setvariable mendhunt_weapon_combo_2_%IWD %mendhunt_2HB2
	setvariable mendhunt_weapon_combo_3_%IWD %mendhunt_2HB3
	setvariable mendhunt_weapon_combo_4_%IWD %mendhunt_2HB4
	setvariable mendhunt_weapon_combo_5_%IWD %mendhunt_2HB5
	setvariable mendhunt_weapon_combo_6_%IWD %mendhunt_2HB6
	setvariable mendhunt_weapon_combo_7_%IWD %mendhunt_2HB7
	setvariable mendhunt_weapon_combo_8_%IWD %mendhunt_2HB8
	goto IWD_COMBO_RETURN_%IWD
INITIALIZE_WEAPON_COMBO_SS:
	setvariable mendhunt_weapon_combo_1_%IWD %mendhunt_SS1
	setvariable mendhunt_weapon_combo_2_%IWD %mendhunt_SS2
	setvariable mendhunt_weapon_combo_3_%IWD %mendhunt_SS3
	setvariable mendhunt_weapon_combo_4_%IWD %mendhunt_SS4
	setvariable mendhunt_weapon_combo_5_%IWD %mendhunt_SS5
	setvariable mendhunt_weapon_combo_6_%IWD %mendhunt_SS6
	setvariable mendhunt_weapon_combo_7_%IWD %mendhunt_SS7
	setvariable mendhunt_weapon_combo_8_%IWD %mendhunt_SS8
	goto IWD_COMBO_RETURN_%IWD
INITIALIZE_WEAPON_COMBO_QS:
	setvariable mendhunt_weapon_combo_1_%IWD %mendhunt_QS1
	setvariable mendhunt_weapon_combo_2_%IWD %mendhunt_QS2
	setvariable mendhunt_weapon_combo_3_%IWD %mendhunt_QS3
	setvariable mendhunt_weapon_combo_4_%IWD %mendhunt_QS4
	setvariable mendhunt_weapon_combo_5_%IWD %mendhunt_QS5
	setvariable mendhunt_weapon_combo_6_%IWD %mendhunt_QS6
	setvariable mendhunt_weapon_combo_7_%IWD %mendhunt_QS7
	setvariable mendhunt_weapon_combo_8_%IWD %mendhunt_QS8
	goto IWD_COMBO_RETURN_%IWD
INITIALIZE_WEAPON_COMBO_PI:
	setvariable mendhunt_weapon_combo_1_%IWD %mendhunt_PI1
	setvariable mendhunt_weapon_combo_2_%IWD %mendhunt_PI2
	setvariable mendhunt_weapon_combo_3_%IWD %mendhunt_PI3
	setvariable mendhunt_weapon_combo_4_%IWD %mendhunt_PI4
	setvariable mendhunt_weapon_combo_5_%IWD %mendhunt_PI5
	setvariable mendhunt_weapon_combo_6_%IWD %mendhunt_PI6
	setvariable mendhunt_weapon_combo_7_%IWD %mendhunt_PI7
	setvariable mendhunt_weapon_combo_8_%IWD %mendhunt_PI8
	goto IWD_COMBO_RETURN_%IWD
INITIALIZE_WEAPON_COMBO_HAL:
	setvariable mendhunt_weapon_combo_1_%IWD %mendhunt_HAL1
	setvariable mendhunt_weapon_combo_2_%IWD %mendhunt_HAL2
	setvariable mendhunt_weapon_combo_3_%IWD %mendhunt_HAL3
	setvariable mendhunt_weapon_combo_4_%IWD %mendhunt_HAL4
	setvariable mendhunt_weapon_combo_5_%IWD %mendhunt_HAL5
	setvariable mendhunt_weapon_combo_6_%IWD %mendhunt_HAL6
	setvariable mendhunt_weapon_combo_7_%IWD %mendhunt_HAL7
	setvariable mendhunt_weapon_combo_8_%IWD %mendhunt_HAL8
	goto IWD_COMBO_RETURN_%IWD
INITIALIZE_WEAPON_COMBO_ATTACK:
	setvariable mendhunt_weapon_combo_1_%IWD attack
	setvariable mendhunt_weapon_combo_2_%IWD attack
	setvariable mendhunt_weapon_combo_3_%IWD attack
	setvariable mendhunt_weapon_combo_4_%IWD attack
	setvariable mendhunt_weapon_combo_5_%IWD attack
	setvariable mendhunt_weapon_combo_6_%IWD attack
	setvariable mendhunt_weapon_combo_7_%IWD attack
	setvariable mendhunt_weapon_combo_8_%IWD attack
	goto IWD_COMBO_RETURN_%IWD
INITIALIZE_WEAPON_COMBO_MYCOMBO1:
	setvariable mendhunt_weapon_combo_1_%IWD %mendhunt_my11
	setvariable mendhunt_weapon_combo_2_%IWD %mendhunt_my12
	setvariable mendhunt_weapon_combo_3_%IWD %mendhunt_my13
	setvariable mendhunt_weapon_combo_4_%IWD %mendhunt_my14
	setvariable mendhunt_weapon_combo_5_%IWD %mendhunt_my15
	setvariable mendhunt_weapon_combo_6_%IWD %mendhunt_my16
	setvariable mendhunt_weapon_combo_7_%IWD %mendhunt_my17
	setvariable mendhunt_weapon_combo_8_%IWD %mendhunt_my18
	goto IWD_COMBO_RETURN_%IWD
INITIALIZE_WEAPON_COMBO_MYCOMBO2:
	setvariable mendhunt_weapon_combo_1_%IWD %mendhunt_my11
	setvariable mendhunt_weapon_combo_2_%IWD %mendhunt_my12
	setvariable mendhunt_weapon_combo_3_%IWD %mendhunt_my13
	setvariable mendhunt_weapon_combo_4_%IWD %mendhunt_my14
	setvariable mendhunt_weapon_combo_5_%IWD %mendhunt_my15
	setvariable mendhunt_weapon_combo_6_%IWD %mendhunt_my16
	setvariable mendhunt_weapon_combo_7_%IWD %mendhunt_my17
	setvariable mendhunt_weapon_combo_8_%IWD %mendhunt_my18
	goto IWD_COMBO_RETURN_%IWD

INITIALIZE_WEAPON_DETAIL_END:
	goto SUBRETURN_%IWDsubreturnflag


#############################################################################
###########################    INITIALIZE ACTIVE WEAPON SECTION    ##########
#############################################################################
# variables needed
# 	subreturnflag
# 	switchnum

INITIALIZE_WEAPON_ACTIVE:

INITIALIZE_WEAPON_ACTIVE_STYLE_TEST:
		goto INITIALIZE_WEAPON_ACTIVE_STYLE_TEST_%mendhunt_weapon_style_master
	INITIALIZE_WEAPON_ACTIVE_STYLE_TEST_MAIN:
		goto INITIALIZE_WEAPON_ACTIVE_MAIN
	INITIALIZE_WEAPON_ACTIVE_STYLE_TEST_MULTI:
		goto INITIALIZE_WEAPON_ACTIVE_SLOT_TEST
	INITIALIZE_WEAPON_ACTIVE_STYLE_TEST_NOWEAP:
		goto INITIALIZE_WEAPON_ACTIVE_NOWEAP

INITIALIZE_WEAPON_ACTIVE_SLOT_TEST:
		goto INITIALIZE_WEAPON_ACTIVE_SLOT_TEST_%switchnum
	INITIALIZE_WEAPON_ACTIVE_SLOT_TEST_1:
		goto INITIALIZE_WEAPON_ACTIVE_1
	INITIALIZE_WEAPON_ACTIVE_SLOT_TEST_2:
		goto INITIALIZE_WEAPON_ACTIVE_2
	INITIALIZE_WEAPON_ACTIVE_SLOT_TEST_3:
		goto INITIALIZE_WEAPON_ACTIVE_3
	INITIALIZE_WEAPON_ACTIVE_SLOT_TEST_4:
		goto INITIALIZE_WEAPON_ACTIVE_4
	INITIALIZE_WEAPON_ACTIVE_SLOT_TEST_5:
		goto INITIALIZE_WEAPON_ACTIVE_5
	INITIALIZE_WEAPON_ACTIVE_SLOT_TEST_6:
		goto INITIALIZE_WEAPON_ACTIVE_6

INITIALIZE_WEAPON_ACTIVE_NOWEAP:
	setvariable weapon_name_active %mendhunt_weapon_name_noweap
	setvariable weapon_class_active %mendhunt_weapon_class_noweap
	setvariable weapon_type_active %mendhunt_weapon_type_noweap
	setvariable weapon_combo_active %mendhunt_weapon_combo_noweap
	setvariable weapon_combo_1_active %mendhunt_weapon_combo_1_noweap
	setvariable weapon_combo_2_active %mendhunt_weapon_combo_2_noweap
	setvariable weapon_combo_3_active %mendhunt_weapon_combo_3_noweap
	setvariable weapon_combo_4_active %mendhunt_weapon_combo_4_noweap
	setvariable weapon_combo_5_active %mendhunt_weapon_combo_5_noweap
	setvariable weapon_combo_6_active %mendhunt_weapon_combo_6_noweap
	setvariable weapon_combo_7_active %mendhunt_weapon_combo_7_noweap
	setvariable weapon_combo_8_active %mendhunt_weapon_combo_8_noweap
	setvariable weapon_ammo_active %mendhunt_weapon_ammo_noweap
	setvariable shield_use_active %mendhunt_weapon_shield_use_noweap
	setvariable shield_name_active %mendhunt_weapon_shield_name_noweap
	setvariable weapon_stance_focus_active %mendhunt_weapon_stance_focus_noweap
	goto INITIALIZE_WEAPON_ACTIVE_END

INITIALIZE_WEAPON_ACTIVE_MAIN:
	setvariable weapon_name_active %mendhunt_weapon_name_main
	setvariable weapon_name_right_active %mendhunt_weapon_name_right_main
	setvariable weapon_name_left_active %mendhunt_weapon_name_left_main
	setvariable weapon_class_active %mendhunt_weapon_class_main
	setvariable weapon_class_right_active %mendhunt_weapon_class_right_main
	setvariable weapon_class_left_active %mendhunt_weapon_class_left_main
	setvariable weapon_type_active %mendhunt_weapon_type_main
	setvariable weapon_type_right_active %mendhunt_weapon_type_right_main
	setvariable weapon_type_left_active %mendhunt_weapon_type_left_main
	setvariable weapon_combo_active %mendhunt_weapon_combo_main
	setvariable weapon_combo_1_active %mendhunt_weapon_combo_1_main
	setvariable weapon_combo_2_active %mendhunt_weapon_combo_2_main
	setvariable weapon_combo_3_active %mendhunt_weapon_combo_3_main
	setvariable weapon_combo_4_active %mendhunt_weapon_combo_4_main
	setvariable weapon_combo_5_active %mendhunt_weapon_combo_5_main
	setvariable weapon_combo_6_active %mendhunt_weapon_combo_6_main
	setvariable weapon_combo_7_active %mendhunt_weapon_combo_7_main
	setvariable weapon_combo_8_active %mendhunt_weapon_combo_8_main
	setvariable weapon_ammo_active %mendhunt_weapon_ammo_main
	setvariable shield_use_active %mendhunt_weapon_shield_use_main
	setvariable shield_name_active %mendhunt_weapon_shield_name_main
	setvariable weapon_stance_focus_active %mendhunt_weapon_stance_focus_main
	goto INITIALIZE_WEAPON_ACTIVE_END

INITIALIZE_WEAPON_ACTIVE_1:
	setvariable weapon_name_active %mendhunt_weapon_name_1
	setvariable weapon_name_right_active %mendhunt_weapon_name_right_1
	setvariable weapon_name_left_active %mendhunt_weapon_name_left_1
	setvariable weapon_class_active %mendhunt_weapon_class_1
	setvariable weapon_class_right_active %mendhunt_weapon_class_right_1
	setvariable weapon_class_left_active %mendhunt_weapon_class_left_1
	setvariable weapon_type_active %mendhunt_weapon_type_1
	setvariable weapon_type_right_active %mendhunt_weapon_type_right_1
	setvariable weapon_type_left_active %mendhunt_weapon_type_left_1
	setvariable weapon_combo_active %mendhunt_weapon_combo_1
	setvariable weapon_combo_1_active %mendhunt_weapon_combo_1_1
	setvariable weapon_combo_2_active %mendhunt_weapon_combo_2_1
	setvariable weapon_combo_3_active %mendhunt_weapon_combo_3_1
	setvariable weapon_combo_4_active %mendhunt_weapon_combo_4_1
	setvariable weapon_combo_5_active %mendhunt_weapon_combo_5_1
	setvariable weapon_combo_6_active %mendhunt_weapon_combo_6_1
	setvariable weapon_combo_7_active %mendhunt_weapon_combo_7_1
	setvariable weapon_combo_8_active %mendhunt_weapon_combo_8_1
	setvariable weapon_ammo_active %mendhunt_weapon_ammo_1
	setvariable shield_use_active %mendhunt_weapon_shield_use_1
	setvariable shield_name_active %mendhunt_weapon_shield_name_1
	setvariable weapon_stance_focus_active %mendhunt_weapon_stance_focus_1
	goto INITIALIZE_WEAPON_ACTIVE_END

INITIALIZE_WEAPON_ACTIVE_2:
	setvariable weapon_name_active %mendhunt_weapon_name_2
	setvariable weapon_name_right_active %mendhunt_weapon_name_right_2
	setvariable weapon_name_left_active %mendhunt_weapon_name_left_2
	setvariable weapon_class_active %mendhunt_weapon_class_2
	setvariable weapon_class_right_active %mendhunt_weapon_class_right_2
	setvariable weapon_class_left_active %mendhunt_weapon_class_left_2
	setvariable weapon_type_active %mendhunt_weapon_type_2
	setvariable weapon_type_right_active %mendhunt_weapon_type_right_2
	setvariable weapon_type_left_active %mendhunt_weapon_type_left_2
	setvariable weapon_combo_active %mendhunt_weapon_combo_2
	setvariable weapon_combo_1_active %mendhunt_weapon_combo_1_2
	setvariable weapon_combo_2_active %mendhunt_weapon_combo_2_2
	setvariable weapon_combo_3_active %mendhunt_weapon_combo_3_2
	setvariable weapon_combo_4_active %mendhunt_weapon_combo_4_2
	setvariable weapon_combo_5_active %mendhunt_weapon_combo_5_2
	setvariable weapon_combo_6_active %mendhunt_weapon_combo_6_2
	setvariable weapon_combo_7_active %mendhunt_weapon_combo_7_2
	setvariable weapon_combo_8_active %mendhunt_weapon_combo_8_2
	setvariable weapon_ammo_active %mendhunt_weapon_ammo_2
	setvariable shield_use_active %mendhunt_weapon_shield_use_2
	setvariable shield_name_active %mendhunt_weapon_shield_name_2
	setvariable weapon_stance_focus_active %mendhunt_weapon_stance_focus_2
	goto INITIALIZE_WEAPON_ACTIVE_END

INITIALIZE_WEAPON_ACTIVE_3:
	setvariable weapon_name_active %mendhunt_weapon_name_3
	setvariable weapon_name_right_active %mendhunt_weapon_name_right_3
	setvariable weapon_name_left_active %mendhunt_weapon_name_left_3
	setvariable weapon_class_active %mendhunt_weapon_class_3
	setvariable weapon_class_right_active %mendhunt_weapon_class_right_3
	setvariable weapon_class_left_active %mendhunt_weapon_class_left_3
	setvariable weapon_type_active %mendhunt_weapon_type_3
	setvariable weapon_type_right_active %mendhunt_weapon_type_right_3
	setvariable weapon_type_left_active %mendhunt_weapon_type_left_3
	setvariable weapon_combo_active %mendhunt_weapon_combo_3
	setvariable weapon_combo_1_active %mendhunt_weapon_combo_1_3
	setvariable weapon_combo_2_active %mendhunt_weapon_combo_2_3
	setvariable weapon_combo_3_active %mendhunt_weapon_combo_3_3
	setvariable weapon_combo_4_active %mendhunt_weapon_combo_4_3
	setvariable weapon_combo_5_active %mendhunt_weapon_combo_5_3
	setvariable weapon_combo_6_active %mendhunt_weapon_combo_6_3
	setvariable weapon_combo_7_active %mendhunt_weapon_combo_7_3
	setvariable weapon_combo_8_active %mendhunt_weapon_combo_8_3
	setvariable weapon_ammo_active %mendhunt_weapon_ammo_3
	setvariable shield_use_active %mendhunt_weapon_shield_use_3
	setvariable shield_name_active %mendhunt_weapon_shield_name_3
	setvariable weapon_stance_focus_active %mendhunt_weapon_stance_focus_3
	goto INITIALIZE_WEAPON_ACTIVE_END

INITIALIZE_WEAPON_ACTIVE_4:
	setvariable weapon_name_active %mendhunt_weapon_name_4
	setvariable weapon_name_right_active %mendhunt_weapon_name_right_4
	setvariable weapon_name_left_active %mendhunt_weapon_name_left_4
	setvariable weapon_class_active %mendhunt_weapon_class_4
	setvariable weapon_class_right_active %mendhunt_weapon_class_right_4
	setvariable weapon_class_left_active %mendhunt_weapon_class_left_4
	setvariable weapon_type_active %mendhunt_weapon_type_4
	setvariable weapon_type_right_active %mendhunt_weapon_type_right_4
	setvariable weapon_type_left_active %mendhunt_weapon_type_left_4
	setvariable weapon_combo_active %mendhunt_weapon_combo_4
	setvariable weapon_combo_1_active %mendhunt_weapon_combo_1_4
	setvariable weapon_combo_2_active %mendhunt_weapon_combo_2_4
	setvariable weapon_combo_3_active %mendhunt_weapon_combo_3_4
	setvariable weapon_combo_4_active %mendhunt_weapon_combo_4_4
	setvariable weapon_combo_5_active %mendhunt_weapon_combo_5_4
	setvariable weapon_combo_6_active %mendhunt_weapon_combo_6_4
	setvariable weapon_combo_7_active %mendhunt_weapon_combo_7_4
	setvariable weapon_combo_8_active %mendhunt_weapon_combo_8_4
	setvariable weapon_ammo_active %mendhunt_weapon_ammo_4
	setvariable shield_use_active %mendhunt_weapon_shield_use_4
	setvariable shield_name_active %mendhunt_weapon_shield_name_4
	setvariable weapon_stance_focus_active %mendhunt_weapon_stance_focus_4
	goto INITIALIZE_WEAPON_ACTIVE_END

INITIALIZE_WEAPON_ACTIVE_5:
	setvariable weapon_name_active %mendhunt_weapon_name_5
	setvariable weapon_name_right_active %mendhunt_weapon_name_right_5
	setvariable weapon_name_left_active %mendhunt_weapon_name_left_5
	setvariable weapon_class_active %mendhunt_weapon_class_5
	setvariable weapon_class_right_active %mendhunt_weapon_class_right_5
	setvariable weapon_class_left_active %mendhunt_weapon_class_left_5
	setvariable weapon_type_active %mendhunt_weapon_type_5
	setvariable weapon_type_right_active %mendhunt_weapon_type_right_5
	setvariable weapon_type_left_active %mendhunt_weapon_type_left_5
	setvariable weapon_combo_active %mendhunt_weapon_combo_5
	setvariable weapon_combo_1_active %mendhunt_weapon_combo_1_5
	setvariable weapon_combo_2_active %mendhunt_weapon_combo_2_5
	setvariable weapon_combo_3_active %mendhunt_weapon_combo_3_5
	setvariable weapon_combo_4_active %mendhunt_weapon_combo_4_5
	setvariable weapon_combo_5_active %mendhunt_weapon_combo_5_5
	setvariable weapon_combo_6_active %mendhunt_weapon_combo_6_5
	setvariable weapon_combo_7_active %mendhunt_weapon_combo_7_5
	setvariable weapon_combo_8_active %mendhunt_weapon_combo_8_5
	setvariable weapon_ammo_active %mendhunt_weapon_ammo_5
	setvariable shield_use_active %mendhunt_weapon_shield_use_5
	setvariable shield_name_active %mendhunt_weapon_shield_name_5
	setvariable weapon_stance_focus_active %mendhunt_weapon_stance_focus_5
	goto INITIALIZE_WEAPON_ACTIVE_END

INITIALIZE_WEAPON_ACTIVE_6:
	setvariable weapon_name_active %mendhunt_weapon_name_6
	setvariable weapon_name_right_active %mendhunt_weapon_name_right_6
	setvariable weapon_name_left_active %mendhunt_weapon_name_left_6
	setvariable weapon_class_active %mendhunt_weapon_class_6
	setvariable weapon_class_right_active %mendhunt_weapon_class_right_6
	setvariable weapon_class_left_active %mendhunt_weapon_class_left_6
	setvariable weapon_type_active %mendhunt_weapon_type_6
	setvariable weapon_type_right_active %mendhunt_weapon_type_right_6
	setvariable weapon_type_left_active %mendhunt_weapon_type_left_6
	setvariable weapon_combo_active %mendhunt_weapon_combo_6
	setvariable weapon_combo_1_active %mendhunt_weapon_combo_1_6
	setvariable weapon_combo_2_active %mendhunt_weapon_combo_2_6
	setvariable weapon_combo_3_active %mendhunt_weapon_combo_3_6
	setvariable weapon_combo_4_active %mendhunt_weapon_combo_4_6
	setvariable weapon_combo_5_active %mendhunt_weapon_combo_5_6
	setvariable weapon_combo_6_active %mendhunt_weapon_combo_6_6
	setvariable weapon_combo_7_active %mendhunt_weapon_combo_7_6
	setvariable weapon_combo_8_active %mendhunt_weapon_combo_8_6
	setvariable weapon_ammo_active %mendhunt_weapon_ammo_6
	setvariable shield_use_active %mendhunt_weapon_shield_use_6
	setvariable shield_name_active %mendhunt_weapon_shield_name_6
	setvariable weapon_stance_focus_active %mendhunt_weapon_stance_focus_6
	goto INITIALIZE_WEAPON_ACTIVE_END

INITIALIZE_WEAPON_ACTIVE_END:
	goto SUBRETURN_%subreturnflag

#############################################################################
###########################    FACTORY INITIALIZE SECTION    ################
#############################################################################

INITIALIZE_FACTORY_SETTINGS:

echo
echo *** Resetting variables START
echo
echo *** Resetting variables [|___________________________________]



setvariable mendhunt_need_initialize_flag no
setvariable mendhunt_weapon_style_master MAIN
setvariable mendhunt_weapon_style_main_test ON
setvariable mendhunt_weapon_style_multi_test OFF
setvariable mendhunt_weapon_style_noweap_test OFF
setvariable mendhunt_weapon_swap_test OFF
setvariable mendhunt_armor_switch_test OFF
setvariable mendhunt_stance_test OFF
setvariable mendhunt_dance_mode_mo_test ON
setvariable mendhunt_dance_app_test ON
setvariable mendhunt_dance_brawl_test ON
setvariable mendhunt_dance_hunt_test ON
setvariable mendhunt_mindstate_test ON
setvariable mendhunt_ranged_pause 3
setvariable mendhunt_thrown_pause 1
setvariable mendhunt_rangedthrown_retreat_test OFF
setvariable mendhunt_slow_attack_test OFF
setvariable mendhunt_hide_test OFF
setvariable mendhunt_weapon_cycle 3
setvariable mendhunt_arrange_master_test OFF
setvariable mendhunt_backstab_master_test OFF
setvariable mendhunt_force_weapon_switch_test ON
setvariable mendhunt_force_armor_switch_test ON

echo *** Resetting variables [||__________________________________]

setvariable mendhunt_weapon_name_main bastard sword
setvariable mendhunt_weapon_class_main 2HE
setvariable mendhunt_weapon_type_main melee
setvariable mendhunt_weapon_combo_main ATTACK
setvariable mendhunt_weapon_combo_1_main attack
setvariable mendhunt_weapon_combo_2_main attack
setvariable mendhunt_weapon_combo_3_main attack
setvariable mendhunt_weapon_combo_4_main attack
setvariable mendhunt_weapon_combo_5_main attack
setvariable mendhunt_weapon_combo_6_main attack
setvariable mendhunt_weapon_combo_7_main attack
setvariable mendhunt_weapon_combo_8_main attack
setvariable mendhunt_weapon_ammo_main -
setvariable mendhunt_weapon_shield_use_main ARMWORN
setvariable mendhunt_weapon_shield_name_main shield
setvariable mendhunt_weapon_stance_focus_main EVASION

setvariable mendhunt_weapon_name_1 scimitar
setvariable mendhunt_weapon_class_1 ME
setvariable mendhunt_weapon_type_1 melee
setvariable mendhunt_weapon_combo_1 ME_slice
setvariable mendhunt_weapon_combo_1_1 parry
setvariable mendhunt_weapon_combo_2_1 feint
setvariable mendhunt_weapon_combo_3_1 draw
setvariable mendhunt_weapon_combo_4_1 sweep
setvariable mendhunt_weapon_combo_5_1 slice
setvariable mendhunt_weapon_combo_6_1 chop
setvariable mendhunt_weapon_combo_7_1 skkip
setvariable mendhunt_weapon_combo_8_1 skkip
setvariable mendhunt_weapon_ammo_1 -
setvariable mendhunt_weapon_shield_use_1 ARMWORN
setvariable mendhunt_weapon_shield_name_1 shield
setvariable mendhunt_weapon_stance_focus_1 EVASION

echo *** Resetting variables [|||_________________________________]

setvariable mendhunt_weapon_name_2 katar
setvariable mendhunt_weapon_class_2 LE
setvariable mendhunt_weapon_type_2 melee
setvariable mendhunt_weapon_combo_2 LE_slice
setvariable mendhunt_weapon_combo_1_2 parry
setvariable mendhunt_weapon_combo_2_2 feint
setvariable mendhunt_weapon_combo_3_2 draw
setvariable mendhunt_weapon_combo_4_2 slice
setvariable mendhunt_weapon_combo_5_2 chop
setvariable mendhunt_weapon_combo_6_2 sweep
setvariable mendhunt_weapon_combo_7_2 skkip
setvariable mendhunt_weapon_combo_8_2 skkip
setvariable mendhunt_weapon_ammo_2 -
setvariable mendhunt_weapon_shield_use_2 ARMWORN
setvariable mendhunt_weapon_shield_name_2 shield
setvariable mendhunt_weapon_stance_focus_2 EVASION

setvariable mendhunt_weapon_name_3 SlotOFF
setvariable mendhunt_weapon_class_3 SlotOFF
setvariable mendhunt_weapon_type_3 SlotOFF
setvariable mendhunt_weapon_combo_3 SlotOFF
setvariable mendhunt_weapon_combo_1_3 SlotOFF
setvariable mendhunt_weapon_combo_2_3 SlotOFF
setvariable mendhunt_weapon_combo_3_3 SlotOFF
setvariable mendhunt_weapon_combo_4_3 SlotOFF
setvariable mendhunt_weapon_combo_5_3 SlotOFF
setvariable mendhunt_weapon_combo_6_3 SlotOFF
setvariable mendhunt_weapon_combo_7_3 SlotOFF
setvariable mendhunt_weapon_combo_8_3 SlotOFF
setvariable mendhunt_weapon_ammo_3 SlotOFF
setvariable mendhunt_weapon_shield_use_3 SlotOFF
setvariable mendhunt_weapon_shield_name_3 SlotOFF
setvariable mendhunt_weapon_stance_focus_3 SlotOFF

echo *** Resetting variables [||||________________________________]

setvariable mendhunt_weapon_name_4 SlotOFF
setvariable mendhunt_weapon_class_4 SlotOFF
setvariable mendhunt_weapon_type_4 SlotOFF
setvariable mendhunt_weapon_combo_4 SlotOFF
setvariable mendhunt_weapon_combo_1_4 SlotOFF
setvariable mendhunt_weapon_combo_2_4 SlotOFF
setvariable mendhunt_weapon_combo_3_4 SlotOFF
setvariable mendhunt_weapon_combo_4_4 SlotOFF
setvariable mendhunt_weapon_combo_5_4 SlotOFF
setvariable mendhunt_weapon_combo_6_4 SlotOFF
setvariable mendhunt_weapon_combo_7_4 SlotOFF
setvariable mendhunt_weapon_combo_8_4 SlotOFF
setvariable mendhunt_weapon_ammo_4 SlotOFF
setvariable mendhunt_weapon_shield_use_4 SlotOFF
setvariable mendhunt_weapon_shield_name_4 SlotOFF
setvariable mendhunt_weapon_stance_focus_4 SlotOFF

setvariable mendhunt_weapon_name_5 SlotOFF
setvariable mendhunt_weapon_class_5 SlotOFF
setvariable mendhunt_weapon_type_5 SlotOFF
setvariable mendhunt_weapon_combo_5 SlotOFF
setvariable mendhunt_weapon_combo_1_5 SlotOFF
setvariable mendhunt_weapon_combo_2_5 SlotOFF
setvariable mendhunt_weapon_combo_3_5 SlotOFF
setvariable mendhunt_weapon_combo_4_5 SlotOFF
setvariable mendhunt_weapon_combo_5_5 SlotOFF
setvariable mendhunt_weapon_combo_6_5 SlotOFF
setvariable mendhunt_weapon_combo_7_5 SlotOFF
setvariable mendhunt_weapon_combo_8_5 SlotOFF
setvariable mendhunt_weapon_ammo_5 SlotOFF
setvariable mendhunt_weapon_shield_use_5 SlotOFF
setvariable mendhunt_weapon_shield_name_5 SlotOFF
setvariable mendhunt_weapon_stance_focus_5 SlotOFF

echo *** Resetting variables [|||||_______________________________]

setvariable mendhunt_weapon_name_6 SlotOFF
setvariable mendhunt_weapon_class_6 SlotOFF
setvariable mendhunt_weapon_type_6 SlotOFF
setvariable mendhunt_weapon_combo_6 SlotOFF
setvariable mendhunt_weapon_combo_1_6 SlotOFF
setvariable mendhunt_weapon_combo_2_6 SlotOFF
setvariable mendhunt_weapon_combo_3_6 SlotOFF
setvariable mendhunt_weapon_combo_4_6 SlotOFF
setvariable mendhunt_weapon_combo_5_6 SlotOFF
setvariable mendhunt_weapon_combo_6_6 SlotOFF
setvariable mendhunt_weapon_combo_7_6 SlotOFF
setvariable mendhunt_weapon_combo_8_6 SlotOFF
setvariable mendhunt_weapon_ammo_6 SlotOFF
setvariable mendhunt_weapon_shield_use_6 SlotOFF
setvariable mendhunt_weapon_shield_name_6 SlotOFF
setvariable mendhunt_weapon_stance_focus_6 SlotOFF

setvariable mendhunt_weapon_name_LE katar
setvariable mendhunt_weapon_class_LE LE
setvariable mendhunt_weapon_type_LE melee
setvariable mendhunt_weapon_combo_LE LE_slice
setvariable mendhunt_weapon_combo_1_LE parry
setvariable mendhunt_weapon_combo_2_LE feint
setvariable mendhunt_weapon_combo_3_LE draw
setvariable mendhunt_weapon_combo_4_LE slice
setvariable mendhunt_weapon_combo_5_LE chop
setvariable mendhunt_weapon_combo_6_LE sweep
setvariable mendhunt_weapon_combo_7_LE skkip
setvariable mendhunt_weapon_combo_8_LE skkip
setvariable mendhunt_weapon_ammo_LE -
setvariable mendhunt_weapon_shield_use_LE ARMWORN
setvariable mendhunt_weapon_shield_name_LE shield
setvariable mendhunt_weapon_stance_focus_LE EVASION

echo *** Resetting variables [||||||______________________________]

setvariable mendhunt_weapon_name_ME scimitar
setvariable mendhunt_weapon_class_ME ME
setvariable mendhunt_weapon_type_ME melee
setvariable mendhunt_weapon_combo_ME ME_slice
setvariable mendhunt_weapon_combo_1_ME parry
setvariable mendhunt_weapon_combo_2_ME feint
setvariable mendhunt_weapon_combo_3_ME draw
setvariable mendhunt_weapon_combo_4_ME sweep
setvariable mendhunt_weapon_combo_5_ME slice
setvariable mendhunt_weapon_combo_6_ME chop
setvariable mendhunt_weapon_combo_7_ME skkip
setvariable mendhunt_weapon_combo_8_ME skkip
setvariable mendhunt_weapon_ammo_ME -
setvariable mendhunt_weapon_shield_use_ME ARMWORN
setvariable mendhunt_weapon_shield_name_ME shield
setvariable mendhunt_weapon_stance_focus_ME EVASION

setvariable mendhunt_weapon_name_HE broadsword
setvariable mendhunt_weapon_class_HE HE
setvariable mendhunt_weapon_type_HE melee
setvariable mendhunt_weapon_combo_HE HE_slice
setvariable mendhunt_weapon_combo_1_HE parry
setvariable mendhunt_weapon_combo_2_HE feint
setvariable mendhunt_weapon_combo_3_HE draw
setvariable mendhunt_weapon_combo_4_HE sweep
setvariable mendhunt_weapon_combo_5_HE slice
setvariable mendhunt_weapon_combo_6_HE skkip
setvariable mendhunt_weapon_combo_7_HE skkip
setvariable mendhunt_weapon_combo_8_HE skkip
setvariable mendhunt_weapon_ammo_HE -
setvariable mendhunt_weapon_shield_use_HE ARMWORN
setvariable mendhunt_weapon_shield_name_HE shield
setvariable mendhunt_weapon_stance_focus_HE EVASION

echo *** Resetting variables [|||||||_____________________________]

setvariable mendhunt_weapon_name_2HE bastard sword
setvariable mendhunt_weapon_class_2HE 2HE
setvariable mendhunt_weapon_type_2HE melee
setvariable mendhunt_weapon_combo_2HE 2HE
setvariable mendhunt_weapon_combo_1_2HE parry
setvariable mendhunt_weapon_combo_2_2HE feint
setvariable mendhunt_weapon_combo_3_2HE draw
setvariable mendhunt_weapon_combo_4_2HE sweep
setvariable mendhunt_weapon_combo_5_2HE slice
setvariable mendhunt_weapon_combo_6_2HE skkip
setvariable mendhunt_weapon_combo_7_2HE skkip
setvariable mendhunt_weapon_combo_8_2HE skkip
setvariable mendhunt_weapon_ammo_2HE -
setvariable mendhunt_weapon_shield_use_2HE ARMWORN
setvariable mendhunt_weapon_shield_name_2HE shield
setvariable mendhunt_weapon_stance_focus_2HE EVASION

setvariable mendhunt_weapon_name_LB cudgel
setvariable mendhunt_weapon_class_LB LB
setvariable mendhunt_weapon_type_LB melee
setvariable mendhunt_weapon_combo_LB LB
setvariable mendhunt_weapon_combo_1_LB dodge
setvariable mendhunt_weapon_combo_2_LB feint
setvariable mendhunt_weapon_combo_3_LB sweep
setvariable mendhunt_weapon_combo_4_LB draw
setvariable mendhunt_weapon_combo_5_LB jab
setvariable mendhunt_weapon_combo_6_LB skkip
setvariable mendhunt_weapon_combo_7_LB skkip
setvariable mendhunt_weapon_combo_8_LB skkip
setvariable mendhunt_weapon_ammo_LB -
setvariable mendhunt_weapon_shield_use_LB ARMWORN
setvariable mendhunt_weapon_shield_name_LB shield
setvariable mendhunt_weapon_stance_focus_LB EVASION

echo *** Resetting variables [||||||||____________________________]

setvariable mendhunt_weapon_name_MB mace
setvariable mendhunt_weapon_class_MB MB
setvariable mendhunt_weapon_type_MB melee
setvariable mendhunt_weapon_combo_MB MB
setvariable mendhunt_weapon_combo_1_MB dodge
setvariable mendhunt_weapon_combo_2_MB feint
setvariable mendhunt_weapon_combo_3_MB bash
setvariable mendhunt_weapon_combo_4_MB sweep
setvariable mendhunt_weapon_combo_5_MB draw
setvariable mendhunt_weapon_combo_6_MB jab
setvariable mendhunt_weapon_combo_7_MB slice
setvariable mendhunt_weapon_combo_8_MB skkip
setvariable mendhunt_weapon_ammo_MB -
setvariable mendhunt_weapon_shield_use_MB ARMWORN
setvariable mendhunt_weapon_shield_name_MB shield
setvariable mendhunt_weapon_stance_focus_MB EVASION

setvariable mendhunt_weapon_name_HB svidaw sis
setvariable mendhunt_weapon_class_HB HB
setvariable mendhunt_weapon_type_HB melee
setvariable mendhunt_weapon_combo_HB HB
setvariable mendhunt_weapon_combo_1_HB feint
setvariable mendhunt_weapon_combo_2_HB bash
setvariable mendhunt_weapon_combo_3_HB sweep
setvariable mendhunt_weapon_combo_4_HB draw
setvariable mendhunt_weapon_combo_5_HB slice
setvariable mendhunt_weapon_combo_6_HB skkip
setvariable mendhunt_weapon_combo_7_HB skkip
setvariable mendhunt_weapon_combo_8_HB skkip
setvariable mendhunt_weapon_ammo_HB -
setvariable mendhunt_weapon_shield_use_HB ARMWORN
setvariable mendhunt_weapon_shield_name_HB shield
setvariable mendhunt_weapon_stance_focus_HB EVASION

echo *** Resetting variables [|||||||||___________________________]

setvariable mendhunt_weapon_name_2HB war mattock
setvariable mendhunt_weapon_class_2HB 2HB
setvariable mendhunt_weapon_type_2HB melee
setvariable mendhunt_weapon_combo_2HB 2HB
setvariable mendhunt_weapon_combo_1_2HB feint
setvariable mendhunt_weapon_combo_2_2HB bash
setvariable mendhunt_weapon_combo_3_2HB sweep
setvariable mendhunt_weapon_combo_4_2HB draw
setvariable mendhunt_weapon_combo_5_2HB slice
setvariable mendhunt_weapon_combo_6_2HB skkip
setvariable mendhunt_weapon_combo_7_2HB skkip
setvariable mendhunt_weapon_combo_8_2HB skkip
setvariable mendhunt_weapon_ammo_2HB -
setvariable mendhunt_weapon_shield_use_2HB ARMWORN
setvariable mendhunt_weapon_shield_name_2HB shield
setvariable mendhunt_weapon_stance_focus_2HB EVASION

setvariable mendhunt_weapon_name_SL sling
setvariable mendhunt_weapon_class_SL SL
setvariable mendhunt_weapon_type_SL ranged
setvariable mendhunt_weapon_combo_SL OFF
setvariable mendhunt_weapon_combo_1_SL -
setvariable mendhunt_weapon_combo_2_SL -
setvariable mendhunt_weapon_combo_3_SL -
setvariable mendhunt_weapon_combo_4_SL -
setvariable mendhunt_weapon_combo_5_SL -
setvariable mendhunt_weapon_combo_6_SL -
setvariable mendhunt_weapon_combo_7_SL -
setvariable mendhunt_weapon_combo_8_SL -
setvariable mendhunt_weapon_ammo_SL rock
setvariable mendhunt_weapon_shield_use_SL ARMWORN
setvariable mendhunt_weapon_shield_name_SL shield
setvariable mendhunt_weapon_stance_focus_SL EVASION

echo *** Resetting variables [||||||||||__________________________]

setvariable mendhunt_weapon_name_STAFFSLING staff sling
setvariable mendhunt_weapon_class_STAFFSLING STAFFSLING
setvariable mendhunt_weapon_type_STAFFSLING ranged
setvariable mendhunt_weapon_combo_STAFFSLING OFF
setvariable mendhunt_weapon_combo_1_STAFFSLING -
setvariable mendhunt_weapon_combo_2_STAFFSLING -
setvariable mendhunt_weapon_combo_3_STAFFSLING -
setvariable mendhunt_weapon_combo_4_STAFFSLING -
setvariable mendhunt_weapon_combo_5_STAFFSLING -
setvariable mendhunt_weapon_combo_6_STAFFSLING -
setvariable mendhunt_weapon_combo_7_STAFFSLING -
setvariable mendhunt_weapon_combo_8_STAFFSLING -
setvariable mendhunt_weapon_ammo_STAFFSLING rock
setvariable mendhunt_weapon_shield_use_STAFFSLING ARMWORN
setvariable mendhunt_weapon_shield_name_STAFFSLING shield
setvariable mendhunt_weapon_stance_focus_STAFFSLING EVASION

setvariable mendhunt_weapon_name_SB short bow
setvariable mendhunt_weapon_class_SB SB
setvariable mendhunt_weapon_type_SB ranged
setvariable mendhunt_weapon_combo_SB OFF
setvariable mendhunt_weapon_combo_1_SB -
setvariable mendhunt_weapon_combo_2_SB -
setvariable mendhunt_weapon_combo_3_SB -
setvariable mendhunt_weapon_combo_4_SB -
setvariable mendhunt_weapon_combo_5_SB -
setvariable mendhunt_weapon_combo_6_SB -
setvariable mendhunt_weapon_combo_7_SB -
setvariable mendhunt_weapon_combo_8_SB -
setvariable mendhunt_weapon_ammo_SB arrow
setvariable mendhunt_weapon_shield_use_SB OFF
setvariable mendhunt_weapon_shield_name_SB -
setvariable mendhunt_weapon_stance_focus_SB EVASION

echo *** Resetting variables [|||||||||||_________________________]

setvariable mendhunt_weapon_name_LOB longbow
setvariable mendhunt_weapon_class_LOB LOB
setvariable mendhunt_weapon_type_LOB ranged
setvariable mendhunt_weapon_combo_LOB OFF
setvariable mendhunt_weapon_combo_1_LOB -
setvariable mendhunt_weapon_combo_2_LOB -
setvariable mendhunt_weapon_combo_3_LOB -
setvariable mendhunt_weapon_combo_4_LOB -
setvariable mendhunt_weapon_combo_5_LOB -
setvariable mendhunt_weapon_combo_6_LOB -
setvariable mendhunt_weapon_combo_7_LOB -
setvariable mendhunt_weapon_combo_8_LOB -
setvariable mendhunt_weapon_ammo_LOB arrow
setvariable mendhunt_weapon_shield_use_LOB OFF
setvariable mendhunt_weapon_shield_name_LOB -
setvariable mendhunt_weapon_stance_focus_LOB EVASION

setvariable mendhunt_weapon_name_CB composite bow
setvariable mendhunt_weapon_class_CB CB
setvariable mendhunt_weapon_type_CB ranged
setvariable mendhunt_weapon_combo_CB OFF
setvariable mendhunt_weapon_combo_1_CB -
setvariable mendhunt_weapon_combo_2_CB -
setvariable mendhunt_weapon_combo_3_CB -
setvariable mendhunt_weapon_combo_4_CB -
setvariable mendhunt_weapon_combo_5_CB -
setvariable mendhunt_weapon_combo_6_CB -
setvariable mendhunt_weapon_combo_7_CB -
setvariable mendhunt_weapon_combo_8_CB -
setvariable mendhunt_weapon_ammo_CB arrow
setvariable mendhunt_weapon_shield_use_CB OFF
setvariable mendhunt_weapon_shield_name_CB -
setvariable mendhunt_weapon_stance_focus_CB EVASION

echo *** Resetting variables [||||||||||||________________________]

setvariable mendhunt_weapon_name_LX light crossbow
setvariable mendhunt_weapon_class_LX LX
setvariable mendhunt_weapon_type_LX ranged
setvariable mendhunt_weapon_combo_LX OFF
setvariable mendhunt_weapon_combo_1_LX -
setvariable mendhunt_weapon_combo_2_LX -
setvariable mendhunt_weapon_combo_3_LX -
setvariable mendhunt_weapon_combo_4_LX -
setvariable mendhunt_weapon_combo_5_LX -
setvariable mendhunt_weapon_combo_6_LX -
setvariable mendhunt_weapon_combo_7_LX -
setvariable mendhunt_weapon_combo_8_LX -
setvariable mendhunt_weapon_ammo_LX bolt
setvariable mendhunt_weapon_shield_use_LX ARMWORN
setvariable mendhunt_weapon_shield_name_LX shield
setvariable mendhunt_weapon_stance_focus_LX EVASION

setvariable mendhunt_weapon_name_HX heavy crossbow
setvariable mendhunt_weapon_class_HX HX
setvariable mendhunt_weapon_type_HX ranged
setvariable mendhunt_weapon_combo_HX OFF
setvariable mendhunt_weapon_combo_1_HX -
setvariable mendhunt_weapon_combo_2_HX -
setvariable mendhunt_weapon_combo_3_HX -
setvariable mendhunt_weapon_combo_4_HX -
setvariable mendhunt_weapon_combo_5_HX -
setvariable mendhunt_weapon_combo_6_HX -
setvariable mendhunt_weapon_combo_7_HX -
setvariable mendhunt_weapon_combo_8_HX -
setvariable mendhunt_weapon_ammo_HX bolt
setvariable mendhunt_weapon_shield_use_HX ARMWORN
setvariable mendhunt_weapon_shield_name_HX shield
setvariable mendhunt_weapon_stance_focus_HX EVASION

echo *** Resetting variables [|||||||||||||_______________________]

setvariable mendhunt_weapon_name_SS nightstick
setvariable mendhunt_weapon_class_SS SS
setvariable mendhunt_weapon_type_SS melee
setvariable mendhunt_weapon_combo_SS SS
setvariable mendhunt_weapon_combo_1_SS parry
setvariable mendhunt_weapon_combo_2_SS thrust
setvariable mendhunt_weapon_combo_3_SS sweep
setvariable mendhunt_weapon_combo_4_SS chop
setvariable mendhunt_weapon_combo_5_SS jab
setvariable mendhunt_weapon_combo_6_SS skkip
setvariable mendhunt_weapon_combo_7_SS skkip
setvariable mendhunt_weapon_combo_8_SS skkip
setvariable mendhunt_weapon_ammo_SS -
setvariable mendhunt_weapon_shield_use_SS ARMWORN
setvariable mendhunt_weapon_shield_name_SS shield
setvariable mendhunt_weapon_stance_focus_SS EVASION

setvariable mendhunt_weapon_name_QS quarterstaff
setvariable mendhunt_weapon_class_QS QS
setvariable mendhunt_weapon_type_QS melee
setvariable mendhunt_weapon_combo_QS QS
setvariable mendhunt_weapon_combo_1_QS parry
setvariable mendhunt_weapon_combo_2_QS thrust
setvariable mendhunt_weapon_combo_3_QS sweep
setvariable mendhunt_weapon_combo_4_QS bash
setvariable mendhunt_weapon_combo_5_QS draw
setvariable mendhunt_weapon_combo_6_QS slice
setvariable mendhunt_weapon_combo_7_QS skkip
setvariable mendhunt_weapon_combo_8_QS skkip
setvariable mendhunt_weapon_ammo_QS -
setvariable mendhunt_weapon_shield_use_QS ARMWORN
setvariable mendhunt_weapon_shield_name_QS shield
setvariable mendhunt_weapon_stance_focus_QS EVASION

echo *** Resetting variables [||||||||||||||______________________]

setvariable mendhunt_weapon_name_PI spear
setvariable mendhunt_weapon_class_PI PI
setvariable mendhunt_weapon_type_PI melee
setvariable mendhunt_weapon_combo_PI PI
setvariable mendhunt_weapon_combo_1_PI dodge
setvariable mendhunt_weapon_combo_2_PI jab
setvariable mendhunt_weapon_combo_3_PI sweep
setvariable mendhunt_weapon_combo_4_PI thrust
setvariable mendhunt_weapon_combo_5_PI lunge
setvariable mendhunt_weapon_combo_6_PI skkip
setvariable mendhunt_weapon_combo_7_PI skkip
setvariable mendhunt_weapon_combo_8_PI skkip
setvariable mendhunt_weapon_ammo_PI -
setvariable mendhunt_weapon_shield_use_PI ARMWORN
setvariable mendhunt_weapon_shield_name_PI shield
setvariable mendhunt_weapon_stance_focus_PI EVASION

setvariable mendhunt_weapon_name_HAL halberd
setvariable mendhunt_weapon_class_HAL HAL
setvariable mendhunt_weapon_type_HAL melee
setvariable mendhunt_weapon_combo_HAL HAL
setvariable mendhunt_weapon_combo_1_HAL dodge
setvariable mendhunt_weapon_combo_2_HAL feint
setvariable mendhunt_weapon_combo_3_HAL thrust
setvariable mendhunt_weapon_combo_4_HAL sweep
setvariable mendhunt_weapon_combo_5_HAL chop
setvariable mendhunt_weapon_combo_6_HAL jab
setvariable mendhunt_weapon_combo_7_HAL skkip
setvariable mendhunt_weapon_combo_8_HAL skkip
setvariable mendhunt_weapon_ammo_HAL -
setvariable mendhunt_weapon_shield_use_HAL ARMWORN
setvariable mendhunt_weapon_shield_name_HAL shield
setvariable mendhunt_weapon_stance_focus_HAL EVASION

echo *** Resetting variables [|||||||||||||||_____________________]

setvariable mendhunt_weapon_name_LT throwing club
setvariable mendhunt_weapon_class_LT LT
setvariable mendhunt_weapon_type_LT thrown
setvariable mendhunt_weapon_combo_LT OFF
setvariable mendhunt_weapon_combo_1_LT -
setvariable mendhunt_weapon_combo_2_LT -
setvariable mendhunt_weapon_combo_3_LT -
setvariable mendhunt_weapon_combo_4_LT -
setvariable mendhunt_weapon_combo_5_LT -
setvariable mendhunt_weapon_combo_6_LT -
setvariable mendhunt_weapon_combo_7_LT -
setvariable mendhunt_weapon_combo_8_LT -
setvariable mendhunt_weapon_ammo_LT -
setvariable mendhunt_weapon_shield_use_LT ARMWORN
setvariable mendhunt_weapon_shield_name_LT shield
setvariable mendhunt_weapon_stance_focus_LT EVASION

setvariable mendhunt_weapon_name_HT svidaw sis
setvariable mendhunt_weapon_class_HT HT
setvariable mendhunt_weapon_type_HT thrown
setvariable mendhunt_weapon_combo_HT OFF
setvariable mendhunt_weapon_combo_1_HT -
setvariable mendhunt_weapon_combo_2_HT -
setvariable mendhunt_weapon_combo_3_HT -
setvariable mendhunt_weapon_combo_4_HT -
setvariable mendhunt_weapon_combo_5_HT -
setvariable mendhunt_weapon_combo_6_HT -
setvariable mendhunt_weapon_combo_7_HT -
setvariable mendhunt_weapon_combo_8_HT -
setvariable mendhunt_weapon_ammo_HT -
setvariable mendhunt_weapon_shield_use_HT ARMWORN
setvariable mendhunt_weapon_shield_name_HT shield
setvariable mendhunt_weapon_stance_focus_HT EVASION

setvariable mendhunt_weapon_name_BR Brawling
setvariable mendhunt_weapon_class_BR BR
setvariable mendhunt_weapon_type_BR meleenoweap
setvariable mendhunt_weapon_combo_BR BR
setvariable mendhunt_weapon_combo_1_BR dodge
setvariable mendhunt_weapon_combo_2_BR gouge
setvariable mendhunt_weapon_combo_3_BR claw
setvariable mendhunt_weapon_combo_4_BR elbow
setvariable mendhunt_weapon_combo_5_BR punch
setvariable mendhunt_weapon_combo_6_BR slam
setvariable mendhunt_weapon_combo_7_BR skkip
setvariable mendhunt_weapon_combo_8_BR skkip
setvariable mendhunt_weapon_ammo_BR -
setvariable mendhunt_weapon_shield_use_BR ARMWORN
setvariable mendhunt_weapon_shield_name_BR shield
setvariable mendhunt_weapon_stance_focus_BR EVASION

setvariable mendhunt_weapon_name_OW Dual-Wield
setvariable mendhunt_weapon_name_right_OW scimitar
setvariable mendhunt_weapon_name_left_OW katar
setvariable mendhunt_weapon_class_OW OW
setvariable mendhunt_weapon_class_right_OW ME
setvariable mendhunt_weapon_class_left_OW LE
setvariable mendhunt_weapon_type_OW dual
setvariable mendhunt_weapon_type_right_OW melee
setvariable mendhunt_weapon_type_left_OW melee
setvariable mendhunt_weapon_combo_OW OW
setvariable mendhunt_weapon_combo_1_OW parry
setvariable mendhunt_weapon_combo_2_OW feint left
setvariable mendhunt_weapon_combo_3_OW draw left
setvariable mendhunt_weapon_combo_4_OW sweep right
setvariable mendhunt_weapon_combo_5_OW slice left
setvariable mendhunt_weapon_combo_6_OW chop right
setvariable mendhunt_weapon_combo_7_OW skkip
setvariable mendhunt_weapon_combo_8_OW skkip
setvariable mendhunt_weapon_ammo_OW -
setvariable mendhunt_weapon_shield_use_OW ARMWORN
setvariable mendhunt_weapon_shield_name_OW shield
setvariable mendhunt_weapon_stance_focus_OW EVASION

setvariable mendhunt_weapon_name_noweap No-Weapon
setvariable mendhunt_weapon_class_noweap noweap
setvariable mendhunt_weapon_type_noweap noweap
setvariable mendhunt_weapon_combo_noweap noweap
setvariable mendhunt_weapon_combo_1_noweap -
setvariable mendhunt_weapon_combo_2_noweap -
setvariable mendhunt_weapon_combo_3_noweap -
setvariable mendhunt_weapon_combo_4_noweap -
setvariable mendhunt_weapon_combo_5_noweap -
setvariable mendhunt_weapon_combo_6_noweap -
setvariable mendhunt_weapon_combo_7_noweap -
setvariable mendhunt_weapon_combo_8_noweap -
setvariable mendhunt_weapon_ammo_noweap -
setvariable mendhunt_weapon_shield_use_noweap ARMWORN
setvariable mendhunt_weapon_shield_name_noweap shield
setvariable mendhunt_weapon_stance_focus_noweap EVASION

echo *** Resetting variables [||||||||||||||||____________________]

setvariable mendhunt_shield_name_armworn shield
setvariable mendhunt_shield_name_handheld pavise

setvariable mendhunt_armor_name_main leathers
setvariable mendhunt_armor_class_main LA
setvariable mendhunt_armor_name_second plate armor
setvariable mendhunt_armor_class_second HP
setvariable mendhunt_armor_name_1 leathers
setvariable mendhunt_armor_class_1 LA
setvariable mendhunt_armor_name_2 plate armor
setvariable mendhunt_armor_class_2 HP
setvariable mendhunt_armor_name_3 gloves
setvariable mendhunt_armor_class_3 LA
setvariable mendhunt_armor_name_4 red gauntlets
setvariable mendhunt_armor_class_4 LP
setvariable mendhunt_armor_name_5 black gauntlets
setvariable mendhunt_armor_class_5 HP
setvariable mendhunt_armor_name_6 hauberk
setvariable mendhunt_armor_class_6 LC

echo *** Resetting variables [|||||||||||||||||___________________]

setvariable mendhunt_LEslice1 parry
setvariable mendhunt_LEslice2 feint
setvariable mendhunt_LEslice3 draw
setvariable mendhunt_LEslice4 slice
setvariable mendhunt_LEslice5 chop
setvariable mendhunt_LEslice6 sweep
setvariable mendhunt_LEslice7 skkip
setvariable mendhunt_LEslice8 skkip

setvariable mendhunt_LEthrust1 parry
setvariable mendhunt_LEthrust2 feint
setvariable mendhunt_LEthrust3 lunge
setvariable mendhunt_LEthrust4 thrust
setvariable mendhunt_LEthrust5 jab
setvariable mendhunt_LEthrust6 skkip
setvariable mendhunt_LEthrust7 skkip
setvariable mendhunt_LEthrust8 skkip

setvariable mendhunt_MEslice1 parry
setvariable mendhunt_MEslice2 feint
setvariable mendhunt_MEslice3 draw
setvariable mendhunt_MEslice4 sweep
setvariable mendhunt_MEslice5 slice
setvariable mendhunt_MEslice6 chop
setvariable mendhunt_MEslice7 skkip
setvariable mendhunt_MEslice8 skkip

echo *** Resetting variables [||||||||||||||||||__________________]

setvariable mendhunt_MEthrust1 parry
setvariable mendhunt_MEthrust2 feint
setvariable mendhunt_MEthrust3 draw
setvariable mendhunt_MEthrust4 sweep
setvariable mendhunt_MEthrust5 thrust
setvariable mendhunt_MEthrust6 skkip
setvariable mendhunt_MEthrust7 skkip
setvariable mendhunt_MEthrust8 skkip

setvariable mendhunt_HEslice1 parry
setvariable mendhunt_HEslice2 feint
setvariable mendhunt_HEslice3 draw
setvariable mendhunt_HEslice4 sweep
setvariable mendhunt_HEslice5 slice
setvariable mendhunt_HEslice6 skkip
setvariable mendhunt_HEslice7 skkip
setvariable mendhunt_HEslice8 skkip

echo *** Resetting variables [|||||||||||||||||||_________________]

setvariable mendhunt_HEthrust1 parry
setvariable mendhunt_HEthrust2 feint
setvariable mendhunt_HEthrust3 lunge
setvariable mendhunt_HEthrust4 thrust
setvariable mendhunt_HEthrust5 jab
setvariable mendhunt_HEthrust6 skkip
setvariable mendhunt_HEthrust7 skkip
setvariable mendhunt_HEthrust8 skkip

setvariable mendhunt_2HE1 parry
setvariable mendhunt_2HE2 feint
setvariable mendhunt_2HE3 draw
setvariable mendhunt_2HE4 sweep
setvariable mendhunt_2HE5 slice
setvariable mendhunt_2HE6 skkip
setvariable mendhunt_2HE7 skkip
setvariable mendhunt_2HE8 skkip

setvariable mendhunt_LB1 dodge
setvariable mendhunt_LB2 feint
setvariable mendhunt_LB3 sweep
setvariable mendhunt_LB4 draw
setvariable mendhunt_LB5 jab
setvariable mendhunt_LB6 skkip
setvariable mendhunt_LB7 skkip
setvariable mendhunt_LB8 skkip

echo *** Resetting variables [||||||||||||||||||||________________]

setvariable mendhunt_MB1 dodge
setvariable mendhunt_MB2 feint
setvariable mendhunt_MB3 bash
setvariable mendhunt_MB4 sweep
setvariable mendhunt_MB5 draw
setvariable mendhunt_MB6 jab
setvariable mendhunt_MB7 slice
setvariable mendhunt_MB8 skkip

setvariable mendhunt_HB1 feint
setvariable mendhunt_HB2 bash
setvariable mendhunt_HB3 sweep
setvariable mendhunt_HB4 draw
setvariable mendhunt_HB5 slice
setvariable mendhunt_HB6 skkip
setvariable mendhunt_HB7 skkip
setvariable mendhunt_HB8 skkip

setvariable mendhunt_2HB1 feint
setvariable mendhunt_2HB2 bash
setvariable mendhunt_2HB3 sweep
setvariable mendhunt_2HB4 draw
setvariable mendhunt_2HB5 slice
setvariable mendhunt_2HB6 skkip
setvariable mendhunt_2HB7 skkip
setvariable mendhunt_2HB8 skkip

echo *** Resetting variables [|||||||||||||||||||||_______________]

setvariable mendhunt_SS1 parry
setvariable mendhunt_SS2 thrust
setvariable mendhunt_SS3 sweep
setvariable mendhunt_SS4 chop
setvariable mendhunt_SS5 jab
setvariable mendhunt_SS6 skkip
setvariable mendhunt_SS7 skkip
setvariable mendhunt_SS8 skkip

setvariable mendhunt_QS1 parry
setvariable mendhunt_QS2 thrust
setvariable mendhunt_QS3 sweep
setvariable mendhunt_QS4 bash
setvariable mendhunt_QS5 draw
setvariable mendhunt_QS6 slice
setvariable mendhunt_QS7 skkip
setvariable mendhunt_QS8 skkip

setvariable mendhunt_PI1 dodge
setvariable mendhunt_PI2 jab
setvariable mendhunt_PI3 sweep
setvariable mendhunt_PI4 thrust
setvariable mendhunt_PI5 lunge
setvariable mendhunt_PI6 skkip
setvariable mendhunt_PI7 skkip
setvariable mendhunt_PI8 skkip

echo *** Resetting variables [||||||||||||||||||||||______________]

setvariable mendhunt_HAL1 dodge
setvariable mendhunt_HAL2 feint
setvariable mendhunt_HAL3 thrust
setvariable mendhunt_HAL4 sweep
setvariable mendhunt_HAL5 chop
setvariable mendhunt_HAL6 jab
setvariable mendhunt_HAL7 skkip
setvariable mendhunt_HAL8 skkip

setvariable mendhunt_my11 -
setvariable mendhunt_my12 -
setvariable mendhunt_my13 -
setvariable mendhunt_my14 -
setvariable mendhunt_my15 -
setvariable mendhunt_my16 -
setvariable mendhunt_my17 -
setvariable mendhunt_my18 -

setvariable mendhunt_my21 -
setvariable mendhunt_my22 -
setvariable mendhunt_my23 -
setvariable mendhunt_my24 -
setvariable mendhunt_my25 -
setvariable mendhunt_my26 -
setvariable mendhunt_my27 -
setvariable mendhunt_my28 -

echo *** Resetting variables [|||||||||||||||||||||||_____________]

setvariable mendhunt_magic_master_test OFF
setvariable mendhunt_target_master_test OFF
setvariable mendhunt_buff_master_test OFF
setvariable mendhunt_debuff_master_test OFF
setvariable mendhunt_cam_name armband
setvariable mendhunt_pathway_target_name accuracy
setvariable mendhunt_pathway_frenzy_name damage
setvariable mendhunt_pathway_frenzy_test OFF
setvariable mendhunt_pathway_target_test OFF
setvariable mendhunt_buff_retreat_test OFF

echo *** Resetting variables [||||||||||||||||||||||||____________]

setvariable mendhunt_target_test_1 OFF
setvariable mendhunt_target_name_1 ael
setvariable mendhunt_target_prep_power_1 20
setvariable mendhunt_target_harn_test_1 OFF
setvariable mendhunt_target_harn_power_1 10
setvariable mendhunt_target_harn_loop_1 1
setvariable mendhunt_target_cam_test_1 OFF
setvariable mendhunt_target_cam_power_1 11
setvariable mendhunt_target_cam_loop_1 1
setvariable mendhunt_target_cast_pause_1 1

setvariable mendhunt_target_test_2 OFF
setvariable mendhunt_target_name_2 fs
setvariable mendhunt_target_prep_power_2 20
setvariable mendhunt_target_harn_test_2 OFF
setvariable mendhunt_target_harn_power_2 10
setvariable mendhunt_target_harn_loop_2 1
setvariable mendhunt_target_cam_test_2 OFF
setvariable mendhunt_target_cam_power_2 11
setvariable mendhunt_target_cam_loop_2 1
setvariable mendhunt_target_cast_pause_2 2

setvariable mendhunt_target_test_3 OFF
setvariable mendhunt_target_name_3 lb
setvariable mendhunt_target_prep_power_3 20
setvariable mendhunt_target_harn_test_3 OFF
setvariable mendhunt_target_harn_power_3 10
setvariable mendhunt_target_harn_loop_3 1
setvariable mendhunt_target_cam_test_3 OFF
setvariable mendhunt_target_cam_power_3 11
setvariable mendhunt_target_cam_loop_3 1
setvariable mendhunt_target_cast_pause_3 2

echo *** Resetting variables [|||||||||||||||||||||||||___________]

setvariable mendhunt_target_test_4 OFF
setvariable mendhunt_target_name_4 ala
setvariable mendhunt_target_prep_power_4 20
setvariable mendhunt_target_harn_test_4 OFF
setvariable mendhunt_target_harn_power_4 10
setvariable mendhunt_target_harn_loop_4 1
setvariable mendhunt_target_cam_test_4 OFF
setvariable mendhunt_target_cam_power_4 11
setvariable mendhunt_target_cam_loop_4 1
setvariable mendhunt_target_cast_pause_4 2

setvariable mendhunt_target_test_5 OFF
setvariable mendhunt_target_name_5 gz
setvariable mendhunt_target_prep_power_5 20
setvariable mendhunt_target_harn_test_5 OFF
setvariable mendhunt_target_harn_power_5 10
setvariable mendhunt_target_harn_loop_5 1
setvariable mendhunt_target_cam_test_5 OFF
setvariable mendhunt_target_cam_power_5 11
setvariable mendhunt_target_cam_loop_5 1
setvariable mendhunt_target_cast_pause_5 2

setvariable mendhunt_target_test_6 OFF
setvariable mendhunt_target_name_6 eb
setvariable mendhunt_target_prep_power_6 20
setvariable mendhunt_target_harn_test_6 OFF
setvariable mendhunt_target_harn_power_6 10
setvariable mendhunt_target_harn_loop_6 1
setvariable mendhunt_target_cam_test_6 OFF
setvariable mendhunt_target_cam_power_6 11
setvariable mendhunt_target_cam_loop_6 1
setvariable mendhunt_target_cast_pause_6 2

echo *** Resetting variables [||||||||||||||||||||||||||__________]

setvariable mendhunt_buff_test_1 OFF
setvariable mendhunt_buff_name_1 sw
setvariable mendhunt_buff_prep_power_1 25
setvariable mendhunt_buff_harn_test_1 ON
setvariable mendhunt_buff_harn_power_1 10
setvariable mendhunt_buff_harn_loop_1 2
setvariable mendhunt_buff_cam_test_1 OFF
setvariable mendhunt_buff_cam_power_1 11
setvariable mendhunt_buff_cam_loop_1 1
setvariable mendhunt_buff_cast_pause_1 1

setvariable mendhunt_buff_test_2 OFF
setvariable mendhunt_buff_name_2 suf
setvariable mendhunt_buff_prep_power_2 25
setvariable mendhunt_buff_harn_test_2 ON
setvariable mendhunt_buff_harn_power_2 10
setvariable mendhunt_buff_harn_loop_2 2
setvariable mendhunt_buff_cam_test_2 OFF
setvariable mendhunt_buff_cam_power_2 11
setvariable mendhunt_buff_cam_loop_2 1
setvariable mendhunt_buff_cast_pause_2 1

setvariable mendhunt_buff_test_3 OFF
setvariable mendhunt_buff_name_3 ys
setvariable mendhunt_buff_prep_power_3 25
setvariable mendhunt_buff_harn_test_3 ON
setvariable mendhunt_buff_harn_power_3 10
setvariable mendhunt_buff_harn_loop_3 2
setvariable mendhunt_buff_cam_test_3 OFF
setvariable mendhunt_buff_cam_power_3 11
setvariable mendhunt_buff_cam_loop_3 1
setvariable mendhunt_buff_cast_pause_3 1

echo *** Resetting variables [|||||||||||||||||||||||||||_________]

setvariable mendhunt_buff_test_4 OFF
setvariable mendhunt_buff_name_4 tw
setvariable mendhunt_buff_prep_power_4 25
setvariable mendhunt_buff_harn_test_4 ON
setvariable mendhunt_buff_harn_power_4 10
setvariable mendhunt_buff_harn_loop_4 2
setvariable mendhunt_buff_cam_test_4 OFF
setvariable mendhunt_buff_cam_power_4 11
setvariable mendhunt_buff_cam_loop_4 1
setvariable mendhunt_buff_cast_pause_4 1

setvariable mendhunt_buff_test_5 OFF
setvariable mendhunt_buff_name_5 aes
setvariable mendhunt_buff_prep_power_5 25
setvariable mendhunt_buff_harn_test_5 ON
setvariable mendhunt_buff_harn_power_5 10
setvariable mendhunt_buff_harn_loop_5 2
setvariable mendhunt_buff_cam_test_5 OFF
setvariable mendhunt_buff_cam_power_5 11
setvariable mendhunt_buff_cam_loop_5 1
setvariable mendhunt_buff_cast_pause_5 1

setvariable mendhunt_buff_test_6 OFF
setvariable mendhunt_buff_name_6 es
setvariable mendhunt_buff_prep_power_6 8
setvariable mendhunt_buff_harn_test_6 OFF
setvariable mendhunt_buff_harn_power_6 10
setvariable mendhunt_buff_harn_loop_6 2
setvariable mendhunt_buff_cam_test_6 OFF
setvariable mendhunt_buff_cam_power_6 11
setvariable mendhunt_buff_cam_loop_6 1
setvariable mendhunt_buff_cast_pause_6 1.5

echo *** Resetting variables [||||||||||||||||||||||||||||________]

setvariable mendhunt_debuff_test_1 OFF
setvariable mendhunt_debuff_name_1 tingle
setvariable mendhunt_debuff_prep_power_1 12
setvariable mendhunt_debuff_harn_test_1 OFF
setvariable mendhunt_debuff_harn_power_1 10
setvariable mendhunt_debuff_harn_loop_1 1
setvariable mendhunt_debuff_cam_test_1 OFF
setvariable mendhunt_debuff_cam_power_1 11
setvariable mendhunt_debuff_cam_loop_1 1
setvariable mendhunt_debuff_cast_pause_1 2.5
setvariable mendhunt_debuff_once_test_1 ON

setvariable mendhunt_debuff_test_2 OFF
setvariable mendhunt_debuff_name_2 ip
setvariable mendhunt_debuff_prep_power_2 12
setvariable mendhunt_debuff_harn_test_2 OFF
setvariable mendhunt_debuff_harn_power_2 10
setvariable mendhunt_debuff_harn_loop_2 1
setvariable mendhunt_debuff_cam_test_2 OFF
setvariable mendhunt_debuff_cam_power_2 11
setvariable mendhunt_debuff_cam_loop_2 1
setvariable mendhunt_debuff_cast_pause_2 3
setvariable mendhunt_debuff_once_test_2 ON

setvariable mendhunt_debuff_test_3 OFF
setvariable mendhunt_debuff_name_3 
setvariable mendhunt_debuff_prep_power_3 
setvariable mendhunt_debuff_harn_test_3 
setvariable mendhunt_debuff_harn_power_3 
setvariable mendhunt_debuff_harn_loop_3 
setvariable mendhunt_debuff_cam_test_3 
setvariable mendhunt_debuff_cam_power_3 
setvariable mendhunt_debuff_cam_loop_3 
setvariable mendhunt_debuff_cast_pause_3 
setvariable mendhunt_debuff_once_test_3 ON

echo *** Resetting variables [|||||||||||||||||||||||||||||_______]

setvariable mendhunt_debuff_test_4 OFF
setvariable mendhunt_debuff_name_4 
setvariable mendhunt_debuff_prep_power_4 
setvariable mendhunt_debuff_harn_test_4 
setvariable mendhunt_debuff_harn_power_4 
setvariable mendhunt_debuff_harn_loop_4 
setvariable mendhunt_debuff_cam_test_4 
setvariable mendhunt_debuff_cam_power_4 
setvariable mendhunt_debuff_cam_loop_4 
setvariable mendhunt_debuff_cast_pause_4 
setvariable mendhunt_debuff_once_test_4 ON

setvariable mendhunt_debuff_test_5 OFF
setvariable mendhunt_debuff_name_5 
setvariable mendhunt_debuff_prep_power_5 
setvariable mendhunt_debuff_harn_test_5 
setvariable mendhunt_debuff_harn_power_5 
setvariable mendhunt_debuff_harn_loop_5 
setvariable mendhunt_debuff_cam_test_5 
setvariable mendhunt_debuff_cam_power_5 
setvariable mendhunt_debuff_cam_loop_5 
setvariable mendhunt_debuff_cast_pause_5 
setvariable mendhunt_debuff_once_test_5 ON

setvariable mendhunt_debuff_test_6 OFF
setvariable mendhunt_debuff_name_6 
setvariable mendhunt_debuff_prep_power_6 
setvariable mendhunt_debuff_harn_test_6 
setvariable mendhunt_debuff_harn_power_6 
setvariable mendhunt_debuff_harn_loop_6 
setvariable mendhunt_debuff_cam_test_6 
setvariable mendhunt_debuff_cam_power_6 
setvariable mendhunt_debuff_cam_loop_6 
setvariable mendhunt_debuff_cast_pause_6 
setvariable mendhunt_debuff_once_test_6 ON

echo *** Resetting variables [||||||||||||||||||||||||||||||______]

setvariable mendhunt_combat_roar_test OFF
setvariable mendhunt_combat_roar_type kuniyo
setvariable mendhunt_combat_dance_test OFF
setvariable mendhunt_combat_dance_type cobra
setvariable mendhunt_combat_sing_test OFF
setvariable mendhunt_combat_sing_type aewo
setvariable mendhunt_combat_chant_test OFF
setvariable mendhunt_combat_chant_type rage
setvariable mendhunt_combat_khri_test OFF
setvariable mendhunt_combat_khri_type spar
setvariable mendhunt_deks_special_test OFF
setvariable mendhunt_deks_line_1  
setvariable mendhunt_deks_line_2  
setvariable mendhunt_deks_line_3  
setvariable mendhunt_deks_line_4  
setvariable mendhunt_deks_line_5  

echo *** Resetting variables [|||||||||||||||||||||||||||||||_____]

setvariable mendhunt_frenzy_cl_test OFF
setvariable mendhunt_frenzy_cl_prep_mana 10
setvariable mendhunt_frenzy_cl_harn_test ON
setvariable mendhunt_frenzy_cl_harn_mana 10
setvariable mendhunt_frenzy_cl_harn_loop 1
setvariable mendhunt_frenzy_cl_cast_pause 3
setvariable mendhunt_frenzy_roar_test OFF
setvariable mendhunt_frenzy_roar_type death
setvariable mendhunt_frenzy_berserk_test OFF
setvariable mendhunt_frenzy_berserk_type stone
setvariable mendhunt_frenzy_sing_test OFF
setvariable mendhunt_frenzy_sing_type balm
setvariable mendhunt_frenzy_chant_test OFF
setvariable mendhunt_frenzy_chant_type dema
setvariable mendhunt_frenzy_bot_test OFF
setvariable mendhunt_frenzy_bot_prep_mana 10
setvariable mendhunt_frenzy_bot_harn_test ON
setvariable mendhunt_frenzy_bot_harn_mana 10
setvariable mendhunt_frenzy_bot_harn_loop 1
setvariable mendhunt_frenzy_bot_cast_pause 3
setvariable mendhunt_frenzy_flee_test OFF
setvariable mendhunt_frenzy_hide_test ON

echo *** Resetting variables [||||||||||||||||||||||||||||||||____]

setvariable mendhunt_empath_guild_test OFF
setvariable mendhunt_empath_test_manipulate OFF
setvariable mendhunt_empath_test_innocence OFF
setvariable mendhunt_empath_test_gs ON

setvariable mendhunt_empath_prep_power_innocence 1
setvariable mendhunt_empath_cast_pause_innocence .5
setvariable mendhunt_empath_harn_test_innocence ON
setvariable mendhunt_empath_harn_power_innocence 3
setvariable mendhunt_empath_harn_loop_innocence 2
setvariable mendhunt_empath_cam_test_innocence OFF
setvariable mendhunt_empath_cam_power_innocence 11
setvariable mendhunt_empath_cam_loop_innocence 1

setvariable mendhunt_empath_prep_power_gs 1
setvariable mendhunt_empath_cast_pause_gs 1
setvariable mendhunt_empath_harn_test_gs ON
setvariable mendhunt_empath_harn_power_gs 3
setvariable mendhunt_empath_harn_loop_gs 2
setvariable mendhunt_empath_cam_test_gs OFF
setvariable mendhunt_empath_cam_power_gs 11
setvariable mendhunt_empath_cam_loop_gs 1

setvariable mendhunt_empath_maxconc 164

echo *** Resetting variables [|||||||||||||||||||||||||||||||||___]

setvariable mendhunt_crittercount1 combat
setvariable mendhunt_crittercount2 combat
setvariable mendhunt_crittercount3 combat
setvariable mendhunt_crittercount4 combat
setvariable mendhunt_crittercount5 combat
setvariable mendhunt_crittercount6 combat

setvariable mendhunt_skinning_test OFF
setvariable mendhunt_skinner_name knife
setvariable mendhunt_skinner_name_branch knife

setvariable mendhunt_ndc_master_test OFF
setvariable mendhunt_ndc_hum_test OFF
setvariable mendhunt_ndc_hum_item lament
setvariable mendhunt_ndc_pow_test OFF
setvariable mendhunt_ndc_juggle_test OFF
setvariable mendhunt_ndc_juggle_item beetles
setvariable mendhunt_ndc_comp_test OFF
setvariable mendhunt_ndc_stones_test OFF
setvariable mendhunt_ndc_pyramid_test OFF
setvariable mendhunt_ndc_pyramid_item grass
setvariable mendhunt_ndc_forage_test OFF
setvariable mendhunt_ndc_forage_item oak stick

echo *** Resetting variables [||||||||||||||||||||||||||||||||||__]

setvariable mendhunt_fissure_master_test OFF
setvariable mendhunt_fissure_element air
setvariable mendhunt_fissure_prep_power 10
setvariable mendhunt_fissure_cast_pause 0
setvariable mendhunt_fissure_harn_test ON
setvariable mendhunt_fissure_harn_power 10
setvariable mendhunt_fissure_harn_loop 2
setvariable mendhunt_fissure_cam_test ON
setvariable mendhunt_fissure_cam_power 11
setvariable mendhunt_fissure_cam_loop 1

setvariable mendhunt_mof_master_test OFF
setvariable mendhunt_mof_prep_power 12
setvariable mendhunt_mof_cast_pause 1
setvariable mendhunt_mof_harn_test ON
setvariable mendhunt_mof_harn_power 10
setvariable mendhunt_mof_harn_loop 1
setvariable mendhunt_mof_cam_test ON
setvariable mendhunt_mof_cam_power 11
setvariable mendhunt_mof_cam_loop 1

setvariable mendhunt_ys_master_test OFF
setvariable mendhunt_ys_prep_power 25
setvariable mendhunt_ys_cast_pause 0
setvariable mendhunt_ys_harn_test ON
setvariable mendhunt_ys_harn_power 10
setvariable mendhunt_ys_harn_loop 2
setvariable mendhunt_ys_cam_test OFF
setvariable mendhunt_ys_cam_power 11
setvariable mendhunt_ys_cam_loop 1
setvariable mendhunt_ysmaint_prep_power 10
setvariable mendhunt_ysmaint_cast_pause 1

setvariable mendhunt_aeg_master_test OFF
setvariable mendhunt_aeg_prep_power 20
setvariable mendhunt_aeg_cast_pause 3
setvariable mendhunt_aeg_harn_test ON
setvariable mendhunt_aeg_harn_power 10
setvariable mendhunt_aeg_harn_loop 1
setvariable mendhunt_aeg_cam_test OFF
setvariable mendhunt_aeg_cam_power 11
setvariable mendhunt_aeg_cam_loop 1
setvariable mendhunt_aeg_type_LE ARMWORN
setvariable mendhunt_aeg_type_ME ARMWORN
setvariable mendhunt_aeg_type_HE ARMWORN
setvariable mendhunt_aeg_type_2HE ARMWORN
setvariable mendhunt_aeg_type_LB ARMWORN
setvariable mendhunt_aeg_type_MB ARMWORN
setvariable mendhunt_aeg_type_HB ARMWORN
setvariable mendhunt_aeg_type_2HB ARMWORN
setvariable mendhunt_aeg_type_SL ARMWORN
setvariable mendhunt_aeg_type_STAFFSLING ARMWORN
setvariable mendhunt_aeg_type_SB OFF
setvariable mendhunt_aeg_type_LOB OFF
setvariable mendhunt_aeg_type_CB OFF
setvariable mendhunt_aeg_type_LX ARMWORN
setvariable mendhunt_aeg_type_HX ARMWORN
setvariable mendhunt_aeg_type_SS ARMWORN
setvariable mendhunt_aeg_type_QS ARMWORN
setvariable mendhunt_aeg_type_PI ARMWORN
setvariable mendhunt_aeg_type_HAL ARMWORN
setvariable mendhunt_aeg_type_LT ARMWORN
setvariable mendhunt_aeg_type_HT ARMWORN
setvariable mendhunt_aeg_type_BR ARMWORN
setvariable mendhunt_aeg_type_OW ARMWORN
setvariable mendhunt_aeg_type_noweap ARMWORN
setvariable mendhunt_aegmaint_test ON
setvariable mendhunt_aegmaint_prep_power 10
setvariable mendhunt_aegmaint_cast_pause 1.5
setvariable mendhunt_preserve_master_test OFF

echo *** Resetting variables [|||||||||||||||||||||||||||||||||||_]

setvariable mendhunt_loot_master_test OFF
setvariable mendhunt_loot_plat_test ON
setvariable mendhunt_loot_gold_test ON
setvariable mendhunt_loot_silver_test ON
setvariable mendhunt_loot_bronze_test ON
setvariable mendhunt_loot_copper_test OFF
setvariable mendhunt_loot_gems_test OFF
setvariable mendhunt_loot_boxes_test OFF
setvariable mendhunt_loot_other_test OFF
setvariable mendhunt_loot_skins_test OFF
setvariable mendhunt_gems_container gem pouch
setvariable mendhunt_boxes_container haversack
setvariable mendhunt_other_container pack
setvariable mendhunt_gpouch_use_test ON
setvariable mendhunt_gpouch_empty_container pack
setvariable mendhunt_gpouch_full_container cloak
setvariable mendhunt_gpouch_tie_test ON

setvariable mendhunt_useradd_critter_1 dragon
setvariable mendhunt_useradd_critter_2 dragon
setvariable mendhunt_useradd_critter_3 dragon
setvariable mendhunt_useradd_critter_4 dragon
setvariable mendhunt_useradd_critter_5 dragon
setvariable mendhunt_useradd_critter_6 dragon
setvariable mendhunt_loot_gems_useradd_1 dragongem
setvariable mendhunt_loot_gems_useradd_2 dragongem
setvariable mendhunt_loot_gems_useradd_3 dragongem
setvariable mendhunt_loot_gems_useradd_4 dragongem
setvariable mendhunt_loot_gems_useradd_5 dragongem
setvariable mendhunt_loot_gems_useradd_6 dragongem
setvariable mendhunt_loot_other_useradd_1 dragonblood
setvariable mendhunt_loot_other_useradd_2 dragonblood
setvariable mendhunt_loot_other_useradd_3 dragonblood
setvariable mendhunt_loot_other_useradd_4 dragonblood
setvariable mendhunt_loot_other_useradd_5 dragonblood
setvariable mendhunt_loot_other_useradd_6 dragonblood
setvariable mendhunt_loot_skins_useradd_1 dragonclaw
setvariable mendhunt_loot_skins_useradd_2 dragonclaw
setvariable mendhunt_loot_skins_useradd_3 dragonclaw
setvariable mendhunt_loot_skins_useradd_4 dragonclaw
setvariable mendhunt_loot_skins_useradd_5 dragonclaw
setvariable mendhunt_loot_skins_useradd_6 dragonclaw


echo *** Resetting variables [||||||||||||||||||||||||||||||||||||]
echo
echo *** Resetting variables COMPLETED
echo

INITIALIZE_FACTORY_SETTINGS_END:
	echo
	echo
	echo *** Variables initialized to factory settings
	echo
	echo
	goto SUBRETURN_%subreturnflag




#############################################################################
###########################    ARCHIVE VARIABLES PRIMARY SECTION    #########
#############################################################################
ARCHIVE_PRIMARY_SAVE:
ARCHIVE_PRIMARY_SAVE_START:

ARCHIVE_PRIMARY_SAVE_START_INITIALIZE_ARMAMENT_SLOTS:
	setvariable subreturnflag ARCHIVE_PRIMARY_SAVE_START_INITIALIZE_ARMAMENT_SLOTS
	goto INITIALIZE_ARMAMENT
SUBRETURN_ARCHIVE_PRIMARY_SAVE_START_INITIALIZE_ARMAMENT_SLOTS:

echo
echo *** Resetting variables START
echo
echo *** Resetting variables [|___________________________________]

setvariable mendhunt_archive_primary_need_initialize_flag %mendhunt_need_initialize_flag
setvariable mendhunt_archive_primary_weapon_style_master %mendhunt_weapon_style_master
setvariable mendhunt_archive_primary_weapon_style_main_test %mendhunt_weapon_style_main_test
setvariable mendhunt_archive_primary_weapon_style_multi_test %mendhunt_weapon_style_multi_test
setvariable mendhunt_archive_primary_weapon_style_noweap_test %mendhunt_weapon_style_noweap_test
setvariable mendhunt_archive_primary_weapon_swap_test %mendhunt_weapon_swap_test
setvariable mendhunt_archive_primary_armor_switch_test %mendhunt_armor_switch_test
setvariable mendhunt_archive_primary_stance_test %mendhunt_stance_test
setvariable mendhunt_archive_primary_dance_mode_mo_test %mendhunt_dance_mode_mo_test
setvariable mendhunt_archive_primary_dance_app_test %mendhunt_dance_app_test
setvariable mendhunt_archive_primary_dance_brawl_test %mendhunt_dance_brawl_test
setvariable mendhunt_archive_primary_dance_hunt_test %mendhunt_dance_hunt_test
setvariable mendhunt_archive_primary_mindstate_test %mendhunt_mindstate_test
setvariable mendhunt_archive_primary_ranged_pause %mendhunt_ranged_pause
setvariable mendhunt_archive_primary_thrown_pause %mendhunt_thrown_pause
setvariable mendhunt_archive_primary_rangedthrown_retreat_test %mendhunt_rangedthrown_retreat_test
setvariable mendhunt_archive_primary_slow_attack_test %mendhunt_slow_attack_test
setvariable mendhunt_archive_primary_hide_test %mendhunt_hide_test
setvariable mendhunt_archive_primary_weapon_cycle %mendhunt_weapon_cycle
setvariable mendhunt_archive_primary_arrange_master_test %mendhunt_arrange_master_test
setvariable mendhunt_archive_primary_backstab_master_test %mendhunt_backstab_master_test
setvariable mendhunt_archive_primary_force_weapon_switch_test %mendhunt_force_weapon_switch_test
setvariable mendhunt_archive_primary_force_armor_switch_test %mendhunt_force_armor_switch_test
setvariable mendhunt_archive_primary_preserve_master_test %mendhunt_preserve_master_test

echo *** Resetting variables [||__________________________________]

setvariable mendhunt_archive_primary_weapon_name_main %mendhunt_weapon_name_main
setvariable mendhunt_archive_primary_weapon_class_main %mendhunt_weapon_class_main
setvariable mendhunt_archive_primary_weapon_type_main %mendhunt_weapon_type_main
setvariable mendhunt_archive_primary_weapon_combo_main %mendhunt_weapon_combo_main
setvariable mendhunt_archive_primary_weapon_combo_1_main %mendhunt_weapon_combo_1_main
setvariable mendhunt_archive_primary_weapon_combo_2_main %mendhunt_weapon_combo_2_main
setvariable mendhunt_archive_primary_weapon_combo_3_main %mendhunt_weapon_combo_3_main
setvariable mendhunt_archive_primary_weapon_combo_4_main %mendhunt_weapon_combo_4_main
setvariable mendhunt_archive_primary_weapon_combo_5_main %mendhunt_weapon_combo_5_main
setvariable mendhunt_archive_primary_weapon_combo_6_main %mendhunt_weapon_combo_6_main
setvariable mendhunt_archive_primary_weapon_combo_7_main %mendhunt_weapon_combo_7_main
setvariable mendhunt_archive_primary_weapon_combo_8_main %mendhunt_weapon_combo_8_main
setvariable mendhunt_archive_primary_weapon_ammo_main %mendhunt_weapon_ammo_main
setvariable mendhunt_archive_primary_weapon_shield_use_main %mendhunt_weapon_shield_use_main
setvariable mendhunt_archive_primary_weapon_shield_name_main %mendhunt_weapon_shield_name_main
setvariable mendhunt_archive_primary_weapon_stance_focus_main %mendhunt_weapon_stance_focus_main

setvariable mendhunt_archive_primary_weapon_name_1 %mendhunt_weapon_name_1
setvariable mendhunt_archive_primary_weapon_class_1 %mendhunt_weapon_class_1
setvariable mendhunt_archive_primary_weapon_type_1 %mendhunt_weapon_type_1
setvariable mendhunt_archive_primary_weapon_combo_1 %mendhunt_weapon_combo_1
setvariable mendhunt_archive_primary_weapon_combo_1_1 %mendhunt_weapon_combo_1_1
setvariable mendhunt_archive_primary_weapon_combo_2_1 %mendhunt_weapon_combo_2_1
setvariable mendhunt_archive_primary_weapon_combo_3_1 %mendhunt_weapon_combo_3_1
setvariable mendhunt_archive_primary_weapon_combo_4_1 %mendhunt_weapon_combo_4_1
setvariable mendhunt_archive_primary_weapon_combo_5_1 %mendhunt_weapon_combo_5_1
setvariable mendhunt_archive_primary_weapon_combo_6_1 %mendhunt_weapon_combo_6_1
setvariable mendhunt_archive_primary_weapon_combo_7_1 %mendhunt_weapon_combo_7_1
setvariable mendhunt_archive_primary_weapon_combo_8_1 %mendhunt_weapon_combo_8_1
setvariable mendhunt_archive_primary_weapon_ammo_1 %mendhunt_weapon_ammo_1
setvariable mendhunt_archive_primary_weapon_shield_use_1 %mendhunt_weapon_shield_use_1
setvariable mendhunt_archive_primary_weapon_shield_name_1 %mendhunt_weapon_shield_name_1
setvariable mendhunt_archive_primary_weapon_stance_focus_1 %mendhunt_weapon_stance_focus_1

echo *** Resetting variables [|||_________________________________]

setvariable mendhunt_archive_primary_weapon_name_2 %mendhunt_weapon_name_2
setvariable mendhunt_archive_primary_weapon_class_2 %mendhunt_weapon_class_2
setvariable mendhunt_archive_primary_weapon_type_2 %mendhunt_weapon_type_2
setvariable mendhunt_archive_primary_weapon_combo_2 %mendhunt_weapon_combo_2
setvariable mendhunt_archive_primary_weapon_combo_1_2 %mendhunt_weapon_combo_1_2
setvariable mendhunt_archive_primary_weapon_combo_2_2 %mendhunt_weapon_combo_2_2
setvariable mendhunt_archive_primary_weapon_combo_3_2 %mendhunt_weapon_combo_3_2
setvariable mendhunt_archive_primary_weapon_combo_4_2 %mendhunt_weapon_combo_4_2
setvariable mendhunt_archive_primary_weapon_combo_5_2 %mendhunt_weapon_combo_5_2
setvariable mendhunt_archive_primary_weapon_combo_6_2 %mendhunt_weapon_combo_6_2
setvariable mendhunt_archive_primary_weapon_combo_7_2 %mendhunt_weapon_combo_7_2
setvariable mendhunt_archive_primary_weapon_combo_8_2 %mendhunt_weapon_combo_8_2
setvariable mendhunt_archive_primary_weapon_ammo_2 %mendhunt_weapon_ammo_2
setvariable mendhunt_archive_primary_weapon_shield_use_2 %mendhunt_weapon_shield_use_2
setvariable mendhunt_archive_primary_weapon_shield_name_2 %mendhunt_weapon_shield_name_2
setvariable mendhunt_archive_primary_weapon_stance_focus_2 %mendhunt_weapon_stance_focus_2

setvariable mendhunt_archive_primary_weapon_name_3 %mendhunt_weapon_name_3
setvariable mendhunt_archive_primary_weapon_class_3 %mendhunt_weapon_class_3
setvariable mendhunt_archive_primary_weapon_type_3 %mendhunt_weapon_type_3
setvariable mendhunt_archive_primary_weapon_combo_3 %mendhunt_weapon_combo_3
setvariable mendhunt_archive_primary_weapon_combo_1_3 %mendhunt_weapon_combo_1_3
setvariable mendhunt_archive_primary_weapon_combo_2_3 %mendhunt_weapon_combo_2_3
setvariable mendhunt_archive_primary_weapon_combo_3_3 %mendhunt_weapon_combo_3_3
setvariable mendhunt_archive_primary_weapon_combo_4_3 %mendhunt_weapon_combo_4_3
setvariable mendhunt_archive_primary_weapon_combo_5_3 %mendhunt_weapon_combo_5_3
setvariable mendhunt_archive_primary_weapon_combo_6_3 %mendhunt_weapon_combo_6_3
setvariable mendhunt_archive_primary_weapon_combo_7_3 %mendhunt_weapon_combo_7_3
setvariable mendhunt_archive_primary_weapon_combo_8_3 %mendhunt_weapon_combo_8_3
setvariable mendhunt_archive_primary_weapon_ammo_3 %mendhunt_weapon_ammo_3
setvariable mendhunt_archive_primary_weapon_shield_use_3 %mendhunt_weapon_shield_use_3
setvariable mendhunt_archive_primary_weapon_shield_name_3 %mendhunt_weapon_shield_name_3
setvariable mendhunt_archive_primary_weapon_stance_focus_3 %mendhunt_weapon_stance_focus_3

echo *** Resetting variables [||||________________________________]

setvariable mendhunt_archive_primary_weapon_name_4 %mendhunt_weapon_name_4
setvariable mendhunt_archive_primary_weapon_class_4 %mendhunt_weapon_class_4
setvariable mendhunt_archive_primary_weapon_type_4 %mendhunt_weapon_type_4
setvariable mendhunt_archive_primary_weapon_combo_4 %mendhunt_weapon_combo_4
setvariable mendhunt_archive_primary_weapon_combo_1_4 %mendhunt_weapon_combo_1_4
setvariable mendhunt_archive_primary_weapon_combo_2_4 %mendhunt_weapon_combo_2_4
setvariable mendhunt_archive_primary_weapon_combo_3_4 %mendhunt_weapon_combo_3_4
setvariable mendhunt_archive_primary_weapon_combo_4_4 %mendhunt_weapon_combo_4_4
setvariable mendhunt_archive_primary_weapon_combo_5_4 %mendhunt_weapon_combo_5_4
setvariable mendhunt_archive_primary_weapon_combo_6_4 %mendhunt_weapon_combo_6_4
setvariable mendhunt_archive_primary_weapon_combo_7_4 %mendhunt_weapon_combo_7_4
setvariable mendhunt_archive_primary_weapon_combo_8_4 %mendhunt_weapon_combo_8_4
setvariable mendhunt_archive_primary_weapon_ammo_4 %mendhunt_weapon_ammo_4
setvariable mendhunt_archive_primary_weapon_shield_use_4 %mendhunt_weapon_shield_use_4
setvariable mendhunt_archive_primary_weapon_shield_name_4 %mendhunt_weapon_shield_name_4
setvariable mendhunt_archive_primary_weapon_stance_focus_4 %mendhunt_weapon_stance_focus_4

setvariable mendhunt_archive_primary_weapon_name_5 %mendhunt_weapon_name_5
setvariable mendhunt_archive_primary_weapon_class_5 %mendhunt_weapon_class_5
setvariable mendhunt_archive_primary_weapon_type_5 %mendhunt_weapon_type_5
setvariable mendhunt_archive_primary_weapon_combo_5 %mendhunt_weapon_combo_5
setvariable mendhunt_archive_primary_weapon_combo_1_5 %mendhunt_weapon_combo_1_5
setvariable mendhunt_archive_primary_weapon_combo_2_5 %mendhunt_weapon_combo_2_5
setvariable mendhunt_archive_primary_weapon_combo_3_5 %mendhunt_weapon_combo_3_5
setvariable mendhunt_archive_primary_weapon_combo_4_5 %mendhunt_weapon_combo_4_5
setvariable mendhunt_archive_primary_weapon_combo_5_5 %mendhunt_weapon_combo_5_5
setvariable mendhunt_archive_primary_weapon_combo_6_5 %mendhunt_weapon_combo_6_5
setvariable mendhunt_archive_primary_weapon_combo_7_5 %mendhunt_weapon_combo_7_5
setvariable mendhunt_archive_primary_weapon_combo_8_5 %mendhunt_weapon_combo_8_5
setvariable mendhunt_archive_primary_weapon_ammo_5 %mendhunt_weapon_ammo_5
setvariable mendhunt_archive_primary_weapon_shield_use_5 %mendhunt_weapon_shield_use_5
setvariable mendhunt_archive_primary_weapon_shield_name_5 %mendhunt_weapon_shield_name_5
setvariable mendhunt_archive_primary_weapon_stance_focus_5 %mendhunt_weapon_stance_focus_5

echo *** Resetting variables [|||||_______________________________]

setvariable mendhunt_archive_primary_weapon_name_6 %mendhunt_weapon_name_6
setvariable mendhunt_archive_primary_weapon_class_6 %mendhunt_weapon_class_6
setvariable mendhunt_archive_primary_weapon_type_6 %mendhunt_weapon_type_6
setvariable mendhunt_archive_primary_weapon_combo_6 %mendhunt_weapon_combo_6
setvariable mendhunt_archive_primary_weapon_combo_1_6 %mendhunt_weapon_combo_1_6
setvariable mendhunt_archive_primary_weapon_combo_2_6 %mendhunt_weapon_combo_2_6
setvariable mendhunt_archive_primary_weapon_combo_3_6 %mendhunt_weapon_combo_3_6
setvariable mendhunt_archive_primary_weapon_combo_4_6 %mendhunt_weapon_combo_4_6
setvariable mendhunt_archive_primary_weapon_combo_5_6 %mendhunt_weapon_combo_5_6
setvariable mendhunt_archive_primary_weapon_combo_6_6 %mendhunt_weapon_combo_6_6
setvariable mendhunt_archive_primary_weapon_combo_7_6 %mendhunt_weapon_combo_7_6
setvariable mendhunt_archive_primary_weapon_combo_8_6 %mendhunt_weapon_combo_8_6
setvariable mendhunt_archive_primary_weapon_ammo_6 %mendhunt_weapon_ammo_6
setvariable mendhunt_archive_primary_weapon_shield_use_6 %mendhunt_weapon_shield_use_6
setvariable mendhunt_archive_primary_weapon_shield_name_6 %mendhunt_weapon_shield_name_6
setvariable mendhunt_archive_primary_weapon_stance_focus_6 %mendhunt_weapon_stance_focus_6

setvariable mendhunt_archive_primary_weapon_name_LE %mendhunt_weapon_name_LE
setvariable mendhunt_archive_primary_weapon_class_LE %mendhunt_weapon_class_LE
setvariable mendhunt_archive_primary_weapon_type_LE %mendhunt_weapon_type_LE
setvariable mendhunt_archive_primary_weapon_combo_LE %mendhunt_weapon_combo_LE
setvariable mendhunt_archive_primary_weapon_combo_1_LE %mendhunt_weapon_combo_1_LE
setvariable mendhunt_archive_primary_weapon_combo_2_LE %mendhunt_weapon_combo_2_LE
setvariable mendhunt_archive_primary_weapon_combo_3_LE %mendhunt_weapon_combo_3_LE
setvariable mendhunt_archive_primary_weapon_combo_4_LE %mendhunt_weapon_combo_4_LE
setvariable mendhunt_archive_primary_weapon_combo_5_LE %mendhunt_weapon_combo_5_LE
setvariable mendhunt_archive_primary_weapon_combo_6_LE %mendhunt_weapon_combo_6_LE
setvariable mendhunt_archive_primary_weapon_combo_7_LE %mendhunt_weapon_combo_7_LE
setvariable mendhunt_archive_primary_weapon_combo_8_LE %mendhunt_weapon_combo_8_LE
setvariable mendhunt_archive_primary_weapon_ammo_LE %mendhunt_weapon_ammo_LE
setvariable mendhunt_archive_primary_weapon_shield_use_LE %mendhunt_weapon_shield_use_LE
setvariable mendhunt_archive_primary_weapon_shield_name_LE %mendhunt_weapon_shield_name_LE
setvariable mendhunt_archive_primary_weapon_stance_focus_LE %mendhunt_weapon_stance_focus_LE

echo *** Resetting variables [||||||______________________________]

setvariable mendhunt_archive_primary_weapon_name_ME %mendhunt_weapon_name_ME
setvariable mendhunt_archive_primary_weapon_class_ME %mendhunt_weapon_class_ME
setvariable mendhunt_archive_primary_weapon_type_ME %mendhunt_weapon_type_ME
setvariable mendhunt_archive_primary_weapon_combo_ME %mendhunt_weapon_combo_ME
setvariable mendhunt_archive_primary_weapon_combo_1_ME %mendhunt_weapon_combo_1_ME
setvariable mendhunt_archive_primary_weapon_combo_2_ME %mendhunt_weapon_combo_2_ME
setvariable mendhunt_archive_primary_weapon_combo_3_ME %mendhunt_weapon_combo_3_ME
setvariable mendhunt_archive_primary_weapon_combo_4_ME %mendhunt_weapon_combo_4_ME
setvariable mendhunt_archive_primary_weapon_combo_5_ME %mendhunt_weapon_combo_5_ME
setvariable mendhunt_archive_primary_weapon_combo_6_ME %mendhunt_weapon_combo_6_ME
setvariable mendhunt_archive_primary_weapon_combo_7_ME %mendhunt_weapon_combo_7_ME
setvariable mendhunt_archive_primary_weapon_combo_8_ME %mendhunt_weapon_combo_8_ME
setvariable mendhunt_archive_primary_weapon_ammo_ME %mendhunt_weapon_ammo_ME
setvariable mendhunt_archive_primary_weapon_shield_use_ME %mendhunt_weapon_shield_use_ME
setvariable mendhunt_archive_primary_weapon_shield_name_ME %mendhunt_weapon_shield_name_ME
setvariable mendhunt_archive_primary_weapon_stance_focus_ME %mendhunt_weapon_stance_focus_ME

setvariable mendhunt_archive_primary_weapon_name_HE %mendhunt_weapon_name_HE
setvariable mendhunt_archive_primary_weapon_class_HE %mendhunt_weapon_class_HE
setvariable mendhunt_archive_primary_weapon_type_HE %mendhunt_weapon_type_HE
setvariable mendhunt_archive_primary_weapon_combo_HE %mendhunt_weapon_combo_HE
setvariable mendhunt_archive_primary_weapon_combo_1_HE %mendhunt_weapon_combo_1_HE
setvariable mendhunt_archive_primary_weapon_combo_2_HE %mendhunt_weapon_combo_2_HE
setvariable mendhunt_archive_primary_weapon_combo_3_HE %mendhunt_weapon_combo_3_HE
setvariable mendhunt_archive_primary_weapon_combo_4_HE %mendhunt_weapon_combo_4_HE
setvariable mendhunt_archive_primary_weapon_combo_5_HE %mendhunt_weapon_combo_5_HE
setvariable mendhunt_archive_primary_weapon_combo_6_HE %mendhunt_weapon_combo_6_HE
setvariable mendhunt_archive_primary_weapon_combo_7_HE %mendhunt_weapon_combo_7_HE
setvariable mendhunt_archive_primary_weapon_combo_8_HE %mendhunt_weapon_combo_8_HE
setvariable mendhunt_archive_primary_weapon_ammo_HE %mendhunt_weapon_ammo_HE
setvariable mendhunt_archive_primary_weapon_shield_use_HE %mendhunt_weapon_shield_use_HE
setvariable mendhunt_archive_primary_weapon_shield_name_HE %mendhunt_weapon_shield_name_HE
setvariable mendhunt_archive_primary_weapon_stance_focus_HE %mendhunt_weapon_stance_focus_HE

echo *** Resetting variables [|||||||_____________________________]

setvariable mendhunt_archive_primary_weapon_name_2HE %mendhunt_weapon_name_2HE
setvariable mendhunt_archive_primary_weapon_class_2HE %mendhunt_weapon_class_2HE
setvariable mendhunt_archive_primary_weapon_type_2HE %mendhunt_weapon_type_2HE
setvariable mendhunt_archive_primary_weapon_combo_2HE %mendhunt_weapon_combo_2HE
setvariable mendhunt_archive_primary_weapon_combo_1_2HE %mendhunt_weapon_combo_1_2HE
setvariable mendhunt_archive_primary_weapon_combo_2_2HE %mendhunt_weapon_combo_2_2HE
setvariable mendhunt_archive_primary_weapon_combo_3_2HE %mendhunt_weapon_combo_3_2HE
setvariable mendhunt_archive_primary_weapon_combo_4_2HE %mendhunt_weapon_combo_4_2HE
setvariable mendhunt_archive_primary_weapon_combo_5_2HE %mendhunt_weapon_combo_5_2HE
setvariable mendhunt_archive_primary_weapon_combo_6_2HE %mendhunt_weapon_combo_6_2HE
setvariable mendhunt_archive_primary_weapon_combo_7_2HE %mendhunt_weapon_combo_7_2HE
setvariable mendhunt_archive_primary_weapon_combo_8_2HE %mendhunt_weapon_combo_8_2HE
setvariable mendhunt_archive_primary_weapon_ammo_2HE %mendhunt_weapon_ammo_2HE
setvariable mendhunt_archive_primary_weapon_shield_use_2HE %mendhunt_weapon_shield_use_2HE
setvariable mendhunt_archive_primary_weapon_shield_name_2HE %mendhunt_weapon_shield_name_2HE
setvariable mendhunt_archive_primary_weapon_stance_focus_2HE %mendhunt_weapon_stance_focus_2HE

setvariable mendhunt_archive_primary_weapon_name_LB %mendhunt_weapon_name_LB
setvariable mendhunt_archive_primary_weapon_class_LB %mendhunt_weapon_class_LB
setvariable mendhunt_archive_primary_weapon_type_LB %mendhunt_weapon_type_LB
setvariable mendhunt_archive_primary_weapon_combo_LB %mendhunt_weapon_combo_LB
setvariable mendhunt_archive_primary_weapon_combo_1_LB %mendhunt_weapon_combo_1_LB
setvariable mendhunt_archive_primary_weapon_combo_2_LB %mendhunt_weapon_combo_2_LB
setvariable mendhunt_archive_primary_weapon_combo_3_LB %mendhunt_weapon_combo_3_LB
setvariable mendhunt_archive_primary_weapon_combo_4_LB %mendhunt_weapon_combo_4_LB
setvariable mendhunt_archive_primary_weapon_combo_5_LB %mendhunt_weapon_combo_5_LB
setvariable mendhunt_archive_primary_weapon_combo_6_LB %mendhunt_weapon_combo_6_LB
setvariable mendhunt_archive_primary_weapon_combo_7_LB %mendhunt_weapon_combo_7_LB
setvariable mendhunt_archive_primary_weapon_combo_8_LB %mendhunt_weapon_combo_8_LB
setvariable mendhunt_archive_primary_weapon_ammo_LB %mendhunt_weapon_ammo_LB
setvariable mendhunt_archive_primary_weapon_shield_use_LB %mendhunt_weapon_shield_use_LB
setvariable mendhunt_archive_primary_weapon_shield_name_LB %mendhunt_weapon_shield_name_LB
setvariable mendhunt_archive_primary_weapon_stance_focus_LB %mendhunt_weapon_stance_focus_LB

echo *** Resetting variables [||||||||____________________________]

setvariable mendhunt_archive_primary_weapon_name_MB %mendhunt_weapon_name_MB
setvariable mendhunt_archive_primary_weapon_class_MB %mendhunt_weapon_class_MB
setvariable mendhunt_archive_primary_weapon_type_MB %mendhunt_weapon_type_MB
setvariable mendhunt_archive_primary_weapon_combo_MB %mendhunt_weapon_combo_MB
setvariable mendhunt_archive_primary_weapon_combo_1_MB %mendhunt_weapon_combo_1_MB
setvariable mendhunt_archive_primary_weapon_combo_2_MB %mendhunt_weapon_combo_2_MB
setvariable mendhunt_archive_primary_weapon_combo_3_MB %mendhunt_weapon_combo_3_MB
setvariable mendhunt_archive_primary_weapon_combo_4_MB %mendhunt_weapon_combo_4_MB
setvariable mendhunt_archive_primary_weapon_combo_5_MB %mendhunt_weapon_combo_5_MB
setvariable mendhunt_archive_primary_weapon_combo_6_MB %mendhunt_weapon_combo_6_MB
setvariable mendhunt_archive_primary_weapon_combo_7_MB %mendhunt_weapon_combo_7_MB
setvariable mendhunt_archive_primary_weapon_combo_8_MB %mendhunt_weapon_combo_8_MB
setvariable mendhunt_archive_primary_weapon_ammo_MB %mendhunt_weapon_ammo_MB
setvariable mendhunt_archive_primary_weapon_shield_use_MB %mendhunt_weapon_shield_use_MB
setvariable mendhunt_archive_primary_weapon_shield_name_MB %mendhunt_weapon_shield_name_MB
setvariable mendhunt_archive_primary_weapon_stance_focus_MB %mendhunt_weapon_stance_focus_MB

setvariable mendhunt_archive_primary_weapon_name_HB %mendhunt_weapon_name_HB
setvariable mendhunt_archive_primary_weapon_class_HB %mendhunt_weapon_class_HB
setvariable mendhunt_archive_primary_weapon_type_HB %mendhunt_weapon_type_HB
setvariable mendhunt_archive_primary_weapon_combo_HB %mendhunt_weapon_combo_HB
setvariable mendhunt_archive_primary_weapon_combo_1_HB %mendhunt_weapon_combo_1_HB
setvariable mendhunt_archive_primary_weapon_combo_2_HB %mendhunt_weapon_combo_2_HB
setvariable mendhunt_archive_primary_weapon_combo_3_HB %mendhunt_weapon_combo_3_HB
setvariable mendhunt_archive_primary_weapon_combo_4_HB %mendhunt_weapon_combo_4_HB
setvariable mendhunt_archive_primary_weapon_combo_5_HB %mendhunt_weapon_combo_5_HB
setvariable mendhunt_archive_primary_weapon_combo_6_HB %mendhunt_weapon_combo_6_HB
setvariable mendhunt_archive_primary_weapon_combo_7_HB %mendhunt_weapon_combo_7_HB
setvariable mendhunt_archive_primary_weapon_combo_8_HB %mendhunt_weapon_combo_8_HB
setvariable mendhunt_archive_primary_weapon_ammo_HB %mendhunt_weapon_ammo_HB
setvariable mendhunt_archive_primary_weapon_shield_use_HB %mendhunt_weapon_shield_use_HB
setvariable mendhunt_archive_primary_weapon_shield_name_HB %mendhunt_weapon_shield_name_HB
setvariable mendhunt_archive_primary_weapon_stance_focus_HB %mendhunt_weapon_stance_focus_HB

echo *** Resetting variables [|||||||||___________________________]

setvariable mendhunt_archive_primary_weapon_name_2HB %mendhunt_weapon_name_2HB
setvariable mendhunt_archive_primary_weapon_class_2HB %mendhunt_weapon_class_2HB
setvariable mendhunt_archive_primary_weapon_type_2HB %mendhunt_weapon_type_2HB
setvariable mendhunt_archive_primary_weapon_combo_2HB %mendhunt_weapon_combo_2HB
setvariable mendhunt_archive_primary_weapon_combo_1_2HB %mendhunt_weapon_combo_1_2HB
setvariable mendhunt_archive_primary_weapon_combo_2_2HB %mendhunt_weapon_combo_2_2HB
setvariable mendhunt_archive_primary_weapon_combo_3_2HB %mendhunt_weapon_combo_3_2HB
setvariable mendhunt_archive_primary_weapon_combo_4_2HB %mendhunt_weapon_combo_4_2HB
setvariable mendhunt_archive_primary_weapon_combo_5_2HB %mendhunt_weapon_combo_5_2HB
setvariable mendhunt_archive_primary_weapon_combo_6_2HB %mendhunt_weapon_combo_6_2HB
setvariable mendhunt_archive_primary_weapon_combo_7_2HB %mendhunt_weapon_combo_7_2HB
setvariable mendhunt_archive_primary_weapon_combo_8_2HB %mendhunt_weapon_combo_8_2HB
setvariable mendhunt_archive_primary_weapon_ammo_2HB %mendhunt_weapon_ammo_2HB
setvariable mendhunt_archive_primary_weapon_shield_use_2HB %mendhunt_weapon_shield_use_2HB
setvariable mendhunt_archive_primary_weapon_shield_name_2HB %mendhunt_weapon_shield_name_2HB
setvariable mendhunt_archive_primary_weapon_stance_focus_2HB %mendhunt_weapon_stance_focus_2HB

setvariable mendhunt_archive_primary_weapon_name_SL %mendhunt_weapon_name_SL
setvariable mendhunt_archive_primary_weapon_class_SL %mendhunt_weapon_class_SL
setvariable mendhunt_archive_primary_weapon_type_SL %mendhunt_weapon_type_SL
setvariable mendhunt_archive_primary_weapon_combo_SL %mendhunt_weapon_combo_SL
setvariable mendhunt_archive_primary_weapon_combo_1_SL %mendhunt_weapon_combo_1_SL
setvariable mendhunt_archive_primary_weapon_combo_2_SL %mendhunt_weapon_combo_2_SL
setvariable mendhunt_archive_primary_weapon_combo_3_SL %mendhunt_weapon_combo_3_SL
setvariable mendhunt_archive_primary_weapon_combo_4_SL %mendhunt_weapon_combo_4_SL
setvariable mendhunt_archive_primary_weapon_combo_5_SL %mendhunt_weapon_combo_5_SL
setvariable mendhunt_archive_primary_weapon_combo_6_SL %mendhunt_weapon_combo_6_SL
setvariable mendhunt_archive_primary_weapon_combo_7_SL %mendhunt_weapon_combo_7_SL
setvariable mendhunt_archive_primary_weapon_combo_8_SL %mendhunt_weapon_combo_8_SL
setvariable mendhunt_archive_primary_weapon_ammo_SL %mendhunt_weapon_ammo_SL
setvariable mendhunt_archive_primary_weapon_shield_use_SL %mendhunt_weapon_shield_use_SL
setvariable mendhunt_archive_primary_weapon_shield_name_SL %mendhunt_weapon_shield_name_SL
setvariable mendhunt_archive_primary_weapon_stance_focus_SL %mendhunt_weapon_stance_focus_SL

echo *** Resetting variables [||||||||||__________________________]

setvariable mendhunt_archive_primary_weapon_name_STAFFSLING %mendhunt_weapon_name_STAFFSLING
setvariable mendhunt_archive_primary_weapon_class_STAFFSLING %mendhunt_weapon_class_STAFFSLING
setvariable mendhunt_archive_primary_weapon_type_STAFFSLING %mendhunt_weapon_type_STAFFSLING
setvariable mendhunt_archive_primary_weapon_combo_STAFFSLING %mendhunt_weapon_combo_STAFFSLING
setvariable mendhunt_archive_primary_weapon_combo_1_STAFFSLING %mendhunt_weapon_combo_1_STAFFSLING
setvariable mendhunt_archive_primary_weapon_combo_2_STAFFSLING %mendhunt_weapon_combo_2_STAFFSLING
setvariable mendhunt_archive_primary_weapon_combo_3_STAFFSLING %mendhunt_weapon_combo_3_STAFFSLING
setvariable mendhunt_archive_primary_weapon_combo_4_STAFFSLING %mendhunt_weapon_combo_4_STAFFSLING
setvariable mendhunt_archive_primary_weapon_combo_5_STAFFSLING %mendhunt_weapon_combo_5_STAFFSLING
setvariable mendhunt_archive_primary_weapon_combo_6_STAFFSLING %mendhunt_weapon_combo_6_STAFFSLING
setvariable mendhunt_archive_primary_weapon_combo_7_STAFFSLING %mendhunt_weapon_combo_7_STAFFSLING
setvariable mendhunt_archive_primary_weapon_combo_8_STAFFSLING %mendhunt_weapon_combo_8_STAFFSLING
setvariable mendhunt_archive_primary_weapon_ammo_STAFFSLING %mendhunt_weapon_ammo_STAFFSLING
setvariable mendhunt_archive_primary_weapon_shield_use_STAFFSLING %mendhunt_weapon_shield_use_STAFFSLING
setvariable mendhunt_archive_primary_weapon_shield_name_STAFFSLING %mendhunt_weapon_shield_name_STAFFSLING
setvariable mendhunt_archive_primary_weapon_stance_focus_STAFFSLING %mendhunt_weapon_stance_focus_STAFFSLING

setvariable mendhunt_archive_primary_weapon_name_SB %mendhunt_weapon_name_SB
setvariable mendhunt_archive_primary_weapon_class_SB %mendhunt_weapon_class_SB
setvariable mendhunt_archive_primary_weapon_type_SB %mendhunt_weapon_type_SB
setvariable mendhunt_archive_primary_weapon_combo_SB %mendhunt_weapon_combo_SB
setvariable mendhunt_archive_primary_weapon_combo_1_SB %mendhunt_weapon_combo_1_SB
setvariable mendhunt_archive_primary_weapon_combo_2_SB %mendhunt_weapon_combo_2_SB
setvariable mendhunt_archive_primary_weapon_combo_3_SB %mendhunt_weapon_combo_3_SB
setvariable mendhunt_archive_primary_weapon_combo_4_SB %mendhunt_weapon_combo_4_SB
setvariable mendhunt_archive_primary_weapon_combo_5_SB %mendhunt_weapon_combo_5_SB
setvariable mendhunt_archive_primary_weapon_combo_6_SB %mendhunt_weapon_combo_6_SB
setvariable mendhunt_archive_primary_weapon_combo_7_SB %mendhunt_weapon_combo_7_SB
setvariable mendhunt_archive_primary_weapon_combo_8_SB %mendhunt_weapon_combo_8_SB
setvariable mendhunt_archive_primary_weapon_ammo_SB %mendhunt_weapon_ammo_SB
setvariable mendhunt_archive_primary_weapon_shield_use_SB %mendhunt_weapon_shield_use_SB
setvariable mendhunt_archive_primary_weapon_shield_name_SB %mendhunt_weapon_shield_name_SB
setvariable mendhunt_archive_primary_weapon_stance_focus_SB %mendhunt_weapon_stance_focus_SB

echo *** Resetting variables [|||||||||||_________________________]

setvariable mendhunt_archive_primary_weapon_name_LOB %mendhunt_weapon_name_LOB
setvariable mendhunt_archive_primary_weapon_class_LOB %mendhunt_weapon_class_LOB
setvariable mendhunt_archive_primary_weapon_type_LOB %mendhunt_weapon_type_LOB
setvariable mendhunt_archive_primary_weapon_combo_LOB %mendhunt_weapon_combo_LOB
setvariable mendhunt_archive_primary_weapon_combo_1_LOB %mendhunt_weapon_combo_1_LOB
setvariable mendhunt_archive_primary_weapon_combo_2_LOB %mendhunt_weapon_combo_2_LOB
setvariable mendhunt_archive_primary_weapon_combo_3_LOB %mendhunt_weapon_combo_3_LOB
setvariable mendhunt_archive_primary_weapon_combo_4_LOB %mendhunt_weapon_combo_4_LOB
setvariable mendhunt_archive_primary_weapon_combo_5_LOB %mendhunt_weapon_combo_5_LOB
setvariable mendhunt_archive_primary_weapon_combo_6_LOB %mendhunt_weapon_combo_6_LOB
setvariable mendhunt_archive_primary_weapon_combo_7_LOB %mendhunt_weapon_combo_7_LOB
setvariable mendhunt_archive_primary_weapon_combo_8_LOB %mendhunt_weapon_combo_8_LOB
setvariable mendhunt_archive_primary_weapon_ammo_LOB %mendhunt_weapon_ammo_LOB
setvariable mendhunt_archive_primary_weapon_shield_use_LOB %mendhunt_weapon_shield_use_LOB
setvariable mendhunt_archive_primary_weapon_shield_name_LOB %mendhunt_weapon_shield_name_LOB
setvariable mendhunt_archive_primary_weapon_stance_focus_LOB %mendhunt_weapon_stance_focus_LOB

setvariable mendhunt_archive_primary_weapon_name_CB %mendhunt_weapon_name_CB
setvariable mendhunt_archive_primary_weapon_class_CB %mendhunt_weapon_class_CB
setvariable mendhunt_archive_primary_weapon_type_CB %mendhunt_weapon_type_CB
setvariable mendhunt_archive_primary_weapon_combo_CB %mendhunt_weapon_combo_CB
setvariable mendhunt_archive_primary_weapon_combo_1_CB %mendhunt_weapon_combo_1_CB
setvariable mendhunt_archive_primary_weapon_combo_2_CB %mendhunt_weapon_combo_2_CB
setvariable mendhunt_archive_primary_weapon_combo_3_CB %mendhunt_weapon_combo_3_CB
setvariable mendhunt_archive_primary_weapon_combo_4_CB %mendhunt_weapon_combo_4_CB
setvariable mendhunt_archive_primary_weapon_combo_5_CB %mendhunt_weapon_combo_5_CB
setvariable mendhunt_archive_primary_weapon_combo_6_CB %mendhunt_weapon_combo_6_CB
setvariable mendhunt_archive_primary_weapon_combo_7_CB %mendhunt_weapon_combo_7_CB
setvariable mendhunt_archive_primary_weapon_combo_8_CB %mendhunt_weapon_combo_8_CB
setvariable mendhunt_archive_primary_weapon_ammo_CB %mendhunt_weapon_ammo_CB
setvariable mendhunt_archive_primary_weapon_shield_use_CB %mendhunt_weapon_shield_use_CB
setvariable mendhunt_archive_primary_weapon_shield_name_CB %mendhunt_weapon_shield_name_CB
setvariable mendhunt_archive_primary_weapon_stance_focus_CB %mendhunt_weapon_stance_focus_CB

echo *** Resetting variables [||||||||||||________________________]

setvariable mendhunt_archive_primary_weapon_name_LX %mendhunt_weapon_name_LX
setvariable mendhunt_archive_primary_weapon_class_LX %mendhunt_weapon_class_LX
setvariable mendhunt_archive_primary_weapon_type_LX %mendhunt_weapon_type_LX
setvariable mendhunt_archive_primary_weapon_combo_LX %mendhunt_weapon_combo_LX
setvariable mendhunt_archive_primary_weapon_combo_1_LX %mendhunt_weapon_combo_1_LX
setvariable mendhunt_archive_primary_weapon_combo_2_LX %mendhunt_weapon_combo_2_LX
setvariable mendhunt_archive_primary_weapon_combo_3_LX %mendhunt_weapon_combo_3_LX
setvariable mendhunt_archive_primary_weapon_combo_4_LX %mendhunt_weapon_combo_4_LX
setvariable mendhunt_archive_primary_weapon_combo_5_LX %mendhunt_weapon_combo_5_LX
setvariable mendhunt_archive_primary_weapon_combo_6_LX %mendhunt_weapon_combo_6_LX
setvariable mendhunt_archive_primary_weapon_combo_7_LX %mendhunt_weapon_combo_7_LX
setvariable mendhunt_archive_primary_weapon_combo_8_LX %mendhunt_weapon_combo_8_LX
setvariable mendhunt_archive_primary_weapon_ammo_LX %mendhunt_weapon_ammo_LX
setvariable mendhunt_archive_primary_weapon_shield_use_LX %mendhunt_weapon_shield_use_LX
setvariable mendhunt_archive_primary_weapon_shield_name_LX %mendhunt_weapon_shield_name_LX
setvariable mendhunt_archive_primary_weapon_stance_focus_LX %mendhunt_weapon_stance_focus_LX

setvariable mendhunt_archive_primary_weapon_name_HX %mendhunt_weapon_name_HX
setvariable mendhunt_archive_primary_weapon_class_HX %mendhunt_weapon_class_HX
setvariable mendhunt_archive_primary_weapon_type_HX %mendhunt_weapon_type_HX
setvariable mendhunt_archive_primary_weapon_combo_HX %mendhunt_weapon_combo_HX
setvariable mendhunt_archive_primary_weapon_combo_1_HX %mendhunt_weapon_combo_1_HX
setvariable mendhunt_archive_primary_weapon_combo_2_HX %mendhunt_weapon_combo_2_HX
setvariable mendhunt_archive_primary_weapon_combo_3_HX %mendhunt_weapon_combo_3_HX
setvariable mendhunt_archive_primary_weapon_combo_4_HX %mendhunt_weapon_combo_4_HX
setvariable mendhunt_archive_primary_weapon_combo_5_HX %mendhunt_weapon_combo_5_HX
setvariable mendhunt_archive_primary_weapon_combo_6_HX %mendhunt_weapon_combo_6_HX
setvariable mendhunt_archive_primary_weapon_combo_7_HX %mendhunt_weapon_combo_7_HX
setvariable mendhunt_archive_primary_weapon_combo_8_HX %mendhunt_weapon_combo_8_HX
setvariable mendhunt_archive_primary_weapon_ammo_HX %mendhunt_weapon_ammo_HX
setvariable mendhunt_archive_primary_weapon_shield_use_HX %mendhunt_weapon_shield_use_HX
setvariable mendhunt_archive_primary_weapon_shield_name_HX %mendhunt_weapon_shield_name_HX
setvariable mendhunt_archive_primary_weapon_stance_focus_HX %mendhunt_weapon_stance_focus_HX

echo *** Resetting variables [|||||||||||||_______________________]

setvariable mendhunt_archive_primary_weapon_name_SS %mendhunt_weapon_name_SS
setvariable mendhunt_archive_primary_weapon_class_SS %mendhunt_weapon_class_SS
setvariable mendhunt_archive_primary_weapon_type_SS %mendhunt_weapon_type_SS
setvariable mendhunt_archive_primary_weapon_combo_SS %mendhunt_weapon_combo_SS
setvariable mendhunt_archive_primary_weapon_combo_1_SS %mendhunt_weapon_combo_1_SS
setvariable mendhunt_archive_primary_weapon_combo_2_SS %mendhunt_weapon_combo_2_SS
setvariable mendhunt_archive_primary_weapon_combo_3_SS %mendhunt_weapon_combo_3_SS
setvariable mendhunt_archive_primary_weapon_combo_4_SS %mendhunt_weapon_combo_4_SS
setvariable mendhunt_archive_primary_weapon_combo_5_SS %mendhunt_weapon_combo_5_SS
setvariable mendhunt_archive_primary_weapon_combo_6_SS %mendhunt_weapon_combo_6_SS
setvariable mendhunt_archive_primary_weapon_combo_7_SS %mendhunt_weapon_combo_7_SS
setvariable mendhunt_archive_primary_weapon_combo_8_SS %mendhunt_weapon_combo_8_SS
setvariable mendhunt_archive_primary_weapon_ammo_SS %mendhunt_weapon_ammo_SS
setvariable mendhunt_archive_primary_weapon_shield_use_SS %mendhunt_weapon_shield_use_SS
setvariable mendhunt_archive_primary_weapon_shield_name_SS %mendhunt_weapon_shield_name_SS
setvariable mendhunt_archive_primary_weapon_stance_focus_SS %mendhunt_weapon_stance_focus_SS

setvariable mendhunt_archive_primary_weapon_name_QS %mendhunt_weapon_name_QS
setvariable mendhunt_archive_primary_weapon_class_QS %mendhunt_weapon_class_QS
setvariable mendhunt_archive_primary_weapon_type_QS %mendhunt_weapon_type_QS
setvariable mendhunt_archive_primary_weapon_combo_QS %mendhunt_weapon_combo_QS
setvariable mendhunt_archive_primary_weapon_combo_1_QS %mendhunt_weapon_combo_1_QS
setvariable mendhunt_archive_primary_weapon_combo_2_QS %mendhunt_weapon_combo_2_QS
setvariable mendhunt_archive_primary_weapon_combo_3_QS %mendhunt_weapon_combo_3_QS
setvariable mendhunt_archive_primary_weapon_combo_4_QS %mendhunt_weapon_combo_4_QS
setvariable mendhunt_archive_primary_weapon_combo_5_QS %mendhunt_weapon_combo_5_QS
setvariable mendhunt_archive_primary_weapon_combo_6_QS %mendhunt_weapon_combo_6_QS
setvariable mendhunt_archive_primary_weapon_combo_7_QS %mendhunt_weapon_combo_7_QS
setvariable mendhunt_archive_primary_weapon_combo_8_QS %mendhunt_weapon_combo_8_QS
setvariable mendhunt_archive_primary_weapon_ammo_QS %mendhunt_weapon_ammo_QS
setvariable mendhunt_archive_primary_weapon_shield_use_QS %mendhunt_weapon_shield_use_QS
setvariable mendhunt_archive_primary_weapon_shield_name_QS %mendhunt_weapon_shield_name_QS
setvariable mendhunt_archive_primary_weapon_stance_focus_QS %mendhunt_weapon_stance_focus_QS

echo *** Resetting variables [||||||||||||||______________________]

setvariable mendhunt_archive_primary_weapon_name_PI %mendhunt_weapon_name_PI
setvariable mendhunt_archive_primary_weapon_class_PI %mendhunt_weapon_class_PI
setvariable mendhunt_archive_primary_weapon_type_PI %mendhunt_weapon_type_PI
setvariable mendhunt_archive_primary_weapon_combo_PI %mendhunt_weapon_combo_PI
setvariable mendhunt_archive_primary_weapon_combo_1_PI %mendhunt_weapon_combo_1_PI
setvariable mendhunt_archive_primary_weapon_combo_2_PI %mendhunt_weapon_combo_2_PI
setvariable mendhunt_archive_primary_weapon_combo_3_PI %mendhunt_weapon_combo_3_PI
setvariable mendhunt_archive_primary_weapon_combo_4_PI %mendhunt_weapon_combo_4_PI
setvariable mendhunt_archive_primary_weapon_combo_5_PI %mendhunt_weapon_combo_5_PI
setvariable mendhunt_archive_primary_weapon_combo_6_PI %mendhunt_weapon_combo_6_PI
setvariable mendhunt_archive_primary_weapon_combo_7_PI %mendhunt_weapon_combo_7_PI
setvariable mendhunt_archive_primary_weapon_combo_8_PI %mendhunt_weapon_combo_8_PI
setvariable mendhunt_archive_primary_weapon_ammo_PI %mendhunt_weapon_ammo_PI
setvariable mendhunt_archive_primary_weapon_shield_use_PI %mendhunt_weapon_shield_use_PI
setvariable mendhunt_archive_primary_weapon_shield_name_PI %mendhunt_weapon_shield_name_PI
setvariable mendhunt_archive_primary_weapon_stance_focus_PI %mendhunt_weapon_stance_focus_PI

setvariable mendhunt_archive_primary_weapon_name_HAL %mendhunt_weapon_name_HAL
setvariable mendhunt_archive_primary_weapon_class_HAL %mendhunt_weapon_class_HAL
setvariable mendhunt_archive_primary_weapon_type_HAL %mendhunt_weapon_type_HAL
setvariable mendhunt_archive_primary_weapon_combo_HAL %mendhunt_weapon_combo_HAL
setvariable mendhunt_archive_primary_weapon_combo_1_HAL %mendhunt_weapon_combo_1_HAL
setvariable mendhunt_archive_primary_weapon_combo_2_HAL %mendhunt_weapon_combo_2_HAL
setvariable mendhunt_archive_primary_weapon_combo_3_HAL %mendhunt_weapon_combo_3_HAL
setvariable mendhunt_archive_primary_weapon_combo_4_HAL %mendhunt_weapon_combo_4_HAL
setvariable mendhunt_archive_primary_weapon_combo_5_HAL %mendhunt_weapon_combo_5_HAL
setvariable mendhunt_archive_primary_weapon_combo_6_HAL %mendhunt_weapon_combo_6_HAL
setvariable mendhunt_archive_primary_weapon_combo_7_HAL %mendhunt_weapon_combo_7_HAL
setvariable mendhunt_archive_primary_weapon_combo_8_HAL %mendhunt_weapon_combo_8_HAL
setvariable mendhunt_archive_primary_weapon_ammo_HAL %mendhunt_weapon_ammo_HAL
setvariable mendhunt_archive_primary_weapon_shield_use_HAL %mendhunt_weapon_shield_use_HAL
setvariable mendhunt_archive_primary_weapon_shield_name_HAL %mendhunt_weapon_shield_name_HAL
setvariable mendhunt_archive_primary_weapon_stance_focus_HAL %mendhunt_weapon_stance_focus_HAL

echo *** Resetting variables [|||||||||||||||_____________________]

setvariable mendhunt_archive_primary_weapon_name_LT %mendhunt_weapon_name_LT
setvariable mendhunt_archive_primary_weapon_class_LT %mendhunt_weapon_class_LT
setvariable mendhunt_archive_primary_weapon_type_LT %mendhunt_weapon_type_LT
setvariable mendhunt_archive_primary_weapon_combo_LT %mendhunt_weapon_combo_LT
setvariable mendhunt_archive_primary_weapon_combo_1_LT %mendhunt_weapon_combo_1_LT
setvariable mendhunt_archive_primary_weapon_combo_2_LT %mendhunt_weapon_combo_2_LT
setvariable mendhunt_archive_primary_weapon_combo_3_LT %mendhunt_weapon_combo_3_LT
setvariable mendhunt_archive_primary_weapon_combo_4_LT %mendhunt_weapon_combo_4_LT
setvariable mendhunt_archive_primary_weapon_combo_5_LT %mendhunt_weapon_combo_5_LT
setvariable mendhunt_archive_primary_weapon_combo_6_LT %mendhunt_weapon_combo_6_LT
setvariable mendhunt_archive_primary_weapon_combo_7_LT %mendhunt_weapon_combo_7_LT
setvariable mendhunt_archive_primary_weapon_combo_8_LT %mendhunt_weapon_combo_8_LT
setvariable mendhunt_archive_primary_weapon_ammo_LT %mendhunt_weapon_ammo_LT
setvariable mendhunt_archive_primary_weapon_shield_use_LT %mendhunt_weapon_shield_use_LT
setvariable mendhunt_archive_primary_weapon_shield_name_LT %mendhunt_weapon_shield_name_LT
setvariable mendhunt_archive_primary_weapon_stance_focus_LT %mendhunt_weapon_stance_focus_LT

setvariable mendhunt_archive_primary_weapon_name_HT %mendhunt_weapon_name_HT
setvariable mendhunt_archive_primary_weapon_class_HT %mendhunt_weapon_class_HT
setvariable mendhunt_archive_primary_weapon_type_HT %mendhunt_weapon_type_HT
setvariable mendhunt_archive_primary_weapon_combo_HT %mendhunt_weapon_combo_HT
setvariable mendhunt_archive_primary_weapon_combo_1_HT %mendhunt_weapon_combo_1_HT
setvariable mendhunt_archive_primary_weapon_combo_2_HT %mendhunt_weapon_combo_2_HT
setvariable mendhunt_archive_primary_weapon_combo_3_HT %mendhunt_weapon_combo_3_HT
setvariable mendhunt_archive_primary_weapon_combo_4_HT %mendhunt_weapon_combo_4_HT
setvariable mendhunt_archive_primary_weapon_combo_5_HT %mendhunt_weapon_combo_5_HT
setvariable mendhunt_archive_primary_weapon_combo_6_HT %mendhunt_weapon_combo_6_HT
setvariable mendhunt_archive_primary_weapon_combo_7_HT %mendhunt_weapon_combo_7_HT
setvariable mendhunt_archive_primary_weapon_combo_8_HT %mendhunt_weapon_combo_8_HT
setvariable mendhunt_archive_primary_weapon_ammo_HT %mendhunt_weapon_ammo_HT
setvariable mendhunt_archive_primary_weapon_shield_use_HT %mendhunt_weapon_shield_use_HT
setvariable mendhunt_archive_primary_weapon_shield_name_HT %mendhunt_weapon_shield_name_HT
setvariable mendhunt_archive_primary_weapon_stance_focus_HT %mendhunt_weapon_stance_focus_HT

setvariable mendhunt_archive_primary_weapon_name_BR %mendhunt_weapon_name_BR
setvariable mendhunt_archive_primary_weapon_class_BR %mendhunt_weapon_class_BR
setvariable mendhunt_archive_primary_weapon_type_BR %mendhunt_weapon_type_BR
setvariable mendhunt_archive_primary_weapon_combo_BR %mendhunt_weapon_combo_BR
setvariable mendhunt_archive_primary_weapon_combo_1_BR %mendhunt_weapon_combo_1_BR
setvariable mendhunt_archive_primary_weapon_combo_2_BR %mendhunt_weapon_combo_2_BR
setvariable mendhunt_archive_primary_weapon_combo_3_BR %mendhunt_weapon_combo_3_BR
setvariable mendhunt_archive_primary_weapon_combo_4_BR %mendhunt_weapon_combo_4_BR
setvariable mendhunt_archive_primary_weapon_combo_5_BR %mendhunt_weapon_combo_5_BR
setvariable mendhunt_archive_primary_weapon_combo_6_BR %mendhunt_weapon_combo_6_BR
setvariable mendhunt_archive_primary_weapon_combo_7_BR %mendhunt_weapon_combo_7_BR
setvariable mendhunt_archive_primary_weapon_combo_8_BR %mendhunt_weapon_combo_8_BR
setvariable mendhunt_archive_primary_weapon_ammo_BR %mendhunt_weapon_ammo_BR
setvariable mendhunt_archive_primary_weapon_shield_use_BR %mendhunt_weapon_shield_use_BR
setvariable mendhunt_archive_primary_weapon_shield_name_BR %mendhunt_weapon_shield_name_BR
setvariable mendhunt_archive_primary_weapon_stance_focus_BR %mendhunt_weapon_stance_focus_BR

setvariable mendhunt_archive_primary_weapon_name_OW %mendhunt_weapon_name_OW
setvariable mendhunt_archive_primary_weapon_name_right_OW %mendhunt_weapon_name_right_OW
setvariable mendhunt_archive_primary_weapon_name_left_OW %mendhunt_weapon_name_left_OW
setvariable mendhunt_archive_primary_weapon_class_OW %mendhunt_weapon_class_OW
setvariable mendhunt_archive_primary_weapon_class_right_OW %mendhunt_weapon_class_right_OW
setvariable mendhunt_archive_primary_weapon_class_left_OW %mendhunt_weapon_class_left_OW
setvariable mendhunt_archive_primary_weapon_type_OW %mendhunt_weapon_type_OW
setvariable mendhunt_archive_primary_weapon_type_right_OW %mendhunt_weapon_type_right_OW
setvariable mendhunt_archive_primary_weapon_type_left_OW %mendhunt_weapon_type_left_OW
setvariable mendhunt_archive_primary_weapon_combo_OW %mendhunt_weapon_combo_OW
setvariable mendhunt_archive_primary_weapon_combo_1_OW %mendhunt_weapon_combo_1_OW
setvariable mendhunt_archive_primary_weapon_combo_2_OW %mendhunt_weapon_combo_2_OW
setvariable mendhunt_archive_primary_weapon_combo_3_OW %mendhunt_weapon_combo_3_OW
setvariable mendhunt_archive_primary_weapon_combo_4_OW %mendhunt_weapon_combo_4_OW
setvariable mendhunt_archive_primary_weapon_combo_5_OW %mendhunt_weapon_combo_5_OW
setvariable mendhunt_archive_primary_weapon_combo_6_OW %mendhunt_weapon_combo_6_OW
setvariable mendhunt_archive_primary_weapon_combo_7_OW %mendhunt_weapon_combo_7_OW
setvariable mendhunt_archive_primary_weapon_combo_8_OW %mendhunt_weapon_combo_8_OW
setvariable mendhunt_archive_primary_weapon_ammo_OW %mendhunt_weapon_ammo_OW
setvariable mendhunt_archive_primary_weapon_shield_use_OW %mendhunt_weapon_shield_use_OW
setvariable mendhunt_archive_primary_weapon_shield_name_OW %mendhunt_weapon_shield_name_OW
setvariable mendhunt_archive_primary_weapon_stance_focus_OW %mendhunt_weapon_stance_focus_OW

setvariable mendhunt_archive_primary_weapon_name_noweap %mendhunt_weapon_name_noweap
setvariable mendhunt_archive_primary_weapon_class_noweap %mendhunt_weapon_class_noweap
setvariable mendhunt_archive_primary_weapon_type_noweap %mendhunt_weapon_type_noweap
setvariable mendhunt_archive_primary_weapon_combo_noweap %mendhunt_weapon_combo_noweap
setvariable mendhunt_archive_primary_weapon_combo_1_noweap %mendhunt_weapon_combo_1_noweap
setvariable mendhunt_archive_primary_weapon_combo_2_noweap %mendhunt_weapon_combo_2_noweap
setvariable mendhunt_archive_primary_weapon_combo_3_noweap %mendhunt_weapon_combo_3_noweap
setvariable mendhunt_archive_primary_weapon_combo_4_noweap %mendhunt_weapon_combo_4_noweap
setvariable mendhunt_archive_primary_weapon_combo_5_noweap %mendhunt_weapon_combo_5_noweap
setvariable mendhunt_archive_primary_weapon_combo_6_noweap %mendhunt_weapon_combo_6_noweap
setvariable mendhunt_archive_primary_weapon_combo_7_noweap %mendhunt_weapon_combo_7_noweap
setvariable mendhunt_archive_primary_weapon_combo_8_noweap %mendhunt_weapon_combo_8_noweap
setvariable mendhunt_archive_primary_weapon_ammo_noweap %mendhunt_weapon_ammo_noweap
setvariable mendhunt_archive_primary_weapon_shield_use_noweap %mendhunt_weapon_shield_use_noweap
setvariable mendhunt_archive_primary_weapon_shield_name_noweap %mendhunt_weapon_shield_name_noweap
setvariable mendhunt_archive_primary_weapon_stance_focus_noweap %mendhunt_weapon_stance_focus_noweap

echo *** Resetting variables [||||||||||||||||____________________]

setvariable mendhunt_archive_primary_shield_name_armworn %mendhunt_shield_name_armworn
setvariable mendhunt_archive_primary_shield_name_handheld %mendhunt_shield_name_handheld

setvariable mendhunt_archive_primary_armor_name_main %mendhunt_armor_name_main
setvariable mendhunt_archive_primary_armor_class_main %mendhunt_armor_class_main
setvariable mendhunt_archive_primary_armor_name_second %mendhunt_armor_name_second
setvariable mendhunt_archive_primary_armor_class_second %mendhunt_armor_class_second
setvariable mendhunt_archive_primary_armor_name_1 %mendhunt_armor_name_1
setvariable mendhunt_archive_primary_armor_class_1 %mendhunt_armor_class_1
setvariable mendhunt_archive_primary_armor_name_2 %mendhunt_armor_name_2
setvariable mendhunt_archive_primary_armor_class_2 %mendhunt_armor_class_2
setvariable mendhunt_archive_primary_armor_name_3 %mendhunt_armor_name_3
setvariable mendhunt_archive_primary_armor_class_3 %mendhunt_armor_class_3
setvariable mendhunt_archive_primary_armor_name_4 %mendhunt_armor_name_4
setvariable mendhunt_archive_primary_armor_class_4 %mendhunt_armor_class_4
setvariable mendhunt_archive_primary_armor_name_5 %mendhunt_armor_name_5
setvariable mendhunt_archive_primary_armor_class_5 %mendhunt_armor_class_5
setvariable mendhunt_archive_primary_armor_name_6 %mendhunt_armor_name_6
setvariable mendhunt_archive_primary_armor_class_6 %mendhunt_armor_class_6

echo *** Resetting variables [|||||||||||||||||___________________]

setvariable mendhunt_archive_primary_LEslice1 %mendhunt_LEslice1
setvariable mendhunt_archive_primary_LEslice2 %mendhunt_LEslice2
setvariable mendhunt_archive_primary_LEslice3 %mendhunt_LEslice3
setvariable mendhunt_archive_primary_LEslice4 %mendhunt_LEslice4
setvariable mendhunt_archive_primary_LEslice5 %mendhunt_LEslice5
setvariable mendhunt_archive_primary_LEslice6 %mendhunt_LEslice6
setvariable mendhunt_archive_primary_LEslice7 %mendhunt_LEslice7
setvariable mendhunt_archive_primary_LEslice8 %mendhunt_LEslice8

setvariable mendhunt_archive_primary_LEthrust1 %mendhunt_LEthrust1
setvariable mendhunt_archive_primary_LEthrust2 %mendhunt_LEthrust2
setvariable mendhunt_archive_primary_LEthrust3 %mendhunt_LEthrust3
setvariable mendhunt_archive_primary_LEthrust4 %mendhunt_LEthrust4
setvariable mendhunt_archive_primary_LEthrust5 %mendhunt_LEthrust5
setvariable mendhunt_archive_primary_LEthrust6 %mendhunt_LEthrust6
setvariable mendhunt_archive_primary_LEthrust7 %mendhunt_LEthrust7
setvariable mendhunt_archive_primary_LEthrust8 %mendhunt_LEthrust8

setvariable mendhunt_archive_primary_MEslice1 %mendhunt_MEslice1
setvariable mendhunt_archive_primary_MEslice2 %mendhunt_MEslice2
setvariable mendhunt_archive_primary_MEslice3 %mendhunt_MEslice3
setvariable mendhunt_archive_primary_MEslice4 %mendhunt_MEslice4
setvariable mendhunt_archive_primary_MEslice5 %mendhunt_MEslice5
setvariable mendhunt_archive_primary_MEslice6 %mendhunt_MEslice6
setvariable mendhunt_archive_primary_MEslice7 %mendhunt_MEslice7
setvariable mendhunt_archive_primary_MEslice8 %mendhunt_MEslice8

echo *** Resetting variables [||||||||||||||||||__________________]

setvariable mendhunt_archive_primary_MEthrust1 %mendhunt_MEthrust1
setvariable mendhunt_archive_primary_MEthrust2 %mendhunt_MEthrust2
setvariable mendhunt_archive_primary_MEthrust3 %mendhunt_MEthrust3
setvariable mendhunt_archive_primary_MEthrust4 %mendhunt_MEthrust4
setvariable mendhunt_archive_primary_MEthrust5 %mendhunt_MEthrust5
setvariable mendhunt_archive_primary_MEthrust6 %mendhunt_MEthrust6
setvariable mendhunt_archive_primary_MEthrust7 %mendhunt_MEthrust7
setvariable mendhunt_archive_primary_MEthrust8 %mendhunt_MEthrust8

setvariable mendhunt_archive_primary_HEslice1 %mendhunt_HEslice1
setvariable mendhunt_archive_primary_HEslice2 %mendhunt_HEslice2
setvariable mendhunt_archive_primary_HEslice3 %mendhunt_HEslice3
setvariable mendhunt_archive_primary_HEslice4 %mendhunt_HEslice4
setvariable mendhunt_archive_primary_HEslice5 %mendhunt_HEslice5
setvariable mendhunt_archive_primary_HEslice6 %mendhunt_HEslice6
setvariable mendhunt_archive_primary_HEslice7 %mendhunt_HEslice7
setvariable mendhunt_archive_primary_HEslice8 %mendhunt_HEslice8

echo *** Resetting variables [|||||||||||||||||||_________________]

setvariable mendhunt_archive_primary_HEthrust1 %mendhunt_HEthrust1
setvariable mendhunt_archive_primary_HEthrust2 %mendhunt_HEthrust2
setvariable mendhunt_archive_primary_HEthrust3 %mendhunt_HEthrust3
setvariable mendhunt_archive_primary_HEthrust4 %mendhunt_HEthrust4
setvariable mendhunt_archive_primary_HEthrust5 %mendhunt_HEthrust5
setvariable mendhunt_archive_primary_HEthrust6 %mendhunt_HEthrust6
setvariable mendhunt_archive_primary_HEthrust7 %mendhunt_HEthrust7
setvariable mendhunt_archive_primary_HEthrust8 %mendhunt_HEthrust8

setvariable mendhunt_archive_primary_2HE1 %mendhunt_2HE1
setvariable mendhunt_archive_primary_2HE2 %mendhunt_2HE2
setvariable mendhunt_archive_primary_2HE3 %mendhunt_2HE3
setvariable mendhunt_archive_primary_2HE4 %mendhunt_2HE4
setvariable mendhunt_archive_primary_2HE5 %mendhunt_2HE5
setvariable mendhunt_archive_primary_2HE6 %mendhunt_2HE6
setvariable mendhunt_archive_primary_2HE7 %mendhunt_2HE7
setvariable mendhunt_archive_primary_2HE8 %mendhunt_2HE8

setvariable mendhunt_archive_primary_LB1 %mendhunt_LB1
setvariable mendhunt_archive_primary_LB2 %mendhunt_LB2
setvariable mendhunt_archive_primary_LB3 %mendhunt_LB3
setvariable mendhunt_archive_primary_LB4 %mendhunt_LB4
setvariable mendhunt_archive_primary_LB5 %mendhunt_LB5
setvariable mendhunt_archive_primary_LB6 %mendhunt_LB6
setvariable mendhunt_archive_primary_LB7 %mendhunt_LB7
setvariable mendhunt_archive_primary_LB8 %mendhunt_LB8

echo *** Resetting variables [||||||||||||||||||||________________]

setvariable mendhunt_archive_primary_MB1 %mendhunt_MB1
setvariable mendhunt_archive_primary_MB2 %mendhunt_MB2
setvariable mendhunt_archive_primary_MB3 %mendhunt_MB3
setvariable mendhunt_archive_primary_MB4 %mendhunt_MB4
setvariable mendhunt_archive_primary_MB5 %mendhunt_MB5
setvariable mendhunt_archive_primary_MB6 %mendhunt_MB6
setvariable mendhunt_archive_primary_MB7 %mendhunt_MB7
setvariable mendhunt_archive_primary_MB8 %mendhunt_MB8

setvariable mendhunt_archive_primary_HB1 %mendhunt_HB1
setvariable mendhunt_archive_primary_HB2 %mendhunt_HB2
setvariable mendhunt_archive_primary_HB3 %mendhunt_HB3
setvariable mendhunt_archive_primary_HB4 %mendhunt_HB4
setvariable mendhunt_archive_primary_HB5 %mendhunt_HB5
setvariable mendhunt_archive_primary_HB6 %mendhunt_HB6
setvariable mendhunt_archive_primary_HB7 %mendhunt_HB7
setvariable mendhunt_archive_primary_HB8 %mendhunt_HB8

setvariable mendhunt_archive_primary_2HB1 %mendhunt_2HB1
setvariable mendhunt_archive_primary_2HB2 %mendhunt_2HB2
setvariable mendhunt_archive_primary_2HB3 %mendhunt_2HB3
setvariable mendhunt_archive_primary_2HB4 %mendhunt_2HB4
setvariable mendhunt_archive_primary_2HB5 %mendhunt_2HB5
setvariable mendhunt_archive_primary_2HB6 %mendhunt_2HB6
setvariable mendhunt_archive_primary_2HB7 %mendhunt_2HB7
setvariable mendhunt_archive_primary_2HB8 %mendhunt_2HB8

echo *** Resetting variables [|||||||||||||||||||||_______________]

setvariable mendhunt_archive_primary_SS1 %mendhunt_SS1
setvariable mendhunt_archive_primary_SS2 %mendhunt_SS2
setvariable mendhunt_archive_primary_SS3 %mendhunt_SS3
setvariable mendhunt_archive_primary_SS4 %mendhunt_SS4
setvariable mendhunt_archive_primary_SS5 %mendhunt_SS5
setvariable mendhunt_archive_primary_SS6 %mendhunt_SS6
setvariable mendhunt_archive_primary_SS7 %mendhunt_SS7
setvariable mendhunt_archive_primary_SS8 %mendhunt_SS8

setvariable mendhunt_archive_primary_QS1 %mendhunt_QS1
setvariable mendhunt_archive_primary_QS2 %mendhunt_QS2
setvariable mendhunt_archive_primary_QS3 %mendhunt_QS3
setvariable mendhunt_archive_primary_QS4 %mendhunt_QS4
setvariable mendhunt_archive_primary_QS5 %mendhunt_QS5
setvariable mendhunt_archive_primary_QS6 %mendhunt_QS6
setvariable mendhunt_archive_primary_QS7 %mendhunt_QS7
setvariable mendhunt_archive_primary_QS8 %mendhunt_QS8

setvariable mendhunt_archive_primary_PI1 %mendhunt_PI1
setvariable mendhunt_archive_primary_PI2 %mendhunt_PI2
setvariable mendhunt_archive_primary_PI3 %mendhunt_PI3
setvariable mendhunt_archive_primary_PI4 %mendhunt_PI4
setvariable mendhunt_archive_primary_PI5 %mendhunt_PI5
setvariable mendhunt_archive_primary_PI6 %mendhunt_PI6
setvariable mendhunt_archive_primary_PI7 %mendhunt_PI7
setvariable mendhunt_archive_primary_PI8 %mendhunt_PI8

echo *** Resetting variables [||||||||||||||||||||||______________]

setvariable mendhunt_archive_primary_HAL1 %mendhunt_HAL1
setvariable mendhunt_archive_primary_HAL2 %mendhunt_HAL2
setvariable mendhunt_archive_primary_HAL3 %mendhunt_HAL3
setvariable mendhunt_archive_primary_HAL4 %mendhunt_HAL4
setvariable mendhunt_archive_primary_HAL5 %mendhunt_HAL5
setvariable mendhunt_archive_primary_HAL6 %mendhunt_HAL6
setvariable mendhunt_archive_primary_HAL7 %mendhunt_HAL7
setvariable mendhunt_archive_primary_HAL8 %mendhunt_HAL8

setvariable mendhunt_archive_primary_my11 %mendhunt_my11
setvariable mendhunt_archive_primary_my12 %mendhunt_my12
setvariable mendhunt_archive_primary_my13 %mendhunt_my13
setvariable mendhunt_archive_primary_my14 %mendhunt_my14
setvariable mendhunt_archive_primary_my15 %mendhunt_my15
setvariable mendhunt_archive_primary_my16 %mendhunt_my16
setvariable mendhunt_archive_primary_my17 %mendhunt_my17
setvariable mendhunt_archive_primary_my18 %mendhunt_my18

setvariable mendhunt_archive_primary_my21 %mendhunt_my21
setvariable mendhunt_archive_primary_my22 %mendhunt_my22
setvariable mendhunt_archive_primary_my23 %mendhunt_my23
setvariable mendhunt_archive_primary_my24 %mendhunt_my24
setvariable mendhunt_archive_primary_my25 %mendhunt_my25
setvariable mendhunt_archive_primary_my26 %mendhunt_my26
setvariable mendhunt_archive_primary_my27 %mendhunt_my27
setvariable mendhunt_archive_primary_my28 %mendhunt_my28

echo *** Resetting variables [|||||||||||||||||||||||_____________]

setvariable mendhunt_archive_primary_magic_master_test %mendhunt_magic_master_test
setvariable mendhunt_archive_primary_target_master_test %mendhunt_target_master_test
setvariable mendhunt_archive_primary_buff_master_test %mendhunt_buff_master_test
setvariable mendhunt_archive_primary_debuff_master_test %mendhunt_debuff_master_test
setvariable mendhunt_archive_primary_cam_name %mendhunt_cam_name
setvariable mendhunt_archive_primary_pathway_target_name %mendhunt_pathway_target_name
setvariable mendhunt_archive_primary_pathway_frenzy_name %mendhunt_pathway_frenzy_name
setvariable mendhunt_archive_primary_pathway_frenzy_test %mendhunt_pathway_frenzy_test
setvariable mendhunt_archive_primary_pathway_target_test %mendhunt_pathway_target_test
setvariable mendhunt_archive_primary_buff_retreat_test %mendhunt_buff_retreat_test

echo *** Resetting variables [||||||||||||||||||||||||____________]

setvariable mendhunt_archive_primary_target_test_1 %mendhunt_target_test_1
setvariable mendhunt_archive_primary_target_name_1 %mendhunt_target_name_1
setvariable mendhunt_archive_primary_target_prep_power_1 %mendhunt_target_prep_power_1
setvariable mendhunt_archive_primary_target_harn_test_1 %mendhunt_target_harn_test_1
setvariable mendhunt_archive_primary_target_harn_power_1 %mendhunt_target_harn_power_1
setvariable mendhunt_archive_primary_target_harn_loop_1 %mendhunt_target_harn_loop_1
setvariable mendhunt_archive_primary_target_cam_test_1 %mendhunt_target_cam_test_1
setvariable mendhunt_archive_primary_target_cam_power_1 %mendhunt_target_cam_power_1
setvariable mendhunt_archive_primary_target_cam_loop_1 %mendhunt_target_cam_loop_1
setvariable mendhunt_archive_primary_target_cast_pause_1 %mendhunt_target_cast_pause_1

setvariable mendhunt_archive_primary_target_test_2 %mendhunt_target_test_2
setvariable mendhunt_archive_primary_target_name_2 %mendhunt_target_name_2
setvariable mendhunt_archive_primary_target_prep_power_2 %mendhunt_target_prep_power_2
setvariable mendhunt_archive_primary_target_harn_test_2 %mendhunt_target_harn_test_2
setvariable mendhunt_archive_primary_target_harn_power_2 %mendhunt_target_harn_power_2
setvariable mendhunt_archive_primary_target_harn_loop_2 %mendhunt_target_harn_loop_2
setvariable mendhunt_archive_primary_target_cam_test_2 %mendhunt_target_cam_test_2
setvariable mendhunt_archive_primary_target_cam_power_2 %mendhunt_target_cam_power_2
setvariable mendhunt_archive_primary_target_cam_loop_2 %mendhunt_target_cam_loop_2
setvariable mendhunt_archive_primary_target_cast_pause_2 %mendhunt_target_cast_pause_2

setvariable mendhunt_archive_primary_target_test_3 %mendhunt_target_test_3
setvariable mendhunt_archive_primary_target_name_3 %mendhunt_target_name_3
setvariable mendhunt_archive_primary_target_prep_power_3 %mendhunt_target_prep_power_3
setvariable mendhunt_archive_primary_target_harn_test_3 %mendhunt_target_harn_test_3
setvariable mendhunt_archive_primary_target_harn_power_3 %mendhunt_target_harn_power_3
setvariable mendhunt_archive_primary_target_harn_loop_3 %mendhunt_target_harn_loop_3
setvariable mendhunt_archive_primary_target_cam_test_3 %mendhunt_target_cam_test_3
setvariable mendhunt_archive_primary_target_cam_power_3 %mendhunt_target_cam_power_3
setvariable mendhunt_archive_primary_target_cam_loop_3 %mendhunt_target_cam_loop_3
setvariable mendhunt_archive_primary_target_cast_pause_3 %mendhunt_target_cast_pause_3

echo *** Resetting variables [|||||||||||||||||||||||||___________]

setvariable mendhunt_archive_primary_target_test_4 %mendhunt_target_test_4
setvariable mendhunt_archive_primary_target_name_4 %mendhunt_target_name_4
setvariable mendhunt_archive_primary_target_prep_power_4 %mendhunt_target_prep_power_4
setvariable mendhunt_archive_primary_target_harn_test_4 %mendhunt_target_harn_test_4
setvariable mendhunt_archive_primary_target_harn_power_4 %mendhunt_target_harn_power_4
setvariable mendhunt_archive_primary_target_harn_loop_4 %mendhunt_target_harn_loop_4
setvariable mendhunt_archive_primary_target_cam_test_4 %mendhunt_target_cam_test_4
setvariable mendhunt_archive_primary_target_cam_power_4 %mendhunt_target_cam_power_4
setvariable mendhunt_archive_primary_target_cam_loop_4 %mendhunt_target_cam_loop_4
setvariable mendhunt_archive_primary_target_cast_pause_4 %mendhunt_target_cast_pause_4

setvariable mendhunt_archive_primary_target_test_5 %mendhunt_target_test_5
setvariable mendhunt_archive_primary_target_name_5 %mendhunt_target_name_5
setvariable mendhunt_archive_primary_target_prep_power_5 %mendhunt_target_prep_power_5
setvariable mendhunt_archive_primary_target_harn_test_5 %mendhunt_target_harn_test_5
setvariable mendhunt_archive_primary_target_harn_power_5 %mendhunt_target_harn_power_5
setvariable mendhunt_archive_primary_target_harn_loop_5 %mendhunt_target_harn_loop_5
setvariable mendhunt_archive_primary_target_cam_test_5 %mendhunt_target_cam_test_5
setvariable mendhunt_archive_primary_target_cam_power_5 %mendhunt_target_cam_power_5
setvariable mendhunt_archive_primary_target_cam_loop_5 %mendhunt_target_cam_loop_5
setvariable mendhunt_archive_primary_target_cast_pause_5 %mendhunt_target_cast_pause_5

setvariable mendhunt_archive_primary_target_test_6 %mendhunt_target_test_6
setvariable mendhunt_archive_primary_target_name_6 %mendhunt_target_name_6
setvariable mendhunt_archive_primary_target_prep_power_6 %mendhunt_target_prep_power_6
setvariable mendhunt_archive_primary_target_harn_test_6 %mendhunt_target_harn_test_6
setvariable mendhunt_archive_primary_target_harn_power_6 %mendhunt_target_harn_power_6
setvariable mendhunt_archive_primary_target_harn_loop_6 %mendhunt_target_harn_loop_6
setvariable mendhunt_archive_primary_target_cam_test_6 %mendhunt_target_cam_test_6
setvariable mendhunt_archive_primary_target_cam_power_6 %mendhunt_target_cam_power_6
setvariable mendhunt_archive_primary_target_cam_loop_6 %mendhunt_target_cam_loop_6
setvariable mendhunt_archive_primary_target_cast_pause_6 %mendhunt_target_cast_pause_6

echo *** Resetting variables [||||||||||||||||||||||||||__________]

setvariable mendhunt_archive_primary_buff_test_1 %mendhunt_buff_test_1
setvariable mendhunt_archive_primary_buff_name_1 %mendhunt_buff_name_1
setvariable mendhunt_archive_primary_buff_prep_power_1 %mendhunt_buff_prep_power_1
setvariable mendhunt_archive_primary_buff_harn_test_1 %mendhunt_buff_harn_test_1
setvariable mendhunt_archive_primary_buff_harn_power_1 %mendhunt_buff_harn_power_1
setvariable mendhunt_archive_primary_buff_harn_loop_1 %mendhunt_buff_harn_loop_1
setvariable mendhunt_archive_primary_buff_cam_test_1 %mendhunt_buff_cam_test_1
setvariable mendhunt_archive_primary_buff_cam_power_1 %mendhunt_buff_cam_power_1
setvariable mendhunt_archive_primary_buff_cam_loop_1 %mendhunt_buff_cam_loop_1
setvariable mendhunt_archive_primary_buff_cast_pause_1 %mendhunt_buff_cast_pause_1

setvariable mendhunt_archive_primary_buff_test_2 %mendhunt_buff_test_2
setvariable mendhunt_archive_primary_buff_name_2 %mendhunt_buff_name_2
setvariable mendhunt_archive_primary_buff_prep_power_2 %mendhunt_buff_prep_power_2
setvariable mendhunt_archive_primary_buff_harn_test_2 %mendhunt_buff_harn_test_2
setvariable mendhunt_archive_primary_buff_harn_power_2 %mendhunt_buff_harn_power_2
setvariable mendhunt_archive_primary_buff_harn_loop_2 %mendhunt_buff_harn_loop_2
setvariable mendhunt_archive_primary_buff_cam_test_2 %mendhunt_buff_cam_test_2
setvariable mendhunt_archive_primary_buff_cam_power_2 %mendhunt_buff_cam_power_2
setvariable mendhunt_archive_primary_buff_cam_loop_2 %mendhunt_buff_cam_loop_2
setvariable mendhunt_archive_primary_buff_cast_pause_2 %mendhunt_buff_cast_pause_2

setvariable mendhunt_archive_primary_buff_test_3 %mendhunt_buff_test_3
setvariable mendhunt_archive_primary_buff_name_3 %mendhunt_buff_name_3
setvariable mendhunt_archive_primary_buff_prep_power_3 %mendhunt_buff_prep_power_3
setvariable mendhunt_archive_primary_buff_harn_test_3 %mendhunt_buff_harn_test_3
setvariable mendhunt_archive_primary_buff_harn_power_3 %mendhunt_buff_harn_power_3
setvariable mendhunt_archive_primary_buff_harn_loop_3 %mendhunt_buff_harn_loop_3
setvariable mendhunt_archive_primary_buff_cam_test_3 %mendhunt_buff_cam_test_3
setvariable mendhunt_archive_primary_buff_cam_power_3 %mendhunt_buff_cam_power_3
setvariable mendhunt_archive_primary_buff_cam_loop_3 %mendhunt_buff_cam_loop_3
setvariable mendhunt_archive_primary_buff_cast_pause_3 %mendhunt_buff_cast_pause_3

echo *** Resetting variables [|||||||||||||||||||||||||||_________]

setvariable mendhunt_archive_primary_buff_test_4 %mendhunt_buff_test_4
setvariable mendhunt_archive_primary_buff_name_4 %mendhunt_buff_name_4
setvariable mendhunt_archive_primary_buff_prep_power_4 %mendhunt_buff_prep_power_4
setvariable mendhunt_archive_primary_buff_harn_test_4 %mendhunt_buff_harn_test_4
setvariable mendhunt_archive_primary_buff_harn_power_4 %mendhunt_buff_harn_power_4
setvariable mendhunt_archive_primary_buff_harn_loop_4 %mendhunt_buff_harn_loop_4
setvariable mendhunt_archive_primary_buff_cam_test_4 %mendhunt_buff_cam_test_4
setvariable mendhunt_archive_primary_buff_cam_power_4 %mendhunt_buff_cam_power_4
setvariable mendhunt_archive_primary_buff_cam_loop_4 %mendhunt_buff_cam_loop_4
setvariable mendhunt_archive_primary_buff_cast_pause_4 %mendhunt_buff_cast_pause_4

setvariable mendhunt_archive_primary_buff_test_5 %mendhunt_buff_test_5
setvariable mendhunt_archive_primary_buff_name_5 %mendhunt_buff_name_5
setvariable mendhunt_archive_primary_buff_prep_power_5 %mendhunt_buff_prep_power_5
setvariable mendhunt_archive_primary_buff_harn_test_5 %mendhunt_buff_harn_test_5
setvariable mendhunt_archive_primary_buff_harn_power_5 %mendhunt_buff_harn_power_5
setvariable mendhunt_archive_primary_buff_harn_loop_5 %mendhunt_buff_harn_loop_5
setvariable mendhunt_archive_primary_buff_cam_test_5 %mendhunt_buff_cam_test_5
setvariable mendhunt_archive_primary_buff_cam_power_5 %mendhunt_buff_cam_power_5
setvariable mendhunt_archive_primary_buff_cam_loop_5 %mendhunt_buff_cam_loop_5
setvariable mendhunt_archive_primary_buff_cast_pause_5 %mendhunt_buff_cast_pause_5

setvariable mendhunt_archive_primary_buff_test_6 %mendhunt_buff_test_6
setvariable mendhunt_archive_primary_buff_name_6 %mendhunt_buff_name_6
setvariable mendhunt_archive_primary_buff_prep_power_6 %mendhunt_buff_prep_power_6
setvariable mendhunt_archive_primary_buff_harn_test_6 %mendhunt_buff_harn_test_6
setvariable mendhunt_archive_primary_buff_harn_power_6 %mendhunt_buff_harn_power_6
setvariable mendhunt_archive_primary_buff_harn_loop_6 %mendhunt_buff_harn_loop_6
setvariable mendhunt_archive_primary_buff_cam_test_6 %mendhunt_buff_cam_test_6
setvariable mendhunt_archive_primary_buff_cam_power_6 %mendhunt_buff_cam_power_6
setvariable mendhunt_archive_primary_buff_cam_loop_6 %mendhunt_buff_cam_loop_6
setvariable mendhunt_archive_primary_buff_cast_pause_6 %mendhunt_buff_cast_pause_6

echo *** Resetting variables [||||||||||||||||||||||||||||________]

setvariable mendhunt_archive_primary_debuff_test_1 %mendhunt_debuff_test_1
setvariable mendhunt_archive_primary_debuff_name_1 %mendhunt_debuff_name_1
setvariable mendhunt_archive_primary_debuff_prep_power_1 %mendhunt_debuff_prep_power_1
setvariable mendhunt_archive_primary_debuff_harn_test_1 %mendhunt_debuff_harn_test_1
setvariable mendhunt_archive_primary_debuff_harn_power_1 %mendhunt_debuff_harn_power_1
setvariable mendhunt_archive_primary_debuff_harn_loop_1 %mendhunt_debuff_harn_loop_1
setvariable mendhunt_archive_primary_debuff_cam_test_1 %mendhunt_debuff_cam_test_1
setvariable mendhunt_archive_primary_debuff_cam_power_1 %mendhunt_debuff_cam_power_1
setvariable mendhunt_archive_primary_debuff_cam_loop_1 %mendhunt_debuff_cam_loop_1
setvariable mendhunt_archive_primary_debuff_cast_pause_1 %mendhunt_debuff_cast_pause_1
setvariable mendhunt_archive_primary_debuff_once_test_1 %mendhunt_debuff_once_test_1

setvariable mendhunt_archive_primary_debuff_test_2 %mendhunt_debuff_test_2
setvariable mendhunt_archive_primary_debuff_name_2 %mendhunt_debuff_name_2
setvariable mendhunt_archive_primary_debuff_prep_power_2 %mendhunt_debuff_prep_power_2
setvariable mendhunt_archive_primary_debuff_harn_test_2 %mendhunt_debuff_harn_test_2
setvariable mendhunt_archive_primary_debuff_harn_power_2 %mendhunt_debuff_harn_power_2
setvariable mendhunt_archive_primary_debuff_harn_loop_2 %mendhunt_debuff_harn_loop_2
setvariable mendhunt_archive_primary_debuff_cam_test_2 %mendhunt_debuff_cam_test_2
setvariable mendhunt_archive_primary_debuff_cam_power_2 %mendhunt_debuff_cam_power_2
setvariable mendhunt_archive_primary_debuff_cam_loop_2 %mendhunt_debuff_cam_loop_2
setvariable mendhunt_archive_primary_debuff_cast_pause_2 %mendhunt_debuff_cast_pause_2
setvariable mendhunt_archive_primary_debuff_once_test_2 %mendhunt_debuff_once_test_2

setvariable mendhunt_archive_primary_debuff_test_3 %mendhunt_debuff_test_3
setvariable mendhunt_archive_primary_debuff_name_3 %mendhunt_debuff_name_3
setvariable mendhunt_archive_primary_debuff_prep_power_3 %mendhunt_debuff_prep_power_3
setvariable mendhunt_archive_primary_debuff_harn_test_3 %mendhunt_debuff_harn_test_3
setvariable mendhunt_archive_primary_debuff_harn_power_3 %mendhunt_debuff_harn_power_3
setvariable mendhunt_archive_primary_debuff_harn_loop_3 %mendhunt_debuff_harn_loop_3
setvariable mendhunt_archive_primary_debuff_cam_test_3 %mendhunt_debuff_cam_test_3
setvariable mendhunt_archive_primary_debuff_cam_power_3 %mendhunt_debuff_cam_power_3
setvariable mendhunt_archive_primary_debuff_cam_loop_3 %mendhunt_debuff_cam_loop_3
setvariable mendhunt_archive_primary_debuff_cast_pause_3 %mendhunt_debuff_cast_pause_3
setvariable mendhunt_archive_primary_debuff_once_test_3 %mendhunt_debuff_once_test_3

echo *** Resetting variables [|||||||||||||||||||||||||||||_______]

setvariable mendhunt_archive_primary_debuff_test_4 %mendhunt_debuff_test_4
setvariable mendhunt_archive_primary_debuff_name_4 %mendhunt_debuff_name_4
setvariable mendhunt_archive_primary_debuff_prep_power_4 %mendhunt_debuff_prep_power_4
setvariable mendhunt_archive_primary_debuff_harn_test_4 %mendhunt_debuff_harn_test_4
setvariable mendhunt_archive_primary_debuff_harn_power_4 %mendhunt_debuff_harn_power_4
setvariable mendhunt_archive_primary_debuff_harn_loop_4 %mendhunt_debuff_harn_loop_4
setvariable mendhunt_archive_primary_debuff_cam_test_4 %mendhunt_debuff_cam_test_4
setvariable mendhunt_archive_primary_debuff_cam_power_4 %mendhunt_debuff_cam_power_4
setvariable mendhunt_archive_primary_debuff_cam_loop_4 %mendhunt_debuff_cam_loop_4
setvariable mendhunt_archive_primary_debuff_cast_pause_4 %mendhunt_debuff_cast_pause_4
setvariable mendhunt_archive_primary_debuff_once_test_4 %mendhunt_debuff_once_test_4

setvariable mendhunt_archive_primary_debuff_test_5 %mendhunt_debuff_test_5
setvariable mendhunt_archive_primary_debuff_name_5 %mendhunt_debuff_name_5
setvariable mendhunt_archive_primary_debuff_prep_power_5 %mendhunt_debuff_prep_power_5
setvariable mendhunt_archive_primary_debuff_harn_test_5 %mendhunt_debuff_harn_test_5
setvariable mendhunt_archive_primary_debuff_harn_power_5 %mendhunt_debuff_harn_power_5
setvariable mendhunt_archive_primary_debuff_harn_loop_5 %mendhunt_debuff_harn_loop_5
setvariable mendhunt_archive_primary_debuff_cam_test_5 %mendhunt_debuff_cam_test_5
setvariable mendhunt_archive_primary_debuff_cam_power_5 %mendhunt_debuff_cam_power_5
setvariable mendhunt_archive_primary_debuff_cam_loop_5 %mendhunt_debuff_cam_loop_5
setvariable mendhunt_archive_primary_debuff_cast_pause_5 %mendhunt_debuff_cast_pause_5
setvariable mendhunt_archive_primary_debuff_once_test_5 %mendhunt_debuff_once_test_5

setvariable mendhunt_archive_primary_debuff_test_6 %mendhunt_debuff_test_6
setvariable mendhunt_archive_primary_debuff_name_6 %mendhunt_debuff_name_6
setvariable mendhunt_archive_primary_debuff_prep_power_6 %mendhunt_debuff_prep_power_6
setvariable mendhunt_archive_primary_debuff_harn_test_6 %mendhunt_debuff_harn_test_6
setvariable mendhunt_archive_primary_debuff_harn_power_6 %mendhunt_debuff_harn_power_6
setvariable mendhunt_archive_primary_debuff_harn_loop_6 %mendhunt_debuff_harn_loop_6
setvariable mendhunt_archive_primary_debuff_cam_test_6 %mendhunt_debuff_cam_test_6
setvariable mendhunt_archive_primary_debuff_cam_power_6 %mendhunt_debuff_cam_power_6
setvariable mendhunt_archive_primary_debuff_cam_loop_6 %mendhunt_debuff_cam_loop_6
setvariable mendhunt_archive_primary_debuff_cast_pause_6 %mendhunt_debuff_cast_pause_6
setvariable mendhunt_archive_primary_debuff_once_test_6 %mendhunt_debuff_once_test_6

echo *** Resetting variables [||||||||||||||||||||||||||||||______]

setvariable mendhunt_archive_primary_combat_roar_test %mendhunt_combat_roar_test
setvariable mendhunt_archive_primary_combat_roar_type %mendhunt_combat_roar_type
setvariable mendhunt_archive_primary_combat_dance_test %mendhunt_combat_dance_test
setvariable mendhunt_archive_primary_combat_dance_type %mendhunt_combat_dance_type
setvariable mendhunt_archive_primary_combat_sing_test %mendhunt_combat_sing_test
setvariable mendhunt_archive_primary_combat_sing_type %mendhunt_combat_sing_type
setvariable mendhunt_archive_primary_combat_chant_test %mendhunt_combat_chant_test
setvariable mendhunt_archive_primary_combat_chant_type %mendhunt_combat_chant_type
setvariable mendhunt_archive_primary_combat_khri_test %mendhunt_combat_khri_test
setvariable mendhunt_archive_primary_combat_khri_type %mendhunt_combat_khri_type
setvariable mendhunt_archive_primary_deks_special_test %mendhunt_deks_special_test
setvariable mendhunt_archive_primary_deks_line_1 %mendhunt_deks_line_1
setvariable mendhunt_archive_primary_deks_line_2 %mendhunt_deks_line_2
setvariable mendhunt_archive_primary_deks_line_3 %mendhunt_deks_line_3
setvariable mendhunt_archive_primary_deks_line_4 %mendhunt_deks_line_4
setvariable mendhunt_archive_primary_deks_line_5 %mendhunt_deks_line_5

echo *** Resetting variables [|||||||||||||||||||||||||||||||_____]

setvariable mendhunt_archive_primary_frenzy_cl_test %mendhunt_frenzy_cl_test
setvariable mendhunt_archive_primary_frenzy_cl_prep_mana %mendhunt_frenzy_cl_prep_mana
setvariable mendhunt_archive_primary_frenzy_cl_harn_test %mendhunt_frenzy_cl_harn_test
setvariable mendhunt_archive_primary_frenzy_cl_harn_mana %mendhunt_frenzy_cl_harn_mana
setvariable mendhunt_archive_primary_frenzy_cl_harn_loop %mendhunt_frenzy_cl_harn_loop
setvariable mendhunt_archive_primary_frenzy_cl_cast_pause %mendhunt_frenzy_cl_cast_pause
setvariable mendhunt_archive_primary_frenzy_roar_test %mendhunt_frenzy_roar_test
setvariable mendhunt_archive_primary_frenzy_roar_type %mendhunt_frenzy_roar_type
setvariable mendhunt_archive_primary_frenzy_berserk_test %mendhunt_frenzy_berserk_test
setvariable mendhunt_archive_primary_frenzy_berserk_type %mendhunt_frenzy_berserk_type
setvariable mendhunt_archive_primary_frenzy_sing_test %mendhunt_frenzy_sing_test
setvariable mendhunt_archive_primary_frenzy_sing_type %mendhunt_frenzy_sing_type
setvariable mendhunt_archive_primary_frenzy_chant_test %mendhunt_frenzy_chant_test
setvariable mendhunt_archive_primary_frenzy_chant_type %mendhunt_frenzy_chant_type
setvariable mendhunt_archive_primary_frenzy_bot_test %mendhunt_frenzy_bot_test
setvariable mendhunt_archive_primary_frenzy_bot_prep_mana %mendhunt_frenzy_bot_prep_mana
setvariable mendhunt_archive_primary_frenzy_bot_harn_test %mendhunt_frenzy_bot_harn_test
setvariable mendhunt_archive_primary_frenzy_bot_harn_mana %mendhunt_frenzy_bot_harn_mana
setvariable mendhunt_archive_primary_frenzy_bot_harn_loop %mendhunt_frenzy_bot_harn_loop
setvariable mendhunt_archive_primary_frenzy_bot_cast_pause %mendhunt_frenzy_bot_cast_pause
setvariable mendhunt_archive_primary_frenzy_flee_test %mendhunt_frenzy_flee_test
setvariable mendhunt_archive_primary_frenzy_hide_test %mendhunt_frenzy_hide_test

echo *** Resetting variables [||||||||||||||||||||||||||||||||____]

setvariable mendhunt_archive_primary_empath_guild_test %mendhunt_empath_guild_test
setvariable mendhunt_archive_primary_empath_test_manipulate %mendhunt_empath_test_manipulate
setvariable mendhunt_archive_primary_empath_test_innocence %mendhunt_empath_test_innocence
setvariable mendhunt_archive_primary_empath_test_gs %mendhunt_empath_test_gs

setvariable mendhunt_archive_primary_empath_prep_power_innocence %mendhunt_empath_prep_power_innocence
setvariable mendhunt_archive_primary_empath_cast_pause_innocence %mendhunt_empath_cast_pause_innocence
setvariable mendhunt_archive_primary_empath_harn_test_innocence %mendhunt_empath_harn_test_innocence
setvariable mendhunt_archive_primary_empath_harn_power_innocence %mendhunt_empath_harn_power_innocence
setvariable mendhunt_archive_primary_empath_harn_loop_innocence %mendhunt_empath_harn_loop_innocence
setvariable mendhunt_archive_primary_empath_cam_test_innocence %mendhunt_empath_cam_test_innocence
setvariable mendhunt_archive_primary_empath_cam_power_innocence %mendhunt_empath_cam_power_innocence
setvariable mendhunt_archive_primary_empath_cam_loop_innocence %mendhunt_empath_cam_loop_innocence

setvariable mendhunt_archive_primary_empath_prep_power_gs %mendhunt_empath_prep_power_gs
setvariable mendhunt_archive_primary_empath_cast_pause_gs %mendhunt_empath_cast_pause_gs
setvariable mendhunt_archive_primary_empath_harn_test_gs %mendhunt_empath_harn_test_gs
setvariable mendhunt_archive_primary_empath_harn_power_gs %mendhunt_empath_harn_power_gs
setvariable mendhunt_archive_primary_empath_harn_loop_gs %mendhunt_empath_harn_loop_gs
setvariable mendhunt_archive_primary_empath_cam_test_gs %mendhunt_empath_cam_test_gs
setvariable mendhunt_archive_primary_empath_cam_power_gs %mendhunt_empath_cam_power_gs
setvariable mendhunt_archive_primary_empath_cam_loop_gs %mendhunt_empath_cam_loop_gs

setvariable mendhunt_archive_primary_empath_maxconc %mendhunt_empath_maxconc

echo *** Resetting variables [|||||||||||||||||||||||||||||||||___]

setvariable mendhunt_archive_primary_crittercount1 %mendhunt_crittercount1
setvariable mendhunt_archive_primary_crittercount2 %mendhunt_crittercount2
setvariable mendhunt_archive_primary_crittercount3 %mendhunt_crittercount3
setvariable mendhunt_archive_primary_crittercount4 %mendhunt_crittercount4
setvariable mendhunt_archive_primary_crittercount5 %mendhunt_crittercount5
setvariable mendhunt_archive_primary_crittercount6 %mendhunt_crittercount6

setvariable mendhunt_archive_primary_skinning_test %mendhunt_skinning_test
setvariable mendhunt_archive_primary_skinner_name %mendhunt_skinner_name
setvariable mendhunt_archive_primary_skinner_name_branch %mendhunt_skinner_name_branch

setvariable mendhunt_archive_primary_ndc_master_test %mendhunt_ndc_master_test
setvariable mendhunt_archive_primary_ndc_hum_test %mendhunt_ndc_hum_test
setvariable mendhunt_archive_primary_ndc_hum_item %mendhunt_ndc_hum_item
setvariable mendhunt_archive_primary_ndc_pow_test %mendhunt_ndc_pow_test
setvariable mendhunt_archive_primary_ndc_juggle_test %mendhunt_ndc_juggle_test
setvariable mendhunt_archive_primary_ndc_juggle_item %mendhunt_ndc_juggle_item
setvariable mendhunt_archive_primary_ndc_comp_test %mendhunt_ndc_comp_test
setvariable mendhunt_archive_primary_ndc_stones_test %mendhunt_ndc_stones_test
setvariable mendhunt_archive_primary_ndc_pyramid_test %mendhunt_ndc_pyramid_test
setvariable mendhunt_archive_primary_ndc_pyramid_item %mendhunt_ndc_pyramid_item
setvariable mendhunt_archive_primary_ndc_forage_test %mendhunt_ndc_forage_test
setvariable mendhunt_archive_primary_ndc_forage_item %mendhunt_ndc_forage_item

echo *** Resetting variables [||||||||||||||||||||||||||||||||||__]

setvariable mendhunt_archive_primary_fissure_master_test %mendhunt_fissure_master_test
setvariable mendhunt_archive_primary_fissure_element %mendhunt_fissure_element
setvariable mendhunt_archive_primary_fissure_prep_power %mendhunt_fissure_prep_power
setvariable mendhunt_archive_primary_fissure_cast_pause %mendhunt_fissure_cast_pause
setvariable mendhunt_archive_primary_fissure_harn_test %mendhunt_fissure_harn_test
setvariable mendhunt_archive_primary_fissure_harn_power %mendhunt_fissure_harn_power
setvariable mendhunt_archive_primary_fissure_harn_loop %mendhunt_fissure_harn_loop
setvariable mendhunt_archive_primary_fissure_cam_test %mendhunt_fissure_cam_test
setvariable mendhunt_archive_primary_fissure_cam_power %mendhunt_fissure_cam_power
setvariable mendhunt_archive_primary_fissure_cam_loop %mendhunt_fissure_cam_loop

setvariable mendhunt_archive_primary_mof_master_test %mendhunt_mof_master_test
setvariable mendhunt_archive_primary_mof_prep_power %mendhunt_mof_prep_power
setvariable mendhunt_archive_primary_mof_cast_pause %mendhunt_mof_cast_pause
setvariable mendhunt_archive_primary_mof_harn_test %mendhunt_mof_harn_test
setvariable mendhunt_archive_primary_mof_harn_power %mendhunt_mof_harn_power
setvariable mendhunt_archive_primary_mof_harn_loop %mendhunt_mof_harn_loop
setvariable mendhunt_archive_primary_mof_cam_test %mendhunt_mof_cam_test
setvariable mendhunt_archive_primary_mof_cam_power %mendhunt_mof_cam_power
setvariable mendhunt_archive_primary_mof_cam_loop %mendhunt_mof_cam_loop

setvariable mendhunt_archive_primary_ys_master_test %mendhunt_ys_master_test
setvariable mendhunt_archive_primary_ys_prep_power %mendhunt_ys_prep_power
setvariable mendhunt_archive_primary_ys_cast_pause %mendhunt_ys_cast_pause
setvariable mendhunt_archive_primary_ys_harn_test %mendhunt_ys_harn_test
setvariable mendhunt_archive_primary_ys_harn_power %mendhunt_ys_harn_power
setvariable mendhunt_archive_primary_ys_harn_loop %mendhunt_ys_harn_loop
setvariable mendhunt_archive_primary_ys_cam_test %mendhunt_ys_cam_test
setvariable mendhunt_archive_primary_ys_cam_power %mendhunt_ys_cam_power
setvariable mendhunt_archive_primary_ys_cam_loop %mendhunt_ys_cam_loop
setvariable mendhunt_archive_primary_ysmaint_prep_power %mendhunt_ysmaint_prep_power
setvariable mendhunt_archive_primary_ysmaint_cast_pause %mendhunt_ysmaint_cast_pause

setvariable mendhunt_archive_primary_aeg_master_test %mendhunt_aeg_master_test
setvariable mendhunt_archive_primary_aeg_prep_power %mendhunt_aeg_prep_power
setvariable mendhunt_archive_primary_aeg_cast_pause %mendhunt_aeg_cast_pause
setvariable mendhunt_archive_primary_aeg_harn_test %mendhunt_aeg_harn_test
setvariable mendhunt_archive_primary_aeg_harn_power %mendhunt_aeg_harn_power
setvariable mendhunt_archive_primary_aeg_harn_loop %mendhunt_aeg_harn_loop
setvariable mendhunt_archive_primary_aeg_cam_test %mendhunt_aeg_cam_test
setvariable mendhunt_archive_primary_aeg_cam_power %mendhunt_aeg_cam_power
setvariable mendhunt_archive_primary_aeg_cam_loop %mendhunt_aeg_cam_loop
setvariable mendhunt_archive_primary_aeg_type_LE %mendhunt_aeg_type_LE
setvariable mendhunt_archive_primary_aeg_type_ME %mendhunt_aeg_type_ME
setvariable mendhunt_archive_primary_aeg_type_HE %mendhunt_aeg_type_HE
setvariable mendhunt_archive_primary_aeg_type_2HE %mendhunt_aeg_type_2HE
setvariable mendhunt_archive_primary_aeg_type_LB %mendhunt_aeg_type_LB
setvariable mendhunt_archive_primary_aeg_type_MB %mendhunt_aeg_type_MB
setvariable mendhunt_archive_primary_aeg_type_HB %mendhunt_aeg_type_HB
setvariable mendhunt_archive_primary_aeg_type_2HB %mendhunt_aeg_type_2HB
setvariable mendhunt_archive_primary_aeg_type_SL %mendhunt_aeg_type_SL
setvariable mendhunt_archive_primary_aeg_type_STAFFSLING %mendhunt_aeg_type_STAFFSLING
setvariable mendhunt_archive_primary_aeg_type_SB %mendhunt_aeg_type_SB
setvariable mendhunt_archive_primary_aeg_type_LOB %mendhunt_aeg_type_LOB
setvariable mendhunt_archive_primary_aeg_type_CB %mendhunt_aeg_type_CB
setvariable mendhunt_archive_primary_aeg_type_LX %mendhunt_aeg_type_LX
setvariable mendhunt_archive_primary_aeg_type_HX %mendhunt_aeg_type_HX
setvariable mendhunt_archive_primary_aeg_type_SS %mendhunt_aeg_type_SS
setvariable mendhunt_archive_primary_aeg_type_QS %mendhunt_aeg_type_QS
setvariable mendhunt_archive_primary_aeg_type_PI %mendhunt_aeg_type_PI
setvariable mendhunt_archive_primary_aeg_type_HAL %mendhunt_aeg_type_HAL
setvariable mendhunt_archive_primary_aeg_type_LT %mendhunt_aeg_type_LT
setvariable mendhunt_archive_primary_aeg_type_HT %mendhunt_aeg_type_HT
setvariable mendhunt_archive_primary_aeg_type_BR %mendhunt_aeg_type_BR
setvariable mendhunt_archive_primary_aeg_type_OW %mendhunt_aeg_type_OW
setvariable mendhunt_archive_primary_aeg_type_noweap %mendhunt_aeg_type_noweap
setvariable mendhunt_archive_primary_aegmaint_test %mendhunt_aegmaint_test
setvariable mendhunt_archive_primary_aegmaint_prep_power %mendhunt_aegmaint_prep_power
setvariable mendhunt_archive_primary_aegmaint_cast_pause %mendhunt_aegmaint_cast_pause

echo *** Resetting variables [|||||||||||||||||||||||||||||||||||_]

setvariable mendhunt_archive_primary_loot_master_test %mendhunt_loot_master_test
setvariable mendhunt_archive_primary_loot_plat_test %mendhunt_loot_plat_test
setvariable mendhunt_archive_primary_loot_gold_test %mendhunt_loot_gold_test
setvariable mendhunt_archive_primary_loot_silver_test %mendhunt_loot_silver_test
setvariable mendhunt_archive_primary_loot_bronze_test %mendhunt_loot_bronze_test
setvariable mendhunt_archive_primary_loot_copper_test %mendhunt_loot_copper_test
setvariable mendhunt_archive_primary_loot_gems_test %mendhunt_loot_gems_test
setvariable mendhunt_archive_primary_loot_boxes_test %mendhunt_loot_boxes_test
setvariable mendhunt_archive_primary_loot_other_test %mendhunt_loot_other_test
setvariable mendhunt_archive_primary_loot_skins_test %mendhunt_loot_skins_test
setvariable mendhunt_archive_primary_gems_container %mendhunt_gems_container
setvariable mendhunt_archive_primary_boxes_container %mendhunt_boxes_container
setvariable mendhunt_archive_primary_other_container %mendhunt_other_container
setvariable mendhunt_archive_primary_gpouch_use_test %mendhunt_gpouch_use_test
setvariable mendhunt_archive_primary_gpouch_empty_container %mendhunt_gpouch_empty_container
setvariable mendhunt_archive_primary_gpouch_full_container %mendhunt_gpouch_full_container
setvariable mendhunt_archive_primary_gpouch_tie_test %mendhunt_gpouch_tie_test

#setvariable mendhunt_archive_primary_useradd_critter_1 %mendhunt_useradd_critter_1
#setvariable mendhunt_archive_primary_useradd_critter_2 %mendhunt_useradd_critter_2
#setvariable mendhunt_archive_primary_useradd_critter_3 %mendhunt_useradd_critter_3
#setvariable mendhunt_archive_primary_useradd_critter_4 %mendhunt_useradd_critter_4
#setvariable mendhunt_archive_primary_useradd_critter_5 %mendhunt_useradd_critter_5
#setvariable mendhunt_archive_primary_useradd_critter_6 %mendhunt_useradd_critter_6
#setvariable mendhunt_archive_primary_loot_gems_useradd_1 %mendhunt_loot_gems_useradd_1
#setvariable mendhunt_archive_primary_loot_gems_useradd_2 %mendhunt_loot_gems_useradd_2
#setvariable mendhunt_archive_primary_loot_gems_useradd_3 %mendhunt_loot_gems_useradd_3
#setvariable mendhunt_archive_primary_loot_gems_useradd_4 %mendhunt_loot_gems_useradd_4
#setvariable mendhunt_archive_primary_loot_gems_useradd_5 %mendhunt_loot_gems_useradd_5
#setvariable mendhunt_archive_primary_loot_gems_useradd_6 %mendhunt_loot_gems_useradd_6
#setvariable mendhunt_archive_primary_loot_other_useradd_1 %mendhunt_loot_other_useradd_1
#setvariable mendhunt_archive_primary_loot_other_useradd_2 %mendhunt_loot_other_useradd_2
#setvariable mendhunt_archive_primary_loot_other_useradd_3 %mendhunt_loot_other_useradd_3
#setvariable mendhunt_archive_primary_loot_other_useradd_4 %mendhunt_loot_other_useradd_4
#setvariable mendhunt_archive_primary_loot_other_useradd_5 %mendhunt_loot_other_useradd_5
#setvariable mendhunt_archive_primary_loot_other_useradd_6 %mendhunt_loot_other_useradd_6
#setvariable mendhunt_archive_primary_loot_skins_useradd_1 %mendhunt_loot_skins_useradd_1
#setvariable mendhunt_archive_primary_loot_skins_useradd_2 %mendhunt_loot_skins_useradd_2
#setvariable mendhunt_archive_primary_loot_skins_useradd_3 %mendhunt_loot_skins_useradd_3
#setvariable mendhunt_archive_primary_loot_skins_useradd_4 %mendhunt_loot_skins_useradd_4
#setvariable mendhunt_archive_primary_loot_skins_useradd_5 %mendhunt_loot_skins_useradd_5
#setvariable mendhunt_archive_primary_loot_skins_useradd_6 %mendhunt_loot_skins_useradd_6


echo *** Resetting variables [||||||||||||||||||||||||||||||||||||]
echo
echo *** Resetting variables COMPLETED
echo

	echo
	echo
	echo *** Variables saved to Archive Primary
	echo
	echo
	pause 1
ARCHIVE_PRIMARY_SAVE_END:
	goto SETUP_MISC_ARCHIVE_RETURN



#_______________________________________________________________________ARCHIVE PRIMARY RETRIEVE
ARCHIVE_PRIMARY_RETRIEVE:
ARCHIVE_PRIMARY_RETRIEVE_START:

echo
echo *** Resetting variables START
echo
echo *** Resetting variables [|___________________________________]

setvariable mendhunt_need_initialize_flag %mendhunt_archive_primary_need_initialize_flag
setvariable mendhunt_weapon_style_master %mendhunt_archive_primary_weapon_style_master
setvariable mendhunt_weapon_style_main_test %mendhunt_archive_primary_weapon_style_main_test
setvariable mendhunt_weapon_style_multi_test %mendhunt_archive_primary_weapon_style_multi_test
setvariable mendhunt_weapon_style_noweap_test %mendhunt_archive_primary_weapon_style_noweap_test
setvariable mendhunt_weapon_swap_test %mendhunt_archive_primary_weapon_swap_test
setvariable mendhunt_armor_switch_test %mendhunt_archive_primary_armor_switch_test
setvariable mendhunt_stance_test %mendhunt_archive_primary_stance_test
setvariable mendhunt_dance_mode_mo_test %mendhunt_archive_primary_dance_mode_mo_test
setvariable mendhunt_dance_app_test %mendhunt_archive_primary_dance_app_test
setvariable mendhunt_dance_brawl_test %mendhunt_archive_primary_dance_brawl_test
setvariable mendhunt_dance_hunt_test %mendhunt_archive_primary_dance_hunt_test
setvariable mendhunt_mindstate_test %mendhunt_archive_primary_mindstate_test
setvariable mendhunt_ranged_pause %mendhunt_archive_primary_ranged_pause
setvariable mendhunt_thrown_pause %mendhunt_archive_primary_thrown_pause
setvariable mendhunt_rangedthrown_retreat_test %mendhunt_archive_primary_rangedthrown_retreat_test
setvariable mendhunt_slow_attack_test %mendhunt_archive_primary_slow_attack_test
setvariable mendhunt_hide_test %mendhunt_archive_primary_hide_test
setvariable mendhunt_weapon_cycle %mendhunt_archive_primary_weapon_cycle
setvariable mendhunt_arrange_master_test %mendhunt_archive_primary_arrange_master_test
setvariable mendhunt_backstab_master_test %mendhunt_archive_primary_backstab_master_test
setvariable mendhunt_force_weapon_switch_test %mendhunt_archive_primary_force_weapon_switch_test
setvariable mendhunt_force_armor_switch_test %mendhunt_archive_primary_force_armor_switch_test
setvariable mendhunt_preserve_master_test %mendhunt_archive_primary_preserve_master_test

echo *** Resetting variables [||__________________________________]

setvariable mendhunt_weapon_name_main %mendhunt_archive_primary_weapon_name_main
setvariable mendhunt_weapon_class_main %mendhunt_archive_primary_weapon_class_main
setvariable mendhunt_weapon_type_main %mendhunt_archive_primary_weapon_type_main
setvariable mendhunt_weapon_combo_main %mendhunt_archive_primary_weapon_combo_main
setvariable mendhunt_weapon_combo_1_main %mendhunt_archive_primary_weapon_combo_1_main
setvariable mendhunt_weapon_combo_2_main %mendhunt_archive_primary_weapon_combo_2_main
setvariable mendhunt_weapon_combo_3_main %mendhunt_archive_primary_weapon_combo_3_main
setvariable mendhunt_weapon_combo_4_main %mendhunt_archive_primary_weapon_combo_4_main
setvariable mendhunt_weapon_combo_5_main %mendhunt_archive_primary_weapon_combo_5_main
setvariable mendhunt_weapon_combo_6_main %mendhunt_archive_primary_weapon_combo_6_main
setvariable mendhunt_weapon_combo_7_main %mendhunt_archive_primary_weapon_combo_7_main
setvariable mendhunt_weapon_combo_8_main %mendhunt_archive_primary_weapon_combo_8_main
setvariable mendhunt_weapon_ammo_main %mendhunt_archive_primary_weapon_ammo_main
setvariable mendhunt_weapon_shield_use_main %mendhunt_archive_primary_weapon_shield_use_main
setvariable mendhunt_weapon_shield_name_main %mendhunt_archive_primary_weapon_shield_name_main
setvariable mendhunt_weapon_stance_focus_main %mendhunt_archive_primary_weapon_stance_focus_main

setvariable mendhunt_weapon_name_1 %mendhunt_archive_primary_weapon_name_1
setvariable mendhunt_weapon_class_1 %mendhunt_archive_primary_weapon_class_1
setvariable mendhunt_weapon_type_1 %mendhunt_archive_primary_weapon_type_1
setvariable mendhunt_weapon_combo_1 %mendhunt_archive_primary_weapon_combo_1
setvariable mendhunt_weapon_combo_1_1 %mendhunt_archive_primary_weapon_combo_1_1
setvariable mendhunt_weapon_combo_2_1 %mendhunt_archive_primary_weapon_combo_2_1
setvariable mendhunt_weapon_combo_3_1 %mendhunt_archive_primary_weapon_combo_3_1
setvariable mendhunt_weapon_combo_4_1 %mendhunt_archive_primary_weapon_combo_4_1
setvariable mendhunt_weapon_combo_5_1 %mendhunt_archive_primary_weapon_combo_5_1
setvariable mendhunt_weapon_combo_6_1 %mendhunt_archive_primary_weapon_combo_6_1
setvariable mendhunt_weapon_combo_7_1 %mendhunt_archive_primary_weapon_combo_7_1
setvariable mendhunt_weapon_combo_8_1 %mendhunt_archive_primary_weapon_combo_8_1
setvariable mendhunt_weapon_ammo_1 %mendhunt_archive_primary_weapon_ammo_1
setvariable mendhunt_weapon_shield_use_1 %mendhunt_archive_primary_weapon_shield_use_1
setvariable mendhunt_weapon_shield_name_1 %mendhunt_archive_primary_weapon_shield_name_1
setvariable mendhunt_weapon_stance_focus_1 %mendhunt_archive_primary_weapon_stance_focus_1

echo *** Resetting variables [|||_________________________________]

setvariable mendhunt_weapon_name_2 %mendhunt_archive_primary_weapon_name_2
setvariable mendhunt_weapon_class_2 %mendhunt_archive_primary_weapon_class_2
setvariable mendhunt_weapon_type_2 %mendhunt_archive_primary_weapon_type_2
setvariable mendhunt_weapon_combo_2 %mendhunt_archive_primary_weapon_combo_2
setvariable mendhunt_weapon_combo_1_2 %mendhunt_archive_primary_weapon_combo_1_2
setvariable mendhunt_weapon_combo_2_2 %mendhunt_archive_primary_weapon_combo_2_2
setvariable mendhunt_weapon_combo_3_2 %mendhunt_archive_primary_weapon_combo_3_2
setvariable mendhunt_weapon_combo_4_2 %mendhunt_archive_primary_weapon_combo_4_2
setvariable mendhunt_weapon_combo_5_2 %mendhunt_archive_primary_weapon_combo_5_2
setvariable mendhunt_weapon_combo_6_2 %mendhunt_archive_primary_weapon_combo_6_2
setvariable mendhunt_weapon_combo_7_2 %mendhunt_archive_primary_weapon_combo_7_2
setvariable mendhunt_weapon_combo_8_2 %mendhunt_archive_primary_weapon_combo_8_2
setvariable mendhunt_weapon_ammo_2 %mendhunt_archive_primary_weapon_ammo_2
setvariable mendhunt_weapon_shield_use_2 %mendhunt_archive_primary_weapon_shield_use_2
setvariable mendhunt_weapon_shield_name_2 %mendhunt_archive_primary_weapon_shield_name_2
setvariable mendhunt_weapon_stance_focus_2 %mendhunt_archive_primary_weapon_stance_focus_2

setvariable mendhunt_weapon_name_3 %mendhunt_archive_primary_weapon_name_3
setvariable mendhunt_weapon_class_3 %mendhunt_archive_primary_weapon_class_3
setvariable mendhunt_weapon_type_3 %mendhunt_archive_primary_weapon_type_3
setvariable mendhunt_weapon_combo_3 %mendhunt_archive_primary_weapon_combo_3
setvariable mendhunt_weapon_combo_1_3 %mendhunt_archive_primary_weapon_combo_1_3
setvariable mendhunt_weapon_combo_2_3 %mendhunt_archive_primary_weapon_combo_2_3
setvariable mendhunt_weapon_combo_3_3 %mendhunt_archive_primary_weapon_combo_3_3
setvariable mendhunt_weapon_combo_4_3 %mendhunt_archive_primary_weapon_combo_4_3
setvariable mendhunt_weapon_combo_5_3 %mendhunt_archive_primary_weapon_combo_5_3
setvariable mendhunt_weapon_combo_6_3 %mendhunt_archive_primary_weapon_combo_6_3
setvariable mendhunt_weapon_combo_7_3 %mendhunt_archive_primary_weapon_combo_7_3
setvariable mendhunt_weapon_combo_8_3 %mendhunt_archive_primary_weapon_combo_8_3
setvariable mendhunt_weapon_ammo_3 %mendhunt_archive_primary_weapon_ammo_3
setvariable mendhunt_weapon_shield_use_3 %mendhunt_archive_primary_weapon_shield_use_3
setvariable mendhunt_weapon_shield_name_3 %mendhunt_archive_primary_weapon_shield_name_3
setvariable mendhunt_weapon_stance_focus_3 %mendhunt_archive_primary_weapon_stance_focus_3

echo *** Resetting variables [||||________________________________]

setvariable mendhunt_weapon_name_4 %mendhunt_archive_primary_weapon_name_4
setvariable mendhunt_weapon_class_4 %mendhunt_archive_primary_weapon_class_4
setvariable mendhunt_weapon_type_4 %mendhunt_archive_primary_weapon_type_4
setvariable mendhunt_weapon_combo_4 %mendhunt_archive_primary_weapon_combo_4
setvariable mendhunt_weapon_combo_1_4 %mendhunt_archive_primary_weapon_combo_1_4
setvariable mendhunt_weapon_combo_2_4 %mendhunt_archive_primary_weapon_combo_2_4
setvariable mendhunt_weapon_combo_3_4 %mendhunt_archive_primary_weapon_combo_3_4
setvariable mendhunt_weapon_combo_4_4 %mendhunt_archive_primary_weapon_combo_4_4
setvariable mendhunt_weapon_combo_5_4 %mendhunt_archive_primary_weapon_combo_5_4
setvariable mendhunt_weapon_combo_6_4 %mendhunt_archive_primary_weapon_combo_6_4
setvariable mendhunt_weapon_combo_7_4 %mendhunt_archive_primary_weapon_combo_7_4
setvariable mendhunt_weapon_combo_8_4 %mendhunt_archive_primary_weapon_combo_8_4
setvariable mendhunt_weapon_ammo_4 %mendhunt_archive_primary_weapon_ammo_4
setvariable mendhunt_weapon_shield_use_4 %mendhunt_archive_primary_weapon_shield_use_4
setvariable mendhunt_weapon_shield_name_4 %mendhunt_archive_primary_weapon_shield_name_4
setvariable mendhunt_weapon_stance_focus_4 %mendhunt_archive_primary_weapon_stance_focus_4

setvariable mendhunt_weapon_name_5 %mendhunt_archive_primary_weapon_name_5
setvariable mendhunt_weapon_class_5 %mendhunt_archive_primary_weapon_class_5
setvariable mendhunt_weapon_type_5 %mendhunt_archive_primary_weapon_type_5
setvariable mendhunt_weapon_combo_5 %mendhunt_archive_primary_weapon_combo_5
setvariable mendhunt_weapon_combo_1_5 %mendhunt_archive_primary_weapon_combo_1_5
setvariable mendhunt_weapon_combo_2_5 %mendhunt_archive_primary_weapon_combo_2_5
setvariable mendhunt_weapon_combo_3_5 %mendhunt_archive_primary_weapon_combo_3_5
setvariable mendhunt_weapon_combo_4_5 %mendhunt_archive_primary_weapon_combo_4_5
setvariable mendhunt_weapon_combo_5_5 %mendhunt_archive_primary_weapon_combo_5_5
setvariable mendhunt_weapon_combo_6_5 %mendhunt_archive_primary_weapon_combo_6_5
setvariable mendhunt_weapon_combo_7_5 %mendhunt_archive_primary_weapon_combo_7_5
setvariable mendhunt_weapon_combo_8_5 %mendhunt_archive_primary_weapon_combo_8_5
setvariable mendhunt_weapon_ammo_5 %mendhunt_archive_primary_weapon_ammo_5
setvariable mendhunt_weapon_shield_use_5 %mendhunt_archive_primary_weapon_shield_use_5
setvariable mendhunt_weapon_shield_name_5 %mendhunt_archive_primary_weapon_shield_name_5
setvariable mendhunt_weapon_stance_focus_5 %mendhunt_archive_primary_weapon_stance_focus_5

echo *** Resetting variables [|||||_______________________________]

setvariable mendhunt_weapon_name_6 %mendhunt_archive_primary_weapon_name_6
setvariable mendhunt_weapon_class_6 %mendhunt_archive_primary_weapon_class_6
setvariable mendhunt_weapon_type_6 %mendhunt_archive_primary_weapon_type_6
setvariable mendhunt_weapon_combo_6 %mendhunt_archive_primary_weapon_combo_6
setvariable mendhunt_weapon_combo_1_6 %mendhunt_archive_primary_weapon_combo_1_6
setvariable mendhunt_weapon_combo_2_6 %mendhunt_archive_primary_weapon_combo_2_6
setvariable mendhunt_weapon_combo_3_6 %mendhunt_archive_primary_weapon_combo_3_6
setvariable mendhunt_weapon_combo_4_6 %mendhunt_archive_primary_weapon_combo_4_6
setvariable mendhunt_weapon_combo_5_6 %mendhunt_archive_primary_weapon_combo_5_6
setvariable mendhunt_weapon_combo_6_6 %mendhunt_archive_primary_weapon_combo_6_6
setvariable mendhunt_weapon_combo_7_6 %mendhunt_archive_primary_weapon_combo_7_6
setvariable mendhunt_weapon_combo_8_6 %mendhunt_archive_primary_weapon_combo_8_6
setvariable mendhunt_weapon_ammo_6 %mendhunt_archive_primary_weapon_ammo_6
setvariable mendhunt_weapon_shield_use_6 %mendhunt_archive_primary_weapon_shield_use_6
setvariable mendhunt_weapon_shield_name_6 %mendhunt_archive_primary_weapon_shield_name_6
setvariable mendhunt_weapon_stance_focus_6 %mendhunt_archive_primary_weapon_stance_focus_6

setvariable mendhunt_weapon_name_LE %mendhunt_archive_primary_weapon_name_LE
setvariable mendhunt_weapon_class_LE %mendhunt_archive_primary_weapon_class_LE
setvariable mendhunt_weapon_type_LE %mendhunt_archive_primary_weapon_type_LE
setvariable mendhunt_weapon_combo_LE %mendhunt_archive_primary_weapon_combo_LE
setvariable mendhunt_weapon_combo_1_LE %mendhunt_archive_primary_weapon_combo_1_LE
setvariable mendhunt_weapon_combo_2_LE %mendhunt_archive_primary_weapon_combo_2_LE
setvariable mendhunt_weapon_combo_3_LE %mendhunt_archive_primary_weapon_combo_3_LE
setvariable mendhunt_weapon_combo_4_LE %mendhunt_archive_primary_weapon_combo_4_LE
setvariable mendhunt_weapon_combo_5_LE %mendhunt_archive_primary_weapon_combo_5_LE
setvariable mendhunt_weapon_combo_6_LE %mendhunt_archive_primary_weapon_combo_6_LE
setvariable mendhunt_weapon_combo_7_LE %mendhunt_archive_primary_weapon_combo_7_LE
setvariable mendhunt_weapon_combo_8_LE %mendhunt_archive_primary_weapon_combo_8_LE
setvariable mendhunt_weapon_ammo_LE %mendhunt_archive_primary_weapon_ammo_LE
setvariable mendhunt_weapon_shield_use_LE %mendhunt_archive_primary_weapon_shield_use_LE
setvariable mendhunt_weapon_shield_name_LE %mendhunt_archive_primary_weapon_shield_name_LE
setvariable mendhunt_weapon_stance_focus_LE %mendhunt_archive_primary_weapon_stance_focus_LE

echo *** Resetting variables [||||||______________________________]

setvariable mendhunt_weapon_name_ME %mendhunt_archive_primary_weapon_name_ME
setvariable mendhunt_weapon_class_ME %mendhunt_archive_primary_weapon_class_ME
setvariable mendhunt_weapon_type_ME %mendhunt_archive_primary_weapon_type_ME
setvariable mendhunt_weapon_combo_ME %mendhunt_archive_primary_weapon_combo_ME
setvariable mendhunt_weapon_combo_1_ME %mendhunt_archive_primary_weapon_combo_1_ME
setvariable mendhunt_weapon_combo_2_ME %mendhunt_archive_primary_weapon_combo_2_ME
setvariable mendhunt_weapon_combo_3_ME %mendhunt_archive_primary_weapon_combo_3_ME
setvariable mendhunt_weapon_combo_4_ME %mendhunt_archive_primary_weapon_combo_4_ME
setvariable mendhunt_weapon_combo_5_ME %mendhunt_archive_primary_weapon_combo_5_ME
setvariable mendhunt_weapon_combo_6_ME %mendhunt_archive_primary_weapon_combo_6_ME
setvariable mendhunt_weapon_combo_7_ME %mendhunt_archive_primary_weapon_combo_7_ME
setvariable mendhunt_weapon_combo_8_ME %mendhunt_archive_primary_weapon_combo_8_ME
setvariable mendhunt_weapon_ammo_ME %mendhunt_archive_primary_weapon_ammo_ME
setvariable mendhunt_weapon_shield_use_ME %mendhunt_archive_primary_weapon_shield_use_ME
setvariable mendhunt_weapon_shield_name_ME %mendhunt_archive_primary_weapon_shield_name_ME
setvariable mendhunt_weapon_stance_focus_ME %mendhunt_archive_primary_weapon_stance_focus_ME

setvariable mendhunt_weapon_name_HE %mendhunt_archive_primary_weapon_name_HE
setvariable mendhunt_weapon_class_HE %mendhunt_archive_primary_weapon_class_HE
setvariable mendhunt_weapon_type_HE %mendhunt_archive_primary_weapon_type_HE
setvariable mendhunt_weapon_combo_HE %mendhunt_archive_primary_weapon_combo_HE
setvariable mendhunt_weapon_combo_1_HE %mendhunt_archive_primary_weapon_combo_1_HE
setvariable mendhunt_weapon_combo_2_HE %mendhunt_archive_primary_weapon_combo_2_HE
setvariable mendhunt_weapon_combo_3_HE %mendhunt_archive_primary_weapon_combo_3_HE
setvariable mendhunt_weapon_combo_4_HE %mendhunt_archive_primary_weapon_combo_4_HE
setvariable mendhunt_weapon_combo_5_HE %mendhunt_archive_primary_weapon_combo_5_HE
setvariable mendhunt_weapon_combo_6_HE %mendhunt_archive_primary_weapon_combo_6_HE
setvariable mendhunt_weapon_combo_7_HE %mendhunt_archive_primary_weapon_combo_7_HE
setvariable mendhunt_weapon_combo_8_HE %mendhunt_archive_primary_weapon_combo_8_HE
setvariable mendhunt_weapon_ammo_HE %mendhunt_archive_primary_weapon_ammo_HE
setvariable mendhunt_weapon_shield_use_HE %mendhunt_archive_primary_weapon_shield_use_HE
setvariable mendhunt_weapon_shield_name_HE %mendhunt_archive_primary_weapon_shield_name_HE
setvariable mendhunt_weapon_stance_focus_HE %mendhunt_archive_primary_weapon_stance_focus_HE

echo *** Resetting variables [|||||||_____________________________]

setvariable mendhunt_weapon_name_2HE %mendhunt_archive_primary_weapon_name_2HE
setvariable mendhunt_weapon_class_2HE %mendhunt_archive_primary_weapon_class_2HE
setvariable mendhunt_weapon_type_2HE %mendhunt_archive_primary_weapon_type_2HE
setvariable mendhunt_weapon_combo_2HE %mendhunt_archive_primary_weapon_combo_2HE
setvariable mendhunt_weapon_combo_1_2HE %mendhunt_archive_primary_weapon_combo_1_2HE
setvariable mendhunt_weapon_combo_2_2HE %mendhunt_archive_primary_weapon_combo_2_2HE
setvariable mendhunt_weapon_combo_3_2HE %mendhunt_archive_primary_weapon_combo_3_2HE
setvariable mendhunt_weapon_combo_4_2HE %mendhunt_archive_primary_weapon_combo_4_2HE
setvariable mendhunt_weapon_combo_5_2HE %mendhunt_archive_primary_weapon_combo_5_2HE
setvariable mendhunt_weapon_combo_6_2HE %mendhunt_archive_primary_weapon_combo_6_2HE
setvariable mendhunt_weapon_combo_7_2HE %mendhunt_archive_primary_weapon_combo_7_2HE
setvariable mendhunt_weapon_combo_8_2HE %mendhunt_archive_primary_weapon_combo_8_2HE
setvariable mendhunt_weapon_ammo_2HE %mendhunt_archive_primary_weapon_ammo_2HE
setvariable mendhunt_weapon_shield_use_2HE %mendhunt_archive_primary_weapon_shield_use_2HE
setvariable mendhunt_weapon_shield_name_2HE %mendhunt_archive_primary_weapon_shield_name_2HE
setvariable mendhunt_weapon_stance_focus_2HE %mendhunt_archive_primary_weapon_stance_focus_2HE

setvariable mendhunt_weapon_name_LB %mendhunt_archive_primary_weapon_name_LB
setvariable mendhunt_weapon_class_LB %mendhunt_archive_primary_weapon_class_LB
setvariable mendhunt_weapon_type_LB %mendhunt_archive_primary_weapon_type_LB
setvariable mendhunt_weapon_combo_LB %mendhunt_archive_primary_weapon_combo_LB
setvariable mendhunt_weapon_combo_1_LB %mendhunt_archive_primary_weapon_combo_1_LB
setvariable mendhunt_weapon_combo_2_LB %mendhunt_archive_primary_weapon_combo_2_LB
setvariable mendhunt_weapon_combo_3_LB %mendhunt_archive_primary_weapon_combo_3_LB
setvariable mendhunt_weapon_combo_4_LB %mendhunt_archive_primary_weapon_combo_4_LB
setvariable mendhunt_weapon_combo_5_LB %mendhunt_archive_primary_weapon_combo_5_LB
setvariable mendhunt_weapon_combo_6_LB %mendhunt_archive_primary_weapon_combo_6_LB
setvariable mendhunt_weapon_combo_7_LB %mendhunt_archive_primary_weapon_combo_7_LB
setvariable mendhunt_weapon_combo_8_LB %mendhunt_archive_primary_weapon_combo_8_LB
setvariable mendhunt_weapon_ammo_LB %mendhunt_archive_primary_weapon_ammo_LB
setvariable mendhunt_weapon_shield_use_LB %mendhunt_archive_primary_weapon_shield_use_LB
setvariable mendhunt_weapon_shield_name_LB %mendhunt_archive_primary_weapon_shield_name_LB
setvariable mendhunt_weapon_stance_focus_LB %mendhunt_archive_primary_weapon_stance_focus_LB

echo *** Resetting variables [||||||||____________________________]

setvariable mendhunt_weapon_name_MB %mendhunt_archive_primary_weapon_name_MB
setvariable mendhunt_weapon_class_MB %mendhunt_archive_primary_weapon_class_MB
setvariable mendhunt_weapon_type_MB %mendhunt_archive_primary_weapon_type_MB
setvariable mendhunt_weapon_combo_MB %mendhunt_archive_primary_weapon_combo_MB
setvariable mendhunt_weapon_combo_1_MB %mendhunt_archive_primary_weapon_combo_1_MB
setvariable mendhunt_weapon_combo_2_MB %mendhunt_archive_primary_weapon_combo_2_MB
setvariable mendhunt_weapon_combo_3_MB %mendhunt_archive_primary_weapon_combo_3_MB
setvariable mendhunt_weapon_combo_4_MB %mendhunt_archive_primary_weapon_combo_4_MB
setvariable mendhunt_weapon_combo_5_MB %mendhunt_archive_primary_weapon_combo_5_MB
setvariable mendhunt_weapon_combo_6_MB %mendhunt_archive_primary_weapon_combo_6_MB
setvariable mendhunt_weapon_combo_7_MB %mendhunt_archive_primary_weapon_combo_7_MB
setvariable mendhunt_weapon_combo_8_MB %mendhunt_archive_primary_weapon_combo_8_MB
setvariable mendhunt_weapon_ammo_MB %mendhunt_archive_primary_weapon_ammo_MB
setvariable mendhunt_weapon_shield_use_MB %mendhunt_archive_primary_weapon_shield_use_MB
setvariable mendhunt_weapon_shield_name_MB %mendhunt_archive_primary_weapon_shield_name_MB
setvariable mendhunt_weapon_stance_focus_MB %mendhunt_archive_primary_weapon_stance_focus_MB

setvariable mendhunt_weapon_name_HB %mendhunt_archive_primary_weapon_name_HB
setvariable mendhunt_weapon_class_HB %mendhunt_archive_primary_weapon_class_HB
setvariable mendhunt_weapon_type_HB %mendhunt_archive_primary_weapon_type_HB
setvariable mendhunt_weapon_combo_HB %mendhunt_archive_primary_weapon_combo_HB
setvariable mendhunt_weapon_combo_1_HB %mendhunt_archive_primary_weapon_combo_1_HB
setvariable mendhunt_weapon_combo_2_HB %mendhunt_archive_primary_weapon_combo_2_HB
setvariable mendhunt_weapon_combo_3_HB %mendhunt_archive_primary_weapon_combo_3_HB
setvariable mendhunt_weapon_combo_4_HB %mendhunt_archive_primary_weapon_combo_4_HB
setvariable mendhunt_weapon_combo_5_HB %mendhunt_archive_primary_weapon_combo_5_HB
setvariable mendhunt_weapon_combo_6_HB %mendhunt_archive_primary_weapon_combo_6_HB
setvariable mendhunt_weapon_combo_7_HB %mendhunt_archive_primary_weapon_combo_7_HB
setvariable mendhunt_weapon_combo_8_HB %mendhunt_archive_primary_weapon_combo_8_HB
setvariable mendhunt_weapon_ammo_HB %mendhunt_archive_primary_weapon_ammo_HB
setvariable mendhunt_weapon_shield_use_HB %mendhunt_archive_primary_weapon_shield_use_HB
setvariable mendhunt_weapon_shield_name_HB %mendhunt_archive_primary_weapon_shield_name_HB
setvariable mendhunt_weapon_stance_focus_HB %mendhunt_archive_primary_weapon_stance_focus_HB

echo *** Resetting variables [|||||||||___________________________]

setvariable mendhunt_weapon_name_2HB %mendhunt_archive_primary_weapon_name_2HB
setvariable mendhunt_weapon_class_2HB %mendhunt_archive_primary_weapon_class_2HB
setvariable mendhunt_weapon_type_2HB %mendhunt_archive_primary_weapon_type_2HB
setvariable mendhunt_weapon_combo_2HB %mendhunt_archive_primary_weapon_combo_2HB
setvariable mendhunt_weapon_combo_1_2HB %mendhunt_archive_primary_weapon_combo_1_2HB
setvariable mendhunt_weapon_combo_2_2HB %mendhunt_archive_primary_weapon_combo_2_2HB
setvariable mendhunt_weapon_combo_3_2HB %mendhunt_archive_primary_weapon_combo_3_2HB
setvariable mendhunt_weapon_combo_4_2HB %mendhunt_archive_primary_weapon_combo_4_2HB
setvariable mendhunt_weapon_combo_5_2HB %mendhunt_archive_primary_weapon_combo_5_2HB
setvariable mendhunt_weapon_combo_6_2HB %mendhunt_archive_primary_weapon_combo_6_2HB
setvariable mendhunt_weapon_combo_7_2HB %mendhunt_archive_primary_weapon_combo_7_2HB
setvariable mendhunt_weapon_combo_8_2HB %mendhunt_archive_primary_weapon_combo_8_2HB
setvariable mendhunt_weapon_ammo_2HB %mendhunt_archive_primary_weapon_ammo_2HB
setvariable mendhunt_weapon_shield_use_2HB %mendhunt_archive_primary_weapon_shield_use_2HB
setvariable mendhunt_weapon_shield_name_2HB %mendhunt_archive_primary_weapon_shield_name_2HB
setvariable mendhunt_weapon_stance_focus_2HB %mendhunt_archive_primary_weapon_stance_focus_2HB

setvariable mendhunt_weapon_name_SL %mendhunt_archive_primary_weapon_name_SL
setvariable mendhunt_weapon_class_SL %mendhunt_archive_primary_weapon_class_SL
setvariable mendhunt_weapon_type_SL %mendhunt_archive_primary_weapon_type_SL
setvariable mendhunt_weapon_combo_SL %mendhunt_archive_primary_weapon_combo_SL
setvariable mendhunt_weapon_combo_1_SL %mendhunt_archive_primary_weapon_combo_1_SL
setvariable mendhunt_weapon_combo_2_SL %mendhunt_archive_primary_weapon_combo_2_SL
setvariable mendhunt_weapon_combo_3_SL %mendhunt_archive_primary_weapon_combo_3_SL
setvariable mendhunt_weapon_combo_4_SL %mendhunt_archive_primary_weapon_combo_4_SL
setvariable mendhunt_weapon_combo_5_SL %mendhunt_archive_primary_weapon_combo_5_SL
setvariable mendhunt_weapon_combo_6_SL %mendhunt_archive_primary_weapon_combo_6_SL
setvariable mendhunt_weapon_combo_7_SL %mendhunt_archive_primary_weapon_combo_7_SL
setvariable mendhunt_weapon_combo_8_SL %mendhunt_archive_primary_weapon_combo_8_SL
setvariable mendhunt_weapon_ammo_SL %mendhunt_archive_primary_weapon_ammo_SL
setvariable mendhunt_weapon_shield_use_SL %mendhunt_archive_primary_weapon_shield_use_SL
setvariable mendhunt_weapon_shield_name_SL %mendhunt_archive_primary_weapon_shield_name_SL
setvariable mendhunt_weapon_stance_focus_SL %mendhunt_archive_primary_weapon_stance_focus_SL

echo *** Resetting variables [||||||||||__________________________]

setvariable mendhunt_weapon_name_STAFFSLING %mendhunt_archive_primary_weapon_name_STAFFSLING
setvariable mendhunt_weapon_class_STAFFSLING %mendhunt_archive_primary_weapon_class_STAFFSLING
setvariable mendhunt_weapon_type_STAFFSLING %mendhunt_archive_primary_weapon_type_STAFFSLING
setvariable mendhunt_weapon_combo_STAFFSLING %mendhunt_archive_primary_weapon_combo_STAFFSLING
setvariable mendhunt_weapon_combo_1_STAFFSLING %mendhunt_archive_primary_weapon_combo_1_STAFFSLING
setvariable mendhunt_weapon_combo_2_STAFFSLING %mendhunt_archive_primary_weapon_combo_2_STAFFSLING
setvariable mendhunt_weapon_combo_3_STAFFSLING %mendhunt_archive_primary_weapon_combo_3_STAFFSLING
setvariable mendhunt_weapon_combo_4_STAFFSLING %mendhunt_archive_primary_weapon_combo_4_STAFFSLING
setvariable mendhunt_weapon_combo_5_STAFFSLING %mendhunt_archive_primary_weapon_combo_5_STAFFSLING
setvariable mendhunt_weapon_combo_6_STAFFSLING %mendhunt_archive_primary_weapon_combo_6_STAFFSLING
setvariable mendhunt_weapon_combo_7_STAFFSLING %mendhunt_archive_primary_weapon_combo_7_STAFFSLING
setvariable mendhunt_weapon_combo_8_STAFFSLING %mendhunt_archive_primary_weapon_combo_8_STAFFSLING
setvariable mendhunt_weapon_ammo_STAFFSLING %mendhunt_archive_primary_weapon_ammo_STAFFSLING
setvariable mendhunt_weapon_shield_use_STAFFSLING %mendhunt_archive_primary_weapon_shield_use_STAFFSLING
setvariable mendhunt_weapon_shield_name_STAFFSLING %mendhunt_archive_primary_weapon_shield_name_STAFFSLING
setvariable mendhunt_weapon_stance_focus_STAFFSLING %mendhunt_archive_primary_weapon_stance_focus_STAFFSLING

setvariable mendhunt_weapon_name_SB %mendhunt_archive_primary_weapon_name_SB
setvariable mendhunt_weapon_class_SB %mendhunt_archive_primary_weapon_class_SB
setvariable mendhunt_weapon_type_SB %mendhunt_archive_primary_weapon_type_SB
setvariable mendhunt_weapon_combo_SB %mendhunt_archive_primary_weapon_combo_SB
setvariable mendhunt_weapon_combo_1_SB %mendhunt_archive_primary_weapon_combo_1_SB
setvariable mendhunt_weapon_combo_2_SB %mendhunt_archive_primary_weapon_combo_2_SB
setvariable mendhunt_weapon_combo_3_SB %mendhunt_archive_primary_weapon_combo_3_SB
setvariable mendhunt_weapon_combo_4_SB %mendhunt_archive_primary_weapon_combo_4_SB
setvariable mendhunt_weapon_combo_5_SB %mendhunt_archive_primary_weapon_combo_5_SB
setvariable mendhunt_weapon_combo_6_SB %mendhunt_archive_primary_weapon_combo_6_SB
setvariable mendhunt_weapon_combo_7_SB %mendhunt_archive_primary_weapon_combo_7_SB
setvariable mendhunt_weapon_combo_8_SB %mendhunt_archive_primary_weapon_combo_8_SB
setvariable mendhunt_weapon_ammo_SB %mendhunt_archive_primary_weapon_ammo_SB
setvariable mendhunt_weapon_shield_use_SB %mendhunt_archive_primary_weapon_shield_use_SB
setvariable mendhunt_weapon_shield_name_SB %mendhunt_archive_primary_weapon_shield_name_SB
setvariable mendhunt_weapon_stance_focus_SB %mendhunt_archive_primary_weapon_stance_focus_SB

echo *** Resetting variables [|||||||||||_________________________]

setvariable mendhunt_weapon_name_LOB %mendhunt_archive_primary_weapon_name_LOB
setvariable mendhunt_weapon_class_LOB %mendhunt_archive_primary_weapon_class_LOB
setvariable mendhunt_weapon_type_LOB %mendhunt_archive_primary_weapon_type_LOB
setvariable mendhunt_weapon_combo_LOB %mendhunt_archive_primary_weapon_combo_LOB
setvariable mendhunt_weapon_combo_1_LOB %mendhunt_archive_primary_weapon_combo_1_LOB
setvariable mendhunt_weapon_combo_2_LOB %mendhunt_archive_primary_weapon_combo_2_LOB
setvariable mendhunt_weapon_combo_3_LOB %mendhunt_archive_primary_weapon_combo_3_LOB
setvariable mendhunt_weapon_combo_4_LOB %mendhunt_archive_primary_weapon_combo_4_LOB
setvariable mendhunt_weapon_combo_5_LOB %mendhunt_archive_primary_weapon_combo_5_LOB
setvariable mendhunt_weapon_combo_6_LOB %mendhunt_archive_primary_weapon_combo_6_LOB
setvariable mendhunt_weapon_combo_7_LOB %mendhunt_archive_primary_weapon_combo_7_LOB
setvariable mendhunt_weapon_combo_8_LOB %mendhunt_archive_primary_weapon_combo_8_LOB
setvariable mendhunt_weapon_ammo_LOB %mendhunt_archive_primary_weapon_ammo_LOB
setvariable mendhunt_weapon_shield_use_LOB %mendhunt_archive_primary_weapon_shield_use_LOB
setvariable mendhunt_weapon_shield_name_LOB %mendhunt_archive_primary_weapon_shield_name_LOB
setvariable mendhunt_weapon_stance_focus_LOB %mendhunt_archive_primary_weapon_stance_focus_LOB

setvariable mendhunt_weapon_name_CB %mendhunt_archive_primary_weapon_name_CB
setvariable mendhunt_weapon_class_CB %mendhunt_archive_primary_weapon_class_CB
setvariable mendhunt_weapon_type_CB %mendhunt_archive_primary_weapon_type_CB
setvariable mendhunt_weapon_combo_CB %mendhunt_archive_primary_weapon_combo_CB
setvariable mendhunt_weapon_combo_1_CB %mendhunt_archive_primary_weapon_combo_1_CB
setvariable mendhunt_weapon_combo_2_CB %mendhunt_archive_primary_weapon_combo_2_CB
setvariable mendhunt_weapon_combo_3_CB %mendhunt_archive_primary_weapon_combo_3_CB
setvariable mendhunt_weapon_combo_4_CB %mendhunt_archive_primary_weapon_combo_4_CB
setvariable mendhunt_weapon_combo_5_CB %mendhunt_archive_primary_weapon_combo_5_CB
setvariable mendhunt_weapon_combo_6_CB %mendhunt_archive_primary_weapon_combo_6_CB
setvariable mendhunt_weapon_combo_7_CB %mendhunt_archive_primary_weapon_combo_7_CB
setvariable mendhunt_weapon_combo_8_CB %mendhunt_archive_primary_weapon_combo_8_CB
setvariable mendhunt_weapon_ammo_CB %mendhunt_archive_primary_weapon_ammo_CB
setvariable mendhunt_weapon_shield_use_CB %mendhunt_archive_primary_weapon_shield_use_CB
setvariable mendhunt_weapon_shield_name_CB %mendhunt_archive_primary_weapon_shield_name_CB
setvariable mendhunt_weapon_stance_focus_CB %mendhunt_archive_primary_weapon_stance_focus_CB

echo *** Resetting variables [||||||||||||________________________]

setvariable mendhunt_weapon_name_LX %mendhunt_archive_primary_weapon_name_LX
setvariable mendhunt_weapon_class_LX %mendhunt_archive_primary_weapon_class_LX
setvariable mendhunt_weapon_type_LX %mendhunt_archive_primary_weapon_type_LX
setvariable mendhunt_weapon_combo_LX %mendhunt_archive_primary_weapon_combo_LX
setvariable mendhunt_weapon_combo_1_LX %mendhunt_archive_primary_weapon_combo_1_LX
setvariable mendhunt_weapon_combo_2_LX %mendhunt_archive_primary_weapon_combo_2_LX
setvariable mendhunt_weapon_combo_3_LX %mendhunt_archive_primary_weapon_combo_3_LX
setvariable mendhunt_weapon_combo_4_LX %mendhunt_archive_primary_weapon_combo_4_LX
setvariable mendhunt_weapon_combo_5_LX %mendhunt_archive_primary_weapon_combo_5_LX
setvariable mendhunt_weapon_combo_6_LX %mendhunt_archive_primary_weapon_combo_6_LX
setvariable mendhunt_weapon_combo_7_LX %mendhunt_archive_primary_weapon_combo_7_LX
setvariable mendhunt_weapon_combo_8_LX %mendhunt_archive_primary_weapon_combo_8_LX
setvariable mendhunt_weapon_ammo_LX %mendhunt_archive_primary_weapon_ammo_LX
setvariable mendhunt_weapon_shield_use_LX %mendhunt_archive_primary_weapon_shield_use_LX
setvariable mendhunt_weapon_shield_name_LX %mendhunt_archive_primary_weapon_shield_name_LX
setvariable mendhunt_weapon_stance_focus_LX %mendhunt_archive_primary_weapon_stance_focus_LX

setvariable mendhunt_weapon_name_HX %mendhunt_archive_primary_weapon_name_HX
setvariable mendhunt_weapon_class_HX %mendhunt_archive_primary_weapon_class_HX
setvariable mendhunt_weapon_type_HX %mendhunt_archive_primary_weapon_type_HX
setvariable mendhunt_weapon_combo_HX %mendhunt_archive_primary_weapon_combo_HX
setvariable mendhunt_weapon_combo_1_HX %mendhunt_archive_primary_weapon_combo_1_HX
setvariable mendhunt_weapon_combo_2_HX %mendhunt_archive_primary_weapon_combo_2_HX
setvariable mendhunt_weapon_combo_3_HX %mendhunt_archive_primary_weapon_combo_3_HX
setvariable mendhunt_weapon_combo_4_HX %mendhunt_archive_primary_weapon_combo_4_HX
setvariable mendhunt_weapon_combo_5_HX %mendhunt_archive_primary_weapon_combo_5_HX
setvariable mendhunt_weapon_combo_6_HX %mendhunt_archive_primary_weapon_combo_6_HX
setvariable mendhunt_weapon_combo_7_HX %mendhunt_archive_primary_weapon_combo_7_HX
setvariable mendhunt_weapon_combo_8_HX %mendhunt_archive_primary_weapon_combo_8_HX
setvariable mendhunt_weapon_ammo_HX %mendhunt_archive_primary_weapon_ammo_HX
setvariable mendhunt_weapon_shield_use_HX %mendhunt_archive_primary_weapon_shield_use_HX
setvariable mendhunt_weapon_shield_name_HX %mendhunt_archive_primary_weapon_shield_name_HX
setvariable mendhunt_weapon_stance_focus_HX %mendhunt_archive_primary_weapon_stance_focus_HX

echo *** Resetting variables [|||||||||||||_______________________]

setvariable mendhunt_weapon_name_SS %mendhunt_archive_primary_weapon_name_SS
setvariable mendhunt_weapon_class_SS %mendhunt_archive_primary_weapon_class_SS
setvariable mendhunt_weapon_type_SS %mendhunt_archive_primary_weapon_type_SS
setvariable mendhunt_weapon_combo_SS %mendhunt_archive_primary_weapon_combo_SS
setvariable mendhunt_weapon_combo_1_SS %mendhunt_archive_primary_weapon_combo_1_SS
setvariable mendhunt_weapon_combo_2_SS %mendhunt_archive_primary_weapon_combo_2_SS
setvariable mendhunt_weapon_combo_3_SS %mendhunt_archive_primary_weapon_combo_3_SS
setvariable mendhunt_weapon_combo_4_SS %mendhunt_archive_primary_weapon_combo_4_SS
setvariable mendhunt_weapon_combo_5_SS %mendhunt_archive_primary_weapon_combo_5_SS
setvariable mendhunt_weapon_combo_6_SS %mendhunt_archive_primary_weapon_combo_6_SS
setvariable mendhunt_weapon_combo_7_SS %mendhunt_archive_primary_weapon_combo_7_SS
setvariable mendhunt_weapon_combo_8_SS %mendhunt_archive_primary_weapon_combo_8_SS
setvariable mendhunt_weapon_ammo_SS %mendhunt_archive_primary_weapon_ammo_SS
setvariable mendhunt_weapon_shield_use_SS %mendhunt_archive_primary_weapon_shield_use_SS
setvariable mendhunt_weapon_shield_name_SS %mendhunt_archive_primary_weapon_shield_name_SS
setvariable mendhunt_weapon_stance_focus_SS %mendhunt_archive_primary_weapon_stance_focus_SS

setvariable mendhunt_weapon_name_QS %mendhunt_archive_primary_weapon_name_QS
setvariable mendhunt_weapon_class_QS %mendhunt_archive_primary_weapon_class_QS
setvariable mendhunt_weapon_type_QS %mendhunt_archive_primary_weapon_type_QS
setvariable mendhunt_weapon_combo_QS %mendhunt_archive_primary_weapon_combo_QS
setvariable mendhunt_weapon_combo_1_QS %mendhunt_archive_primary_weapon_combo_1_QS
setvariable mendhunt_weapon_combo_2_QS %mendhunt_archive_primary_weapon_combo_2_QS
setvariable mendhunt_weapon_combo_3_QS %mendhunt_archive_primary_weapon_combo_3_QS
setvariable mendhunt_weapon_combo_4_QS %mendhunt_archive_primary_weapon_combo_4_QS
setvariable mendhunt_weapon_combo_5_QS %mendhunt_archive_primary_weapon_combo_5_QS
setvariable mendhunt_weapon_combo_6_QS %mendhunt_archive_primary_weapon_combo_6_QS
setvariable mendhunt_weapon_combo_7_QS %mendhunt_archive_primary_weapon_combo_7_QS
setvariable mendhunt_weapon_combo_8_QS %mendhunt_archive_primary_weapon_combo_8_QS
setvariable mendhunt_weapon_ammo_QS %mendhunt_archive_primary_weapon_ammo_QS
setvariable mendhunt_weapon_shield_use_QS %mendhunt_archive_primary_weapon_shield_use_QS
setvariable mendhunt_weapon_shield_name_QS %mendhunt_archive_primary_weapon_shield_name_QS
setvariable mendhunt_weapon_stance_focus_QS %mendhunt_archive_primary_weapon_stance_focus_QS

echo *** Resetting variables [||||||||||||||______________________]

setvariable mendhunt_weapon_name_PI %mendhunt_archive_primary_weapon_name_PI
setvariable mendhunt_weapon_class_PI %mendhunt_archive_primary_weapon_class_PI
setvariable mendhunt_weapon_type_PI %mendhunt_archive_primary_weapon_type_PI
setvariable mendhunt_weapon_combo_PI %mendhunt_archive_primary_weapon_combo_PI
setvariable mendhunt_weapon_combo_1_PI %mendhunt_archive_primary_weapon_combo_1_PI
setvariable mendhunt_weapon_combo_2_PI %mendhunt_archive_primary_weapon_combo_2_PI
setvariable mendhunt_weapon_combo_3_PI %mendhunt_archive_primary_weapon_combo_3_PI
setvariable mendhunt_weapon_combo_4_PI %mendhunt_archive_primary_weapon_combo_4_PI
setvariable mendhunt_weapon_combo_5_PI %mendhunt_archive_primary_weapon_combo_5_PI
setvariable mendhunt_weapon_combo_6_PI %mendhunt_archive_primary_weapon_combo_6_PI
setvariable mendhunt_weapon_combo_7_PI %mendhunt_archive_primary_weapon_combo_7_PI
setvariable mendhunt_weapon_combo_8_PI %mendhunt_archive_primary_weapon_combo_8_PI
setvariable mendhunt_weapon_ammo_PI %mendhunt_archive_primary_weapon_ammo_PI
setvariable mendhunt_weapon_shield_use_PI %mendhunt_archive_primary_weapon_shield_use_PI
setvariable mendhunt_weapon_shield_name_PI %mendhunt_archive_primary_weapon_shield_name_PI
setvariable mendhunt_weapon_stance_focus_PI %mendhunt_archive_primary_weapon_stance_focus_PI

setvariable mendhunt_weapon_name_HAL %mendhunt_archive_primary_weapon_name_HAL
setvariable mendhunt_weapon_class_HAL %mendhunt_archive_primary_weapon_class_HAL
setvariable mendhunt_weapon_type_HAL %mendhunt_archive_primary_weapon_type_HAL
setvariable mendhunt_weapon_combo_HAL %mendhunt_archive_primary_weapon_combo_HAL
setvariable mendhunt_weapon_combo_1_HAL %mendhunt_archive_primary_weapon_combo_1_HAL
setvariable mendhunt_weapon_combo_2_HAL %mendhunt_archive_primary_weapon_combo_2_HAL
setvariable mendhunt_weapon_combo_3_HAL %mendhunt_archive_primary_weapon_combo_3_HAL
setvariable mendhunt_weapon_combo_4_HAL %mendhunt_archive_primary_weapon_combo_4_HAL
setvariable mendhunt_weapon_combo_5_HAL %mendhunt_archive_primary_weapon_combo_5_HAL
setvariable mendhunt_weapon_combo_6_HAL %mendhunt_archive_primary_weapon_combo_6_HAL
setvariable mendhunt_weapon_combo_7_HAL %mendhunt_archive_primary_weapon_combo_7_HAL
setvariable mendhunt_weapon_combo_8_HAL %mendhunt_archive_primary_weapon_combo_8_HAL
setvariable mendhunt_weapon_ammo_HAL %mendhunt_archive_primary_weapon_ammo_HAL
setvariable mendhunt_weapon_shield_use_HAL %mendhunt_archive_primary_weapon_shield_use_HAL
setvariable mendhunt_weapon_shield_name_HAL %mendhunt_archive_primary_weapon_shield_name_HAL
setvariable mendhunt_weapon_stance_focus_HAL %mendhunt_archive_primary_weapon_stance_focus_HAL

echo *** Resetting variables [|||||||||||||||_____________________]

setvariable mendhunt_weapon_name_LT %mendhunt_archive_primary_weapon_name_LT
setvariable mendhunt_weapon_class_LT %mendhunt_archive_primary_weapon_class_LT
setvariable mendhunt_weapon_type_LT %mendhunt_archive_primary_weapon_type_LT
setvariable mendhunt_weapon_combo_LT %mendhunt_archive_primary_weapon_combo_LT
setvariable mendhunt_weapon_combo_1_LT %mendhunt_archive_primary_weapon_combo_1_LT
setvariable mendhunt_weapon_combo_2_LT %mendhunt_archive_primary_weapon_combo_2_LT
setvariable mendhunt_weapon_combo_3_LT %mendhunt_archive_primary_weapon_combo_3_LT
setvariable mendhunt_weapon_combo_4_LT %mendhunt_archive_primary_weapon_combo_4_LT
setvariable mendhunt_weapon_combo_5_LT %mendhunt_archive_primary_weapon_combo_5_LT
setvariable mendhunt_weapon_combo_6_LT %mendhunt_archive_primary_weapon_combo_6_LT
setvariable mendhunt_weapon_combo_7_LT %mendhunt_archive_primary_weapon_combo_7_LT
setvariable mendhunt_weapon_combo_8_LT %mendhunt_archive_primary_weapon_combo_8_LT
setvariable mendhunt_weapon_ammo_LT %mendhunt_archive_primary_weapon_ammo_LT
setvariable mendhunt_weapon_shield_use_LT %mendhunt_archive_primary_weapon_shield_use_LT
setvariable mendhunt_weapon_shield_name_LT %mendhunt_archive_primary_weapon_shield_name_LT
setvariable mendhunt_weapon_stance_focus_LT %mendhunt_archive_primary_weapon_stance_focus_LT

setvariable mendhunt_weapon_name_HT %mendhunt_archive_primary_weapon_name_HT
setvariable mendhunt_weapon_class_HT %mendhunt_archive_primary_weapon_class_HT
setvariable mendhunt_weapon_type_HT %mendhunt_archive_primary_weapon_type_HT
setvariable mendhunt_weapon_combo_HT %mendhunt_archive_primary_weapon_combo_HT
setvariable mendhunt_weapon_combo_1_HT %mendhunt_archive_primary_weapon_combo_1_HT
setvariable mendhunt_weapon_combo_2_HT %mendhunt_archive_primary_weapon_combo_2_HT
setvariable mendhunt_weapon_combo_3_HT %mendhunt_archive_primary_weapon_combo_3_HT
setvariable mendhunt_weapon_combo_4_HT %mendhunt_archive_primary_weapon_combo_4_HT
setvariable mendhunt_weapon_combo_5_HT %mendhunt_archive_primary_weapon_combo_5_HT
setvariable mendhunt_weapon_combo_6_HT %mendhunt_archive_primary_weapon_combo_6_HT
setvariable mendhunt_weapon_combo_7_HT %mendhunt_archive_primary_weapon_combo_7_HT
setvariable mendhunt_weapon_combo_8_HT %mendhunt_archive_primary_weapon_combo_8_HT
setvariable mendhunt_weapon_ammo_HT %mendhunt_archive_primary_weapon_ammo_HT
setvariable mendhunt_weapon_shield_use_HT %mendhunt_archive_primary_weapon_shield_use_HT
setvariable mendhunt_weapon_shield_name_HT %mendhunt_archive_primary_weapon_shield_name_HT
setvariable mendhunt_weapon_stance_focus_HT %mendhunt_archive_primary_weapon_stance_focus_HT

setvariable mendhunt_weapon_name_BR %mendhunt_archive_primary_weapon_name_BR
setvariable mendhunt_weapon_class_BR %mendhunt_archive_primary_weapon_class_BR
setvariable mendhunt_weapon_type_BR %mendhunt_archive_primary_weapon_type_BR
setvariable mendhunt_weapon_combo_BR %mendhunt_archive_primary_weapon_combo_BR
setvariable mendhunt_weapon_combo_1_BR %mendhunt_archive_primary_weapon_combo_1_BR
setvariable mendhunt_weapon_combo_2_BR %mendhunt_archive_primary_weapon_combo_2_BR
setvariable mendhunt_weapon_combo_3_BR %mendhunt_archive_primary_weapon_combo_3_BR
setvariable mendhunt_weapon_combo_4_BR %mendhunt_archive_primary_weapon_combo_4_BR
setvariable mendhunt_weapon_combo_5_BR %mendhunt_archive_primary_weapon_combo_5_BR
setvariable mendhunt_weapon_combo_6_BR %mendhunt_archive_primary_weapon_combo_6_BR
setvariable mendhunt_weapon_combo_7_BR %mendhunt_archive_primary_weapon_combo_7_BR
setvariable mendhunt_weapon_combo_8_BR %mendhunt_archive_primary_weapon_combo_8_BR
setvariable mendhunt_weapon_ammo_BR %mendhunt_archive_primary_weapon_ammo_BR
setvariable mendhunt_weapon_shield_use_BR %mendhunt_archive_primary_weapon_shield_use_BR
setvariable mendhunt_weapon_shield_name_BR %mendhunt_archive_primary_weapon_shield_name_BR
setvariable mendhunt_weapon_stance_focus_BR %mendhunt_archive_primary_weapon_stance_focus_BR

setvariable mendhunt_weapon_name_OW %mendhunt_archive_primary_weapon_name_OW
setvariable mendhunt_weapon_name_right_OW %mendhunt_archive_primary_weapon_name_right_OW
setvariable mendhunt_weapon_name_left_OW %mendhunt_archive_primary_weapon_name_left_OW
setvariable mendhunt_weapon_class_OW %mendhunt_archive_primary_weapon_class_OW
setvariable mendhunt_weapon_class_right_OW %mendhunt_archive_primary_weapon_class_right_OW
setvariable mendhunt_weapon_class_left_OW %mendhunt_archive_primary_weapon_class_left_OW
setvariable mendhunt_weapon_type_OW %mendhunt_archive_primary_weapon_type_OW
setvariable mendhunt_weapon_type_right_OW %mendhunt_archive_primary_weapon_type_right_OW
setvariable mendhunt_weapon_type_left_OW %mendhunt_archive_primary_weapon_type_left_OW
setvariable mendhunt_weapon_combo_OW %mendhunt_archive_primary_weapon_combo_OW
setvariable mendhunt_weapon_combo_1_OW %mendhunt_archive_primary_weapon_combo_1_OW
setvariable mendhunt_weapon_combo_2_OW %mendhunt_archive_primary_weapon_combo_2_OW
setvariable mendhunt_weapon_combo_3_OW %mendhunt_archive_primary_weapon_combo_3_OW
setvariable mendhunt_weapon_combo_4_OW %mendhunt_archive_primary_weapon_combo_4_OW
setvariable mendhunt_weapon_combo_5_OW %mendhunt_archive_primary_weapon_combo_5_OW
setvariable mendhunt_weapon_combo_6_OW %mendhunt_archive_primary_weapon_combo_6_OW
setvariable mendhunt_weapon_combo_7_OW %mendhunt_archive_primary_weapon_combo_7_OW
setvariable mendhunt_weapon_combo_8_OW %mendhunt_archive_primary_weapon_combo_8_OW
setvariable mendhunt_weapon_ammo_OW %mendhunt_archive_primary_weapon_ammo_OW
setvariable mendhunt_weapon_shield_use_OW %mendhunt_archive_primary_weapon_shield_use_OW
setvariable mendhunt_weapon_shield_name_OW %mendhunt_archive_primary_weapon_shield_name_OW
setvariable mendhunt_weapon_stance_focus_OW %mendhunt_archive_primary_weapon_stance_focus_OW

setvariable mendhunt_weapon_name_noweap %mendhunt_archive_primary_weapon_name_noweap
setvariable mendhunt_weapon_class_noweap %mendhunt_archive_primary_weapon_class_noweap
setvariable mendhunt_weapon_type_noweap %mendhunt_archive_primary_weapon_type_noweap
setvariable mendhunt_weapon_combo_noweap %mendhunt_archive_primary_weapon_combo_noweap
setvariable mendhunt_weapon_combo_1_noweap %mendhunt_archive_primary_weapon_combo_1_noweap
setvariable mendhunt_weapon_combo_2_noweap %mendhunt_archive_primary_weapon_combo_2_noweap
setvariable mendhunt_weapon_combo_3_noweap %mendhunt_archive_primary_weapon_combo_3_noweap
setvariable mendhunt_weapon_combo_4_noweap %mendhunt_archive_primary_weapon_combo_4_noweap
setvariable mendhunt_weapon_combo_5_noweap %mendhunt_archive_primary_weapon_combo_5_noweap
setvariable mendhunt_weapon_combo_6_noweap %mendhunt_archive_primary_weapon_combo_6_noweap
setvariable mendhunt_weapon_combo_7_noweap %mendhunt_archive_primary_weapon_combo_7_noweap
setvariable mendhunt_weapon_combo_8_noweap %mendhunt_archive_primary_weapon_combo_8_noweap
setvariable mendhunt_weapon_ammo_noweap %mendhunt_archive_primary_weapon_ammo_noweap
setvariable mendhunt_weapon_shield_use_noweap %mendhunt_archive_primary_weapon_shield_use_noweap
setvariable mendhunt_weapon_shield_name_noweap %mendhunt_archive_primary_weapon_shield_name_noweap
setvariable mendhunt_weapon_stance_focus_noweap %mendhunt_archive_primary_weapon_stance_focus_noweap

echo *** Resetting variables [||||||||||||||||____________________]

setvariable mendhunt_shield_name_armworn %mendhunt_archive_primary_shield_name_armworn
setvariable mendhunt_shield_name_handheld %mendhunt_archive_primary_shield_name_handheld

setvariable mendhunt_armor_name_main %mendhunt_archive_primary_armor_name_main
setvariable mendhunt_armor_class_main %mendhunt_archive_primary_armor_class_main
setvariable mendhunt_armor_name_second %mendhunt_archive_primary_armor_name_second
setvariable mendhunt_armor_class_second %mendhunt_archive_primary_armor_class_second
setvariable mendhunt_armor_name_1 %mendhunt_archive_primary_armor_name_1
setvariable mendhunt_armor_class_1 %mendhunt_archive_primary_armor_class_1
setvariable mendhunt_armor_name_2 %mendhunt_archive_primary_armor_name_2
setvariable mendhunt_armor_class_2 %mendhunt_archive_primary_armor_class_2
setvariable mendhunt_armor_name_3 %mendhunt_archive_primary_armor_name_3
setvariable mendhunt_armor_class_3 %mendhunt_archive_primary_armor_class_3
setvariable mendhunt_armor_name_4 %mendhunt_archive_primary_armor_name_4
setvariable mendhunt_armor_class_4 %mendhunt_archive_primary_armor_class_4
setvariable mendhunt_armor_name_5 %mendhunt_archive_primary_armor_name_5
setvariable mendhunt_armor_class_5 %mendhunt_archive_primary_armor_class_5
setvariable mendhunt_armor_name_6 %mendhunt_archive_primary_armor_name_6
setvariable mendhunt_armor_class_6 %mendhunt_archive_primary_armor_class_6

echo *** Resetting variables [|||||||||||||||||___________________]

setvariable mendhunt_LEslice1 %mendhunt_archive_primary_LEslice1
setvariable mendhunt_LEslice2 %mendhunt_archive_primary_LEslice2
setvariable mendhunt_LEslice3 %mendhunt_archive_primary_LEslice3
setvariable mendhunt_LEslice4 %mendhunt_archive_primary_LEslice4
setvariable mendhunt_LEslice5 %mendhunt_archive_primary_LEslice5
setvariable mendhunt_LEslice6 %mendhunt_archive_primary_LEslice6
setvariable mendhunt_LEslice7 %mendhunt_archive_primary_LEslice7
setvariable mendhunt_LEslice8 %mendhunt_archive_primary_LEslice8

setvariable mendhunt_LEthrust1 %mendhunt_archive_primary_LEthrust1
setvariable mendhunt_LEthrust2 %mendhunt_archive_primary_LEthrust2
setvariable mendhunt_LEthrust3 %mendhunt_archive_primary_LEthrust3
setvariable mendhunt_LEthrust4 %mendhunt_archive_primary_LEthrust4
setvariable mendhunt_LEthrust5 %mendhunt_archive_primary_LEthrust5
setvariable mendhunt_LEthrust6 %mendhunt_archive_primary_LEthrust6
setvariable mendhunt_LEthrust7 %mendhunt_archive_primary_LEthrust7
setvariable mendhunt_LEthrust8 %mendhunt_archive_primary_LEthrust8

setvariable mendhunt_MEslice1 %mendhunt_archive_primary_MEslice1
setvariable mendhunt_MEslice2 %mendhunt_archive_primary_MEslice2
setvariable mendhunt_MEslice3 %mendhunt_archive_primary_MEslice3
setvariable mendhunt_MEslice4 %mendhunt_archive_primary_MEslice4
setvariable mendhunt_MEslice5 %mendhunt_archive_primary_MEslice5
setvariable mendhunt_MEslice6 %mendhunt_archive_primary_MEslice6
setvariable mendhunt_MEslice7 %mendhunt_archive_primary_MEslice7
setvariable mendhunt_MEslice8 %mendhunt_archive_primary_MEslice8

echo *** Resetting variables [||||||||||||||||||__________________]

setvariable mendhunt_MEthrust1 %mendhunt_archive_primary_MEthrust1
setvariable mendhunt_MEthrust2 %mendhunt_archive_primary_MEthrust2
setvariable mendhunt_MEthrust3 %mendhunt_archive_primary_MEthrust3
setvariable mendhunt_MEthrust4 %mendhunt_archive_primary_MEthrust4
setvariable mendhunt_MEthrust5 %mendhunt_archive_primary_MEthrust5
setvariable mendhunt_MEthrust6 %mendhunt_archive_primary_MEthrust6
setvariable mendhunt_MEthrust7 %mendhunt_archive_primary_MEthrust7
setvariable mendhunt_MEthrust8 %mendhunt_archive_primary_MEthrust8

setvariable mendhunt_HEslice1 %mendhunt_archive_primary_HEslice1
setvariable mendhunt_HEslice2 %mendhunt_archive_primary_HEslice2
setvariable mendhunt_HEslice3 %mendhunt_archive_primary_HEslice3
setvariable mendhunt_HEslice4 %mendhunt_archive_primary_HEslice4
setvariable mendhunt_HEslice5 %mendhunt_archive_primary_HEslice5
setvariable mendhunt_HEslice6 %mendhunt_archive_primary_HEslice6
setvariable mendhunt_HEslice7 %mendhunt_archive_primary_HEslice7
setvariable mendhunt_HEslice8 %mendhunt_archive_primary_HEslice8

echo *** Resetting variables [|||||||||||||||||||_________________]

setvariable mendhunt_HEthrust1 %mendhunt_archive_primary_HEthrust1
setvariable mendhunt_HEthrust2 %mendhunt_archive_primary_HEthrust2
setvariable mendhunt_HEthrust3 %mendhunt_archive_primary_HEthrust3
setvariable mendhunt_HEthrust4 %mendhunt_archive_primary_HEthrust4
setvariable mendhunt_HEthrust5 %mendhunt_archive_primary_HEthrust5
setvariable mendhunt_HEthrust6 %mendhunt_archive_primary_HEthrust6
setvariable mendhunt_HEthrust7 %mendhunt_archive_primary_HEthrust7
setvariable mendhunt_HEthrust8 %mendhunt_archive_primary_HEthrust8

setvariable mendhunt_2HE1 %mendhunt_archive_primary_2HE1
setvariable mendhunt_2HE2 %mendhunt_archive_primary_2HE2
setvariable mendhunt_2HE3 %mendhunt_archive_primary_2HE3
setvariable mendhunt_2HE4 %mendhunt_archive_primary_2HE4
setvariable mendhunt_2HE5 %mendhunt_archive_primary_2HE5
setvariable mendhunt_2HE6 %mendhunt_archive_primary_2HE6
setvariable mendhunt_2HE7 %mendhunt_archive_primary_2HE7
setvariable mendhunt_2HE8 %mendhunt_archive_primary_2HE8

setvariable mendhunt_LB1 %mendhunt_archive_primary_LB1
setvariable mendhunt_LB2 %mendhunt_archive_primary_LB2
setvariable mendhunt_LB3 %mendhunt_archive_primary_LB3
setvariable mendhunt_LB4 %mendhunt_archive_primary_LB4
setvariable mendhunt_LB5 %mendhunt_archive_primary_LB5
setvariable mendhunt_LB6 %mendhunt_archive_primary_LB6
setvariable mendhunt_LB7 %mendhunt_archive_primary_LB7
setvariable mendhunt_LB8 %mendhunt_archive_primary_LB8

echo *** Resetting variables [||||||||||||||||||||________________]

setvariable mendhunt_MB1 %mendhunt_archive_primary_MB1
setvariable mendhunt_MB2 %mendhunt_archive_primary_MB2
setvariable mendhunt_MB3 %mendhunt_archive_primary_MB3
setvariable mendhunt_MB4 %mendhunt_archive_primary_MB4
setvariable mendhunt_MB5 %mendhunt_archive_primary_MB5
setvariable mendhunt_MB6 %mendhunt_archive_primary_MB6
setvariable mendhunt_MB7 %mendhunt_archive_primary_MB7
setvariable mendhunt_MB8 %mendhunt_archive_primary_MB8

setvariable mendhunt_HB1 %mendhunt_archive_primary_HB1
setvariable mendhunt_HB2 %mendhunt_archive_primary_HB2
setvariable mendhunt_HB3 %mendhunt_archive_primary_HB3
setvariable mendhunt_HB4 %mendhunt_archive_primary_HB4
setvariable mendhunt_HB5 %mendhunt_archive_primary_HB5
setvariable mendhunt_HB6 %mendhunt_archive_primary_HB6
setvariable mendhunt_HB7 %mendhunt_archive_primary_HB7
setvariable mendhunt_HB8 %mendhunt_archive_primary_HB8

setvariable mendhunt_2HB1 %mendhunt_archive_primary_2HB1
setvariable mendhunt_2HB2 %mendhunt_archive_primary_2HB2
setvariable mendhunt_2HB3 %mendhunt_archive_primary_2HB3
setvariable mendhunt_2HB4 %mendhunt_archive_primary_2HB4
setvariable mendhunt_2HB5 %mendhunt_archive_primary_2HB5
setvariable mendhunt_2HB6 %mendhunt_archive_primary_2HB6
setvariable mendhunt_2HB7 %mendhunt_archive_primary_2HB7
setvariable mendhunt_2HB8 %mendhunt_archive_primary_2HB8

echo *** Resetting variables [|||||||||||||||||||||_______________]

setvariable mendhunt_SS1 %mendhunt_archive_primary_SS1
setvariable mendhunt_SS2 %mendhunt_archive_primary_SS2
setvariable mendhunt_SS3 %mendhunt_archive_primary_SS3
setvariable mendhunt_SS4 %mendhunt_archive_primary_SS4
setvariable mendhunt_SS5 %mendhunt_archive_primary_SS5
setvariable mendhunt_SS6 %mendhunt_archive_primary_SS6
setvariable mendhunt_SS7 %mendhunt_archive_primary_SS7
setvariable mendhunt_SS8 %mendhunt_archive_primary_SS8

setvariable mendhunt_QS1 %mendhunt_archive_primary_QS1
setvariable mendhunt_QS2 %mendhunt_archive_primary_QS2
setvariable mendhunt_QS3 %mendhunt_archive_primary_QS3
setvariable mendhunt_QS4 %mendhunt_archive_primary_QS4
setvariable mendhunt_QS5 %mendhunt_archive_primary_QS5
setvariable mendhunt_QS6 %mendhunt_archive_primary_QS6
setvariable mendhunt_QS7 %mendhunt_archive_primary_QS7
setvariable mendhunt_QS8 %mendhunt_archive_primary_QS8

setvariable mendhunt_PI1 %mendhunt_archive_primary_PI1
setvariable mendhunt_PI2 %mendhunt_archive_primary_PI2
setvariable mendhunt_PI3 %mendhunt_archive_primary_PI3
setvariable mendhunt_PI4 %mendhunt_archive_primary_PI4
setvariable mendhunt_PI5 %mendhunt_archive_primary_PI5
setvariable mendhunt_PI6 %mendhunt_archive_primary_PI6
setvariable mendhunt_PI7 %mendhunt_archive_primary_PI7
setvariable mendhunt_PI8 %mendhunt_archive_primary_PI8

echo *** Resetting variables [||||||||||||||||||||||______________]

setvariable mendhunt_HAL1 %mendhunt_archive_primary_HAL1
setvariable mendhunt_HAL2 %mendhunt_archive_primary_HAL2
setvariable mendhunt_HAL3 %mendhunt_archive_primary_HAL3
setvariable mendhunt_HAL4 %mendhunt_archive_primary_HAL4
setvariable mendhunt_HAL5 %mendhunt_archive_primary_HAL5
setvariable mendhunt_HAL6 %mendhunt_archive_primary_HAL6
setvariable mendhunt_HAL7 %mendhunt_archive_primary_HAL7
setvariable mendhunt_HAL8 %mendhunt_archive_primary_HAL8

setvariable mendhunt_my11 %mendhunt_archive_primary_my11
setvariable mendhunt_my12 %mendhunt_archive_primary_my12
setvariable mendhunt_my13 %mendhunt_archive_primary_my13
setvariable mendhunt_my14 %mendhunt_archive_primary_my14
setvariable mendhunt_my15 %mendhunt_archive_primary_my15
setvariable mendhunt_my16 %mendhunt_archive_primary_my16
setvariable mendhunt_my17 %mendhunt_archive_primary_my17
setvariable mendhunt_my18 %mendhunt_archive_primary_my18

setvariable mendhunt_my21 %mendhunt_archive_primary_my21
setvariable mendhunt_my22 %mendhunt_archive_primary_my22
setvariable mendhunt_my23 %mendhunt_archive_primary_my23
setvariable mendhunt_my24 %mendhunt_archive_primary_my24
setvariable mendhunt_my25 %mendhunt_archive_primary_my25
setvariable mendhunt_my26 %mendhunt_archive_primary_my26
setvariable mendhunt_my27 %mendhunt_archive_primary_my27
setvariable mendhunt_my28 %mendhunt_archive_primary_my28

echo *** Resetting variables [|||||||||||||||||||||||_____________]

setvariable mendhunt_magic_master_test %mendhunt_archive_primary_magic_master_test
setvariable mendhunt_target_master_test %mendhunt_archive_primary_target_master_test
setvariable mendhunt_buff_master_test %mendhunt_archive_primary_buff_master_test
setvariable mendhunt_debuff_master_test %mendhunt_archive_primary_debuff_master_test
setvariable mendhunt_cam_name %mendhunt_archive_primary_cam_name
setvariable mendhunt_pathway_target_name %mendhunt_archive_primary_pathway_target_name
setvariable mendhunt_pathway_frenzy_name %mendhunt_archive_primary_pathway_frenzy_name
setvariable mendhunt_pathway_frenzy_test %mendhunt_archive_primary_pathway_frenzy_test
setvariable mendhunt_pathway_target_test %mendhunt_archive_primary_pathway_target_test
setvariable mendhunt_buff_retreat_test %mendhunt_archive_primary_buff_retreat_test

echo *** Resetting variables [||||||||||||||||||||||||____________]

setvariable mendhunt_target_test_1 %mendhunt_archive_primary_target_test_1
setvariable mendhunt_target_name_1 %mendhunt_archive_primary_target_name_1
setvariable mendhunt_target_prep_power_1 %mendhunt_archive_primary_target_prep_power_1
setvariable mendhunt_target_harn_test_1 %mendhunt_archive_primary_target_harn_test_1
setvariable mendhunt_target_harn_power_1 %mendhunt_archive_primary_target_harn_power_1
setvariable mendhunt_target_harn_loop_1 %mendhunt_archive_primary_target_harn_loop_1
setvariable mendhunt_target_cam_test_1 %mendhunt_archive_primary_target_cam_test_1
setvariable mendhunt_target_cam_power_1 %mendhunt_archive_primary_target_cam_power_1
setvariable mendhunt_target_cam_loop_1 %mendhunt_archive_primary_target_cam_loop_1
setvariable mendhunt_target_cast_pause_1 %mendhunt_archive_primary_target_cast_pause_1

setvariable mendhunt_target_test_2 %mendhunt_archive_primary_target_test_2
setvariable mendhunt_target_name_2 %mendhunt_archive_primary_target_name_2
setvariable mendhunt_target_prep_power_2 %mendhunt_archive_primary_target_prep_power_2
setvariable mendhunt_target_harn_test_2 %mendhunt_archive_primary_target_harn_test_2
setvariable mendhunt_target_harn_power_2 %mendhunt_archive_primary_target_harn_power_2
setvariable mendhunt_target_harn_loop_2 %mendhunt_archive_primary_target_harn_loop_2
setvariable mendhunt_target_cam_test_2 %mendhunt_archive_primary_target_cam_test_2
setvariable mendhunt_target_cam_power_2 %mendhunt_archive_primary_target_cam_power_2
setvariable mendhunt_target_cam_loop_2 %mendhunt_archive_primary_target_cam_loop_2
setvariable mendhunt_target_cast_pause_2 %mendhunt_archive_primary_target_cast_pause_2

setvariable mendhunt_target_test_3 %mendhunt_archive_primary_target_test_3
setvariable mendhunt_target_name_3 %mendhunt_archive_primary_target_name_3
setvariable mendhunt_target_prep_power_3 %mendhunt_archive_primary_target_prep_power_3
setvariable mendhunt_target_harn_test_3 %mendhunt_archive_primary_target_harn_test_3
setvariable mendhunt_target_harn_power_3 %mendhunt_archive_primary_target_harn_power_3
setvariable mendhunt_target_harn_loop_3 %mendhunt_archive_primary_target_harn_loop_3
setvariable mendhunt_target_cam_test_3 %mendhunt_archive_primary_target_cam_test_3
setvariable mendhunt_target_cam_power_3 %mendhunt_archive_primary_target_cam_power_3
setvariable mendhunt_target_cam_loop_3 %mendhunt_archive_primary_target_cam_loop_3
setvariable mendhunt_target_cast_pause_3 %mendhunt_archive_primary_target_cast_pause_3

echo *** Resetting variables [|||||||||||||||||||||||||___________]

setvariable mendhunt_target_test_4 %mendhunt_archive_primary_target_test_4
setvariable mendhunt_target_name_4 %mendhunt_archive_primary_target_name_4
setvariable mendhunt_target_prep_power_4 %mendhunt_archive_primary_target_prep_power_4
setvariable mendhunt_target_harn_test_4 %mendhunt_archive_primary_target_harn_test_4
setvariable mendhunt_target_harn_power_4 %mendhunt_archive_primary_target_harn_power_4
setvariable mendhunt_target_harn_loop_4 %mendhunt_archive_primary_target_harn_loop_4
setvariable mendhunt_target_cam_test_4 %mendhunt_archive_primary_target_cam_test_4
setvariable mendhunt_target_cam_power_4 %mendhunt_archive_primary_target_cam_power_4
setvariable mendhunt_target_cam_loop_4 %mendhunt_archive_primary_target_cam_loop_4
setvariable mendhunt_target_cast_pause_4 %mendhunt_archive_primary_target_cast_pause_4

setvariable mendhunt_target_test_5 %mendhunt_archive_primary_target_test_5
setvariable mendhunt_target_name_5 %mendhunt_archive_primary_target_name_5
setvariable mendhunt_target_prep_power_5 %mendhunt_archive_primary_target_prep_power_5
setvariable mendhunt_target_harn_test_5 %mendhunt_archive_primary_target_harn_test_5
setvariable mendhunt_target_harn_power_5 %mendhunt_archive_primary_target_harn_power_5
setvariable mendhunt_target_harn_loop_5 %mendhunt_archive_primary_target_harn_loop_5
setvariable mendhunt_target_cam_test_5 %mendhunt_archive_primary_target_cam_test_5
setvariable mendhunt_target_cam_power_5 %mendhunt_archive_primary_target_cam_power_5
setvariable mendhunt_target_cam_loop_5 %mendhunt_archive_primary_target_cam_loop_5
setvariable mendhunt_target_cast_pause_5 %mendhunt_archive_primary_target_cast_pause_5

setvariable mendhunt_target_test_6 %mendhunt_archive_primary_target_test_6
setvariable mendhunt_target_name_6 %mendhunt_archive_primary_target_name_6
setvariable mendhunt_target_prep_power_6 %mendhunt_archive_primary_target_prep_power_6
setvariable mendhunt_target_harn_test_6 %mendhunt_archive_primary_target_harn_test_6
setvariable mendhunt_target_harn_power_6 %mendhunt_archive_primary_target_harn_power_6
setvariable mendhunt_target_harn_loop_6 %mendhunt_archive_primary_target_harn_loop_6
setvariable mendhunt_target_cam_test_6 %mendhunt_archive_primary_target_cam_test_6
setvariable mendhunt_target_cam_power_6 %mendhunt_archive_primary_target_cam_power_6
setvariable mendhunt_target_cam_loop_6 %mendhunt_archive_primary_target_cam_loop_6
setvariable mendhunt_target_cast_pause_6 %mendhunt_archive_primary_target_cast_pause_6

echo *** Resetting variables [||||||||||||||||||||||||||__________]

setvariable mendhunt_buff_test_1 %mendhunt_archive_primary_buff_test_1
setvariable mendhunt_buff_name_1 %mendhunt_archive_primary_buff_name_1
setvariable mendhunt_buff_prep_power_1 %mendhunt_archive_primary_buff_prep_power_1
setvariable mendhunt_buff_harn_test_1 %mendhunt_archive_primary_buff_harn_test_1
setvariable mendhunt_buff_harn_power_1 %mendhunt_archive_primary_buff_harn_power_1
setvariable mendhunt_buff_harn_loop_1 %mendhunt_archive_primary_buff_harn_loop_1
setvariable mendhunt_buff_cam_test_1 %mendhunt_archive_primary_buff_cam_test_1
setvariable mendhunt_buff_cam_power_1 %mendhunt_archive_primary_buff_cam_power_1
setvariable mendhunt_buff_cam_loop_1 %mendhunt_archive_primary_buff_cam_loop_1
setvariable mendhunt_buff_cast_pause_1 %mendhunt_archive_primary_buff_cast_pause_1

setvariable mendhunt_buff_test_2 %mendhunt_archive_primary_buff_test_2
setvariable mendhunt_buff_name_2 %mendhunt_archive_primary_buff_name_2
setvariable mendhunt_buff_prep_power_2 %mendhunt_archive_primary_buff_prep_power_2
setvariable mendhunt_buff_harn_test_2 %mendhunt_archive_primary_buff_harn_test_2
setvariable mendhunt_buff_harn_power_2 %mendhunt_archive_primary_buff_harn_power_2
setvariable mendhunt_buff_harn_loop_2 %mendhunt_archive_primary_buff_harn_loop_2
setvariable mendhunt_buff_cam_test_2 %mendhunt_archive_primary_buff_cam_test_2
setvariable mendhunt_buff_cam_power_2 %mendhunt_archive_primary_buff_cam_power_2
setvariable mendhunt_buff_cam_loop_2 %mendhunt_archive_primary_buff_cam_loop_2
setvariable mendhunt_buff_cast_pause_2 %mendhunt_archive_primary_buff_cast_pause_2

setvariable mendhunt_buff_test_3 %mendhunt_archive_primary_buff_test_3
setvariable mendhunt_buff_name_3 %mendhunt_archive_primary_buff_name_3
setvariable mendhunt_buff_prep_power_3 %mendhunt_archive_primary_buff_prep_power_3
setvariable mendhunt_buff_harn_test_3 %mendhunt_archive_primary_buff_harn_test_3
setvariable mendhunt_buff_harn_power_3 %mendhunt_archive_primary_buff_harn_power_3
setvariable mendhunt_buff_harn_loop_3 %mendhunt_archive_primary_buff_harn_loop_3
setvariable mendhunt_buff_cam_test_3 %mendhunt_archive_primary_buff_cam_test_3
setvariable mendhunt_buff_cam_power_3 %mendhunt_archive_primary_buff_cam_power_3
setvariable mendhunt_buff_cam_loop_3 %mendhunt_archive_primary_buff_cam_loop_3
setvariable mendhunt_buff_cast_pause_3 %mendhunt_archive_primary_buff_cast_pause_3

echo *** Resetting variables [|||||||||||||||||||||||||||_________]

setvariable mendhunt_buff_test_4 %mendhunt_archive_primary_buff_test_4
setvariable mendhunt_buff_name_4 %mendhunt_archive_primary_buff_name_4
setvariable mendhunt_buff_prep_power_4 %mendhunt_archive_primary_buff_prep_power_4
setvariable mendhunt_buff_harn_test_4 %mendhunt_archive_primary_buff_harn_test_4
setvariable mendhunt_buff_harn_power_4 %mendhunt_archive_primary_buff_harn_power_4
setvariable mendhunt_buff_harn_loop_4 %mendhunt_archive_primary_buff_harn_loop_4
setvariable mendhunt_buff_cam_test_4 %mendhunt_archive_primary_buff_cam_test_4
setvariable mendhunt_buff_cam_power_4 %mendhunt_archive_primary_buff_cam_power_4
setvariable mendhunt_buff_cam_loop_4 %mendhunt_archive_primary_buff_cam_loop_4
setvariable mendhunt_buff_cast_pause_4 %mendhunt_archive_primary_buff_cast_pause_4

setvariable mendhunt_buff_test_5 %mendhunt_archive_primary_buff_test_5
setvariable mendhunt_buff_name_5 %mendhunt_archive_primary_buff_name_5
setvariable mendhunt_buff_prep_power_5 %mendhunt_archive_primary_buff_prep_power_5
setvariable mendhunt_buff_harn_test_5 %mendhunt_archive_primary_buff_harn_test_5
setvariable mendhunt_buff_harn_power_5 %mendhunt_archive_primary_buff_harn_power_5
setvariable mendhunt_buff_harn_loop_5 %mendhunt_archive_primary_buff_harn_loop_5
setvariable mendhunt_buff_cam_test_5 %mendhunt_archive_primary_buff_cam_test_5
setvariable mendhunt_buff_cam_power_5 %mendhunt_archive_primary_buff_cam_power_5
setvariable mendhunt_buff_cam_loop_5 %mendhunt_archive_primary_buff_cam_loop_5
setvariable mendhunt_buff_cast_pause_5 %mendhunt_archive_primary_buff_cast_pause_5

setvariable mendhunt_buff_test_6 %mendhunt_archive_primary_buff_test_6
setvariable mendhunt_buff_name_6 %mendhunt_archive_primary_buff_name_6
setvariable mendhunt_buff_prep_power_6 %mendhunt_archive_primary_buff_prep_power_6
setvariable mendhunt_buff_harn_test_6 %mendhunt_archive_primary_buff_harn_test_6
setvariable mendhunt_buff_harn_power_6 %mendhunt_archive_primary_buff_harn_power_6
setvariable mendhunt_buff_harn_loop_6 %mendhunt_archive_primary_buff_harn_loop_6
setvariable mendhunt_buff_cam_test_6 %mendhunt_archive_primary_buff_cam_test_6
setvariable mendhunt_buff_cam_power_6 %mendhunt_archive_primary_buff_cam_power_6
setvariable mendhunt_buff_cam_loop_6 %mendhunt_archive_primary_buff_cam_loop_6
setvariable mendhunt_buff_cast_pause_6 %mendhunt_archive_primary_buff_cast_pause_6

echo *** Resetting variables [||||||||||||||||||||||||||||________]

setvariable mendhunt_debuff_test_1 %mendhunt_archive_primary_debuff_test_1
setvariable mendhunt_debuff_name_1 %mendhunt_archive_primary_debuff_name_1
setvariable mendhunt_debuff_prep_power_1 %mendhunt_archive_primary_debuff_prep_power_1
setvariable mendhunt_debuff_harn_test_1 %mendhunt_archive_primary_debuff_harn_test_1
setvariable mendhunt_debuff_harn_power_1 %mendhunt_archive_primary_debuff_harn_power_1
setvariable mendhunt_debuff_harn_loop_1 %mendhunt_archive_primary_debuff_harn_loop_1
setvariable mendhunt_debuff_cam_test_1 %mendhunt_archive_primary_debuff_cam_test_1
setvariable mendhunt_debuff_cam_power_1 %mendhunt_archive_primary_debuff_cam_power_1
setvariable mendhunt_debuff_cam_loop_1 %mendhunt_archive_primary_debuff_cam_loop_1
setvariable mendhunt_debuff_cast_pause_1 %mendhunt_archive_primary_debuff_cast_pause_1
setvariable mendhunt_debuff_once_test_1 %mendhunt_archive_primary_debuff_once_test_1

setvariable mendhunt_debuff_test_2 %mendhunt_archive_primary_debuff_test_2
setvariable mendhunt_debuff_name_2 %mendhunt_archive_primary_debuff_name_2
setvariable mendhunt_debuff_prep_power_2 %mendhunt_archive_primary_debuff_prep_power_2
setvariable mendhunt_debuff_harn_test_2 %mendhunt_archive_primary_debuff_harn_test_2
setvariable mendhunt_debuff_harn_power_2 %mendhunt_archive_primary_debuff_harn_power_2
setvariable mendhunt_debuff_harn_loop_2 %mendhunt_archive_primary_debuff_harn_loop_2
setvariable mendhunt_debuff_cam_test_2 %mendhunt_archive_primary_debuff_cam_test_2
setvariable mendhunt_debuff_cam_power_2 %mendhunt_archive_primary_debuff_cam_power_2
setvariable mendhunt_debuff_cam_loop_2 %mendhunt_archive_primary_debuff_cam_loop_2
setvariable mendhunt_debuff_cast_pause_2 %mendhunt_archive_primary_debuff_cast_pause_2
setvariable mendhunt_debuff_once_test_2 %mendhunt_archive_primary_debuff_once_test_2

setvariable mendhunt_debuff_test_3 %mendhunt_archive_primary_debuff_test_3
setvariable mendhunt_debuff_name_3 %mendhunt_archive_primary_debuff_name_3
setvariable mendhunt_debuff_prep_power_3 %mendhunt_archive_primary_debuff_prep_power_3
setvariable mendhunt_debuff_harn_test_3 %mendhunt_archive_primary_debuff_harn_test_3
setvariable mendhunt_debuff_harn_power_3 %mendhunt_archive_primary_debuff_harn_power_3
setvariable mendhunt_debuff_harn_loop_3 %mendhunt_archive_primary_debuff_harn_loop_3
setvariable mendhunt_debuff_cam_test_3 %mendhunt_archive_primary_debuff_cam_test_3
setvariable mendhunt_debuff_cam_power_3 %mendhunt_archive_primary_debuff_cam_power_3
setvariable mendhunt_debuff_cam_loop_3 %mendhunt_archive_primary_debuff_cam_loop_3
setvariable mendhunt_debuff_cast_pause_3 %mendhunt_archive_primary_debuff_cast_pause_3
setvariable mendhunt_debuff_once_test_3 %mendhunt_archive_primary_debuff_once_test_3

echo *** Resetting variables [|||||||||||||||||||||||||||||_______]

setvariable mendhunt_debuff_test_4 %mendhunt_archive_primary_debuff_test_4
setvariable mendhunt_debuff_name_4 %mendhunt_archive_primary_debuff_name_4
setvariable mendhunt_debuff_prep_power_4 %mendhunt_archive_primary_debuff_prep_power_4
setvariable mendhunt_debuff_harn_test_4 %mendhunt_archive_primary_debuff_harn_test_4
setvariable mendhunt_debuff_harn_power_4 %mendhunt_archive_primary_debuff_harn_power_4
setvariable mendhunt_debuff_harn_loop_4 %mendhunt_archive_primary_debuff_harn_loop_4
setvariable mendhunt_debuff_cam_test_4 %mendhunt_archive_primary_debuff_cam_test_4
setvariable mendhunt_debuff_cam_power_4 %mendhunt_archive_primary_debuff_cam_power_4
setvariable mendhunt_debuff_cam_loop_4 %mendhunt_archive_primary_debuff_cam_loop_4
setvariable mendhunt_debuff_cast_pause_4 %mendhunt_archive_primary_debuff_cast_pause_4
setvariable mendhunt_debuff_once_test_4 %mendhunt_archive_primary_debuff_once_test_4

setvariable mendhunt_debuff_test_5 %mendhunt_archive_primary_debuff_test_5
setvariable mendhunt_debuff_name_5 %mendhunt_archive_primary_debuff_name_5
setvariable mendhunt_debuff_prep_power_5 %mendhunt_archive_primary_debuff_prep_power_5
setvariable mendhunt_debuff_harn_test_5 %mendhunt_archive_primary_debuff_harn_test_5
setvariable mendhunt_debuff_harn_power_5 %mendhunt_archive_primary_debuff_harn_power_5
setvariable mendhunt_debuff_harn_loop_5 %mendhunt_archive_primary_debuff_harn_loop_5
setvariable mendhunt_debuff_cam_test_5 %mendhunt_archive_primary_debuff_cam_test_5
setvariable mendhunt_debuff_cam_power_5 %mendhunt_archive_primary_debuff_cam_power_5
setvariable mendhunt_debuff_cam_loop_5 %mendhunt_archive_primary_debuff_cam_loop_5
setvariable mendhunt_debuff_cast_pause_5 %mendhunt_archive_primary_debuff_cast_pause_5
setvariable mendhunt_debuff_once_test_5 %mendhunt_archive_primary_debuff_once_test_5

setvariable mendhunt_debuff_test_6 %mendhunt_archive_primary_debuff_test_6
setvariable mendhunt_debuff_name_6 %mendhunt_archive_primary_debuff_name_6
setvariable mendhunt_debuff_prep_power_6 %mendhunt_archive_primary_debuff_prep_power_6
setvariable mendhunt_debuff_harn_test_6 %mendhunt_archive_primary_debuff_harn_test_6
setvariable mendhunt_debuff_harn_power_6 %mendhunt_archive_primary_debuff_harn_power_6
setvariable mendhunt_debuff_harn_loop_6 %mendhunt_archive_primary_debuff_harn_loop_6
setvariable mendhunt_debuff_cam_test_6 %mendhunt_archive_primary_debuff_cam_test_6
setvariable mendhunt_debuff_cam_power_6 %mendhunt_archive_primary_debuff_cam_power_6
setvariable mendhunt_debuff_cam_loop_6 %mendhunt_archive_primary_debuff_cam_loop_6
setvariable mendhunt_debuff_cast_pause_6 %mendhunt_archive_primary_debuff_cast_pause_6
setvariable mendhunt_debuff_once_test_6 %mendhunt_archive_primary_debuff_once_test_6

echo *** Resetting variables [||||||||||||||||||||||||||||||______]

setvariable mendhunt_combat_roar_test %mendhunt_archive_primary_combat_roar_test
setvariable mendhunt_combat_roar_type %mendhunt_archive_primary_combat_roar_type
setvariable mendhunt_combat_dance_test %mendhunt_archive_primary_combat_dance_test
setvariable mendhunt_combat_dance_type %mendhunt_archive_primary_combat_dance_type
setvariable mendhunt_combat_sing_test %mendhunt_archive_primary_combat_sing_test
setvariable mendhunt_combat_sing_type %mendhunt_archive_primary_combat_sing_type
setvariable mendhunt_combat_chant_test %mendhunt_archive_primary_combat_chant_test
setvariable mendhunt_combat_chant_type %mendhunt_archive_primary_combat_chant_type
setvariable mendhunt_combat_khri_test %mendhunt_archive_primary_combat_khri_test
setvariable mendhunt_combat_khri_type %mendhunt_archive_primary_combat_khri_type
setvariable mendhunt_deks_special_test %mendhunt_archive_primary_deks_special_test
setvariable mendhunt_deks_line_1 %mendhunt_archive_primary_deks_line_1
setvariable mendhunt_deks_line_2 %mendhunt_archive_primary_deks_line_2
setvariable mendhunt_deks_line_3 %mendhunt_archive_primary_deks_line_3
setvariable mendhunt_deks_line_4 %mendhunt_archive_primary_deks_line_4
setvariable mendhunt_deks_line_5 %mendhunt_archive_primary_deks_line_5

echo *** Resetting variables [|||||||||||||||||||||||||||||||_____]

setvariable mendhunt_frenzy_cl_test %mendhunt_archive_primary_frenzy_cl_test
setvariable mendhunt_frenzy_cl_prep_mana %mendhunt_archive_primary_frenzy_cl_prep_mana
setvariable mendhunt_frenzy_cl_harn_test %mendhunt_archive_primary_frenzy_cl_harn_test
setvariable mendhunt_frenzy_cl_harn_mana %mendhunt_archive_primary_frenzy_cl_harn_mana
setvariable mendhunt_frenzy_cl_harn_loop %mendhunt_archive_primary_frenzy_cl_harn_loop
setvariable mendhunt_frenzy_cl_cast_pause %mendhunt_archive_primary_frenzy_cl_cast_pause
setvariable mendhunt_frenzy_roar_test %mendhunt_archive_primary_frenzy_roar_test
setvariable mendhunt_frenzy_roar_type %mendhunt_archive_primary_frenzy_roar_type
setvariable mendhunt_frenzy_berserk_test %mendhunt_archive_primary_frenzy_berserk_test
setvariable mendhunt_frenzy_berserk_type %mendhunt_archive_primary_frenzy_berserk_type
setvariable mendhunt_frenzy_sing_test %mendhunt_archive_primary_frenzy_sing_test
setvariable mendhunt_frenzy_sing_type %mendhunt_archive_primary_frenzy_sing_type
setvariable mendhunt_frenzy_chant_test %mendhunt_archive_primary_frenzy_chant_test
setvariable mendhunt_frenzy_chant_type %mendhunt_archive_primary_frenzy_chant_type
setvariable mendhunt_frenzy_bot_test %mendhunt_archive_primary_frenzy_bot_test
setvariable mendhunt_frenzy_bot_prep_mana %mendhunt_archive_primary_frenzy_bot_prep_mana
setvariable mendhunt_frenzy_bot_harn_test %mendhunt_archive_primary_frenzy_bot_harn_test
setvariable mendhunt_frenzy_bot_harn_mana %mendhunt_archive_primary_frenzy_bot_harn_mana
setvariable mendhunt_frenzy_bot_harn_loop %mendhunt_archive_primary_frenzy_bot_harn_loop
setvariable mendhunt_frenzy_bot_cast_pause %mendhunt_archive_primary_frenzy_bot_cast_pause
setvariable mendhunt_frenzy_flee_test %mendhunt_archive_primary_frenzy_flee_test
setvariable mendhunt_frenzy_hide_test %mendhunt_archive_primary_frenzy_hide_test

echo *** Resetting variables [||||||||||||||||||||||||||||||||____]

setvariable mendhunt_empath_guild_test %mendhunt_archive_primary_empath_guild_test
setvariable mendhunt_empath_test_manipulate %mendhunt_archive_primary_empath_test_manipulate
setvariable mendhunt_empath_test_innocence %mendhunt_archive_primary_empath_test_innocence
setvariable mendhunt_empath_test_gs %mendhunt_archive_primary_empath_test_gs

setvariable mendhunt_empath_prep_power_innocence %mendhunt_archive_primary_empath_prep_power_innocence
setvariable mendhunt_empath_cast_pause_innocence %mendhunt_archive_primary_empath_cast_pause_innocence
setvariable mendhunt_empath_harn_test_innocence %mendhunt_archive_primary_empath_harn_test_innocence
setvariable mendhunt_empath_harn_power_innocence %mendhunt_archive_primary_empath_harn_power_innocence
setvariable mendhunt_empath_harn_loop_innocence %mendhunt_archive_primary_empath_harn_loop_innocence
setvariable mendhunt_empath_cam_test_innocence %mendhunt_archive_primary_empath_cam_test_innocence
setvariable mendhunt_empath_cam_power_innocence %mendhunt_archive_primary_empath_cam_power_innocence
setvariable mendhunt_empath_cam_loop_innocence %mendhunt_archive_primary_empath_cam_loop_innocence

setvariable mendhunt_empath_prep_power_gs %mendhunt_archive_primary_empath_prep_power_gs
setvariable mendhunt_empath_cast_pause_gs %mendhunt_archive_primary_empath_cast_pause_gs
setvariable mendhunt_empath_harn_test_gs %mendhunt_archive_primary_empath_harn_test_gs
setvariable mendhunt_empath_harn_power_gs %mendhunt_archive_primary_empath_harn_power_gs
setvariable mendhunt_empath_harn_loop_gs %mendhunt_archive_primary_empath_harn_loop_gs
setvariable mendhunt_empath_cam_test_gs %mendhunt_archive_primary_empath_cam_test_gs
setvariable mendhunt_empath_cam_power_gs %mendhunt_archive_primary_empath_cam_power_gs
setvariable mendhunt_empath_cam_loop_gs %mendhunt_archive_primary_empath_cam_loop_gs

setvariable mendhunt_empath_maxconc %mendhunt_archive_primary_empath_maxconc

echo *** Resetting variables [|||||||||||||||||||||||||||||||||___]

setvariable mendhunt_crittercount1 %mendhunt_archive_primary_crittercount1
setvariable mendhunt_crittercount2 %mendhunt_archive_primary_crittercount2
setvariable mendhunt_crittercount3 %mendhunt_archive_primary_crittercount3
setvariable mendhunt_crittercount4 %mendhunt_archive_primary_crittercount4
setvariable mendhunt_crittercount5 %mendhunt_archive_primary_crittercount5
setvariable mendhunt_crittercount6 %mendhunt_archive_primary_crittercount6

setvariable mendhunt_skinning_test %mendhunt_archive_primary_skinning_test
setvariable mendhunt_skinner_name %mendhunt_archive_primary_skinner_name
setvariable mendhunt_skinner_name_branch %mendhunt_archive_primary_skinner_name_branch

setvariable mendhunt_ndc_master_test %mendhunt_archive_primary_ndc_master_test
setvariable mendhunt_ndc_hum_test %mendhunt_archive_primary_ndc_hum_test
setvariable mendhunt_ndc_hum_item %mendhunt_archive_primary_ndc_hum_item
setvariable mendhunt_ndc_pow_test %mendhunt_archive_primary_ndc_pow_test
setvariable mendhunt_ndc_juggle_test %mendhunt_archive_primary_ndc_juggle_test
setvariable mendhunt_ndc_juggle_item %mendhunt_archive_primary_ndc_juggle_item
setvariable mendhunt_ndc_comp_test %mendhunt_archive_primary_ndc_comp_test
setvariable mendhunt_ndc_stones_test %mendhunt_archive_primary_ndc_stones_test
setvariable mendhunt_ndc_pyramid_test %mendhunt_archive_primary_ndc_pyramid_test
setvariable mendhunt_ndc_pyramid_item %mendhunt_archive_primary_ndc_pyramid_item
setvariable mendhunt_ndc_forage_test %mendhunt_archive_primary_ndc_forage_test
setvariable mendhunt_ndc_forage_item %mendhunt_archive_primary_ndc_forage_item

echo *** Resetting variables [||||||||||||||||||||||||||||||||||__]

setvariable mendhunt_fissure_master_test %mendhunt_archive_primary_fissure_master_test
setvariable mendhunt_fissure_element %mendhunt_archive_primary_fissure_element
setvariable mendhunt_fissure_prep_power %mendhunt_archive_primary_fissure_prep_power
setvariable mendhunt_fissure_cast_pause %mendhunt_archive_primary_fissure_cast_pause
setvariable mendhunt_fissure_harn_test %mendhunt_archive_primary_fissure_harn_test
setvariable mendhunt_fissure_harn_power %mendhunt_archive_primary_fissure_harn_power
setvariable mendhunt_fissure_harn_loop %mendhunt_archive_primary_fissure_harn_loop
setvariable mendhunt_fissure_cam_test %mendhunt_archive_primary_fissure_cam_test
setvariable mendhunt_fissure_cam_power %mendhunt_archive_primary_fissure_cam_power
setvariable mendhunt_fissure_cam_loop %mendhunt_archive_primary_fissure_cam_loop

setvariable mendhunt_mof_master_test %mendhunt_archive_primary_mof_master_test
setvariable mendhunt_mof_prep_power %mendhunt_archive_primary_mof_prep_power
setvariable mendhunt_mof_cast_pause %mendhunt_archive_primary_mof_cast_pause
setvariable mendhunt_mof_harn_test %mendhunt_archive_primary_mof_harn_test
setvariable mendhunt_mof_harn_power %mendhunt_archive_primary_mof_harn_power
setvariable mendhunt_mof_harn_loop %mendhunt_archive_primary_mof_harn_loop
setvariable mendhunt_mof_cam_test %mendhunt_archive_primary_mof_cam_test
setvariable mendhunt_mof_cam_power %mendhunt_archive_primary_mof_cam_power
setvariable mendhunt_mof_cam_loop %mendhunt_archive_primary_mof_cam_loop

setvariable mendhunt_ys_master_test %mendhunt_archive_primary_ys_master_test
setvariable mendhunt_ys_prep_power %mendhunt_archive_primary_ys_prep_power
setvariable mendhunt_ys_cast_pause %mendhunt_archive_primary_ys_cast_pause
setvariable mendhunt_ys_harn_test %mendhunt_archive_primary_ys_harn_test
setvariable mendhunt_ys_harn_power %mendhunt_archive_primary_ys_harn_power
setvariable mendhunt_ys_harn_loop %mendhunt_archive_primary_ys_harn_loop
setvariable mendhunt_ys_cam_test %mendhunt_archive_primary_ys_cam_test
setvariable mendhunt_ys_cam_power %mendhunt_archive_primary_ys_cam_power
setvariable mendhunt_ys_cam_loop %mendhunt_archive_primary_ys_cam_loop
setvariable mendhunt_ysmaint_prep_power %mendhunt_archive_primary_ysmaint_prep_power
setvariable mendhunt_ysmaint_cast_pause %mendhunt_archive_primary_ysmaint_cast_pause

setvariable mendhunt_aeg_master_test %mendhunt_archive_primary_aeg_master_test
setvariable mendhunt_aeg_prep_power %mendhunt_archive_primary_aeg_prep_power
setvariable mendhunt_aeg_cast_pause %mendhunt_archive_primary_aeg_cast_pause
setvariable mendhunt_aeg_harn_test %mendhunt_archive_primary_aeg_harn_test
setvariable mendhunt_aeg_harn_power %mendhunt_archive_primary_aeg_harn_power
setvariable mendhunt_aeg_harn_loop %mendhunt_archive_primary_aeg_harn_loop
setvariable mendhunt_aeg_cam_test %mendhunt_archive_primary_aeg_cam_test
setvariable mendhunt_aeg_cam_power %mendhunt_archive_primary_aeg_cam_power
setvariable mendhunt_aeg_cam_loop %mendhunt_archive_primary_aeg_cam_loop
setvariable mendhunt_aeg_type_LE %mendhunt_archive_primary_aeg_type_LE
setvariable mendhunt_aeg_type_ME %mendhunt_archive_primary_aeg_type_ME
setvariable mendhunt_aeg_type_HE %mendhunt_archive_primary_aeg_type_HE
setvariable mendhunt_aeg_type_2HE %mendhunt_archive_primary_aeg_type_2HE
setvariable mendhunt_aeg_type_LB %mendhunt_archive_primary_aeg_type_LB
setvariable mendhunt_aeg_type_MB %mendhunt_archive_primary_aeg_type_MB
setvariable mendhunt_aeg_type_HB %mendhunt_archive_primary_aeg_type_HB
setvariable mendhunt_aeg_type_2HB %mendhunt_archive_primary_aeg_type_2HB
setvariable mendhunt_aeg_type_SL %mendhunt_archive_primary_aeg_type_SL
setvariable mendhunt_aeg_type_STAFFSLING %mendhunt_archive_primary_aeg_type_STAFFSLING
setvariable mendhunt_aeg_type_SB %mendhunt_archive_primary_aeg_type_SB
setvariable mendhunt_aeg_type_LOB %mendhunt_archive_primary_aeg_type_LOB
setvariable mendhunt_aeg_type_CB %mendhunt_archive_primary_aeg_type_CB
setvariable mendhunt_aeg_type_LX %mendhunt_archive_primary_aeg_type_LX
setvariable mendhunt_aeg_type_HX %mendhunt_archive_primary_aeg_type_HX
setvariable mendhunt_aeg_type_SS %mendhunt_archive_primary_aeg_type_SS
setvariable mendhunt_aeg_type_QS %mendhunt_archive_primary_aeg_type_QS
setvariable mendhunt_aeg_type_PI %mendhunt_archive_primary_aeg_type_PI
setvariable mendhunt_aeg_type_HAL %mendhunt_archive_primary_aeg_type_HAL
setvariable mendhunt_aeg_type_LT %mendhunt_archive_primary_aeg_type_LT
setvariable mendhunt_aeg_type_HT %mendhunt_archive_primary_aeg_type_HT
setvariable mendhunt_aeg_type_BR %mendhunt_archive_primary_aeg_type_BR
setvariable mendhunt_aeg_type_OW %mendhunt_archive_primary_aeg_type_OW
setvariable mendhunt_aeg_type_noweap %mendhunt_archive_primary_aeg_type_noweap
setvariable mendhunt_aegmaint_test %mendhunt_archive_primary_aegmaint_test
setvariable mendhunt_aegmaint_prep_power %mendhunt_archive_primary_aegmaint_prep_power
setvariable mendhunt_aegmaint_cast_pause %mendhunt_archive_primary_aegmaint_cast_pause

echo *** Resetting variables [|||||||||||||||||||||||||||||||||||_]

setvariable mendhunt_loot_master_test %mendhunt_archive_primary_loot_master_test
setvariable mendhunt_loot_plat_test %mendhunt_archive_primary_loot_plat_test
setvariable mendhunt_loot_gold_test %mendhunt_archive_primary_loot_gold_test
setvariable mendhunt_loot_silver_test %mendhunt_archive_primary_loot_silver_test
setvariable mendhunt_loot_bronze_test %mendhunt_archive_primary_loot_bronze_test
setvariable mendhunt_loot_copper_test %mendhunt_archive_primary_loot_copper_test
setvariable mendhunt_loot_gems_test %mendhunt_archive_primary_loot_gems_test
setvariable mendhunt_loot_boxes_test %mendhunt_archive_primary_loot_boxes_test
setvariable mendhunt_loot_other_test %mendhunt_archive_primary_loot_other_test
setvariable mendhunt_loot_skins_test %mendhunt_archive_primary_loot_skins_test
setvariable mendhunt_gems_container %mendhunt_archive_primary_gems_container
setvariable mendhunt_boxes_container %mendhunt_archive_primary_boxes_container
setvariable mendhunt_other_container %mendhunt_archive_primary_other_container
setvariable mendhunt_gpouch_use_test %mendhunt_archive_primary_gpouch_use_test
setvariable mendhunt_gpouch_empty_container %mendhunt_archive_primary_gpouch_empty_container
setvariable mendhunt_gpouch_full_container %mendhunt_archive_primary_gpouch_full_container
setvariable mendhunt_gpouch_tie_test %mendhunt_archive_primary_gpouch_tie_test

#setvariable mendhunt_useradd_critter_1 %mendhunt_archive_primary_useradd_critter_1
#setvariable mendhunt_useradd_critter_2 %mendhunt_archive_primary_useradd_critter_2
#setvariable mendhunt_useradd_critter_3 %mendhunt_archive_primary_useradd_critter_3
#setvariable mendhunt_useradd_critter_4 %mendhunt_archive_primary_useradd_critter_4
#setvariable mendhunt_useradd_critter_5 %mendhunt_archive_primary_useradd_critter_5
#setvariable mendhunt_useradd_critter_6 %mendhunt_archive_primary_useradd_critter_6
#setvariable mendhunt_loot_gems_useradd_1 %mendhunt_archive_primary_loot_gems_useradd_1
#setvariable mendhunt_loot_gems_useradd_2 %mendhunt_archive_primary_loot_gems_useradd_2
#setvariable mendhunt_loot_gems_useradd_3 %mendhunt_archive_primary_loot_gems_useradd_3
#setvariable mendhunt_loot_gems_useradd_4 %mendhunt_archive_primary_loot_gems_useradd_4
#setvariable mendhunt_loot_gems_useradd_5 %mendhunt_archive_primary_loot_gems_useradd_5
#setvariable mendhunt_loot_gems_useradd_6 %mendhunt_archive_primary_loot_gems_useradd_6
#setvariable mendhunt_loot_other_useradd_1 %mendhunt_archive_primary_loot_other_useradd_1
#setvariable mendhunt_loot_other_useradd_2 %mendhunt_archive_primary_loot_other_useradd_2
#setvariable mendhunt_loot_other_useradd_3 %mendhunt_archive_primary_loot_other_useradd_3
#setvariable mendhunt_loot_other_useradd_4 %mendhunt_archive_primary_loot_other_useradd_4
#setvariable mendhunt_loot_other_useradd_5 %mendhunt_archive_primary_loot_other_useradd_5
#setvariable mendhunt_loot_other_useradd_6 %mendhunt_archive_primary_loot_other_useradd_6
#setvariable mendhunt_loot_skins_useradd_1 %mendhunt_archive_primary_loot_skins_useradd_1
#setvariable mendhunt_loot_skins_useradd_2 %mendhunt_archive_primary_loot_skins_useradd_2
#setvariable mendhunt_loot_skins_useradd_3 %mendhunt_archive_primary_loot_skins_useradd_3
#setvariable mendhunt_loot_skins_useradd_4 %mendhunt_archive_primary_loot_skins_useradd_4
#setvariable mendhunt_loot_skins_useradd_5 %mendhunt_archive_primary_loot_skins_useradd_5
#setvariable mendhunt_loot_skins_useradd_6 %mendhunt_archive_primary_loot_skins_useradd_6


echo *** Resetting variables [||||||||||||||||||||||||||||||||||||]
echo
echo *** Resetting variables COMPLETED
echo

	echo
	echo
	echo *** Variables retrieved from Archive Primary
	echo
	echo
	pause 1
ARCHIVE_PRIMARY_RETRIEVE_END:
	goto SETUP_MISC_ARCHIVE_RETURN



#############################################################################
###########################    ARCHIVE VARIABLES BACKTRAIN SECTION    #######
#############################################################################
ARCHIVE_BACKTRAIN_SAVE:
ARCHIVE_BACKTRAIN_SAVE_START:

ARCHIVE_BACKTRAIN_SAVE_START_INITIALIZE_ARMAMENT_SLOTS:
	setvariable subreturnflag ARCHIVE_BACKTRAIN_SAVE_START_INITIALIZE_ARMAMENT_SLOTS
	goto INITIALIZE_ARMAMENT
SUBRETURN_ARCHIVE_BACKTRAIN_SAVE_START_INITIALIZE_ARMAMENT_SLOTS:

echo
echo *** Resetting variables START
echo
echo *** Resetting variables [|___________________________________]

setvariable mendhunt_archive_backtrain_need_initialize_flag %mendhunt_need_initialize_flag
setvariable mendhunt_archive_backtrain_weapon_style_master %mendhunt_weapon_style_master
setvariable mendhunt_archive_backtrain_weapon_style_main_test %mendhunt_weapon_style_main_test
setvariable mendhunt_archive_backtrain_weapon_style_multi_test %mendhunt_weapon_style_multi_test
setvariable mendhunt_archive_backtrain_weapon_style_noweap_test %mendhunt_weapon_style_noweap_test
setvariable mendhunt_archive_backtrain_weapon_swap_test %mendhunt_weapon_swap_test
setvariable mendhunt_archive_backtrain_armor_switch_test %mendhunt_armor_switch_test
setvariable mendhunt_archive_backtrain_stance_test %mendhunt_stance_test
setvariable mendhunt_archive_backtrain_dance_mode_mo_test %mendhunt_dance_mode_mo_test
setvariable mendhunt_archive_backtrain_dance_app_test %mendhunt_dance_app_test
setvariable mendhunt_archive_backtrain_dance_brawl_test %mendhunt_dance_brawl_test
setvariable mendhunt_archive_backtrain_dance_hunt_test %mendhunt_dance_hunt_test
setvariable mendhunt_archive_backtrain_mindstate_test %mendhunt_mindstate_test
setvariable mendhunt_archive_backtrain_ranged_pause %mendhunt_ranged_pause
setvariable mendhunt_archive_backtrain_thrown_pause %mendhunt_thrown_pause
setvariable mendhunt_archive_backtrain_rangedthrown_retreat_test %mendhunt_rangedthrown_retreat_test
setvariable mendhunt_archive_backtrain_slow_attack_test %mendhunt_slow_attack_test
setvariable mendhunt_archive_backtrain_hide_test %mendhunt_hide_test
setvariable mendhunt_archive_backtrain_weapon_cycle %mendhunt_weapon_cycle
setvariable mendhunt_archive_backtrain_arrange_master_test %mendhunt_arrange_master_test
setvariable mendhunt_archive_backtrain_backstab_master_test %mendhunt_backstab_master_test
setvariable mendhunt_archive_backtrain_force_weapon_switch_test %mendhunt_force_weapon_switch_test
setvariable mendhunt_archive_backtrain_force_armor_switch_test %mendhunt_force_armor_switch_test
setvariable mendhunt_archive_backtrain_preserve_master_test %mendhunt_preserve_master_test

echo *** Resetting variables [||__________________________________]

setvariable mendhunt_archive_backtrain_weapon_name_main %mendhunt_weapon_name_main
setvariable mendhunt_archive_backtrain_weapon_class_main %mendhunt_weapon_class_main
setvariable mendhunt_archive_backtrain_weapon_type_main %mendhunt_weapon_type_main
setvariable mendhunt_archive_backtrain_weapon_combo_main %mendhunt_weapon_combo_main
setvariable mendhunt_archive_backtrain_weapon_combo_1_main %mendhunt_weapon_combo_1_main
setvariable mendhunt_archive_backtrain_weapon_combo_2_main %mendhunt_weapon_combo_2_main
setvariable mendhunt_archive_backtrain_weapon_combo_3_main %mendhunt_weapon_combo_3_main
setvariable mendhunt_archive_backtrain_weapon_combo_4_main %mendhunt_weapon_combo_4_main
setvariable mendhunt_archive_backtrain_weapon_combo_5_main %mendhunt_weapon_combo_5_main
setvariable mendhunt_archive_backtrain_weapon_combo_6_main %mendhunt_weapon_combo_6_main
setvariable mendhunt_archive_backtrain_weapon_combo_7_main %mendhunt_weapon_combo_7_main
setvariable mendhunt_archive_backtrain_weapon_combo_8_main %mendhunt_weapon_combo_8_main
setvariable mendhunt_archive_backtrain_weapon_ammo_main %mendhunt_weapon_ammo_main
setvariable mendhunt_archive_backtrain_weapon_shield_use_main %mendhunt_weapon_shield_use_main
setvariable mendhunt_archive_backtrain_weapon_shield_name_main %mendhunt_weapon_shield_name_main
setvariable mendhunt_archive_backtrain_weapon_stance_focus_main %mendhunt_weapon_stance_focus_main

setvariable mendhunt_archive_backtrain_weapon_name_1 %mendhunt_weapon_name_1
setvariable mendhunt_archive_backtrain_weapon_class_1 %mendhunt_weapon_class_1
setvariable mendhunt_archive_backtrain_weapon_type_1 %mendhunt_weapon_type_1
setvariable mendhunt_archive_backtrain_weapon_combo_1 %mendhunt_weapon_combo_1
setvariable mendhunt_archive_backtrain_weapon_combo_1_1 %mendhunt_weapon_combo_1_1
setvariable mendhunt_archive_backtrain_weapon_combo_2_1 %mendhunt_weapon_combo_2_1
setvariable mendhunt_archive_backtrain_weapon_combo_3_1 %mendhunt_weapon_combo_3_1
setvariable mendhunt_archive_backtrain_weapon_combo_4_1 %mendhunt_weapon_combo_4_1
setvariable mendhunt_archive_backtrain_weapon_combo_5_1 %mendhunt_weapon_combo_5_1
setvariable mendhunt_archive_backtrain_weapon_combo_6_1 %mendhunt_weapon_combo_6_1
setvariable mendhunt_archive_backtrain_weapon_combo_7_1 %mendhunt_weapon_combo_7_1
setvariable mendhunt_archive_backtrain_weapon_combo_8_1 %mendhunt_weapon_combo_8_1
setvariable mendhunt_archive_backtrain_weapon_ammo_1 %mendhunt_weapon_ammo_1
setvariable mendhunt_archive_backtrain_weapon_shield_use_1 %mendhunt_weapon_shield_use_1
setvariable mendhunt_archive_backtrain_weapon_shield_name_1 %mendhunt_weapon_shield_name_1
setvariable mendhunt_archive_backtrain_weapon_stance_focus_1 %mendhunt_weapon_stance_focus_1

echo *** Resetting variables [|||_________________________________]

setvariable mendhunt_archive_backtrain_weapon_name_2 %mendhunt_weapon_name_2
setvariable mendhunt_archive_backtrain_weapon_class_2 %mendhunt_weapon_class_2
setvariable mendhunt_archive_backtrain_weapon_type_2 %mendhunt_weapon_type_2
setvariable mendhunt_archive_backtrain_weapon_combo_2 %mendhunt_weapon_combo_2
setvariable mendhunt_archive_backtrain_weapon_combo_1_2 %mendhunt_weapon_combo_1_2
setvariable mendhunt_archive_backtrain_weapon_combo_2_2 %mendhunt_weapon_combo_2_2
setvariable mendhunt_archive_backtrain_weapon_combo_3_2 %mendhunt_weapon_combo_3_2
setvariable mendhunt_archive_backtrain_weapon_combo_4_2 %mendhunt_weapon_combo_4_2
setvariable mendhunt_archive_backtrain_weapon_combo_5_2 %mendhunt_weapon_combo_5_2
setvariable mendhunt_archive_backtrain_weapon_combo_6_2 %mendhunt_weapon_combo_6_2
setvariable mendhunt_archive_backtrain_weapon_combo_7_2 %mendhunt_weapon_combo_7_2
setvariable mendhunt_archive_backtrain_weapon_combo_8_2 %mendhunt_weapon_combo_8_2
setvariable mendhunt_archive_backtrain_weapon_ammo_2 %mendhunt_weapon_ammo_2
setvariable mendhunt_archive_backtrain_weapon_shield_use_2 %mendhunt_weapon_shield_use_2
setvariable mendhunt_archive_backtrain_weapon_shield_name_2 %mendhunt_weapon_shield_name_2
setvariable mendhunt_archive_backtrain_weapon_stance_focus_2 %mendhunt_weapon_stance_focus_2

setvariable mendhunt_archive_backtrain_weapon_name_3 %mendhunt_weapon_name_3
setvariable mendhunt_archive_backtrain_weapon_class_3 %mendhunt_weapon_class_3
setvariable mendhunt_archive_backtrain_weapon_type_3 %mendhunt_weapon_type_3
setvariable mendhunt_archive_backtrain_weapon_combo_3 %mendhunt_weapon_combo_3
setvariable mendhunt_archive_backtrain_weapon_combo_1_3 %mendhunt_weapon_combo_1_3
setvariable mendhunt_archive_backtrain_weapon_combo_2_3 %mendhunt_weapon_combo_2_3
setvariable mendhunt_archive_backtrain_weapon_combo_3_3 %mendhunt_weapon_combo_3_3
setvariable mendhunt_archive_backtrain_weapon_combo_4_3 %mendhunt_weapon_combo_4_3
setvariable mendhunt_archive_backtrain_weapon_combo_5_3 %mendhunt_weapon_combo_5_3
setvariable mendhunt_archive_backtrain_weapon_combo_6_3 %mendhunt_weapon_combo_6_3
setvariable mendhunt_archive_backtrain_weapon_combo_7_3 %mendhunt_weapon_combo_7_3
setvariable mendhunt_archive_backtrain_weapon_combo_8_3 %mendhunt_weapon_combo_8_3
setvariable mendhunt_archive_backtrain_weapon_ammo_3 %mendhunt_weapon_ammo_3
setvariable mendhunt_archive_backtrain_weapon_shield_use_3 %mendhunt_weapon_shield_use_3
setvariable mendhunt_archive_backtrain_weapon_shield_name_3 %mendhunt_weapon_shield_name_3
setvariable mendhunt_archive_backtrain_weapon_stance_focus_3 %mendhunt_weapon_stance_focus_3

echo *** Resetting variables [||||________________________________]

setvariable mendhunt_archive_backtrain_weapon_name_4 %mendhunt_weapon_name_4
setvariable mendhunt_archive_backtrain_weapon_class_4 %mendhunt_weapon_class_4
setvariable mendhunt_archive_backtrain_weapon_type_4 %mendhunt_weapon_type_4
setvariable mendhunt_archive_backtrain_weapon_combo_4 %mendhunt_weapon_combo_4
setvariable mendhunt_archive_backtrain_weapon_combo_1_4 %mendhunt_weapon_combo_1_4
setvariable mendhunt_archive_backtrain_weapon_combo_2_4 %mendhunt_weapon_combo_2_4
setvariable mendhunt_archive_backtrain_weapon_combo_3_4 %mendhunt_weapon_combo_3_4
setvariable mendhunt_archive_backtrain_weapon_combo_4_4 %mendhunt_weapon_combo_4_4
setvariable mendhunt_archive_backtrain_weapon_combo_5_4 %mendhunt_weapon_combo_5_4
setvariable mendhunt_archive_backtrain_weapon_combo_6_4 %mendhunt_weapon_combo_6_4
setvariable mendhunt_archive_backtrain_weapon_combo_7_4 %mendhunt_weapon_combo_7_4
setvariable mendhunt_archive_backtrain_weapon_combo_8_4 %mendhunt_weapon_combo_8_4
setvariable mendhunt_archive_backtrain_weapon_ammo_4 %mendhunt_weapon_ammo_4
setvariable mendhunt_archive_backtrain_weapon_shield_use_4 %mendhunt_weapon_shield_use_4
setvariable mendhunt_archive_backtrain_weapon_shield_name_4 %mendhunt_weapon_shield_name_4
setvariable mendhunt_archive_backtrain_weapon_stance_focus_4 %mendhunt_weapon_stance_focus_4

setvariable mendhunt_archive_backtrain_weapon_name_5 %mendhunt_weapon_name_5
setvariable mendhunt_archive_backtrain_weapon_class_5 %mendhunt_weapon_class_5
setvariable mendhunt_archive_backtrain_weapon_type_5 %mendhunt_weapon_type_5
setvariable mendhunt_archive_backtrain_weapon_combo_5 %mendhunt_weapon_combo_5
setvariable mendhunt_archive_backtrain_weapon_combo_1_5 %mendhunt_weapon_combo_1_5
setvariable mendhunt_archive_backtrain_weapon_combo_2_5 %mendhunt_weapon_combo_2_5
setvariable mendhunt_archive_backtrain_weapon_combo_3_5 %mendhunt_weapon_combo_3_5
setvariable mendhunt_archive_backtrain_weapon_combo_4_5 %mendhunt_weapon_combo_4_5
setvariable mendhunt_archive_backtrain_weapon_combo_5_5 %mendhunt_weapon_combo_5_5
setvariable mendhunt_archive_backtrain_weapon_combo_6_5 %mendhunt_weapon_combo_6_5
setvariable mendhunt_archive_backtrain_weapon_combo_7_5 %mendhunt_weapon_combo_7_5
setvariable mendhunt_archive_backtrain_weapon_combo_8_5 %mendhunt_weapon_combo_8_5
setvariable mendhunt_archive_backtrain_weapon_ammo_5 %mendhunt_weapon_ammo_5
setvariable mendhunt_archive_backtrain_weapon_shield_use_5 %mendhunt_weapon_shield_use_5
setvariable mendhunt_archive_backtrain_weapon_shield_name_5 %mendhunt_weapon_shield_name_5
setvariable mendhunt_archive_backtrain_weapon_stance_focus_5 %mendhunt_weapon_stance_focus_5

echo *** Resetting variables [|||||_______________________________]

setvariable mendhunt_archive_backtrain_weapon_name_6 %mendhunt_weapon_name_6
setvariable mendhunt_archive_backtrain_weapon_class_6 %mendhunt_weapon_class_6
setvariable mendhunt_archive_backtrain_weapon_type_6 %mendhunt_weapon_type_6
setvariable mendhunt_archive_backtrain_weapon_combo_6 %mendhunt_weapon_combo_6
setvariable mendhunt_archive_backtrain_weapon_combo_1_6 %mendhunt_weapon_combo_1_6
setvariable mendhunt_archive_backtrain_weapon_combo_2_6 %mendhunt_weapon_combo_2_6
setvariable mendhunt_archive_backtrain_weapon_combo_3_6 %mendhunt_weapon_combo_3_6
setvariable mendhunt_archive_backtrain_weapon_combo_4_6 %mendhunt_weapon_combo_4_6
setvariable mendhunt_archive_backtrain_weapon_combo_5_6 %mendhunt_weapon_combo_5_6
setvariable mendhunt_archive_backtrain_weapon_combo_6_6 %mendhunt_weapon_combo_6_6
setvariable mendhunt_archive_backtrain_weapon_combo_7_6 %mendhunt_weapon_combo_7_6
setvariable mendhunt_archive_backtrain_weapon_combo_8_6 %mendhunt_weapon_combo_8_6
setvariable mendhunt_archive_backtrain_weapon_ammo_6 %mendhunt_weapon_ammo_6
setvariable mendhunt_archive_backtrain_weapon_shield_use_6 %mendhunt_weapon_shield_use_6
setvariable mendhunt_archive_backtrain_weapon_shield_name_6 %mendhunt_weapon_shield_name_6
setvariable mendhunt_archive_backtrain_weapon_stance_focus_6 %mendhunt_weapon_stance_focus_6

setvariable mendhunt_archive_backtrain_weapon_name_LE %mendhunt_weapon_name_LE
setvariable mendhunt_archive_backtrain_weapon_class_LE %mendhunt_weapon_class_LE
setvariable mendhunt_archive_backtrain_weapon_type_LE %mendhunt_weapon_type_LE
setvariable mendhunt_archive_backtrain_weapon_combo_LE %mendhunt_weapon_combo_LE
setvariable mendhunt_archive_backtrain_weapon_combo_1_LE %mendhunt_weapon_combo_1_LE
setvariable mendhunt_archive_backtrain_weapon_combo_2_LE %mendhunt_weapon_combo_2_LE
setvariable mendhunt_archive_backtrain_weapon_combo_3_LE %mendhunt_weapon_combo_3_LE
setvariable mendhunt_archive_backtrain_weapon_combo_4_LE %mendhunt_weapon_combo_4_LE
setvariable mendhunt_archive_backtrain_weapon_combo_5_LE %mendhunt_weapon_combo_5_LE
setvariable mendhunt_archive_backtrain_weapon_combo_6_LE %mendhunt_weapon_combo_6_LE
setvariable mendhunt_archive_backtrain_weapon_combo_7_LE %mendhunt_weapon_combo_7_LE
setvariable mendhunt_archive_backtrain_weapon_combo_8_LE %mendhunt_weapon_combo_8_LE
setvariable mendhunt_archive_backtrain_weapon_ammo_LE %mendhunt_weapon_ammo_LE
setvariable mendhunt_archive_backtrain_weapon_shield_use_LE %mendhunt_weapon_shield_use_LE
setvariable mendhunt_archive_backtrain_weapon_shield_name_LE %mendhunt_weapon_shield_name_LE
setvariable mendhunt_archive_backtrain_weapon_stance_focus_LE %mendhunt_weapon_stance_focus_LE

echo *** Resetting variables [||||||______________________________]

setvariable mendhunt_archive_backtrain_weapon_name_ME %mendhunt_weapon_name_ME
setvariable mendhunt_archive_backtrain_weapon_class_ME %mendhunt_weapon_class_ME
setvariable mendhunt_archive_backtrain_weapon_type_ME %mendhunt_weapon_type_ME
setvariable mendhunt_archive_backtrain_weapon_combo_ME %mendhunt_weapon_combo_ME
setvariable mendhunt_archive_backtrain_weapon_combo_1_ME %mendhunt_weapon_combo_1_ME
setvariable mendhunt_archive_backtrain_weapon_combo_2_ME %mendhunt_weapon_combo_2_ME
setvariable mendhunt_archive_backtrain_weapon_combo_3_ME %mendhunt_weapon_combo_3_ME
setvariable mendhunt_archive_backtrain_weapon_combo_4_ME %mendhunt_weapon_combo_4_ME
setvariable mendhunt_archive_backtrain_weapon_combo_5_ME %mendhunt_weapon_combo_5_ME
setvariable mendhunt_archive_backtrain_weapon_combo_6_ME %mendhunt_weapon_combo_6_ME
setvariable mendhunt_archive_backtrain_weapon_combo_7_ME %mendhunt_weapon_combo_7_ME
setvariable mendhunt_archive_backtrain_weapon_combo_8_ME %mendhunt_weapon_combo_8_ME
setvariable mendhunt_archive_backtrain_weapon_ammo_ME %mendhunt_weapon_ammo_ME
setvariable mendhunt_archive_backtrain_weapon_shield_use_ME %mendhunt_weapon_shield_use_ME
setvariable mendhunt_archive_backtrain_weapon_shield_name_ME %mendhunt_weapon_shield_name_ME
setvariable mendhunt_archive_backtrain_weapon_stance_focus_ME %mendhunt_weapon_stance_focus_ME

setvariable mendhunt_archive_backtrain_weapon_name_HE %mendhunt_weapon_name_HE
setvariable mendhunt_archive_backtrain_weapon_class_HE %mendhunt_weapon_class_HE
setvariable mendhunt_archive_backtrain_weapon_type_HE %mendhunt_weapon_type_HE
setvariable mendhunt_archive_backtrain_weapon_combo_HE %mendhunt_weapon_combo_HE
setvariable mendhunt_archive_backtrain_weapon_combo_1_HE %mendhunt_weapon_combo_1_HE
setvariable mendhunt_archive_backtrain_weapon_combo_2_HE %mendhunt_weapon_combo_2_HE
setvariable mendhunt_archive_backtrain_weapon_combo_3_HE %mendhunt_weapon_combo_3_HE
setvariable mendhunt_archive_backtrain_weapon_combo_4_HE %mendhunt_weapon_combo_4_HE
setvariable mendhunt_archive_backtrain_weapon_combo_5_HE %mendhunt_weapon_combo_5_HE
setvariable mendhunt_archive_backtrain_weapon_combo_6_HE %mendhunt_weapon_combo_6_HE
setvariable mendhunt_archive_backtrain_weapon_combo_7_HE %mendhunt_weapon_combo_7_HE
setvariable mendhunt_archive_backtrain_weapon_combo_8_HE %mendhunt_weapon_combo_8_HE
setvariable mendhunt_archive_backtrain_weapon_ammo_HE %mendhunt_weapon_ammo_HE
setvariable mendhunt_archive_backtrain_weapon_shield_use_HE %mendhunt_weapon_shield_use_HE
setvariable mendhunt_archive_backtrain_weapon_shield_name_HE %mendhunt_weapon_shield_name_HE
setvariable mendhunt_archive_backtrain_weapon_stance_focus_HE %mendhunt_weapon_stance_focus_HE

echo *** Resetting variables [|||||||_____________________________]

setvariable mendhunt_archive_backtrain_weapon_name_2HE %mendhunt_weapon_name_2HE
setvariable mendhunt_archive_backtrain_weapon_class_2HE %mendhunt_weapon_class_2HE
setvariable mendhunt_archive_backtrain_weapon_type_2HE %mendhunt_weapon_type_2HE
setvariable mendhunt_archive_backtrain_weapon_combo_2HE %mendhunt_weapon_combo_2HE
setvariable mendhunt_archive_backtrain_weapon_combo_1_2HE %mendhunt_weapon_combo_1_2HE
setvariable mendhunt_archive_backtrain_weapon_combo_2_2HE %mendhunt_weapon_combo_2_2HE
setvariable mendhunt_archive_backtrain_weapon_combo_3_2HE %mendhunt_weapon_combo_3_2HE
setvariable mendhunt_archive_backtrain_weapon_combo_4_2HE %mendhunt_weapon_combo_4_2HE
setvariable mendhunt_archive_backtrain_weapon_combo_5_2HE %mendhunt_weapon_combo_5_2HE
setvariable mendhunt_archive_backtrain_weapon_combo_6_2HE %mendhunt_weapon_combo_6_2HE
setvariable mendhunt_archive_backtrain_weapon_combo_7_2HE %mendhunt_weapon_combo_7_2HE
setvariable mendhunt_archive_backtrain_weapon_combo_8_2HE %mendhunt_weapon_combo_8_2HE
setvariable mendhunt_archive_backtrain_weapon_ammo_2HE %mendhunt_weapon_ammo_2HE
setvariable mendhunt_archive_backtrain_weapon_shield_use_2HE %mendhunt_weapon_shield_use_2HE
setvariable mendhunt_archive_backtrain_weapon_shield_name_2HE %mendhunt_weapon_shield_name_2HE
setvariable mendhunt_archive_backtrain_weapon_stance_focus_2HE %mendhunt_weapon_stance_focus_2HE

setvariable mendhunt_archive_backtrain_weapon_name_LB %mendhunt_weapon_name_LB
setvariable mendhunt_archive_backtrain_weapon_class_LB %mendhunt_weapon_class_LB
setvariable mendhunt_archive_backtrain_weapon_type_LB %mendhunt_weapon_type_LB
setvariable mendhunt_archive_backtrain_weapon_combo_LB %mendhunt_weapon_combo_LB
setvariable mendhunt_archive_backtrain_weapon_combo_1_LB %mendhunt_weapon_combo_1_LB
setvariable mendhunt_archive_backtrain_weapon_combo_2_LB %mendhunt_weapon_combo_2_LB
setvariable mendhunt_archive_backtrain_weapon_combo_3_LB %mendhunt_weapon_combo_3_LB
setvariable mendhunt_archive_backtrain_weapon_combo_4_LB %mendhunt_weapon_combo_4_LB
setvariable mendhunt_archive_backtrain_weapon_combo_5_LB %mendhunt_weapon_combo_5_LB
setvariable mendhunt_archive_backtrain_weapon_combo_6_LB %mendhunt_weapon_combo_6_LB
setvariable mendhunt_archive_backtrain_weapon_combo_7_LB %mendhunt_weapon_combo_7_LB
setvariable mendhunt_archive_backtrain_weapon_combo_8_LB %mendhunt_weapon_combo_8_LB
setvariable mendhunt_archive_backtrain_weapon_ammo_LB %mendhunt_weapon_ammo_LB
setvariable mendhunt_archive_backtrain_weapon_shield_use_LB %mendhunt_weapon_shield_use_LB
setvariable mendhunt_archive_backtrain_weapon_shield_name_LB %mendhunt_weapon_shield_name_LB
setvariable mendhunt_archive_backtrain_weapon_stance_focus_LB %mendhunt_weapon_stance_focus_LB

echo *** Resetting variables [||||||||____________________________]

setvariable mendhunt_archive_backtrain_weapon_name_MB %mendhunt_weapon_name_MB
setvariable mendhunt_archive_backtrain_weapon_class_MB %mendhunt_weapon_class_MB
setvariable mendhunt_archive_backtrain_weapon_type_MB %mendhunt_weapon_type_MB
setvariable mendhunt_archive_backtrain_weapon_combo_MB %mendhunt_weapon_combo_MB
setvariable mendhunt_archive_backtrain_weapon_combo_1_MB %mendhunt_weapon_combo_1_MB
setvariable mendhunt_archive_backtrain_weapon_combo_2_MB %mendhunt_weapon_combo_2_MB
setvariable mendhunt_archive_backtrain_weapon_combo_3_MB %mendhunt_weapon_combo_3_MB
setvariable mendhunt_archive_backtrain_weapon_combo_4_MB %mendhunt_weapon_combo_4_MB
setvariable mendhunt_archive_backtrain_weapon_combo_5_MB %mendhunt_weapon_combo_5_MB
setvariable mendhunt_archive_backtrain_weapon_combo_6_MB %mendhunt_weapon_combo_6_MB
setvariable mendhunt_archive_backtrain_weapon_combo_7_MB %mendhunt_weapon_combo_7_MB
setvariable mendhunt_archive_backtrain_weapon_combo_8_MB %mendhunt_weapon_combo_8_MB
setvariable mendhunt_archive_backtrain_weapon_ammo_MB %mendhunt_weapon_ammo_MB
setvariable mendhunt_archive_backtrain_weapon_shield_use_MB %mendhunt_weapon_shield_use_MB
setvariable mendhunt_archive_backtrain_weapon_shield_name_MB %mendhunt_weapon_shield_name_MB
setvariable mendhunt_archive_backtrain_weapon_stance_focus_MB %mendhunt_weapon_stance_focus_MB

setvariable mendhunt_archive_backtrain_weapon_name_HB %mendhunt_weapon_name_HB
setvariable mendhunt_archive_backtrain_weapon_class_HB %mendhunt_weapon_class_HB
setvariable mendhunt_archive_backtrain_weapon_type_HB %mendhunt_weapon_type_HB
setvariable mendhunt_archive_backtrain_weapon_combo_HB %mendhunt_weapon_combo_HB
setvariable mendhunt_archive_backtrain_weapon_combo_1_HB %mendhunt_weapon_combo_1_HB
setvariable mendhunt_archive_backtrain_weapon_combo_2_HB %mendhunt_weapon_combo_2_HB
setvariable mendhunt_archive_backtrain_weapon_combo_3_HB %mendhunt_weapon_combo_3_HB
setvariable mendhunt_archive_backtrain_weapon_combo_4_HB %mendhunt_weapon_combo_4_HB
setvariable mendhunt_archive_backtrain_weapon_combo_5_HB %mendhunt_weapon_combo_5_HB
setvariable mendhunt_archive_backtrain_weapon_combo_6_HB %mendhunt_weapon_combo_6_HB
setvariable mendhunt_archive_backtrain_weapon_combo_7_HB %mendhunt_weapon_combo_7_HB
setvariable mendhunt_archive_backtrain_weapon_combo_8_HB %mendhunt_weapon_combo_8_HB
setvariable mendhunt_archive_backtrain_weapon_ammo_HB %mendhunt_weapon_ammo_HB
setvariable mendhunt_archive_backtrain_weapon_shield_use_HB %mendhunt_weapon_shield_use_HB
setvariable mendhunt_archive_backtrain_weapon_shield_name_HB %mendhunt_weapon_shield_name_HB
setvariable mendhunt_archive_backtrain_weapon_stance_focus_HB %mendhunt_weapon_stance_focus_HB

echo *** Resetting variables [|||||||||___________________________]

setvariable mendhunt_archive_backtrain_weapon_name_2HB %mendhunt_weapon_name_2HB
setvariable mendhunt_archive_backtrain_weapon_class_2HB %mendhunt_weapon_class_2HB
setvariable mendhunt_archive_backtrain_weapon_type_2HB %mendhunt_weapon_type_2HB
setvariable mendhunt_archive_backtrain_weapon_combo_2HB %mendhunt_weapon_combo_2HB
setvariable mendhunt_archive_backtrain_weapon_combo_1_2HB %mendhunt_weapon_combo_1_2HB
setvariable mendhunt_archive_backtrain_weapon_combo_2_2HB %mendhunt_weapon_combo_2_2HB
setvariable mendhunt_archive_backtrain_weapon_combo_3_2HB %mendhunt_weapon_combo_3_2HB
setvariable mendhunt_archive_backtrain_weapon_combo_4_2HB %mendhunt_weapon_combo_4_2HB
setvariable mendhunt_archive_backtrain_weapon_combo_5_2HB %mendhunt_weapon_combo_5_2HB
setvariable mendhunt_archive_backtrain_weapon_combo_6_2HB %mendhunt_weapon_combo_6_2HB
setvariable mendhunt_archive_backtrain_weapon_combo_7_2HB %mendhunt_weapon_combo_7_2HB
setvariable mendhunt_archive_backtrain_weapon_combo_8_2HB %mendhunt_weapon_combo_8_2HB
setvariable mendhunt_archive_backtrain_weapon_ammo_2HB %mendhunt_weapon_ammo_2HB
setvariable mendhunt_archive_backtrain_weapon_shield_use_2HB %mendhunt_weapon_shield_use_2HB
setvariable mendhunt_archive_backtrain_weapon_shield_name_2HB %mendhunt_weapon_shield_name_2HB
setvariable mendhunt_archive_backtrain_weapon_stance_focus_2HB %mendhunt_weapon_stance_focus_2HB

setvariable mendhunt_archive_backtrain_weapon_name_SL %mendhunt_weapon_name_SL
setvariable mendhunt_archive_backtrain_weapon_class_SL %mendhunt_weapon_class_SL
setvariable mendhunt_archive_backtrain_weapon_type_SL %mendhunt_weapon_type_SL
setvariable mendhunt_archive_backtrain_weapon_combo_SL %mendhunt_weapon_combo_SL
setvariable mendhunt_archive_backtrain_weapon_combo_1_SL %mendhunt_weapon_combo_1_SL
setvariable mendhunt_archive_backtrain_weapon_combo_2_SL %mendhunt_weapon_combo_2_SL
setvariable mendhunt_archive_backtrain_weapon_combo_3_SL %mendhunt_weapon_combo_3_SL
setvariable mendhunt_archive_backtrain_weapon_combo_4_SL %mendhunt_weapon_combo_4_SL
setvariable mendhunt_archive_backtrain_weapon_combo_5_SL %mendhunt_weapon_combo_5_SL
setvariable mendhunt_archive_backtrain_weapon_combo_6_SL %mendhunt_weapon_combo_6_SL
setvariable mendhunt_archive_backtrain_weapon_combo_7_SL %mendhunt_weapon_combo_7_SL
setvariable mendhunt_archive_backtrain_weapon_combo_8_SL %mendhunt_weapon_combo_8_SL
setvariable mendhunt_archive_backtrain_weapon_ammo_SL %mendhunt_weapon_ammo_SL
setvariable mendhunt_archive_backtrain_weapon_shield_use_SL %mendhunt_weapon_shield_use_SL
setvariable mendhunt_archive_backtrain_weapon_shield_name_SL %mendhunt_weapon_shield_name_SL
setvariable mendhunt_archive_backtrain_weapon_stance_focus_SL %mendhunt_weapon_stance_focus_SL

echo *** Resetting variables [||||||||||__________________________]

setvariable mendhunt_archive_backtrain_weapon_name_STAFFSLING %mendhunt_weapon_name_STAFFSLING
setvariable mendhunt_archive_backtrain_weapon_class_STAFFSLING %mendhunt_weapon_class_STAFFSLING
setvariable mendhunt_archive_backtrain_weapon_type_STAFFSLING %mendhunt_weapon_type_STAFFSLING
setvariable mendhunt_archive_backtrain_weapon_combo_STAFFSLING %mendhunt_weapon_combo_STAFFSLING
setvariable mendhunt_archive_backtrain_weapon_combo_1_STAFFSLING %mendhunt_weapon_combo_1_STAFFSLING
setvariable mendhunt_archive_backtrain_weapon_combo_2_STAFFSLING %mendhunt_weapon_combo_2_STAFFSLING
setvariable mendhunt_archive_backtrain_weapon_combo_3_STAFFSLING %mendhunt_weapon_combo_3_STAFFSLING
setvariable mendhunt_archive_backtrain_weapon_combo_4_STAFFSLING %mendhunt_weapon_combo_4_STAFFSLING
setvariable mendhunt_archive_backtrain_weapon_combo_5_STAFFSLING %mendhunt_weapon_combo_5_STAFFSLING
setvariable mendhunt_archive_backtrain_weapon_combo_6_STAFFSLING %mendhunt_weapon_combo_6_STAFFSLING
setvariable mendhunt_archive_backtrain_weapon_combo_7_STAFFSLING %mendhunt_weapon_combo_7_STAFFSLING
setvariable mendhunt_archive_backtrain_weapon_combo_8_STAFFSLING %mendhunt_weapon_combo_8_STAFFSLING
setvariable mendhunt_archive_backtrain_weapon_ammo_STAFFSLING %mendhunt_weapon_ammo_STAFFSLING
setvariable mendhunt_archive_backtrain_weapon_shield_use_STAFFSLING %mendhunt_weapon_shield_use_STAFFSLING
setvariable mendhunt_archive_backtrain_weapon_shield_name_STAFFSLING %mendhunt_weapon_shield_name_STAFFSLING
setvariable mendhunt_archive_backtrain_weapon_stance_focus_STAFFSLING %mendhunt_weapon_stance_focus_STAFFSLING

setvariable mendhunt_archive_backtrain_weapon_name_SB %mendhunt_weapon_name_SB
setvariable mendhunt_archive_backtrain_weapon_class_SB %mendhunt_weapon_class_SB
setvariable mendhunt_archive_backtrain_weapon_type_SB %mendhunt_weapon_type_SB
setvariable mendhunt_archive_backtrain_weapon_combo_SB %mendhunt_weapon_combo_SB
setvariable mendhunt_archive_backtrain_weapon_combo_1_SB %mendhunt_weapon_combo_1_SB
setvariable mendhunt_archive_backtrain_weapon_combo_2_SB %mendhunt_weapon_combo_2_SB
setvariable mendhunt_archive_backtrain_weapon_combo_3_SB %mendhunt_weapon_combo_3_SB
setvariable mendhunt_archive_backtrain_weapon_combo_4_SB %mendhunt_weapon_combo_4_SB
setvariable mendhunt_archive_backtrain_weapon_combo_5_SB %mendhunt_weapon_combo_5_SB
setvariable mendhunt_archive_backtrain_weapon_combo_6_SB %mendhunt_weapon_combo_6_SB
setvariable mendhunt_archive_backtrain_weapon_combo_7_SB %mendhunt_weapon_combo_7_SB
setvariable mendhunt_archive_backtrain_weapon_combo_8_SB %mendhunt_weapon_combo_8_SB
setvariable mendhunt_archive_backtrain_weapon_ammo_SB %mendhunt_weapon_ammo_SB
setvariable mendhunt_archive_backtrain_weapon_shield_use_SB %mendhunt_weapon_shield_use_SB
setvariable mendhunt_archive_backtrain_weapon_shield_name_SB %mendhunt_weapon_shield_name_SB
setvariable mendhunt_archive_backtrain_weapon_stance_focus_SB %mendhunt_weapon_stance_focus_SB

echo *** Resetting variables [|||||||||||_________________________]

setvariable mendhunt_archive_backtrain_weapon_name_LOB %mendhunt_weapon_name_LOB
setvariable mendhunt_archive_backtrain_weapon_class_LOB %mendhunt_weapon_class_LOB
setvariable mendhunt_archive_backtrain_weapon_type_LOB %mendhunt_weapon_type_LOB
setvariable mendhunt_archive_backtrain_weapon_combo_LOB %mendhunt_weapon_combo_LOB
setvariable mendhunt_archive_backtrain_weapon_combo_1_LOB %mendhunt_weapon_combo_1_LOB
setvariable mendhunt_archive_backtrain_weapon_combo_2_LOB %mendhunt_weapon_combo_2_LOB
setvariable mendhunt_archive_backtrain_weapon_combo_3_LOB %mendhunt_weapon_combo_3_LOB
setvariable mendhunt_archive_backtrain_weapon_combo_4_LOB %mendhunt_weapon_combo_4_LOB
setvariable mendhunt_archive_backtrain_weapon_combo_5_LOB %mendhunt_weapon_combo_5_LOB
setvariable mendhunt_archive_backtrain_weapon_combo_6_LOB %mendhunt_weapon_combo_6_LOB
setvariable mendhunt_archive_backtrain_weapon_combo_7_LOB %mendhunt_weapon_combo_7_LOB
setvariable mendhunt_archive_backtrain_weapon_combo_8_LOB %mendhunt_weapon_combo_8_LOB
setvariable mendhunt_archive_backtrain_weapon_ammo_LOB %mendhunt_weapon_ammo_LOB
setvariable mendhunt_archive_backtrain_weapon_shield_use_LOB %mendhunt_weapon_shield_use_LOB
setvariable mendhunt_archive_backtrain_weapon_shield_name_LOB %mendhunt_weapon_shield_name_LOB
setvariable mendhunt_archive_backtrain_weapon_stance_focus_LOB %mendhunt_weapon_stance_focus_LOB

setvariable mendhunt_archive_backtrain_weapon_name_CB %mendhunt_weapon_name_CB
setvariable mendhunt_archive_backtrain_weapon_class_CB %mendhunt_weapon_class_CB
setvariable mendhunt_archive_backtrain_weapon_type_CB %mendhunt_weapon_type_CB
setvariable mendhunt_archive_backtrain_weapon_combo_CB %mendhunt_weapon_combo_CB
setvariable mendhunt_archive_backtrain_weapon_combo_1_CB %mendhunt_weapon_combo_1_CB
setvariable mendhunt_archive_backtrain_weapon_combo_2_CB %mendhunt_weapon_combo_2_CB
setvariable mendhunt_archive_backtrain_weapon_combo_3_CB %mendhunt_weapon_combo_3_CB
setvariable mendhunt_archive_backtrain_weapon_combo_4_CB %mendhunt_weapon_combo_4_CB
setvariable mendhunt_archive_backtrain_weapon_combo_5_CB %mendhunt_weapon_combo_5_CB
setvariable mendhunt_archive_backtrain_weapon_combo_6_CB %mendhunt_weapon_combo_6_CB
setvariable mendhunt_archive_backtrain_weapon_combo_7_CB %mendhunt_weapon_combo_7_CB
setvariable mendhunt_archive_backtrain_weapon_combo_8_CB %mendhunt_weapon_combo_8_CB
setvariable mendhunt_archive_backtrain_weapon_ammo_CB %mendhunt_weapon_ammo_CB
setvariable mendhunt_archive_backtrain_weapon_shield_use_CB %mendhunt_weapon_shield_use_CB
setvariable mendhunt_archive_backtrain_weapon_shield_name_CB %mendhunt_weapon_shield_name_CB
setvariable mendhunt_archive_backtrain_weapon_stance_focus_CB %mendhunt_weapon_stance_focus_CB

echo *** Resetting variables [||||||||||||________________________]

setvariable mendhunt_archive_backtrain_weapon_name_LX %mendhunt_weapon_name_LX
setvariable mendhunt_archive_backtrain_weapon_class_LX %mendhunt_weapon_class_LX
setvariable mendhunt_archive_backtrain_weapon_type_LX %mendhunt_weapon_type_LX
setvariable mendhunt_archive_backtrain_weapon_combo_LX %mendhunt_weapon_combo_LX
setvariable mendhunt_archive_backtrain_weapon_combo_1_LX %mendhunt_weapon_combo_1_LX
setvariable mendhunt_archive_backtrain_weapon_combo_2_LX %mendhunt_weapon_combo_2_LX
setvariable mendhunt_archive_backtrain_weapon_combo_3_LX %mendhunt_weapon_combo_3_LX
setvariable mendhunt_archive_backtrain_weapon_combo_4_LX %mendhunt_weapon_combo_4_LX
setvariable mendhunt_archive_backtrain_weapon_combo_5_LX %mendhunt_weapon_combo_5_LX
setvariable mendhunt_archive_backtrain_weapon_combo_6_LX %mendhunt_weapon_combo_6_LX
setvariable mendhunt_archive_backtrain_weapon_combo_7_LX %mendhunt_weapon_combo_7_LX
setvariable mendhunt_archive_backtrain_weapon_combo_8_LX %mendhunt_weapon_combo_8_LX
setvariable mendhunt_archive_backtrain_weapon_ammo_LX %mendhunt_weapon_ammo_LX
setvariable mendhunt_archive_backtrain_weapon_shield_use_LX %mendhunt_weapon_shield_use_LX
setvariable mendhunt_archive_backtrain_weapon_shield_name_LX %mendhunt_weapon_shield_name_LX
setvariable mendhunt_archive_backtrain_weapon_stance_focus_LX %mendhunt_weapon_stance_focus_LX

setvariable mendhunt_archive_backtrain_weapon_name_HX %mendhunt_weapon_name_HX
setvariable mendhunt_archive_backtrain_weapon_class_HX %mendhunt_weapon_class_HX
setvariable mendhunt_archive_backtrain_weapon_type_HX %mendhunt_weapon_type_HX
setvariable mendhunt_archive_backtrain_weapon_combo_HX %mendhunt_weapon_combo_HX
setvariable mendhunt_archive_backtrain_weapon_combo_1_HX %mendhunt_weapon_combo_1_HX
setvariable mendhunt_archive_backtrain_weapon_combo_2_HX %mendhunt_weapon_combo_2_HX
setvariable mendhunt_archive_backtrain_weapon_combo_3_HX %mendhunt_weapon_combo_3_HX
setvariable mendhunt_archive_backtrain_weapon_combo_4_HX %mendhunt_weapon_combo_4_HX
setvariable mendhunt_archive_backtrain_weapon_combo_5_HX %mendhunt_weapon_combo_5_HX
setvariable mendhunt_archive_backtrain_weapon_combo_6_HX %mendhunt_weapon_combo_6_HX
setvariable mendhunt_archive_backtrain_weapon_combo_7_HX %mendhunt_weapon_combo_7_HX
setvariable mendhunt_archive_backtrain_weapon_combo_8_HX %mendhunt_weapon_combo_8_HX
setvariable mendhunt_archive_backtrain_weapon_ammo_HX %mendhunt_weapon_ammo_HX
setvariable mendhunt_archive_backtrain_weapon_shield_use_HX %mendhunt_weapon_shield_use_HX
setvariable mendhunt_archive_backtrain_weapon_shield_name_HX %mendhunt_weapon_shield_name_HX
setvariable mendhunt_archive_backtrain_weapon_stance_focus_HX %mendhunt_weapon_stance_focus_HX

echo *** Resetting variables [|||||||||||||_______________________]

setvariable mendhunt_archive_backtrain_weapon_name_SS %mendhunt_weapon_name_SS
setvariable mendhunt_archive_backtrain_weapon_class_SS %mendhunt_weapon_class_SS
setvariable mendhunt_archive_backtrain_weapon_type_SS %mendhunt_weapon_type_SS
setvariable mendhunt_archive_backtrain_weapon_combo_SS %mendhunt_weapon_combo_SS
setvariable mendhunt_archive_backtrain_weapon_combo_1_SS %mendhunt_weapon_combo_1_SS
setvariable mendhunt_archive_backtrain_weapon_combo_2_SS %mendhunt_weapon_combo_2_SS
setvariable mendhunt_archive_backtrain_weapon_combo_3_SS %mendhunt_weapon_combo_3_SS
setvariable mendhunt_archive_backtrain_weapon_combo_4_SS %mendhunt_weapon_combo_4_SS
setvariable mendhunt_archive_backtrain_weapon_combo_5_SS %mendhunt_weapon_combo_5_SS
setvariable mendhunt_archive_backtrain_weapon_combo_6_SS %mendhunt_weapon_combo_6_SS
setvariable mendhunt_archive_backtrain_weapon_combo_7_SS %mendhunt_weapon_combo_7_SS
setvariable mendhunt_archive_backtrain_weapon_combo_8_SS %mendhunt_weapon_combo_8_SS
setvariable mendhunt_archive_backtrain_weapon_ammo_SS %mendhunt_weapon_ammo_SS
setvariable mendhunt_archive_backtrain_weapon_shield_use_SS %mendhunt_weapon_shield_use_SS
setvariable mendhunt_archive_backtrain_weapon_shield_name_SS %mendhunt_weapon_shield_name_SS
setvariable mendhunt_archive_backtrain_weapon_stance_focus_SS %mendhunt_weapon_stance_focus_SS

setvariable mendhunt_archive_backtrain_weapon_name_QS %mendhunt_weapon_name_QS
setvariable mendhunt_archive_backtrain_weapon_class_QS %mendhunt_weapon_class_QS
setvariable mendhunt_archive_backtrain_weapon_type_QS %mendhunt_weapon_type_QS
setvariable mendhunt_archive_backtrain_weapon_combo_QS %mendhunt_weapon_combo_QS
setvariable mendhunt_archive_backtrain_weapon_combo_1_QS %mendhunt_weapon_combo_1_QS
setvariable mendhunt_archive_backtrain_weapon_combo_2_QS %mendhunt_weapon_combo_2_QS
setvariable mendhunt_archive_backtrain_weapon_combo_3_QS %mendhunt_weapon_combo_3_QS
setvariable mendhunt_archive_backtrain_weapon_combo_4_QS %mendhunt_weapon_combo_4_QS
setvariable mendhunt_archive_backtrain_weapon_combo_5_QS %mendhunt_weapon_combo_5_QS
setvariable mendhunt_archive_backtrain_weapon_combo_6_QS %mendhunt_weapon_combo_6_QS
setvariable mendhunt_archive_backtrain_weapon_combo_7_QS %mendhunt_weapon_combo_7_QS
setvariable mendhunt_archive_backtrain_weapon_combo_8_QS %mendhunt_weapon_combo_8_QS
setvariable mendhunt_archive_backtrain_weapon_ammo_QS %mendhunt_weapon_ammo_QS
setvariable mendhunt_archive_backtrain_weapon_shield_use_QS %mendhunt_weapon_shield_use_QS
setvariable mendhunt_archive_backtrain_weapon_shield_name_QS %mendhunt_weapon_shield_name_QS
setvariable mendhunt_archive_backtrain_weapon_stance_focus_QS %mendhunt_weapon_stance_focus_QS

echo *** Resetting variables [||||||||||||||______________________]

setvariable mendhunt_archive_backtrain_weapon_name_PI %mendhunt_weapon_name_PI
setvariable mendhunt_archive_backtrain_weapon_class_PI %mendhunt_weapon_class_PI
setvariable mendhunt_archive_backtrain_weapon_type_PI %mendhunt_weapon_type_PI
setvariable mendhunt_archive_backtrain_weapon_combo_PI %mendhunt_weapon_combo_PI
setvariable mendhunt_archive_backtrain_weapon_combo_1_PI %mendhunt_weapon_combo_1_PI
setvariable mendhunt_archive_backtrain_weapon_combo_2_PI %mendhunt_weapon_combo_2_PI
setvariable mendhunt_archive_backtrain_weapon_combo_3_PI %mendhunt_weapon_combo_3_PI
setvariable mendhunt_archive_backtrain_weapon_combo_4_PI %mendhunt_weapon_combo_4_PI
setvariable mendhunt_archive_backtrain_weapon_combo_5_PI %mendhunt_weapon_combo_5_PI
setvariable mendhunt_archive_backtrain_weapon_combo_6_PI %mendhunt_weapon_combo_6_PI
setvariable mendhunt_archive_backtrain_weapon_combo_7_PI %mendhunt_weapon_combo_7_PI
setvariable mendhunt_archive_backtrain_weapon_combo_8_PI %mendhunt_weapon_combo_8_PI
setvariable mendhunt_archive_backtrain_weapon_ammo_PI %mendhunt_weapon_ammo_PI
setvariable mendhunt_archive_backtrain_weapon_shield_use_PI %mendhunt_weapon_shield_use_PI
setvariable mendhunt_archive_backtrain_weapon_shield_name_PI %mendhunt_weapon_shield_name_PI
setvariable mendhunt_archive_backtrain_weapon_stance_focus_PI %mendhunt_weapon_stance_focus_PI

setvariable mendhunt_archive_backtrain_weapon_name_HAL %mendhunt_weapon_name_HAL
setvariable mendhunt_archive_backtrain_weapon_class_HAL %mendhunt_weapon_class_HAL
setvariable mendhunt_archive_backtrain_weapon_type_HAL %mendhunt_weapon_type_HAL
setvariable mendhunt_archive_backtrain_weapon_combo_HAL %mendhunt_weapon_combo_HAL
setvariable mendhunt_archive_backtrain_weapon_combo_1_HAL %mendhunt_weapon_combo_1_HAL
setvariable mendhunt_archive_backtrain_weapon_combo_2_HAL %mendhunt_weapon_combo_2_HAL
setvariable mendhunt_archive_backtrain_weapon_combo_3_HAL %mendhunt_weapon_combo_3_HAL
setvariable mendhunt_archive_backtrain_weapon_combo_4_HAL %mendhunt_weapon_combo_4_HAL
setvariable mendhunt_archive_backtrain_weapon_combo_5_HAL %mendhunt_weapon_combo_5_HAL
setvariable mendhunt_archive_backtrain_weapon_combo_6_HAL %mendhunt_weapon_combo_6_HAL
setvariable mendhunt_archive_backtrain_weapon_combo_7_HAL %mendhunt_weapon_combo_7_HAL
setvariable mendhunt_archive_backtrain_weapon_combo_8_HAL %mendhunt_weapon_combo_8_HAL
setvariable mendhunt_archive_backtrain_weapon_ammo_HAL %mendhunt_weapon_ammo_HAL
setvariable mendhunt_archive_backtrain_weapon_shield_use_HAL %mendhunt_weapon_shield_use_HAL
setvariable mendhunt_archive_backtrain_weapon_shield_name_HAL %mendhunt_weapon_shield_name_HAL
setvariable mendhunt_archive_backtrain_weapon_stance_focus_HAL %mendhunt_weapon_stance_focus_HAL

echo *** Resetting variables [|||||||||||||||_____________________]

setvariable mendhunt_archive_backtrain_weapon_name_LT %mendhunt_weapon_name_LT
setvariable mendhunt_archive_backtrain_weapon_class_LT %mendhunt_weapon_class_LT
setvariable mendhunt_archive_backtrain_weapon_type_LT %mendhunt_weapon_type_LT
setvariable mendhunt_archive_backtrain_weapon_combo_LT %mendhunt_weapon_combo_LT
setvariable mendhunt_archive_backtrain_weapon_combo_1_LT %mendhunt_weapon_combo_1_LT
setvariable mendhunt_archive_backtrain_weapon_combo_2_LT %mendhunt_weapon_combo_2_LT
setvariable mendhunt_archive_backtrain_weapon_combo_3_LT %mendhunt_weapon_combo_3_LT
setvariable mendhunt_archive_backtrain_weapon_combo_4_LT %mendhunt_weapon_combo_4_LT
setvariable mendhunt_archive_backtrain_weapon_combo_5_LT %mendhunt_weapon_combo_5_LT
setvariable mendhunt_archive_backtrain_weapon_combo_6_LT %mendhunt_weapon_combo_6_LT
setvariable mendhunt_archive_backtrain_weapon_combo_7_LT %mendhunt_weapon_combo_7_LT
setvariable mendhunt_archive_backtrain_weapon_combo_8_LT %mendhunt_weapon_combo_8_LT
setvariable mendhunt_archive_backtrain_weapon_ammo_LT %mendhunt_weapon_ammo_LT
setvariable mendhunt_archive_backtrain_weapon_shield_use_LT %mendhunt_weapon_shield_use_LT
setvariable mendhunt_archive_backtrain_weapon_shield_name_LT %mendhunt_weapon_shield_name_LT
setvariable mendhunt_archive_backtrain_weapon_stance_focus_LT %mendhunt_weapon_stance_focus_LT

setvariable mendhunt_archive_backtrain_weapon_name_HT %mendhunt_weapon_name_HT
setvariable mendhunt_archive_backtrain_weapon_class_HT %mendhunt_weapon_class_HT
setvariable mendhunt_archive_backtrain_weapon_type_HT %mendhunt_weapon_type_HT
setvariable mendhunt_archive_backtrain_weapon_combo_HT %mendhunt_weapon_combo_HT
setvariable mendhunt_archive_backtrain_weapon_combo_1_HT %mendhunt_weapon_combo_1_HT
setvariable mendhunt_archive_backtrain_weapon_combo_2_HT %mendhunt_weapon_combo_2_HT
setvariable mendhunt_archive_backtrain_weapon_combo_3_HT %mendhunt_weapon_combo_3_HT
setvariable mendhunt_archive_backtrain_weapon_combo_4_HT %mendhunt_weapon_combo_4_HT
setvariable mendhunt_archive_backtrain_weapon_combo_5_HT %mendhunt_weapon_combo_5_HT
setvariable mendhunt_archive_backtrain_weapon_combo_6_HT %mendhunt_weapon_combo_6_HT
setvariable mendhunt_archive_backtrain_weapon_combo_7_HT %mendhunt_weapon_combo_7_HT
setvariable mendhunt_archive_backtrain_weapon_combo_8_HT %mendhunt_weapon_combo_8_HT
setvariable mendhunt_archive_backtrain_weapon_ammo_HT %mendhunt_weapon_ammo_HT
setvariable mendhunt_archive_backtrain_weapon_shield_use_HT %mendhunt_weapon_shield_use_HT
setvariable mendhunt_archive_backtrain_weapon_shield_name_HT %mendhunt_weapon_shield_name_HT
setvariable mendhunt_archive_backtrain_weapon_stance_focus_HT %mendhunt_weapon_stance_focus_HT

setvariable mendhunt_archive_backtrain_weapon_name_BR %mendhunt_weapon_name_BR
setvariable mendhunt_archive_backtrain_weapon_class_BR %mendhunt_weapon_class_BR
setvariable mendhunt_archive_backtrain_weapon_type_BR %mendhunt_weapon_type_BR
setvariable mendhunt_archive_backtrain_weapon_combo_BR %mendhunt_weapon_combo_BR
setvariable mendhunt_archive_backtrain_weapon_combo_1_BR %mendhunt_weapon_combo_1_BR
setvariable mendhunt_archive_backtrain_weapon_combo_2_BR %mendhunt_weapon_combo_2_BR
setvariable mendhunt_archive_backtrain_weapon_combo_3_BR %mendhunt_weapon_combo_3_BR
setvariable mendhunt_archive_backtrain_weapon_combo_4_BR %mendhunt_weapon_combo_4_BR
setvariable mendhunt_archive_backtrain_weapon_combo_5_BR %mendhunt_weapon_combo_5_BR
setvariable mendhunt_archive_backtrain_weapon_combo_6_BR %mendhunt_weapon_combo_6_BR
setvariable mendhunt_archive_backtrain_weapon_combo_7_BR %mendhunt_weapon_combo_7_BR
setvariable mendhunt_archive_backtrain_weapon_combo_8_BR %mendhunt_weapon_combo_8_BR
setvariable mendhunt_archive_backtrain_weapon_ammo_BR %mendhunt_weapon_ammo_BR
setvariable mendhunt_archive_backtrain_weapon_shield_use_BR %mendhunt_weapon_shield_use_BR
setvariable mendhunt_archive_backtrain_weapon_shield_name_BR %mendhunt_weapon_shield_name_BR
setvariable mendhunt_archive_backtrain_weapon_stance_focus_BR %mendhunt_weapon_stance_focus_BR

setvariable mendhunt_archive_backtrain_weapon_name_OW %mendhunt_weapon_name_OW
setvariable mendhunt_archive_backtrain_weapon_name_right_OW %mendhunt_weapon_name_right_OW
setvariable mendhunt_archive_backtrain_weapon_name_left_OW %mendhunt_weapon_name_left_OW
setvariable mendhunt_archive_backtrain_weapon_class_OW %mendhunt_weapon_class_OW
setvariable mendhunt_archive_backtrain_weapon_class_right_OW %mendhunt_weapon_class_right_OW
setvariable mendhunt_archive_backtrain_weapon_class_left_OW %mendhunt_weapon_class_left_OW
setvariable mendhunt_archive_backtrain_weapon_type_OW %mendhunt_weapon_type_OW
setvariable mendhunt_archive_backtrain_weapon_type_right_OW %mendhunt_weapon_type_right_OW
setvariable mendhunt_archive_backtrain_weapon_type_left_OW %mendhunt_weapon_type_left_OW
setvariable mendhunt_archive_backtrain_weapon_combo_OW %mendhunt_weapon_combo_OW
setvariable mendhunt_archive_backtrain_weapon_combo_1_OW %mendhunt_weapon_combo_1_OW
setvariable mendhunt_archive_backtrain_weapon_combo_2_OW %mendhunt_weapon_combo_2_OW
setvariable mendhunt_archive_backtrain_weapon_combo_3_OW %mendhunt_weapon_combo_3_OW
setvariable mendhunt_archive_backtrain_weapon_combo_4_OW %mendhunt_weapon_combo_4_OW
setvariable mendhunt_archive_backtrain_weapon_combo_5_OW %mendhunt_weapon_combo_5_OW
setvariable mendhunt_archive_backtrain_weapon_combo_6_OW %mendhunt_weapon_combo_6_OW
setvariable mendhunt_archive_backtrain_weapon_combo_7_OW %mendhunt_weapon_combo_7_OW
setvariable mendhunt_archive_backtrain_weapon_combo_8_OW %mendhunt_weapon_combo_8_OW
setvariable mendhunt_archive_backtrain_weapon_ammo_OW %mendhunt_weapon_ammo_OW
setvariable mendhunt_archive_backtrain_weapon_shield_use_OW %mendhunt_weapon_shield_use_OW
setvariable mendhunt_archive_backtrain_weapon_shield_name_OW %mendhunt_weapon_shield_name_OW
setvariable mendhunt_archive_backtrain_weapon_stance_focus_OW %mendhunt_weapon_stance_focus_OW

setvariable mendhunt_archive_backtrain_weapon_name_noweap %mendhunt_weapon_name_noweap
setvariable mendhunt_archive_backtrain_weapon_class_noweap %mendhunt_weapon_class_noweap
setvariable mendhunt_archive_backtrain_weapon_type_noweap %mendhunt_weapon_type_noweap
setvariable mendhunt_archive_backtrain_weapon_combo_noweap %mendhunt_weapon_combo_noweap
setvariable mendhunt_archive_backtrain_weapon_combo_1_noweap %mendhunt_weapon_combo_1_noweap
setvariable mendhunt_archive_backtrain_weapon_combo_2_noweap %mendhunt_weapon_combo_2_noweap
setvariable mendhunt_archive_backtrain_weapon_combo_3_noweap %mendhunt_weapon_combo_3_noweap
setvariable mendhunt_archive_backtrain_weapon_combo_4_noweap %mendhunt_weapon_combo_4_noweap
setvariable mendhunt_archive_backtrain_weapon_combo_5_noweap %mendhunt_weapon_combo_5_noweap
setvariable mendhunt_archive_backtrain_weapon_combo_6_noweap %mendhunt_weapon_combo_6_noweap
setvariable mendhunt_archive_backtrain_weapon_combo_7_noweap %mendhunt_weapon_combo_7_noweap
setvariable mendhunt_archive_backtrain_weapon_combo_8_noweap %mendhunt_weapon_combo_8_noweap
setvariable mendhunt_archive_backtrain_weapon_ammo_noweap %mendhunt_weapon_ammo_noweap
setvariable mendhunt_archive_backtrain_weapon_shield_use_noweap %mendhunt_weapon_shield_use_noweap
setvariable mendhunt_archive_backtrain_weapon_shield_name_noweap %mendhunt_weapon_shield_name_noweap
setvariable mendhunt_archive_backtrain_weapon_stance_focus_noweap %mendhunt_weapon_stance_focus_noweap

echo *** Resetting variables [||||||||||||||||____________________]

setvariable mendhunt_archive_backtrain_shield_name_armworn %mendhunt_shield_name_armworn
setvariable mendhunt_archive_backtrain_shield_name_handheld %mendhunt_shield_name_handheld

setvariable mendhunt_archive_backtrain_armor_name_main %mendhunt_armor_name_main
setvariable mendhunt_archive_backtrain_armor_class_main %mendhunt_armor_class_main
setvariable mendhunt_archive_backtrain_armor_name_second %mendhunt_armor_name_second
setvariable mendhunt_archive_backtrain_armor_class_second %mendhunt_armor_class_second
setvariable mendhunt_archive_backtrain_armor_name_1 %mendhunt_armor_name_1
setvariable mendhunt_archive_backtrain_armor_class_1 %mendhunt_armor_class_1
setvariable mendhunt_archive_backtrain_armor_name_2 %mendhunt_armor_name_2
setvariable mendhunt_archive_backtrain_armor_class_2 %mendhunt_armor_class_2
setvariable mendhunt_archive_backtrain_armor_name_3 %mendhunt_armor_name_3
setvariable mendhunt_archive_backtrain_armor_class_3 %mendhunt_armor_class_3
setvariable mendhunt_archive_backtrain_armor_name_4 %mendhunt_armor_name_4
setvariable mendhunt_archive_backtrain_armor_class_4 %mendhunt_armor_class_4
setvariable mendhunt_archive_backtrain_armor_name_5 %mendhunt_armor_name_5
setvariable mendhunt_archive_backtrain_armor_class_5 %mendhunt_armor_class_5
setvariable mendhunt_archive_backtrain_armor_name_6 %mendhunt_armor_name_6
setvariable mendhunt_archive_backtrain_armor_class_6 %mendhunt_armor_class_6

echo *** Resetting variables [|||||||||||||||||___________________]

setvariable mendhunt_archive_backtrain_LEslice1 %mendhunt_LEslice1
setvariable mendhunt_archive_backtrain_LEslice2 %mendhunt_LEslice2
setvariable mendhunt_archive_backtrain_LEslice3 %mendhunt_LEslice3
setvariable mendhunt_archive_backtrain_LEslice4 %mendhunt_LEslice4
setvariable mendhunt_archive_backtrain_LEslice5 %mendhunt_LEslice5
setvariable mendhunt_archive_backtrain_LEslice6 %mendhunt_LEslice6
setvariable mendhunt_archive_backtrain_LEslice7 %mendhunt_LEslice7
setvariable mendhunt_archive_backtrain_LEslice8 %mendhunt_LEslice8

setvariable mendhunt_archive_backtrain_LEthrust1 %mendhunt_LEthrust1
setvariable mendhunt_archive_backtrain_LEthrust2 %mendhunt_LEthrust2
setvariable mendhunt_archive_backtrain_LEthrust3 %mendhunt_LEthrust3
setvariable mendhunt_archive_backtrain_LEthrust4 %mendhunt_LEthrust4
setvariable mendhunt_archive_backtrain_LEthrust5 %mendhunt_LEthrust5
setvariable mendhunt_archive_backtrain_LEthrust6 %mendhunt_LEthrust6
setvariable mendhunt_archive_backtrain_LEthrust7 %mendhunt_LEthrust7
setvariable mendhunt_archive_backtrain_LEthrust8 %mendhunt_LEthrust8

setvariable mendhunt_archive_backtrain_MEslice1 %mendhunt_MEslice1
setvariable mendhunt_archive_backtrain_MEslice2 %mendhunt_MEslice2
setvariable mendhunt_archive_backtrain_MEslice3 %mendhunt_MEslice3
setvariable mendhunt_archive_backtrain_MEslice4 %mendhunt_MEslice4
setvariable mendhunt_archive_backtrain_MEslice5 %mendhunt_MEslice5
setvariable mendhunt_archive_backtrain_MEslice6 %mendhunt_MEslice6
setvariable mendhunt_archive_backtrain_MEslice7 %mendhunt_MEslice7
setvariable mendhunt_archive_backtrain_MEslice8 %mendhunt_MEslice8

echo *** Resetting variables [||||||||||||||||||__________________]

setvariable mendhunt_archive_backtrain_MEthrust1 %mendhunt_MEthrust1
setvariable mendhunt_archive_backtrain_MEthrust2 %mendhunt_MEthrust2
setvariable mendhunt_archive_backtrain_MEthrust3 %mendhunt_MEthrust3
setvariable mendhunt_archive_backtrain_MEthrust4 %mendhunt_MEthrust4
setvariable mendhunt_archive_backtrain_MEthrust5 %mendhunt_MEthrust5
setvariable mendhunt_archive_backtrain_MEthrust6 %mendhunt_MEthrust6
setvariable mendhunt_archive_backtrain_MEthrust7 %mendhunt_MEthrust7
setvariable mendhunt_archive_backtrain_MEthrust8 %mendhunt_MEthrust8

setvariable mendhunt_archive_backtrain_HEslice1 %mendhunt_HEslice1
setvariable mendhunt_archive_backtrain_HEslice2 %mendhunt_HEslice2
setvariable mendhunt_archive_backtrain_HEslice3 %mendhunt_HEslice3
setvariable mendhunt_archive_backtrain_HEslice4 %mendhunt_HEslice4
setvariable mendhunt_archive_backtrain_HEslice5 %mendhunt_HEslice5
setvariable mendhunt_archive_backtrain_HEslice6 %mendhunt_HEslice6
setvariable mendhunt_archive_backtrain_HEslice7 %mendhunt_HEslice7
setvariable mendhunt_archive_backtrain_HEslice8 %mendhunt_HEslice8

echo *** Resetting variables [|||||||||||||||||||_________________]

setvariable mendhunt_archive_backtrain_HEthrust1 %mendhunt_HEthrust1
setvariable mendhunt_archive_backtrain_HEthrust2 %mendhunt_HEthrust2
setvariable mendhunt_archive_backtrain_HEthrust3 %mendhunt_HEthrust3
setvariable mendhunt_archive_backtrain_HEthrust4 %mendhunt_HEthrust4
setvariable mendhunt_archive_backtrain_HEthrust5 %mendhunt_HEthrust5
setvariable mendhunt_archive_backtrain_HEthrust6 %mendhunt_HEthrust6
setvariable mendhunt_archive_backtrain_HEthrust7 %mendhunt_HEthrust7
setvariable mendhunt_archive_backtrain_HEthrust8 %mendhunt_HEthrust8

setvariable mendhunt_archive_backtrain_2HE1 %mendhunt_2HE1
setvariable mendhunt_archive_backtrain_2HE2 %mendhunt_2HE2
setvariable mendhunt_archive_backtrain_2HE3 %mendhunt_2HE3
setvariable mendhunt_archive_backtrain_2HE4 %mendhunt_2HE4
setvariable mendhunt_archive_backtrain_2HE5 %mendhunt_2HE5
setvariable mendhunt_archive_backtrain_2HE6 %mendhunt_2HE6
setvariable mendhunt_archive_backtrain_2HE7 %mendhunt_2HE7
setvariable mendhunt_archive_backtrain_2HE8 %mendhunt_2HE8

setvariable mendhunt_archive_backtrain_LB1 %mendhunt_LB1
setvariable mendhunt_archive_backtrain_LB2 %mendhunt_LB2
setvariable mendhunt_archive_backtrain_LB3 %mendhunt_LB3
setvariable mendhunt_archive_backtrain_LB4 %mendhunt_LB4
setvariable mendhunt_archive_backtrain_LB5 %mendhunt_LB5
setvariable mendhunt_archive_backtrain_LB6 %mendhunt_LB6
setvariable mendhunt_archive_backtrain_LB7 %mendhunt_LB7
setvariable mendhunt_archive_backtrain_LB8 %mendhunt_LB8

echo *** Resetting variables [||||||||||||||||||||________________]

setvariable mendhunt_archive_backtrain_MB1 %mendhunt_MB1
setvariable mendhunt_archive_backtrain_MB2 %mendhunt_MB2
setvariable mendhunt_archive_backtrain_MB3 %mendhunt_MB3
setvariable mendhunt_archive_backtrain_MB4 %mendhunt_MB4
setvariable mendhunt_archive_backtrain_MB5 %mendhunt_MB5
setvariable mendhunt_archive_backtrain_MB6 %mendhunt_MB6
setvariable mendhunt_archive_backtrain_MB7 %mendhunt_MB7
setvariable mendhunt_archive_backtrain_MB8 %mendhunt_MB8

setvariable mendhunt_archive_backtrain_HB1 %mendhunt_HB1
setvariable mendhunt_archive_backtrain_HB2 %mendhunt_HB2
setvariable mendhunt_archive_backtrain_HB3 %mendhunt_HB3
setvariable mendhunt_archive_backtrain_HB4 %mendhunt_HB4
setvariable mendhunt_archive_backtrain_HB5 %mendhunt_HB5
setvariable mendhunt_archive_backtrain_HB6 %mendhunt_HB6
setvariable mendhunt_archive_backtrain_HB7 %mendhunt_HB7
setvariable mendhunt_archive_backtrain_HB8 %mendhunt_HB8

setvariable mendhunt_archive_backtrain_2HB1 %mendhunt_2HB1
setvariable mendhunt_archive_backtrain_2HB2 %mendhunt_2HB2
setvariable mendhunt_archive_backtrain_2HB3 %mendhunt_2HB3
setvariable mendhunt_archive_backtrain_2HB4 %mendhunt_2HB4
setvariable mendhunt_archive_backtrain_2HB5 %mendhunt_2HB5
setvariable mendhunt_archive_backtrain_2HB6 %mendhunt_2HB6
setvariable mendhunt_archive_backtrain_2HB7 %mendhunt_2HB7
setvariable mendhunt_archive_backtrain_2HB8 %mendhunt_2HB8

echo *** Resetting variables [|||||||||||||||||||||_______________]

setvariable mendhunt_archive_backtrain_SS1 %mendhunt_SS1
setvariable mendhunt_archive_backtrain_SS2 %mendhunt_SS2
setvariable mendhunt_archive_backtrain_SS3 %mendhunt_SS3
setvariable mendhunt_archive_backtrain_SS4 %mendhunt_SS4
setvariable mendhunt_archive_backtrain_SS5 %mendhunt_SS5
setvariable mendhunt_archive_backtrain_SS6 %mendhunt_SS6
setvariable mendhunt_archive_backtrain_SS7 %mendhunt_SS7
setvariable mendhunt_archive_backtrain_SS8 %mendhunt_SS8

setvariable mendhunt_archive_backtrain_QS1 %mendhunt_QS1
setvariable mendhunt_archive_backtrain_QS2 %mendhunt_QS2
setvariable mendhunt_archive_backtrain_QS3 %mendhunt_QS3
setvariable mendhunt_archive_backtrain_QS4 %mendhunt_QS4
setvariable mendhunt_archive_backtrain_QS5 %mendhunt_QS5
setvariable mendhunt_archive_backtrain_QS6 %mendhunt_QS6
setvariable mendhunt_archive_backtrain_QS7 %mendhunt_QS7
setvariable mendhunt_archive_backtrain_QS8 %mendhunt_QS8

setvariable mendhunt_archive_backtrain_PI1 %mendhunt_PI1
setvariable mendhunt_archive_backtrain_PI2 %mendhunt_PI2
setvariable mendhunt_archive_backtrain_PI3 %mendhunt_PI3
setvariable mendhunt_archive_backtrain_PI4 %mendhunt_PI4
setvariable mendhunt_archive_backtrain_PI5 %mendhunt_PI5
setvariable mendhunt_archive_backtrain_PI6 %mendhunt_PI6
setvariable mendhunt_archive_backtrain_PI7 %mendhunt_PI7
setvariable mendhunt_archive_backtrain_PI8 %mendhunt_PI8

echo *** Resetting variables [||||||||||||||||||||||______________]

setvariable mendhunt_archive_backtrain_HAL1 %mendhunt_HAL1
setvariable mendhunt_archive_backtrain_HAL2 %mendhunt_HAL2
setvariable mendhunt_archive_backtrain_HAL3 %mendhunt_HAL3
setvariable mendhunt_archive_backtrain_HAL4 %mendhunt_HAL4
setvariable mendhunt_archive_backtrain_HAL5 %mendhunt_HAL5
setvariable mendhunt_archive_backtrain_HAL6 %mendhunt_HAL6
setvariable mendhunt_archive_backtrain_HAL7 %mendhunt_HAL7
setvariable mendhunt_archive_backtrain_HAL8 %mendhunt_HAL8

setvariable mendhunt_archive_backtrain_my11 %mendhunt_my11
setvariable mendhunt_archive_backtrain_my12 %mendhunt_my12
setvariable mendhunt_archive_backtrain_my13 %mendhunt_my13
setvariable mendhunt_archive_backtrain_my14 %mendhunt_my14
setvariable mendhunt_archive_backtrain_my15 %mendhunt_my15
setvariable mendhunt_archive_backtrain_my16 %mendhunt_my16
setvariable mendhunt_archive_backtrain_my17 %mendhunt_my17
setvariable mendhunt_archive_backtrain_my18 %mendhunt_my18

setvariable mendhunt_archive_backtrain_my21 %mendhunt_my21
setvariable mendhunt_archive_backtrain_my22 %mendhunt_my22
setvariable mendhunt_archive_backtrain_my23 %mendhunt_my23
setvariable mendhunt_archive_backtrain_my24 %mendhunt_my24
setvariable mendhunt_archive_backtrain_my25 %mendhunt_my25
setvariable mendhunt_archive_backtrain_my26 %mendhunt_my26
setvariable mendhunt_archive_backtrain_my27 %mendhunt_my27
setvariable mendhunt_archive_backtrain_my28 %mendhunt_my28

echo *** Resetting variables [|||||||||||||||||||||||_____________]

setvariable mendhunt_archive_backtrain_magic_master_test %mendhunt_magic_master_test
setvariable mendhunt_archive_backtrain_target_master_test %mendhunt_target_master_test
setvariable mendhunt_archive_backtrain_buff_master_test %mendhunt_buff_master_test
setvariable mendhunt_archive_backtrain_debuff_master_test %mendhunt_debuff_master_test
setvariable mendhunt_archive_backtrain_cam_name %mendhunt_cam_name
setvariable mendhunt_archive_backtrain_pathway_target_name %mendhunt_pathway_target_name
setvariable mendhunt_archive_backtrain_pathway_frenzy_name %mendhunt_pathway_frenzy_name
setvariable mendhunt_archive_backtrain_pathway_frenzy_test %mendhunt_pathway_frenzy_test
setvariable mendhunt_archive_backtrain_pathway_target_test %mendhunt_pathway_target_test
setvariable mendhunt_archive_backtrain_buff_retreat_test %mendhunt_buff_retreat_test

echo *** Resetting variables [||||||||||||||||||||||||____________]

setvariable mendhunt_archive_backtrain_target_test_1 %mendhunt_target_test_1
setvariable mendhunt_archive_backtrain_target_name_1 %mendhunt_target_name_1
setvariable mendhunt_archive_backtrain_target_prep_power_1 %mendhunt_target_prep_power_1
setvariable mendhunt_archive_backtrain_target_harn_test_1 %mendhunt_target_harn_test_1
setvariable mendhunt_archive_backtrain_target_harn_power_1 %mendhunt_target_harn_power_1
setvariable mendhunt_archive_backtrain_target_harn_loop_1 %mendhunt_target_harn_loop_1
setvariable mendhunt_archive_backtrain_target_cam_test_1 %mendhunt_target_cam_test_1
setvariable mendhunt_archive_backtrain_target_cam_power_1 %mendhunt_target_cam_power_1
setvariable mendhunt_archive_backtrain_target_cam_loop_1 %mendhunt_target_cam_loop_1
setvariable mendhunt_archive_backtrain_target_cast_pause_1 %mendhunt_target_cast_pause_1

setvariable mendhunt_archive_backtrain_target_test_2 %mendhunt_target_test_2
setvariable mendhunt_archive_backtrain_target_name_2 %mendhunt_target_name_2
setvariable mendhunt_archive_backtrain_target_prep_power_2 %mendhunt_target_prep_power_2
setvariable mendhunt_archive_backtrain_target_harn_test_2 %mendhunt_target_harn_test_2
setvariable mendhunt_archive_backtrain_target_harn_power_2 %mendhunt_target_harn_power_2
setvariable mendhunt_archive_backtrain_target_harn_loop_2 %mendhunt_target_harn_loop_2
setvariable mendhunt_archive_backtrain_target_cam_test_2 %mendhunt_target_cam_test_2
setvariable mendhunt_archive_backtrain_target_cam_power_2 %mendhunt_target_cam_power_2
setvariable mendhunt_archive_backtrain_target_cam_loop_2 %mendhunt_target_cam_loop_2
setvariable mendhunt_archive_backtrain_target_cast_pause_2 %mendhunt_target_cast_pause_2

setvariable mendhunt_archive_backtrain_target_test_3 %mendhunt_target_test_3
setvariable mendhunt_archive_backtrain_target_name_3 %mendhunt_target_name_3
setvariable mendhunt_archive_backtrain_target_prep_power_3 %mendhunt_target_prep_power_3
setvariable mendhunt_archive_backtrain_target_harn_test_3 %mendhunt_target_harn_test_3
setvariable mendhunt_archive_backtrain_target_harn_power_3 %mendhunt_target_harn_power_3
setvariable mendhunt_archive_backtrain_target_harn_loop_3 %mendhunt_target_harn_loop_3
setvariable mendhunt_archive_backtrain_target_cam_test_3 %mendhunt_target_cam_test_3
setvariable mendhunt_archive_backtrain_target_cam_power_3 %mendhunt_target_cam_power_3
setvariable mendhunt_archive_backtrain_target_cam_loop_3 %mendhunt_target_cam_loop_3
setvariable mendhunt_archive_backtrain_target_cast_pause_3 %mendhunt_target_cast_pause_3

echo *** Resetting variables [|||||||||||||||||||||||||___________]

setvariable mendhunt_archive_backtrain_target_test_4 %mendhunt_target_test_4
setvariable mendhunt_archive_backtrain_target_name_4 %mendhunt_target_name_4
setvariable mendhunt_archive_backtrain_target_prep_power_4 %mendhunt_target_prep_power_4
setvariable mendhunt_archive_backtrain_target_harn_test_4 %mendhunt_target_harn_test_4
setvariable mendhunt_archive_backtrain_target_harn_power_4 %mendhunt_target_harn_power_4
setvariable mendhunt_archive_backtrain_target_harn_loop_4 %mendhunt_target_harn_loop_4
setvariable mendhunt_archive_backtrain_target_cam_test_4 %mendhunt_target_cam_test_4
setvariable mendhunt_archive_backtrain_target_cam_power_4 %mendhunt_target_cam_power_4
setvariable mendhunt_archive_backtrain_target_cam_loop_4 %mendhunt_target_cam_loop_4
setvariable mendhunt_archive_backtrain_target_cast_pause_4 %mendhunt_target_cast_pause_4

setvariable mendhunt_archive_backtrain_target_test_5 %mendhunt_target_test_5
setvariable mendhunt_archive_backtrain_target_name_5 %mendhunt_target_name_5
setvariable mendhunt_archive_backtrain_target_prep_power_5 %mendhunt_target_prep_power_5
setvariable mendhunt_archive_backtrain_target_harn_test_5 %mendhunt_target_harn_test_5
setvariable mendhunt_archive_backtrain_target_harn_power_5 %mendhunt_target_harn_power_5
setvariable mendhunt_archive_backtrain_target_harn_loop_5 %mendhunt_target_harn_loop_5
setvariable mendhunt_archive_backtrain_target_cam_test_5 %mendhunt_target_cam_test_5
setvariable mendhunt_archive_backtrain_target_cam_power_5 %mendhunt_target_cam_power_5
setvariable mendhunt_archive_backtrain_target_cam_loop_5 %mendhunt_target_cam_loop_5
setvariable mendhunt_archive_backtrain_target_cast_pause_5 %mendhunt_target_cast_pause_5

setvariable mendhunt_archive_backtrain_target_test_6 %mendhunt_target_test_6
setvariable mendhunt_archive_backtrain_target_name_6 %mendhunt_target_name_6
setvariable mendhunt_archive_backtrain_target_prep_power_6 %mendhunt_target_prep_power_6
setvariable mendhunt_archive_backtrain_target_harn_test_6 %mendhunt_target_harn_test_6
setvariable mendhunt_archive_backtrain_target_harn_power_6 %mendhunt_target_harn_power_6
setvariable mendhunt_archive_backtrain_target_harn_loop_6 %mendhunt_target_harn_loop_6
setvariable mendhunt_archive_backtrain_target_cam_test_6 %mendhunt_target_cam_test_6
setvariable mendhunt_archive_backtrain_target_cam_power_6 %mendhunt_target_cam_power_6
setvariable mendhunt_archive_backtrain_target_cam_loop_6 %mendhunt_target_cam_loop_6
setvariable mendhunt_archive_backtrain_target_cast_pause_6 %mendhunt_target_cast_pause_6

echo *** Resetting variables [||||||||||||||||||||||||||__________]

setvariable mendhunt_archive_backtrain_buff_test_1 %mendhunt_buff_test_1
setvariable mendhunt_archive_backtrain_buff_name_1 %mendhunt_buff_name_1
setvariable mendhunt_archive_backtrain_buff_prep_power_1 %mendhunt_buff_prep_power_1
setvariable mendhunt_archive_backtrain_buff_harn_test_1 %mendhunt_buff_harn_test_1
setvariable mendhunt_archive_backtrain_buff_harn_power_1 %mendhunt_buff_harn_power_1
setvariable mendhunt_archive_backtrain_buff_harn_loop_1 %mendhunt_buff_harn_loop_1
setvariable mendhunt_archive_backtrain_buff_cam_test_1 %mendhunt_buff_cam_test_1
setvariable mendhunt_archive_backtrain_buff_cam_power_1 %mendhunt_buff_cam_power_1
setvariable mendhunt_archive_backtrain_buff_cam_loop_1 %mendhunt_buff_cam_loop_1
setvariable mendhunt_archive_backtrain_buff_cast_pause_1 %mendhunt_buff_cast_pause_1

setvariable mendhunt_archive_backtrain_buff_test_2 %mendhunt_buff_test_2
setvariable mendhunt_archive_backtrain_buff_name_2 %mendhunt_buff_name_2
setvariable mendhunt_archive_backtrain_buff_prep_power_2 %mendhunt_buff_prep_power_2
setvariable mendhunt_archive_backtrain_buff_harn_test_2 %mendhunt_buff_harn_test_2
setvariable mendhunt_archive_backtrain_buff_harn_power_2 %mendhunt_buff_harn_power_2
setvariable mendhunt_archive_backtrain_buff_harn_loop_2 %mendhunt_buff_harn_loop_2
setvariable mendhunt_archive_backtrain_buff_cam_test_2 %mendhunt_buff_cam_test_2
setvariable mendhunt_archive_backtrain_buff_cam_power_2 %mendhunt_buff_cam_power_2
setvariable mendhunt_archive_backtrain_buff_cam_loop_2 %mendhunt_buff_cam_loop_2
setvariable mendhunt_archive_backtrain_buff_cast_pause_2 %mendhunt_buff_cast_pause_2

setvariable mendhunt_archive_backtrain_buff_test_3 %mendhunt_buff_test_3
setvariable mendhunt_archive_backtrain_buff_name_3 %mendhunt_buff_name_3
setvariable mendhunt_archive_backtrain_buff_prep_power_3 %mendhunt_buff_prep_power_3
setvariable mendhunt_archive_backtrain_buff_harn_test_3 %mendhunt_buff_harn_test_3
setvariable mendhunt_archive_backtrain_buff_harn_power_3 %mendhunt_buff_harn_power_3
setvariable mendhunt_archive_backtrain_buff_harn_loop_3 %mendhunt_buff_harn_loop_3
setvariable mendhunt_archive_backtrain_buff_cam_test_3 %mendhunt_buff_cam_test_3
setvariable mendhunt_archive_backtrain_buff_cam_power_3 %mendhunt_buff_cam_power_3
setvariable mendhunt_archive_backtrain_buff_cam_loop_3 %mendhunt_buff_cam_loop_3
setvariable mendhunt_archive_backtrain_buff_cast_pause_3 %mendhunt_buff_cast_pause_3

echo *** Resetting variables [|||||||||||||||||||||||||||_________]

setvariable mendhunt_archive_backtrain_buff_test_4 %mendhunt_buff_test_4
setvariable mendhunt_archive_backtrain_buff_name_4 %mendhunt_buff_name_4
setvariable mendhunt_archive_backtrain_buff_prep_power_4 %mendhunt_buff_prep_power_4
setvariable mendhunt_archive_backtrain_buff_harn_test_4 %mendhunt_buff_harn_test_4
setvariable mendhunt_archive_backtrain_buff_harn_power_4 %mendhunt_buff_harn_power_4
setvariable mendhunt_archive_backtrain_buff_harn_loop_4 %mendhunt_buff_harn_loop_4
setvariable mendhunt_archive_backtrain_buff_cam_test_4 %mendhunt_buff_cam_test_4
setvariable mendhunt_archive_backtrain_buff_cam_power_4 %mendhunt_buff_cam_power_4
setvariable mendhunt_archive_backtrain_buff_cam_loop_4 %mendhunt_buff_cam_loop_4
setvariable mendhunt_archive_backtrain_buff_cast_pause_4 %mendhunt_buff_cast_pause_4

setvariable mendhunt_archive_backtrain_buff_test_5 %mendhunt_buff_test_5
setvariable mendhunt_archive_backtrain_buff_name_5 %mendhunt_buff_name_5
setvariable mendhunt_archive_backtrain_buff_prep_power_5 %mendhunt_buff_prep_power_5
setvariable mendhunt_archive_backtrain_buff_harn_test_5 %mendhunt_buff_harn_test_5
setvariable mendhunt_archive_backtrain_buff_harn_power_5 %mendhunt_buff_harn_power_5
setvariable mendhunt_archive_backtrain_buff_harn_loop_5 %mendhunt_buff_harn_loop_5
setvariable mendhunt_archive_backtrain_buff_cam_test_5 %mendhunt_buff_cam_test_5
setvariable mendhunt_archive_backtrain_buff_cam_power_5 %mendhunt_buff_cam_power_5
setvariable mendhunt_archive_backtrain_buff_cam_loop_5 %mendhunt_buff_cam_loop_5
setvariable mendhunt_archive_backtrain_buff_cast_pause_5 %mendhunt_buff_cast_pause_5

setvariable mendhunt_archive_backtrain_buff_test_6 %mendhunt_buff_test_6
setvariable mendhunt_archive_backtrain_buff_name_6 %mendhunt_buff_name_6
setvariable mendhunt_archive_backtrain_buff_prep_power_6 %mendhunt_buff_prep_power_6
setvariable mendhunt_archive_backtrain_buff_harn_test_6 %mendhunt_buff_harn_test_6
setvariable mendhunt_archive_backtrain_buff_harn_power_6 %mendhunt_buff_harn_power_6
setvariable mendhunt_archive_backtrain_buff_harn_loop_6 %mendhunt_buff_harn_loop_6
setvariable mendhunt_archive_backtrain_buff_cam_test_6 %mendhunt_buff_cam_test_6
setvariable mendhunt_archive_backtrain_buff_cam_power_6 %mendhunt_buff_cam_power_6
setvariable mendhunt_archive_backtrain_buff_cam_loop_6 %mendhunt_buff_cam_loop_6
setvariable mendhunt_archive_backtrain_buff_cast_pause_6 %mendhunt_buff_cast_pause_6

echo *** Resetting variables [||||||||||||||||||||||||||||________]

setvariable mendhunt_archive_backtrain_debuff_test_1 %mendhunt_debuff_test_1
setvariable mendhunt_archive_backtrain_debuff_name_1 %mendhunt_debuff_name_1
setvariable mendhunt_archive_backtrain_debuff_prep_power_1 %mendhunt_debuff_prep_power_1
setvariable mendhunt_archive_backtrain_debuff_harn_test_1 %mendhunt_debuff_harn_test_1
setvariable mendhunt_archive_backtrain_debuff_harn_power_1 %mendhunt_debuff_harn_power_1
setvariable mendhunt_archive_backtrain_debuff_harn_loop_1 %mendhunt_debuff_harn_loop_1
setvariable mendhunt_archive_backtrain_debuff_cam_test_1 %mendhunt_debuff_cam_test_1
setvariable mendhunt_archive_backtrain_debuff_cam_power_1 %mendhunt_debuff_cam_power_1
setvariable mendhunt_archive_backtrain_debuff_cam_loop_1 %mendhunt_debuff_cam_loop_1
setvariable mendhunt_archive_backtrain_debuff_cast_pause_1 %mendhunt_debuff_cast_pause_1
setvariable mendhunt_archive_backtrain_debuff_once_test_1 %mendhunt_debuff_once_test_1

setvariable mendhunt_archive_backtrain_debuff_test_2 %mendhunt_debuff_test_2
setvariable mendhunt_archive_backtrain_debuff_name_2 %mendhunt_debuff_name_2
setvariable mendhunt_archive_backtrain_debuff_prep_power_2 %mendhunt_debuff_prep_power_2
setvariable mendhunt_archive_backtrain_debuff_harn_test_2 %mendhunt_debuff_harn_test_2
setvariable mendhunt_archive_backtrain_debuff_harn_power_2 %mendhunt_debuff_harn_power_2
setvariable mendhunt_archive_backtrain_debuff_harn_loop_2 %mendhunt_debuff_harn_loop_2
setvariable mendhunt_archive_backtrain_debuff_cam_test_2 %mendhunt_debuff_cam_test_2
setvariable mendhunt_archive_backtrain_debuff_cam_power_2 %mendhunt_debuff_cam_power_2
setvariable mendhunt_archive_backtrain_debuff_cam_loop_2 %mendhunt_debuff_cam_loop_2
setvariable mendhunt_archive_backtrain_debuff_cast_pause_2 %mendhunt_debuff_cast_pause_2
setvariable mendhunt_archive_backtrain_debuff_once_test_2 %mendhunt_debuff_once_test_2

setvariable mendhunt_archive_backtrain_debuff_test_3 %mendhunt_debuff_test_3
setvariable mendhunt_archive_backtrain_debuff_name_3 %mendhunt_debuff_name_3
setvariable mendhunt_archive_backtrain_debuff_prep_power_3 %mendhunt_debuff_prep_power_3
setvariable mendhunt_archive_backtrain_debuff_harn_test_3 %mendhunt_debuff_harn_test_3
setvariable mendhunt_archive_backtrain_debuff_harn_power_3 %mendhunt_debuff_harn_power_3
setvariable mendhunt_archive_backtrain_debuff_harn_loop_3 %mendhunt_debuff_harn_loop_3
setvariable mendhunt_archive_backtrain_debuff_cam_test_3 %mendhunt_debuff_cam_test_3
setvariable mendhunt_archive_backtrain_debuff_cam_power_3 %mendhunt_debuff_cam_power_3
setvariable mendhunt_archive_backtrain_debuff_cam_loop_3 %mendhunt_debuff_cam_loop_3
setvariable mendhunt_archive_backtrain_debuff_cast_pause_3 %mendhunt_debuff_cast_pause_3
setvariable mendhunt_archive_backtrain_debuff_once_test_3 %mendhunt_debuff_once_test_3

echo *** Resetting variables [|||||||||||||||||||||||||||||_______]

setvariable mendhunt_archive_backtrain_debuff_test_4 %mendhunt_debuff_test_4
setvariable mendhunt_archive_backtrain_debuff_name_4 %mendhunt_debuff_name_4
setvariable mendhunt_archive_backtrain_debuff_prep_power_4 %mendhunt_debuff_prep_power_4
setvariable mendhunt_archive_backtrain_debuff_harn_test_4 %mendhunt_debuff_harn_test_4
setvariable mendhunt_archive_backtrain_debuff_harn_power_4 %mendhunt_debuff_harn_power_4
setvariable mendhunt_archive_backtrain_debuff_harn_loop_4 %mendhunt_debuff_harn_loop_4
setvariable mendhunt_archive_backtrain_debuff_cam_test_4 %mendhunt_debuff_cam_test_4
setvariable mendhunt_archive_backtrain_debuff_cam_power_4 %mendhunt_debuff_cam_power_4
setvariable mendhunt_archive_backtrain_debuff_cam_loop_4 %mendhunt_debuff_cam_loop_4
setvariable mendhunt_archive_backtrain_debuff_cast_pause_4 %mendhunt_debuff_cast_pause_4
setvariable mendhunt_archive_backtrain_debuff_once_test_4 %mendhunt_debuff_once_test_4

setvariable mendhunt_archive_backtrain_debuff_test_5 %mendhunt_debuff_test_5
setvariable mendhunt_archive_backtrain_debuff_name_5 %mendhunt_debuff_name_5
setvariable mendhunt_archive_backtrain_debuff_prep_power_5 %mendhunt_debuff_prep_power_5
setvariable mendhunt_archive_backtrain_debuff_harn_test_5 %mendhunt_debuff_harn_test_5
setvariable mendhunt_archive_backtrain_debuff_harn_power_5 %mendhunt_debuff_harn_power_5
setvariable mendhunt_archive_backtrain_debuff_harn_loop_5 %mendhunt_debuff_harn_loop_5
setvariable mendhunt_archive_backtrain_debuff_cam_test_5 %mendhunt_debuff_cam_test_5
setvariable mendhunt_archive_backtrain_debuff_cam_power_5 %mendhunt_debuff_cam_power_5
setvariable mendhunt_archive_backtrain_debuff_cam_loop_5 %mendhunt_debuff_cam_loop_5
setvariable mendhunt_archive_backtrain_debuff_cast_pause_5 %mendhunt_debuff_cast_pause_5
setvariable mendhunt_archive_backtrain_debuff_once_test_5 %mendhunt_debuff_once_test_5

setvariable mendhunt_archive_backtrain_debuff_test_6 %mendhunt_debuff_test_6
setvariable mendhunt_archive_backtrain_debuff_name_6 %mendhunt_debuff_name_6
setvariable mendhunt_archive_backtrain_debuff_prep_power_6 %mendhunt_debuff_prep_power_6
setvariable mendhunt_archive_backtrain_debuff_harn_test_6 %mendhunt_debuff_harn_test_6
setvariable mendhunt_archive_backtrain_debuff_harn_power_6 %mendhunt_debuff_harn_power_6
setvariable mendhunt_archive_backtrain_debuff_harn_loop_6 %mendhunt_debuff_harn_loop_6
setvariable mendhunt_archive_backtrain_debuff_cam_test_6 %mendhunt_debuff_cam_test_6
setvariable mendhunt_archive_backtrain_debuff_cam_power_6 %mendhunt_debuff_cam_power_6
setvariable mendhunt_archive_backtrain_debuff_cam_loop_6 %mendhunt_debuff_cam_loop_6
setvariable mendhunt_archive_backtrain_debuff_cast_pause_6 %mendhunt_debuff_cast_pause_6
setvariable mendhunt_archive_backtrain_debuff_once_test_6 %mendhunt_debuff_once_test_6

echo *** Resetting variables [||||||||||||||||||||||||||||||______]

setvariable mendhunt_archive_backtrain_combat_roar_test %mendhunt_combat_roar_test
setvariable mendhunt_archive_backtrain_combat_roar_type %mendhunt_combat_roar_type
setvariable mendhunt_archive_backtrain_combat_dance_test %mendhunt_combat_dance_test
setvariable mendhunt_archive_backtrain_combat_dance_type %mendhunt_combat_dance_type
setvariable mendhunt_archive_backtrain_combat_sing_test %mendhunt_combat_sing_test
setvariable mendhunt_archive_backtrain_combat_sing_type %mendhunt_combat_sing_type
setvariable mendhunt_archive_backtrain_combat_chant_test %mendhunt_combat_chant_test
setvariable mendhunt_archive_backtrain_combat_chant_type %mendhunt_combat_chant_type
setvariable mendhunt_archive_backtrain_combat_khri_test %mendhunt_combat_khri_test
setvariable mendhunt_archive_backtrain_combat_khri_type %mendhunt_combat_khri_type
setvariable mendhunt_archive_backtrain_deks_special_test %mendhunt_deks_special_test
setvariable mendhunt_archive_backtrain_deks_line_1 %mendhunt_deks_line_1
setvariable mendhunt_archive_backtrain_deks_line_2 %mendhunt_deks_line_2
setvariable mendhunt_archive_backtrain_deks_line_3 %mendhunt_deks_line_3
setvariable mendhunt_archive_backtrain_deks_line_4 %mendhunt_deks_line_4
setvariable mendhunt_archive_backtrain_deks_line_5 %mendhunt_deks_line_5

echo *** Resetting variables [|||||||||||||||||||||||||||||||_____]

setvariable mendhunt_archive_backtrain_frenzy_cl_test %mendhunt_frenzy_cl_test
setvariable mendhunt_archive_backtrain_frenzy_cl_prep_mana %mendhunt_frenzy_cl_prep_mana
setvariable mendhunt_archive_backtrain_frenzy_cl_harn_test %mendhunt_frenzy_cl_harn_test
setvariable mendhunt_archive_backtrain_frenzy_cl_harn_mana %mendhunt_frenzy_cl_harn_mana
setvariable mendhunt_archive_backtrain_frenzy_cl_harn_loop %mendhunt_frenzy_cl_harn_loop
setvariable mendhunt_archive_backtrain_frenzy_cl_cast_pause %mendhunt_frenzy_cl_cast_pause
setvariable mendhunt_archive_backtrain_frenzy_roar_test %mendhunt_frenzy_roar_test
setvariable mendhunt_archive_backtrain_frenzy_roar_type %mendhunt_frenzy_roar_type
setvariable mendhunt_archive_backtrain_frenzy_berserk_test %mendhunt_frenzy_berserk_test
setvariable mendhunt_archive_backtrain_frenzy_berserk_type %mendhunt_frenzy_berserk_type
setvariable mendhunt_archive_backtrain_frenzy_sing_test %mendhunt_frenzy_sing_test
setvariable mendhunt_archive_backtrain_frenzy_sing_type %mendhunt_frenzy_sing_type
setvariable mendhunt_archive_backtrain_frenzy_chant_test %mendhunt_frenzy_chant_test
setvariable mendhunt_archive_backtrain_frenzy_chant_type %mendhunt_frenzy_chant_type
setvariable mendhunt_archive_backtrain_frenzy_bot_test %mendhunt_frenzy_bot_test
setvariable mendhunt_archive_backtrain_frenzy_bot_prep_mana %mendhunt_frenzy_bot_prep_mana
setvariable mendhunt_archive_backtrain_frenzy_bot_harn_test %mendhunt_frenzy_bot_harn_test
setvariable mendhunt_archive_backtrain_frenzy_bot_harn_mana %mendhunt_frenzy_bot_harn_mana
setvariable mendhunt_archive_backtrain_frenzy_bot_harn_loop %mendhunt_frenzy_bot_harn_loop
setvariable mendhunt_archive_backtrain_frenzy_bot_cast_pause %mendhunt_frenzy_bot_cast_pause
setvariable mendhunt_archive_backtrain_frenzy_flee_test %mendhunt_frenzy_flee_test
setvariable mendhunt_archive_backtrain_frenzy_hide_test %mendhunt_frenzy_hide_test

echo *** Resetting variables [||||||||||||||||||||||||||||||||____]

setvariable mendhunt_archive_backtrain_empath_guild_test %mendhunt_empath_guild_test
setvariable mendhunt_archive_backtrain_empath_test_manipulate %mendhunt_empath_test_manipulate
setvariable mendhunt_archive_backtrain_empath_test_innocence %mendhunt_empath_test_innocence
setvariable mendhunt_archive_backtrain_empath_test_gs %mendhunt_empath_test_gs

setvariable mendhunt_archive_backtrain_empath_prep_power_innocence %mendhunt_empath_prep_power_innocence
setvariable mendhunt_archive_backtrain_empath_cast_pause_innocence %mendhunt_empath_cast_pause_innocence
setvariable mendhunt_archive_backtrain_empath_harn_test_innocence %mendhunt_empath_harn_test_innocence
setvariable mendhunt_archive_backtrain_empath_harn_power_innocence %mendhunt_empath_harn_power_innocence
setvariable mendhunt_archive_backtrain_empath_harn_loop_innocence %mendhunt_empath_harn_loop_innocence
setvariable mendhunt_archive_backtrain_empath_cam_test_innocence %mendhunt_empath_cam_test_innocence
setvariable mendhunt_archive_backtrain_empath_cam_power_innocence %mendhunt_empath_cam_power_innocence
setvariable mendhunt_archive_backtrain_empath_cam_loop_innocence %mendhunt_empath_cam_loop_innocence

setvariable mendhunt_archive_backtrain_empath_prep_power_gs %mendhunt_empath_prep_power_gs
setvariable mendhunt_archive_backtrain_empath_cast_pause_gs %mendhunt_empath_cast_pause_gs
setvariable mendhunt_archive_backtrain_empath_harn_test_gs %mendhunt_empath_harn_test_gs
setvariable mendhunt_archive_backtrain_empath_harn_power_gs %mendhunt_empath_harn_power_gs
setvariable mendhunt_archive_backtrain_empath_harn_loop_gs %mendhunt_empath_harn_loop_gs
setvariable mendhunt_archive_backtrain_empath_cam_test_gs %mendhunt_empath_cam_test_gs
setvariable mendhunt_archive_backtrain_empath_cam_power_gs %mendhunt_empath_cam_power_gs
setvariable mendhunt_archive_backtrain_empath_cam_loop_gs %mendhunt_empath_cam_loop_gs

setvariable mendhunt_archive_backtrain_empath_maxconc %mendhunt_empath_maxconc

echo *** Resetting variables [|||||||||||||||||||||||||||||||||___]

setvariable mendhunt_archive_backtrain_crittercount1 %mendhunt_crittercount1
setvariable mendhunt_archive_backtrain_crittercount2 %mendhunt_crittercount2
setvariable mendhunt_archive_backtrain_crittercount3 %mendhunt_crittercount3
setvariable mendhunt_archive_backtrain_crittercount4 %mendhunt_crittercount4
setvariable mendhunt_archive_backtrain_crittercount5 %mendhunt_crittercount5
setvariable mendhunt_archive_backtrain_crittercount6 %mendhunt_crittercount6

setvariable mendhunt_archive_backtrain_skinning_test %mendhunt_skinning_test
setvariable mendhunt_archive_backtrain_skinner_name %mendhunt_skinner_name
setvariable mendhunt_archive_backtrain_skinner_name_branch %mendhunt_skinner_name_branch

setvariable mendhunt_archive_backtrain_ndc_master_test %mendhunt_ndc_master_test
setvariable mendhunt_archive_backtrain_ndc_hum_test %mendhunt_ndc_hum_test
setvariable mendhunt_archive_backtrain_ndc_hum_item %mendhunt_ndc_hum_item
setvariable mendhunt_archive_backtrain_ndc_pow_test %mendhunt_ndc_pow_test
setvariable mendhunt_archive_backtrain_ndc_juggle_test %mendhunt_ndc_juggle_test
setvariable mendhunt_archive_backtrain_ndc_juggle_item %mendhunt_ndc_juggle_item
setvariable mendhunt_archive_backtrain_ndc_comp_test %mendhunt_ndc_comp_test
setvariable mendhunt_archive_backtrain_ndc_stones_test %mendhunt_ndc_stones_test
setvariable mendhunt_archive_backtrain_ndc_pyramid_test %mendhunt_ndc_pyramid_test
setvariable mendhunt_archive_backtrain_ndc_pyramid_item %mendhunt_ndc_pyramid_item
setvariable mendhunt_archive_backtrain_ndc_forage_test %mendhunt_ndc_forage_test
setvariable mendhunt_archive_backtrain_ndc_forage_item %mendhunt_ndc_forage_item

echo *** Resetting variables [||||||||||||||||||||||||||||||||||__]

setvariable mendhunt_archive_backtrain_fissure_master_test %mendhunt_fissure_master_test
setvariable mendhunt_archive_backtrain_fissure_element %mendhunt_fissure_element
setvariable mendhunt_archive_backtrain_fissure_prep_power %mendhunt_fissure_prep_power
setvariable mendhunt_archive_backtrain_fissure_cast_pause %mendhunt_fissure_cast_pause
setvariable mendhunt_archive_backtrain_fissure_harn_test %mendhunt_fissure_harn_test
setvariable mendhunt_archive_backtrain_fissure_harn_power %mendhunt_fissure_harn_power
setvariable mendhunt_archive_backtrain_fissure_harn_loop %mendhunt_fissure_harn_loop
setvariable mendhunt_archive_backtrain_fissure_cam_test %mendhunt_fissure_cam_test
setvariable mendhunt_archive_backtrain_fissure_cam_power %mendhunt_fissure_cam_power
setvariable mendhunt_archive_backtrain_fissure_cam_loop %mendhunt_fissure_cam_loop

setvariable mendhunt_archive_backtrain_mof_master_test %mendhunt_mof_master_test
setvariable mendhunt_archive_backtrain_mof_prep_power %mendhunt_mof_prep_power
setvariable mendhunt_archive_backtrain_mof_cast_pause %mendhunt_mof_cast_pause
setvariable mendhunt_archive_backtrain_mof_harn_test %mendhunt_mof_harn_test
setvariable mendhunt_archive_backtrain_mof_harn_power %mendhunt_mof_harn_power
setvariable mendhunt_archive_backtrain_mof_harn_loop %mendhunt_mof_harn_loop
setvariable mendhunt_archive_backtrain_mof_cam_test %mendhunt_mof_cam_test
setvariable mendhunt_archive_backtrain_mof_cam_power %mendhunt_mof_cam_power
setvariable mendhunt_archive_backtrain_mof_cam_loop %mendhunt_mof_cam_loop

setvariable mendhunt_archive_backtrain_ys_master_test %mendhunt_ys_master_test
setvariable mendhunt_archive_backtrain_ys_prep_power %mendhunt_ys_prep_power
setvariable mendhunt_archive_backtrain_ys_cast_pause %mendhunt_ys_cast_pause
setvariable mendhunt_archive_backtrain_ys_harn_test %mendhunt_ys_harn_test
setvariable mendhunt_archive_backtrain_ys_harn_power %mendhunt_ys_harn_power
setvariable mendhunt_archive_backtrain_ys_harn_loop %mendhunt_ys_harn_loop
setvariable mendhunt_archive_backtrain_ys_cam_test %mendhunt_ys_cam_test
setvariable mendhunt_archive_backtrain_ys_cam_power %mendhunt_ys_cam_power
setvariable mendhunt_archive_backtrain_ys_cam_loop %mendhunt_ys_cam_loop
setvariable mendhunt_archive_backtrain_ysmaint_prep_power %mendhunt_ysmaint_prep_power
setvariable mendhunt_archive_backtrain_ysmaint_cast_pause %mendhunt_ysmaint_cast_pause

setvariable mendhunt_archive_backtrain_aeg_master_test %mendhunt_aeg_master_test
setvariable mendhunt_archive_backtrain_aeg_prep_power %mendhunt_aeg_prep_power
setvariable mendhunt_archive_backtrain_aeg_cast_pause %mendhunt_aeg_cast_pause
setvariable mendhunt_archive_backtrain_aeg_harn_test %mendhunt_aeg_harn_test
setvariable mendhunt_archive_backtrain_aeg_harn_power %mendhunt_aeg_harn_power
setvariable mendhunt_archive_backtrain_aeg_harn_loop %mendhunt_aeg_harn_loop
setvariable mendhunt_archive_backtrain_aeg_cam_test %mendhunt_aeg_cam_test
setvariable mendhunt_archive_backtrain_aeg_cam_power %mendhunt_aeg_cam_power
setvariable mendhunt_archive_backtrain_aeg_cam_loop %mendhunt_aeg_cam_loop
setvariable mendhunt_archive_backtrain_aeg_type_LE %mendhunt_aeg_type_LE
setvariable mendhunt_archive_backtrain_aeg_type_ME %mendhunt_aeg_type_ME
setvariable mendhunt_archive_backtrain_aeg_type_HE %mendhunt_aeg_type_HE
setvariable mendhunt_archive_backtrain_aeg_type_2HE %mendhunt_aeg_type_2HE
setvariable mendhunt_archive_backtrain_aeg_type_LB %mendhunt_aeg_type_LB
setvariable mendhunt_archive_backtrain_aeg_type_MB %mendhunt_aeg_type_MB
setvariable mendhunt_archive_backtrain_aeg_type_HB %mendhunt_aeg_type_HB
setvariable mendhunt_archive_backtrain_aeg_type_2HB %mendhunt_aeg_type_2HB
setvariable mendhunt_archive_backtrain_aeg_type_SL %mendhunt_aeg_type_SL
setvariable mendhunt_archive_backtrain_aeg_type_STAFFSLING %mendhunt_aeg_type_STAFFSLING
setvariable mendhunt_archive_backtrain_aeg_type_SB %mendhunt_aeg_type_SB
setvariable mendhunt_archive_backtrain_aeg_type_LOB %mendhunt_aeg_type_LOB
setvariable mendhunt_archive_backtrain_aeg_type_CB %mendhunt_aeg_type_CB
setvariable mendhunt_archive_backtrain_aeg_type_LX %mendhunt_aeg_type_LX
setvariable mendhunt_archive_backtrain_aeg_type_HX %mendhunt_aeg_type_HX
setvariable mendhunt_archive_backtrain_aeg_type_SS %mendhunt_aeg_type_SS
setvariable mendhunt_archive_backtrain_aeg_type_QS %mendhunt_aeg_type_QS
setvariable mendhunt_archive_backtrain_aeg_type_PI %mendhunt_aeg_type_PI
setvariable mendhunt_archive_backtrain_aeg_type_HAL %mendhunt_aeg_type_HAL
setvariable mendhunt_archive_backtrain_aeg_type_LT %mendhunt_aeg_type_LT
setvariable mendhunt_archive_backtrain_aeg_type_HT %mendhunt_aeg_type_HT
setvariable mendhunt_archive_backtrain_aeg_type_BR %mendhunt_aeg_type_BR
setvariable mendhunt_archive_backtrain_aeg_type_OW %mendhunt_aeg_type_OW
setvariable mendhunt_archive_backtrain_aeg_type_noweap %mendhunt_aeg_type_noweap
setvariable mendhunt_archive_backtrain_aegmaint_test %mendhunt_aegmaint_test
setvariable mendhunt_archive_backtrain_aegmaint_prep_power %mendhunt_aegmaint_prep_power
setvariable mendhunt_archive_backtrain_aegmaint_cast_pause %mendhunt_aegmaint_cast_pause

echo *** Resetting variables [|||||||||||||||||||||||||||||||||||_]

setvariable mendhunt_archive_backtrain_loot_master_test %mendhunt_loot_master_test
setvariable mendhunt_archive_backtrain_loot_plat_test %mendhunt_loot_plat_test
setvariable mendhunt_archive_backtrain_loot_gold_test %mendhunt_loot_gold_test
setvariable mendhunt_archive_backtrain_loot_silver_test %mendhunt_loot_silver_test
setvariable mendhunt_archive_backtrain_loot_bronze_test %mendhunt_loot_bronze_test
setvariable mendhunt_archive_backtrain_loot_copper_test %mendhunt_loot_copper_test
setvariable mendhunt_archive_backtrain_loot_gems_test %mendhunt_loot_gems_test
setvariable mendhunt_archive_backtrain_loot_boxes_test %mendhunt_loot_boxes_test
setvariable mendhunt_archive_backtrain_loot_other_test %mendhunt_loot_other_test
setvariable mendhunt_archive_backtrain_loot_skins_test %mendhunt_loot_skins_test
setvariable mendhunt_archive_backtrain_gems_container %mendhunt_gems_container
setvariable mendhunt_archive_backtrain_boxes_container %mendhunt_boxes_container
setvariable mendhunt_archive_backtrain_other_container %mendhunt_other_container
setvariable mendhunt_archive_backtrain_gpouch_use_test %mendhunt_gpouch_use_test
setvariable mendhunt_archive_backtrain_gpouch_empty_container %mendhunt_gpouch_empty_container
setvariable mendhunt_archive_backtrain_gpouch_full_container %mendhunt_gpouch_full_container
setvariable mendhunt_archive_backtrain_gpouch_tie_test %mendhunt_gpouch_tie_test

#setvariable mendhunt_archive_backtrain_useradd_critter_1 %mendhunt_useradd_critter_1
#setvariable mendhunt_archive_backtrain_useradd_critter_2 %mendhunt_useradd_critter_2
#setvariable mendhunt_archive_backtrain_useradd_critter_3 %mendhunt_useradd_critter_3
#setvariable mendhunt_archive_backtrain_useradd_critter_4 %mendhunt_useradd_critter_4
#setvariable mendhunt_archive_backtrain_useradd_critter_5 %mendhunt_useradd_critter_5
#setvariable mendhunt_archive_backtrain_useradd_critter_6 %mendhunt_useradd_critter_6
#setvariable mendhunt_archive_backtrain_loot_gems_useradd_1 %mendhunt_loot_gems_useradd_1
#setvariable mendhunt_archive_backtrain_loot_gems_useradd_2 %mendhunt_loot_gems_useradd_2
#setvariable mendhunt_archive_backtrain_loot_gems_useradd_3 %mendhunt_loot_gems_useradd_3
#setvariable mendhunt_archive_backtrain_loot_gems_useradd_4 %mendhunt_loot_gems_useradd_4
#setvariable mendhunt_archive_backtrain_loot_gems_useradd_5 %mendhunt_loot_gems_useradd_5
#setvariable mendhunt_archive_backtrain_loot_gems_useradd_6 %mendhunt_loot_gems_useradd_6
#setvariable mendhunt_archive_backtrain_loot_other_useradd_1 %mendhunt_loot_other_useradd_1
#setvariable mendhunt_archive_backtrain_loot_other_useradd_2 %mendhunt_loot_other_useradd_2
#setvariable mendhunt_archive_backtrain_loot_other_useradd_3 %mendhunt_loot_other_useradd_3
#setvariable mendhunt_archive_backtrain_loot_other_useradd_4 %mendhunt_loot_other_useradd_4
#setvariable mendhunt_archive_backtrain_loot_other_useradd_5 %mendhunt_loot_other_useradd_5
#setvariable mendhunt_archive_backtrain_loot_other_useradd_6 %mendhunt_loot_other_useradd_6
#setvariable mendhunt_archive_backtrain_loot_skins_useradd_1 %mendhunt_loot_skins_useradd_1
#setvariable mendhunt_archive_backtrain_loot_skins_useradd_2 %mendhunt_loot_skins_useradd_2
#setvariable mendhunt_archive_backtrain_loot_skins_useradd_3 %mendhunt_loot_skins_useradd_3
#setvariable mendhunt_archive_backtrain_loot_skins_useradd_4 %mendhunt_loot_skins_useradd_4
#setvariable mendhunt_archive_backtrain_loot_skins_useradd_5 %mendhunt_loot_skins_useradd_5
#setvariable mendhunt_archive_backtrain_loot_skins_useradd_6 %mendhunt_loot_skins_useradd_6


echo *** Resetting variables [||||||||||||||||||||||||||||||||||||]
echo
echo *** Resetting variables COMPLETED
echo

	echo
	echo
	echo *** Variables saved to Archive Backtrain
	echo
	echo
	pause 1
ARCHIVE_BACKTRAIN_SAVE_END:
	goto SETUP_MISC_ARCHIVE_RETURN



#_______________________________________________________________________ARCHIVE BACKTRAIN RETRIEVE
ARCHIVE_BACKTRAIN_RETRIEVE:
ARCHIVE_BACKTRAIN_RETRIEVE_START:

echo
echo *** Resetting variables START
echo
echo *** Resetting variables [|___________________________________]



setvariable mendhunt_need_initialize_flag %mendhunt_archive_backtrain_need_initialize_flag
setvariable mendhunt_weapon_style_master %mendhunt_archive_backtrain_weapon_style_master
setvariable mendhunt_weapon_style_main_test %mendhunt_archive_backtrain_weapon_style_main_test
setvariable mendhunt_weapon_style_multi_test %mendhunt_archive_backtrain_weapon_style_multi_test
setvariable mendhunt_weapon_style_noweap_test %mendhunt_archive_backtrain_weapon_style_noweap_test
setvariable mendhunt_weapon_swap_test %mendhunt_archive_backtrain_weapon_swap_test
setvariable mendhunt_armor_switch_test %mendhunt_archive_backtrain_armor_switch_test
setvariable mendhunt_stance_test %mendhunt_archive_backtrain_stance_test
setvariable mendhunt_dance_mode_mo_test %mendhunt_archive_backtrain_dance_mode_mo_test
setvariable mendhunt_dance_app_test %mendhunt_archive_backtrain_dance_app_test
setvariable mendhunt_dance_brawl_test %mendhunt_archive_backtrain_dance_brawl_test
setvariable mendhunt_dance_hunt_test %mendhunt_archive_backtrain_dance_hunt_test
setvariable mendhunt_mindstate_test %mendhunt_archive_backtrain_mindstate_test
setvariable mendhunt_ranged_pause %mendhunt_archive_backtrain_ranged_pause
setvariable mendhunt_thrown_pause %mendhunt_archive_backtrain_thrown_pause
setvariable mendhunt_rangedthrown_retreat_test %mendhunt_archive_backtrain_rangedthrown_retreat_test
setvariable mendhunt_slow_attack_test %mendhunt_archive_backtrain_slow_attack_test
setvariable mendhunt_hide_test %mendhunt_archive_backtrain_hide_test
setvariable mendhunt_weapon_cycle %mendhunt_archive_backtrain_weapon_cycle
setvariable mendhunt_arrange_master_test %mendhunt_archive_backtrain_arrange_master_test
setvariable mendhunt_backstab_master_test %mendhunt_archive_backtrain_backstab_master_test
setvariable mendhunt_force_weapon_switch_test %mendhunt_archive_backtrain_force_weapon_switch_test
setvariable mendhunt_force_armor_switch_test %mendhunt_archive_backtrain_force_armor_switch_test
setvariable mendhunt_preserve_master_test %mendhunt_archive_backtrain_preserve_master_test

echo *** Resetting variables [||__________________________________]

setvariable mendhunt_weapon_name_main %mendhunt_archive_backtrain_weapon_name_main
setvariable mendhunt_weapon_class_main %mendhunt_archive_backtrain_weapon_class_main
setvariable mendhunt_weapon_type_main %mendhunt_archive_backtrain_weapon_type_main
setvariable mendhunt_weapon_combo_main %mendhunt_archive_backtrain_weapon_combo_main
setvariable mendhunt_weapon_combo_1_main %mendhunt_archive_backtrain_weapon_combo_1_main
setvariable mendhunt_weapon_combo_2_main %mendhunt_archive_backtrain_weapon_combo_2_main
setvariable mendhunt_weapon_combo_3_main %mendhunt_archive_backtrain_weapon_combo_3_main
setvariable mendhunt_weapon_combo_4_main %mendhunt_archive_backtrain_weapon_combo_4_main
setvariable mendhunt_weapon_combo_5_main %mendhunt_archive_backtrain_weapon_combo_5_main
setvariable mendhunt_weapon_combo_6_main %mendhunt_archive_backtrain_weapon_combo_6_main
setvariable mendhunt_weapon_combo_7_main %mendhunt_archive_backtrain_weapon_combo_7_main
setvariable mendhunt_weapon_combo_8_main %mendhunt_archive_backtrain_weapon_combo_8_main
setvariable mendhunt_weapon_ammo_main %mendhunt_archive_backtrain_weapon_ammo_main
setvariable mendhunt_weapon_shield_use_main %mendhunt_archive_backtrain_weapon_shield_use_main
setvariable mendhunt_weapon_shield_name_main %mendhunt_archive_backtrain_weapon_shield_name_main
setvariable mendhunt_weapon_stance_focus_main %mendhunt_archive_backtrain_weapon_stance_focus_main

setvariable mendhunt_weapon_name_1 %mendhunt_archive_backtrain_weapon_name_1
setvariable mendhunt_weapon_class_1 %mendhunt_archive_backtrain_weapon_class_1
setvariable mendhunt_weapon_type_1 %mendhunt_archive_backtrain_weapon_type_1
setvariable mendhunt_weapon_combo_1 %mendhunt_archive_backtrain_weapon_combo_1
setvariable mendhunt_weapon_combo_1_1 %mendhunt_archive_backtrain_weapon_combo_1_1
setvariable mendhunt_weapon_combo_2_1 %mendhunt_archive_backtrain_weapon_combo_2_1
setvariable mendhunt_weapon_combo_3_1 %mendhunt_archive_backtrain_weapon_combo_3_1
setvariable mendhunt_weapon_combo_4_1 %mendhunt_archive_backtrain_weapon_combo_4_1
setvariable mendhunt_weapon_combo_5_1 %mendhunt_archive_backtrain_weapon_combo_5_1
setvariable mendhunt_weapon_combo_6_1 %mendhunt_archive_backtrain_weapon_combo_6_1
setvariable mendhunt_weapon_combo_7_1 %mendhunt_archive_backtrain_weapon_combo_7_1
setvariable mendhunt_weapon_combo_8_1 %mendhunt_archive_backtrain_weapon_combo_8_1
setvariable mendhunt_weapon_ammo_1 %mendhunt_archive_backtrain_weapon_ammo_1
setvariable mendhunt_weapon_shield_use_1 %mendhunt_archive_backtrain_weapon_shield_use_1
setvariable mendhunt_weapon_shield_name_1 %mendhunt_archive_backtrain_weapon_shield_name_1
setvariable mendhunt_weapon_stance_focus_1 %mendhunt_archive_backtrain_weapon_stance_focus_1

echo *** Resetting variables [|||_________________________________]

setvariable mendhunt_weapon_name_2 %mendhunt_archive_backtrain_weapon_name_2
setvariable mendhunt_weapon_class_2 %mendhunt_archive_backtrain_weapon_class_2
setvariable mendhunt_weapon_type_2 %mendhunt_archive_backtrain_weapon_type_2
setvariable mendhunt_weapon_combo_2 %mendhunt_archive_backtrain_weapon_combo_2
setvariable mendhunt_weapon_combo_1_2 %mendhunt_archive_backtrain_weapon_combo_1_2
setvariable mendhunt_weapon_combo_2_2 %mendhunt_archive_backtrain_weapon_combo_2_2
setvariable mendhunt_weapon_combo_3_2 %mendhunt_archive_backtrain_weapon_combo_3_2
setvariable mendhunt_weapon_combo_4_2 %mendhunt_archive_backtrain_weapon_combo_4_2
setvariable mendhunt_weapon_combo_5_2 %mendhunt_archive_backtrain_weapon_combo_5_2
setvariable mendhunt_weapon_combo_6_2 %mendhunt_archive_backtrain_weapon_combo_6_2
setvariable mendhunt_weapon_combo_7_2 %mendhunt_archive_backtrain_weapon_combo_7_2
setvariable mendhunt_weapon_combo_8_2 %mendhunt_archive_backtrain_weapon_combo_8_2
setvariable mendhunt_weapon_ammo_2 %mendhunt_archive_backtrain_weapon_ammo_2
setvariable mendhunt_weapon_shield_use_2 %mendhunt_archive_backtrain_weapon_shield_use_2
setvariable mendhunt_weapon_shield_name_2 %mendhunt_archive_backtrain_weapon_shield_name_2
setvariable mendhunt_weapon_stance_focus_2 %mendhunt_archive_backtrain_weapon_stance_focus_2

setvariable mendhunt_weapon_name_3 %mendhunt_archive_backtrain_weapon_name_3
setvariable mendhunt_weapon_class_3 %mendhunt_archive_backtrain_weapon_class_3
setvariable mendhunt_weapon_type_3 %mendhunt_archive_backtrain_weapon_type_3
setvariable mendhunt_weapon_combo_3 %mendhunt_archive_backtrain_weapon_combo_3
setvariable mendhunt_weapon_combo_1_3 %mendhunt_archive_backtrain_weapon_combo_1_3
setvariable mendhunt_weapon_combo_2_3 %mendhunt_archive_backtrain_weapon_combo_2_3
setvariable mendhunt_weapon_combo_3_3 %mendhunt_archive_backtrain_weapon_combo_3_3
setvariable mendhunt_weapon_combo_4_3 %mendhunt_archive_backtrain_weapon_combo_4_3
setvariable mendhunt_weapon_combo_5_3 %mendhunt_archive_backtrain_weapon_combo_5_3
setvariable mendhunt_weapon_combo_6_3 %mendhunt_archive_backtrain_weapon_combo_6_3
setvariable mendhunt_weapon_combo_7_3 %mendhunt_archive_backtrain_weapon_combo_7_3
setvariable mendhunt_weapon_combo_8_3 %mendhunt_archive_backtrain_weapon_combo_8_3
setvariable mendhunt_weapon_ammo_3 %mendhunt_archive_backtrain_weapon_ammo_3
setvariable mendhunt_weapon_shield_use_3 %mendhunt_archive_backtrain_weapon_shield_use_3
setvariable mendhunt_weapon_shield_name_3 %mendhunt_archive_backtrain_weapon_shield_name_3
setvariable mendhunt_weapon_stance_focus_3 %mendhunt_archive_backtrain_weapon_stance_focus_3

echo *** Resetting variables [||||________________________________]

setvariable mendhunt_weapon_name_4 %mendhunt_archive_backtrain_weapon_name_4
setvariable mendhunt_weapon_class_4 %mendhunt_archive_backtrain_weapon_class_4
setvariable mendhunt_weapon_type_4 %mendhunt_archive_backtrain_weapon_type_4
setvariable mendhunt_weapon_combo_4 %mendhunt_archive_backtrain_weapon_combo_4
setvariable mendhunt_weapon_combo_1_4 %mendhunt_archive_backtrain_weapon_combo_1_4
setvariable mendhunt_weapon_combo_2_4 %mendhunt_archive_backtrain_weapon_combo_2_4
setvariable mendhunt_weapon_combo_3_4 %mendhunt_archive_backtrain_weapon_combo_3_4
setvariable mendhunt_weapon_combo_4_4 %mendhunt_archive_backtrain_weapon_combo_4_4
setvariable mendhunt_weapon_combo_5_4 %mendhunt_archive_backtrain_weapon_combo_5_4
setvariable mendhunt_weapon_combo_6_4 %mendhunt_archive_backtrain_weapon_combo_6_4
setvariable mendhunt_weapon_combo_7_4 %mendhunt_archive_backtrain_weapon_combo_7_4
setvariable mendhunt_weapon_combo_8_4 %mendhunt_archive_backtrain_weapon_combo_8_4
setvariable mendhunt_weapon_ammo_4 %mendhunt_archive_backtrain_weapon_ammo_4
setvariable mendhunt_weapon_shield_use_4 %mendhunt_archive_backtrain_weapon_shield_use_4
setvariable mendhunt_weapon_shield_name_4 %mendhunt_archive_backtrain_weapon_shield_name_4
setvariable mendhunt_weapon_stance_focus_4 %mendhunt_archive_backtrain_weapon_stance_focus_4

setvariable mendhunt_weapon_name_5 %mendhunt_archive_backtrain_weapon_name_5
setvariable mendhunt_weapon_class_5 %mendhunt_archive_backtrain_weapon_class_5
setvariable mendhunt_weapon_type_5 %mendhunt_archive_backtrain_weapon_type_5
setvariable mendhunt_weapon_combo_5 %mendhunt_archive_backtrain_weapon_combo_5
setvariable mendhunt_weapon_combo_1_5 %mendhunt_archive_backtrain_weapon_combo_1_5
setvariable mendhunt_weapon_combo_2_5 %mendhunt_archive_backtrain_weapon_combo_2_5
setvariable mendhunt_weapon_combo_3_5 %mendhunt_archive_backtrain_weapon_combo_3_5
setvariable mendhunt_weapon_combo_4_5 %mendhunt_archive_backtrain_weapon_combo_4_5
setvariable mendhunt_weapon_combo_5_5 %mendhunt_archive_backtrain_weapon_combo_5_5
setvariable mendhunt_weapon_combo_6_5 %mendhunt_archive_backtrain_weapon_combo_6_5
setvariable mendhunt_weapon_combo_7_5 %mendhunt_archive_backtrain_weapon_combo_7_5
setvariable mendhunt_weapon_combo_8_5 %mendhunt_archive_backtrain_weapon_combo_8_5
setvariable mendhunt_weapon_ammo_5 %mendhunt_archive_backtrain_weapon_ammo_5
setvariable mendhunt_weapon_shield_use_5 %mendhunt_archive_backtrain_weapon_shield_use_5
setvariable mendhunt_weapon_shield_name_5 %mendhunt_archive_backtrain_weapon_shield_name_5
setvariable mendhunt_weapon_stance_focus_5 %mendhunt_archive_backtrain_weapon_stance_focus_5

echo *** Resetting variables [|||||_______________________________]

setvariable mendhunt_weapon_name_6 %mendhunt_archive_backtrain_weapon_name_6
setvariable mendhunt_weapon_class_6 %mendhunt_archive_backtrain_weapon_class_6
setvariable mendhunt_weapon_type_6 %mendhunt_archive_backtrain_weapon_type_6
setvariable mendhunt_weapon_combo_6 %mendhunt_archive_backtrain_weapon_combo_6
setvariable mendhunt_weapon_combo_1_6 %mendhunt_archive_backtrain_weapon_combo_1_6
setvariable mendhunt_weapon_combo_2_6 %mendhunt_archive_backtrain_weapon_combo_2_6
setvariable mendhunt_weapon_combo_3_6 %mendhunt_archive_backtrain_weapon_combo_3_6
setvariable mendhunt_weapon_combo_4_6 %mendhunt_archive_backtrain_weapon_combo_4_6
setvariable mendhunt_weapon_combo_5_6 %mendhunt_archive_backtrain_weapon_combo_5_6
setvariable mendhunt_weapon_combo_6_6 %mendhunt_archive_backtrain_weapon_combo_6_6
setvariable mendhunt_weapon_combo_7_6 %mendhunt_archive_backtrain_weapon_combo_7_6
setvariable mendhunt_weapon_combo_8_6 %mendhunt_archive_backtrain_weapon_combo_8_6
setvariable mendhunt_weapon_ammo_6 %mendhunt_archive_backtrain_weapon_ammo_6
setvariable mendhunt_weapon_shield_use_6 %mendhunt_archive_backtrain_weapon_shield_use_6
setvariable mendhunt_weapon_shield_name_6 %mendhunt_archive_backtrain_weapon_shield_name_6
setvariable mendhunt_weapon_stance_focus_6 %mendhunt_archive_backtrain_weapon_stance_focus_6

setvariable mendhunt_weapon_name_LE %mendhunt_archive_backtrain_weapon_name_LE
setvariable mendhunt_weapon_class_LE %mendhunt_archive_backtrain_weapon_class_LE
setvariable mendhunt_weapon_type_LE %mendhunt_archive_backtrain_weapon_type_LE
setvariable mendhunt_weapon_combo_LE %mendhunt_archive_backtrain_weapon_combo_LE
setvariable mendhunt_weapon_combo_1_LE %mendhunt_archive_backtrain_weapon_combo_1_LE
setvariable mendhunt_weapon_combo_2_LE %mendhunt_archive_backtrain_weapon_combo_2_LE
setvariable mendhunt_weapon_combo_3_LE %mendhunt_archive_backtrain_weapon_combo_3_LE
setvariable mendhunt_weapon_combo_4_LE %mendhunt_archive_backtrain_weapon_combo_4_LE
setvariable mendhunt_weapon_combo_5_LE %mendhunt_archive_backtrain_weapon_combo_5_LE
setvariable mendhunt_weapon_combo_6_LE %mendhunt_archive_backtrain_weapon_combo_6_LE
setvariable mendhunt_weapon_combo_7_LE %mendhunt_archive_backtrain_weapon_combo_7_LE
setvariable mendhunt_weapon_combo_8_LE %mendhunt_archive_backtrain_weapon_combo_8_LE
setvariable mendhunt_weapon_ammo_LE %mendhunt_archive_backtrain_weapon_ammo_LE
setvariable mendhunt_weapon_shield_use_LE %mendhunt_archive_backtrain_weapon_shield_use_LE
setvariable mendhunt_weapon_shield_name_LE %mendhunt_archive_backtrain_weapon_shield_name_LE
setvariable mendhunt_weapon_stance_focus_LE %mendhunt_archive_backtrain_weapon_stance_focus_LE

echo *** Resetting variables [||||||______________________________]

setvariable mendhunt_weapon_name_ME %mendhunt_archive_backtrain_weapon_name_ME
setvariable mendhunt_weapon_class_ME %mendhunt_archive_backtrain_weapon_class_ME
setvariable mendhunt_weapon_type_ME %mendhunt_archive_backtrain_weapon_type_ME
setvariable mendhunt_weapon_combo_ME %mendhunt_archive_backtrain_weapon_combo_ME
setvariable mendhunt_weapon_combo_1_ME %mendhunt_archive_backtrain_weapon_combo_1_ME
setvariable mendhunt_weapon_combo_2_ME %mendhunt_archive_backtrain_weapon_combo_2_ME
setvariable mendhunt_weapon_combo_3_ME %mendhunt_archive_backtrain_weapon_combo_3_ME
setvariable mendhunt_weapon_combo_4_ME %mendhunt_archive_backtrain_weapon_combo_4_ME
setvariable mendhunt_weapon_combo_5_ME %mendhunt_archive_backtrain_weapon_combo_5_ME
setvariable mendhunt_weapon_combo_6_ME %mendhunt_archive_backtrain_weapon_combo_6_ME
setvariable mendhunt_weapon_combo_7_ME %mendhunt_archive_backtrain_weapon_combo_7_ME
setvariable mendhunt_weapon_combo_8_ME %mendhunt_archive_backtrain_weapon_combo_8_ME
setvariable mendhunt_weapon_ammo_ME %mendhunt_archive_backtrain_weapon_ammo_ME
setvariable mendhunt_weapon_shield_use_ME %mendhunt_archive_backtrain_weapon_shield_use_ME
setvariable mendhunt_weapon_shield_name_ME %mendhunt_archive_backtrain_weapon_shield_name_ME
setvariable mendhunt_weapon_stance_focus_ME %mendhunt_archive_backtrain_weapon_stance_focus_ME

setvariable mendhunt_weapon_name_HE %mendhunt_archive_backtrain_weapon_name_HE
setvariable mendhunt_weapon_class_HE %mendhunt_archive_backtrain_weapon_class_HE
setvariable mendhunt_weapon_type_HE %mendhunt_archive_backtrain_weapon_type_HE
setvariable mendhunt_weapon_combo_HE %mendhunt_archive_backtrain_weapon_combo_HE
setvariable mendhunt_weapon_combo_1_HE %mendhunt_archive_backtrain_weapon_combo_1_HE
setvariable mendhunt_weapon_combo_2_HE %mendhunt_archive_backtrain_weapon_combo_2_HE
setvariable mendhunt_weapon_combo_3_HE %mendhunt_archive_backtrain_weapon_combo_3_HE
setvariable mendhunt_weapon_combo_4_HE %mendhunt_archive_backtrain_weapon_combo_4_HE
setvariable mendhunt_weapon_combo_5_HE %mendhunt_archive_backtrain_weapon_combo_5_HE
setvariable mendhunt_weapon_combo_6_HE %mendhunt_archive_backtrain_weapon_combo_6_HE
setvariable mendhunt_weapon_combo_7_HE %mendhunt_archive_backtrain_weapon_combo_7_HE
setvariable mendhunt_weapon_combo_8_HE %mendhunt_archive_backtrain_weapon_combo_8_HE
setvariable mendhunt_weapon_ammo_HE %mendhunt_archive_backtrain_weapon_ammo_HE
setvariable mendhunt_weapon_shield_use_HE %mendhunt_archive_backtrain_weapon_shield_use_HE
setvariable mendhunt_weapon_shield_name_HE %mendhunt_archive_backtrain_weapon_shield_name_HE
setvariable mendhunt_weapon_stance_focus_HE %mendhunt_archive_backtrain_weapon_stance_focus_HE

echo *** Resetting variables [|||||||_____________________________]

setvariable mendhunt_weapon_name_2HE %mendhunt_archive_backtrain_weapon_name_2HE
setvariable mendhunt_weapon_class_2HE %mendhunt_archive_backtrain_weapon_class_2HE
setvariable mendhunt_weapon_type_2HE %mendhunt_archive_backtrain_weapon_type_2HE
setvariable mendhunt_weapon_combo_2HE %mendhunt_archive_backtrain_weapon_combo_2HE
setvariable mendhunt_weapon_combo_1_2HE %mendhunt_archive_backtrain_weapon_combo_1_2HE
setvariable mendhunt_weapon_combo_2_2HE %mendhunt_archive_backtrain_weapon_combo_2_2HE
setvariable mendhunt_weapon_combo_3_2HE %mendhunt_archive_backtrain_weapon_combo_3_2HE
setvariable mendhunt_weapon_combo_4_2HE %mendhunt_archive_backtrain_weapon_combo_4_2HE
setvariable mendhunt_weapon_combo_5_2HE %mendhunt_archive_backtrain_weapon_combo_5_2HE
setvariable mendhunt_weapon_combo_6_2HE %mendhunt_archive_backtrain_weapon_combo_6_2HE
setvariable mendhunt_weapon_combo_7_2HE %mendhunt_archive_backtrain_weapon_combo_7_2HE
setvariable mendhunt_weapon_combo_8_2HE %mendhunt_archive_backtrain_weapon_combo_8_2HE
setvariable mendhunt_weapon_ammo_2HE %mendhunt_archive_backtrain_weapon_ammo_2HE
setvariable mendhunt_weapon_shield_use_2HE %mendhunt_archive_backtrain_weapon_shield_use_2HE
setvariable mendhunt_weapon_shield_name_2HE %mendhunt_archive_backtrain_weapon_shield_name_2HE
setvariable mendhunt_weapon_stance_focus_2HE %mendhunt_archive_backtrain_weapon_stance_focus_2HE

setvariable mendhunt_weapon_name_LB %mendhunt_archive_backtrain_weapon_name_LB
setvariable mendhunt_weapon_class_LB %mendhunt_archive_backtrain_weapon_class_LB
setvariable mendhunt_weapon_type_LB %mendhunt_archive_backtrain_weapon_type_LB
setvariable mendhunt_weapon_combo_LB %mendhunt_archive_backtrain_weapon_combo_LB
setvariable mendhunt_weapon_combo_1_LB %mendhunt_archive_backtrain_weapon_combo_1_LB
setvariable mendhunt_weapon_combo_2_LB %mendhunt_archive_backtrain_weapon_combo_2_LB
setvariable mendhunt_weapon_combo_3_LB %mendhunt_archive_backtrain_weapon_combo_3_LB
setvariable mendhunt_weapon_combo_4_LB %mendhunt_archive_backtrain_weapon_combo_4_LB
setvariable mendhunt_weapon_combo_5_LB %mendhunt_archive_backtrain_weapon_combo_5_LB
setvariable mendhunt_weapon_combo_6_LB %mendhunt_archive_backtrain_weapon_combo_6_LB
setvariable mendhunt_weapon_combo_7_LB %mendhunt_archive_backtrain_weapon_combo_7_LB
setvariable mendhunt_weapon_combo_8_LB %mendhunt_archive_backtrain_weapon_combo_8_LB
setvariable mendhunt_weapon_ammo_LB %mendhunt_archive_backtrain_weapon_ammo_LB
setvariable mendhunt_weapon_shield_use_LB %mendhunt_archive_backtrain_weapon_shield_use_LB
setvariable mendhunt_weapon_shield_name_LB %mendhunt_archive_backtrain_weapon_shield_name_LB
setvariable mendhunt_weapon_stance_focus_LB %mendhunt_archive_backtrain_weapon_stance_focus_LB

echo *** Resetting variables [||||||||____________________________]

setvariable mendhunt_weapon_name_MB %mendhunt_archive_backtrain_weapon_name_MB
setvariable mendhunt_weapon_class_MB %mendhunt_archive_backtrain_weapon_class_MB
setvariable mendhunt_weapon_type_MB %mendhunt_archive_backtrain_weapon_type_MB
setvariable mendhunt_weapon_combo_MB %mendhunt_archive_backtrain_weapon_combo_MB
setvariable mendhunt_weapon_combo_1_MB %mendhunt_archive_backtrain_weapon_combo_1_MB
setvariable mendhunt_weapon_combo_2_MB %mendhunt_archive_backtrain_weapon_combo_2_MB
setvariable mendhunt_weapon_combo_3_MB %mendhunt_archive_backtrain_weapon_combo_3_MB
setvariable mendhunt_weapon_combo_4_MB %mendhunt_archive_backtrain_weapon_combo_4_MB
setvariable mendhunt_weapon_combo_5_MB %mendhunt_archive_backtrain_weapon_combo_5_MB
setvariable mendhunt_weapon_combo_6_MB %mendhunt_archive_backtrain_weapon_combo_6_MB
setvariable mendhunt_weapon_combo_7_MB %mendhunt_archive_backtrain_weapon_combo_7_MB
setvariable mendhunt_weapon_combo_8_MB %mendhunt_archive_backtrain_weapon_combo_8_MB
setvariable mendhunt_weapon_ammo_MB %mendhunt_archive_backtrain_weapon_ammo_MB
setvariable mendhunt_weapon_shield_use_MB %mendhunt_archive_backtrain_weapon_shield_use_MB
setvariable mendhunt_weapon_shield_name_MB %mendhunt_archive_backtrain_weapon_shield_name_MB
setvariable mendhunt_weapon_stance_focus_MB %mendhunt_archive_backtrain_weapon_stance_focus_MB

setvariable mendhunt_weapon_name_HB %mendhunt_archive_backtrain_weapon_name_HB
setvariable mendhunt_weapon_class_HB %mendhunt_archive_backtrain_weapon_class_HB
setvariable mendhunt_weapon_type_HB %mendhunt_archive_backtrain_weapon_type_HB
setvariable mendhunt_weapon_combo_HB %mendhunt_archive_backtrain_weapon_combo_HB
setvariable mendhunt_weapon_combo_1_HB %mendhunt_archive_backtrain_weapon_combo_1_HB
setvariable mendhunt_weapon_combo_2_HB %mendhunt_archive_backtrain_weapon_combo_2_HB
setvariable mendhunt_weapon_combo_3_HB %mendhunt_archive_backtrain_weapon_combo_3_HB
setvariable mendhunt_weapon_combo_4_HB %mendhunt_archive_backtrain_weapon_combo_4_HB
setvariable mendhunt_weapon_combo_5_HB %mendhunt_archive_backtrain_weapon_combo_5_HB
setvariable mendhunt_weapon_combo_6_HB %mendhunt_archive_backtrain_weapon_combo_6_HB
setvariable mendhunt_weapon_combo_7_HB %mendhunt_archive_backtrain_weapon_combo_7_HB
setvariable mendhunt_weapon_combo_8_HB %mendhunt_archive_backtrain_weapon_combo_8_HB
setvariable mendhunt_weapon_ammo_HB %mendhunt_archive_backtrain_weapon_ammo_HB
setvariable mendhunt_weapon_shield_use_HB %mendhunt_archive_backtrain_weapon_shield_use_HB
setvariable mendhunt_weapon_shield_name_HB %mendhunt_archive_backtrain_weapon_shield_name_HB
setvariable mendhunt_weapon_stance_focus_HB %mendhunt_archive_backtrain_weapon_stance_focus_HB

echo *** Resetting variables [|||||||||___________________________]

setvariable mendhunt_weapon_name_2HB %mendhunt_archive_backtrain_weapon_name_2HB
setvariable mendhunt_weapon_class_2HB %mendhunt_archive_backtrain_weapon_class_2HB
setvariable mendhunt_weapon_type_2HB %mendhunt_archive_backtrain_weapon_type_2HB
setvariable mendhunt_weapon_combo_2HB %mendhunt_archive_backtrain_weapon_combo_2HB
setvariable mendhunt_weapon_combo_1_2HB %mendhunt_archive_backtrain_weapon_combo_1_2HB
setvariable mendhunt_weapon_combo_2_2HB %mendhunt_archive_backtrain_weapon_combo_2_2HB
setvariable mendhunt_weapon_combo_3_2HB %mendhunt_archive_backtrain_weapon_combo_3_2HB
setvariable mendhunt_weapon_combo_4_2HB %mendhunt_archive_backtrain_weapon_combo_4_2HB
setvariable mendhunt_weapon_combo_5_2HB %mendhunt_archive_backtrain_weapon_combo_5_2HB
setvariable mendhunt_weapon_combo_6_2HB %mendhunt_archive_backtrain_weapon_combo_6_2HB
setvariable mendhunt_weapon_combo_7_2HB %mendhunt_archive_backtrain_weapon_combo_7_2HB
setvariable mendhunt_weapon_combo_8_2HB %mendhunt_archive_backtrain_weapon_combo_8_2HB
setvariable mendhunt_weapon_ammo_2HB %mendhunt_archive_backtrain_weapon_ammo_2HB
setvariable mendhunt_weapon_shield_use_2HB %mendhunt_archive_backtrain_weapon_shield_use_2HB
setvariable mendhunt_weapon_shield_name_2HB %mendhunt_archive_backtrain_weapon_shield_name_2HB
setvariable mendhunt_weapon_stance_focus_2HB %mendhunt_archive_backtrain_weapon_stance_focus_2HB

setvariable mendhunt_weapon_name_SL %mendhunt_archive_backtrain_weapon_name_SL
setvariable mendhunt_weapon_class_SL %mendhunt_archive_backtrain_weapon_class_SL
setvariable mendhunt_weapon_type_SL %mendhunt_archive_backtrain_weapon_type_SL
setvariable mendhunt_weapon_combo_SL %mendhunt_archive_backtrain_weapon_combo_SL
setvariable mendhunt_weapon_combo_1_SL %mendhunt_archive_backtrain_weapon_combo_1_SL
setvariable mendhunt_weapon_combo_2_SL %mendhunt_archive_backtrain_weapon_combo_2_SL
setvariable mendhunt_weapon_combo_3_SL %mendhunt_archive_backtrain_weapon_combo_3_SL
setvariable mendhunt_weapon_combo_4_SL %mendhunt_archive_backtrain_weapon_combo_4_SL
setvariable mendhunt_weapon_combo_5_SL %mendhunt_archive_backtrain_weapon_combo_5_SL
setvariable mendhunt_weapon_combo_6_SL %mendhunt_archive_backtrain_weapon_combo_6_SL
setvariable mendhunt_weapon_combo_7_SL %mendhunt_archive_backtrain_weapon_combo_7_SL
setvariable mendhunt_weapon_combo_8_SL %mendhunt_archive_backtrain_weapon_combo_8_SL
setvariable mendhunt_weapon_ammo_SL %mendhunt_archive_backtrain_weapon_ammo_SL
setvariable mendhunt_weapon_shield_use_SL %mendhunt_archive_backtrain_weapon_shield_use_SL
setvariable mendhunt_weapon_shield_name_SL %mendhunt_archive_backtrain_weapon_shield_name_SL
setvariable mendhunt_weapon_stance_focus_SL %mendhunt_archive_backtrain_weapon_stance_focus_SL

echo *** Resetting variables [||||||||||__________________________]

setvariable mendhunt_weapon_name_STAFFSLING %mendhunt_archive_backtrain_weapon_name_STAFFSLING
setvariable mendhunt_weapon_class_STAFFSLING %mendhunt_archive_backtrain_weapon_class_STAFFSLING
setvariable mendhunt_weapon_type_STAFFSLING %mendhunt_archive_backtrain_weapon_type_STAFFSLING
setvariable mendhunt_weapon_combo_STAFFSLING %mendhunt_archive_backtrain_weapon_combo_STAFFSLING
setvariable mendhunt_weapon_combo_1_STAFFSLING %mendhunt_archive_backtrain_weapon_combo_1_STAFFSLING
setvariable mendhunt_weapon_combo_2_STAFFSLING %mendhunt_archive_backtrain_weapon_combo_2_STAFFSLING
setvariable mendhunt_weapon_combo_3_STAFFSLING %mendhunt_archive_backtrain_weapon_combo_3_STAFFSLING
setvariable mendhunt_weapon_combo_4_STAFFSLING %mendhunt_archive_backtrain_weapon_combo_4_STAFFSLING
setvariable mendhunt_weapon_combo_5_STAFFSLING %mendhunt_archive_backtrain_weapon_combo_5_STAFFSLING
setvariable mendhunt_weapon_combo_6_STAFFSLING %mendhunt_archive_backtrain_weapon_combo_6_STAFFSLING
setvariable mendhunt_weapon_combo_7_STAFFSLING %mendhunt_archive_backtrain_weapon_combo_7_STAFFSLING
setvariable mendhunt_weapon_combo_8_STAFFSLING %mendhunt_archive_backtrain_weapon_combo_8_STAFFSLING
setvariable mendhunt_weapon_ammo_STAFFSLING %mendhunt_archive_backtrain_weapon_ammo_STAFFSLING
setvariable mendhunt_weapon_shield_use_STAFFSLING %mendhunt_archive_backtrain_weapon_shield_use_STAFFSLING
setvariable mendhunt_weapon_shield_name_STAFFSLING %mendhunt_archive_backtrain_weapon_shield_name_STAFFSLING
setvariable mendhunt_weapon_stance_focus_STAFFSLING %mendhunt_archive_backtrain_weapon_stance_focus_STAFFSLING

setvariable mendhunt_weapon_name_SB %mendhunt_archive_backtrain_weapon_name_SB
setvariable mendhunt_weapon_class_SB %mendhunt_archive_backtrain_weapon_class_SB
setvariable mendhunt_weapon_type_SB %mendhunt_archive_backtrain_weapon_type_SB
setvariable mendhunt_weapon_combo_SB %mendhunt_archive_backtrain_weapon_combo_SB
setvariable mendhunt_weapon_combo_1_SB %mendhunt_archive_backtrain_weapon_combo_1_SB
setvariable mendhunt_weapon_combo_2_SB %mendhunt_archive_backtrain_weapon_combo_2_SB
setvariable mendhunt_weapon_combo_3_SB %mendhunt_archive_backtrain_weapon_combo_3_SB
setvariable mendhunt_weapon_combo_4_SB %mendhunt_archive_backtrain_weapon_combo_4_SB
setvariable mendhunt_weapon_combo_5_SB %mendhunt_archive_backtrain_weapon_combo_5_SB
setvariable mendhunt_weapon_combo_6_SB %mendhunt_archive_backtrain_weapon_combo_6_SB
setvariable mendhunt_weapon_combo_7_SB %mendhunt_archive_backtrain_weapon_combo_7_SB
setvariable mendhunt_weapon_combo_8_SB %mendhunt_archive_backtrain_weapon_combo_8_SB
setvariable mendhunt_weapon_ammo_SB %mendhunt_archive_backtrain_weapon_ammo_SB
setvariable mendhunt_weapon_shield_use_SB %mendhunt_archive_backtrain_weapon_shield_use_SB
setvariable mendhunt_weapon_shield_name_SB %mendhunt_archive_backtrain_weapon_shield_name_SB
setvariable mendhunt_weapon_stance_focus_SB %mendhunt_archive_backtrain_weapon_stance_focus_SB

echo *** Resetting variables [|||||||||||_________________________]

setvariable mendhunt_weapon_name_LOB %mendhunt_archive_backtrain_weapon_name_LOB
setvariable mendhunt_weapon_class_LOB %mendhunt_archive_backtrain_weapon_class_LOB
setvariable mendhunt_weapon_type_LOB %mendhunt_archive_backtrain_weapon_type_LOB
setvariable mendhunt_weapon_combo_LOB %mendhunt_archive_backtrain_weapon_combo_LOB
setvariable mendhunt_weapon_combo_1_LOB %mendhunt_archive_backtrain_weapon_combo_1_LOB
setvariable mendhunt_weapon_combo_2_LOB %mendhunt_archive_backtrain_weapon_combo_2_LOB
setvariable mendhunt_weapon_combo_3_LOB %mendhunt_archive_backtrain_weapon_combo_3_LOB
setvariable mendhunt_weapon_combo_4_LOB %mendhunt_archive_backtrain_weapon_combo_4_LOB
setvariable mendhunt_weapon_combo_5_LOB %mendhunt_archive_backtrain_weapon_combo_5_LOB
setvariable mendhunt_weapon_combo_6_LOB %mendhunt_archive_backtrain_weapon_combo_6_LOB
setvariable mendhunt_weapon_combo_7_LOB %mendhunt_archive_backtrain_weapon_combo_7_LOB
setvariable mendhunt_weapon_combo_8_LOB %mendhunt_archive_backtrain_weapon_combo_8_LOB
setvariable mendhunt_weapon_ammo_LOB %mendhunt_archive_backtrain_weapon_ammo_LOB
setvariable mendhunt_weapon_shield_use_LOB %mendhunt_archive_backtrain_weapon_shield_use_LOB
setvariable mendhunt_weapon_shield_name_LOB %mendhunt_archive_backtrain_weapon_shield_name_LOB
setvariable mendhunt_weapon_stance_focus_LOB %mendhunt_archive_backtrain_weapon_stance_focus_LOB

setvariable mendhunt_weapon_name_CB %mendhunt_archive_backtrain_weapon_name_CB
setvariable mendhunt_weapon_class_CB %mendhunt_archive_backtrain_weapon_class_CB
setvariable mendhunt_weapon_type_CB %mendhunt_archive_backtrain_weapon_type_CB
setvariable mendhunt_weapon_combo_CB %mendhunt_archive_backtrain_weapon_combo_CB
setvariable mendhunt_weapon_combo_1_CB %mendhunt_archive_backtrain_weapon_combo_1_CB
setvariable mendhunt_weapon_combo_2_CB %mendhunt_archive_backtrain_weapon_combo_2_CB
setvariable mendhunt_weapon_combo_3_CB %mendhunt_archive_backtrain_weapon_combo_3_CB
setvariable mendhunt_weapon_combo_4_CB %mendhunt_archive_backtrain_weapon_combo_4_CB
setvariable mendhunt_weapon_combo_5_CB %mendhunt_archive_backtrain_weapon_combo_5_CB
setvariable mendhunt_weapon_combo_6_CB %mendhunt_archive_backtrain_weapon_combo_6_CB
setvariable mendhunt_weapon_combo_7_CB %mendhunt_archive_backtrain_weapon_combo_7_CB
setvariable mendhunt_weapon_combo_8_CB %mendhunt_archive_backtrain_weapon_combo_8_CB
setvariable mendhunt_weapon_ammo_CB %mendhunt_archive_backtrain_weapon_ammo_CB
setvariable mendhunt_weapon_shield_use_CB %mendhunt_archive_backtrain_weapon_shield_use_CB
setvariable mendhunt_weapon_shield_name_CB %mendhunt_archive_backtrain_weapon_shield_name_CB
setvariable mendhunt_weapon_stance_focus_CB %mendhunt_archive_backtrain_weapon_stance_focus_CB

echo *** Resetting variables [||||||||||||________________________]

setvariable mendhunt_weapon_name_LX %mendhunt_archive_backtrain_weapon_name_LX
setvariable mendhunt_weapon_class_LX %mendhunt_archive_backtrain_weapon_class_LX
setvariable mendhunt_weapon_type_LX %mendhunt_archive_backtrain_weapon_type_LX
setvariable mendhunt_weapon_combo_LX %mendhunt_archive_backtrain_weapon_combo_LX
setvariable mendhunt_weapon_combo_1_LX %mendhunt_archive_backtrain_weapon_combo_1_LX
setvariable mendhunt_weapon_combo_2_LX %mendhunt_archive_backtrain_weapon_combo_2_LX
setvariable mendhunt_weapon_combo_3_LX %mendhunt_archive_backtrain_weapon_combo_3_LX
setvariable mendhunt_weapon_combo_4_LX %mendhunt_archive_backtrain_weapon_combo_4_LX
setvariable mendhunt_weapon_combo_5_LX %mendhunt_archive_backtrain_weapon_combo_5_LX
setvariable mendhunt_weapon_combo_6_LX %mendhunt_archive_backtrain_weapon_combo_6_LX
setvariable mendhunt_weapon_combo_7_LX %mendhunt_archive_backtrain_weapon_combo_7_LX
setvariable mendhunt_weapon_combo_8_LX %mendhunt_archive_backtrain_weapon_combo_8_LX
setvariable mendhunt_weapon_ammo_LX %mendhunt_archive_backtrain_weapon_ammo_LX
setvariable mendhunt_weapon_shield_use_LX %mendhunt_archive_backtrain_weapon_shield_use_LX
setvariable mendhunt_weapon_shield_name_LX %mendhunt_archive_backtrain_weapon_shield_name_LX
setvariable mendhunt_weapon_stance_focus_LX %mendhunt_archive_backtrain_weapon_stance_focus_LX

setvariable mendhunt_weapon_name_HX %mendhunt_archive_backtrain_weapon_name_HX
setvariable mendhunt_weapon_class_HX %mendhunt_archive_backtrain_weapon_class_HX
setvariable mendhunt_weapon_type_HX %mendhunt_archive_backtrain_weapon_type_HX
setvariable mendhunt_weapon_combo_HX %mendhunt_archive_backtrain_weapon_combo_HX
setvariable mendhunt_weapon_combo_1_HX %mendhunt_archive_backtrain_weapon_combo_1_HX
setvariable mendhunt_weapon_combo_2_HX %mendhunt_archive_backtrain_weapon_combo_2_HX
setvariable mendhunt_weapon_combo_3_HX %mendhunt_archive_backtrain_weapon_combo_3_HX
setvariable mendhunt_weapon_combo_4_HX %mendhunt_archive_backtrain_weapon_combo_4_HX
setvariable mendhunt_weapon_combo_5_HX %mendhunt_archive_backtrain_weapon_combo_5_HX
setvariable mendhunt_weapon_combo_6_HX %mendhunt_archive_backtrain_weapon_combo_6_HX
setvariable mendhunt_weapon_combo_7_HX %mendhunt_archive_backtrain_weapon_combo_7_HX
setvariable mendhunt_weapon_combo_8_HX %mendhunt_archive_backtrain_weapon_combo_8_HX
setvariable mendhunt_weapon_ammo_HX %mendhunt_archive_backtrain_weapon_ammo_HX
setvariable mendhunt_weapon_shield_use_HX %mendhunt_archive_backtrain_weapon_shield_use_HX
setvariable mendhunt_weapon_shield_name_HX %mendhunt_archive_backtrain_weapon_shield_name_HX
setvariable mendhunt_weapon_stance_focus_HX %mendhunt_archive_backtrain_weapon_stance_focus_HX

echo *** Resetting variables [|||||||||||||_______________________]

setvariable mendhunt_weapon_name_SS %mendhunt_archive_backtrain_weapon_name_SS
setvariable mendhunt_weapon_class_SS %mendhunt_archive_backtrain_weapon_class_SS
setvariable mendhunt_weapon_type_SS %mendhunt_archive_backtrain_weapon_type_SS
setvariable mendhunt_weapon_combo_SS %mendhunt_archive_backtrain_weapon_combo_SS
setvariable mendhunt_weapon_combo_1_SS %mendhunt_archive_backtrain_weapon_combo_1_SS
setvariable mendhunt_weapon_combo_2_SS %mendhunt_archive_backtrain_weapon_combo_2_SS
setvariable mendhunt_weapon_combo_3_SS %mendhunt_archive_backtrain_weapon_combo_3_SS
setvariable mendhunt_weapon_combo_4_SS %mendhunt_archive_backtrain_weapon_combo_4_SS
setvariable mendhunt_weapon_combo_5_SS %mendhunt_archive_backtrain_weapon_combo_5_SS
setvariable mendhunt_weapon_combo_6_SS %mendhunt_archive_backtrain_weapon_combo_6_SS
setvariable mendhunt_weapon_combo_7_SS %mendhunt_archive_backtrain_weapon_combo_7_SS
setvariable mendhunt_weapon_combo_8_SS %mendhunt_archive_backtrain_weapon_combo_8_SS
setvariable mendhunt_weapon_ammo_SS %mendhunt_archive_backtrain_weapon_ammo_SS
setvariable mendhunt_weapon_shield_use_SS %mendhunt_archive_backtrain_weapon_shield_use_SS
setvariable mendhunt_weapon_shield_name_SS %mendhunt_archive_backtrain_weapon_shield_name_SS
setvariable mendhunt_weapon_stance_focus_SS %mendhunt_archive_backtrain_weapon_stance_focus_SS

setvariable mendhunt_weapon_name_QS %mendhunt_archive_backtrain_weapon_name_QS
setvariable mendhunt_weapon_class_QS %mendhunt_archive_backtrain_weapon_class_QS
setvariable mendhunt_weapon_type_QS %mendhunt_archive_backtrain_weapon_type_QS
setvariable mendhunt_weapon_combo_QS %mendhunt_archive_backtrain_weapon_combo_QS
setvariable mendhunt_weapon_combo_1_QS %mendhunt_archive_backtrain_weapon_combo_1_QS
setvariable mendhunt_weapon_combo_2_QS %mendhunt_archive_backtrain_weapon_combo_2_QS
setvariable mendhunt_weapon_combo_3_QS %mendhunt_archive_backtrain_weapon_combo_3_QS
setvariable mendhunt_weapon_combo_4_QS %mendhunt_archive_backtrain_weapon_combo_4_QS
setvariable mendhunt_weapon_combo_5_QS %mendhunt_archive_backtrain_weapon_combo_5_QS
setvariable mendhunt_weapon_combo_6_QS %mendhunt_archive_backtrain_weapon_combo_6_QS
setvariable mendhunt_weapon_combo_7_QS %mendhunt_archive_backtrain_weapon_combo_7_QS
setvariable mendhunt_weapon_combo_8_QS %mendhunt_archive_backtrain_weapon_combo_8_QS
setvariable mendhunt_weapon_ammo_QS %mendhunt_archive_backtrain_weapon_ammo_QS
setvariable mendhunt_weapon_shield_use_QS %mendhunt_archive_backtrain_weapon_shield_use_QS
setvariable mendhunt_weapon_shield_name_QS %mendhunt_archive_backtrain_weapon_shield_name_QS
setvariable mendhunt_weapon_stance_focus_QS %mendhunt_archive_backtrain_weapon_stance_focus_QS

echo *** Resetting variables [||||||||||||||______________________]

setvariable mendhunt_weapon_name_PI %mendhunt_archive_backtrain_weapon_name_PI
setvariable mendhunt_weapon_class_PI %mendhunt_archive_backtrain_weapon_class_PI
setvariable mendhunt_weapon_type_PI %mendhunt_archive_backtrain_weapon_type_PI
setvariable mendhunt_weapon_combo_PI %mendhunt_archive_backtrain_weapon_combo_PI
setvariable mendhunt_weapon_combo_1_PI %mendhunt_archive_backtrain_weapon_combo_1_PI
setvariable mendhunt_weapon_combo_2_PI %mendhunt_archive_backtrain_weapon_combo_2_PI
setvariable mendhunt_weapon_combo_3_PI %mendhunt_archive_backtrain_weapon_combo_3_PI
setvariable mendhunt_weapon_combo_4_PI %mendhunt_archive_backtrain_weapon_combo_4_PI
setvariable mendhunt_weapon_combo_5_PI %mendhunt_archive_backtrain_weapon_combo_5_PI
setvariable mendhunt_weapon_combo_6_PI %mendhunt_archive_backtrain_weapon_combo_6_PI
setvariable mendhunt_weapon_combo_7_PI %mendhunt_archive_backtrain_weapon_combo_7_PI
setvariable mendhunt_weapon_combo_8_PI %mendhunt_archive_backtrain_weapon_combo_8_PI
setvariable mendhunt_weapon_ammo_PI %mendhunt_archive_backtrain_weapon_ammo_PI
setvariable mendhunt_weapon_shield_use_PI %mendhunt_archive_backtrain_weapon_shield_use_PI
setvariable mendhunt_weapon_shield_name_PI %mendhunt_archive_backtrain_weapon_shield_name_PI
setvariable mendhunt_weapon_stance_focus_PI %mendhunt_archive_backtrain_weapon_stance_focus_PI

setvariable mendhunt_weapon_name_HAL %mendhunt_archive_backtrain_weapon_name_HAL
setvariable mendhunt_weapon_class_HAL %mendhunt_archive_backtrain_weapon_class_HAL
setvariable mendhunt_weapon_type_HAL %mendhunt_archive_backtrain_weapon_type_HAL
setvariable mendhunt_weapon_combo_HAL %mendhunt_archive_backtrain_weapon_combo_HAL
setvariable mendhunt_weapon_combo_1_HAL %mendhunt_archive_backtrain_weapon_combo_1_HAL
setvariable mendhunt_weapon_combo_2_HAL %mendhunt_archive_backtrain_weapon_combo_2_HAL
setvariable mendhunt_weapon_combo_3_HAL %mendhunt_archive_backtrain_weapon_combo_3_HAL
setvariable mendhunt_weapon_combo_4_HAL %mendhunt_archive_backtrain_weapon_combo_4_HAL
setvariable mendhunt_weapon_combo_5_HAL %mendhunt_archive_backtrain_weapon_combo_5_HAL
setvariable mendhunt_weapon_combo_6_HAL %mendhunt_archive_backtrain_weapon_combo_6_HAL
setvariable mendhunt_weapon_combo_7_HAL %mendhunt_archive_backtrain_weapon_combo_7_HAL
setvariable mendhunt_weapon_combo_8_HAL %mendhunt_archive_backtrain_weapon_combo_8_HAL
setvariable mendhunt_weapon_ammo_HAL %mendhunt_archive_backtrain_weapon_ammo_HAL
setvariable mendhunt_weapon_shield_use_HAL %mendhunt_archive_backtrain_weapon_shield_use_HAL
setvariable mendhunt_weapon_shield_name_HAL %mendhunt_archive_backtrain_weapon_shield_name_HAL
setvariable mendhunt_weapon_stance_focus_HAL %mendhunt_archive_backtrain_weapon_stance_focus_HAL

echo *** Resetting variables [|||||||||||||||_____________________]

setvariable mendhunt_weapon_name_LT %mendhunt_archive_backtrain_weapon_name_LT
setvariable mendhunt_weapon_class_LT %mendhunt_archive_backtrain_weapon_class_LT
setvariable mendhunt_weapon_type_LT %mendhunt_archive_backtrain_weapon_type_LT
setvariable mendhunt_weapon_combo_LT %mendhunt_archive_backtrain_weapon_combo_LT
setvariable mendhunt_weapon_combo_1_LT %mendhunt_archive_backtrain_weapon_combo_1_LT
setvariable mendhunt_weapon_combo_2_LT %mendhunt_archive_backtrain_weapon_combo_2_LT
setvariable mendhunt_weapon_combo_3_LT %mendhunt_archive_backtrain_weapon_combo_3_LT
setvariable mendhunt_weapon_combo_4_LT %mendhunt_archive_backtrain_weapon_combo_4_LT
setvariable mendhunt_weapon_combo_5_LT %mendhunt_archive_backtrain_weapon_combo_5_LT
setvariable mendhunt_weapon_combo_6_LT %mendhunt_archive_backtrain_weapon_combo_6_LT
setvariable mendhunt_weapon_combo_7_LT %mendhunt_archive_backtrain_weapon_combo_7_LT
setvariable mendhunt_weapon_combo_8_LT %mendhunt_archive_backtrain_weapon_combo_8_LT
setvariable mendhunt_weapon_ammo_LT %mendhunt_archive_backtrain_weapon_ammo_LT
setvariable mendhunt_weapon_shield_use_LT %mendhunt_archive_backtrain_weapon_shield_use_LT
setvariable mendhunt_weapon_shield_name_LT %mendhunt_archive_backtrain_weapon_shield_name_LT
setvariable mendhunt_weapon_stance_focus_LT %mendhunt_archive_backtrain_weapon_stance_focus_LT

setvariable mendhunt_weapon_name_HT %mendhunt_archive_backtrain_weapon_name_HT
setvariable mendhunt_weapon_class_HT %mendhunt_archive_backtrain_weapon_class_HT
setvariable mendhunt_weapon_type_HT %mendhunt_archive_backtrain_weapon_type_HT
setvariable mendhunt_weapon_combo_HT %mendhunt_archive_backtrain_weapon_combo_HT
setvariable mendhunt_weapon_combo_1_HT %mendhunt_archive_backtrain_weapon_combo_1_HT
setvariable mendhunt_weapon_combo_2_HT %mendhunt_archive_backtrain_weapon_combo_2_HT
setvariable mendhunt_weapon_combo_3_HT %mendhunt_archive_backtrain_weapon_combo_3_HT
setvariable mendhunt_weapon_combo_4_HT %mendhunt_archive_backtrain_weapon_combo_4_HT
setvariable mendhunt_weapon_combo_5_HT %mendhunt_archive_backtrain_weapon_combo_5_HT
setvariable mendhunt_weapon_combo_6_HT %mendhunt_archive_backtrain_weapon_combo_6_HT
setvariable mendhunt_weapon_combo_7_HT %mendhunt_archive_backtrain_weapon_combo_7_HT
setvariable mendhunt_weapon_combo_8_HT %mendhunt_archive_backtrain_weapon_combo_8_HT
setvariable mendhunt_weapon_ammo_HT %mendhunt_archive_backtrain_weapon_ammo_HT
setvariable mendhunt_weapon_shield_use_HT %mendhunt_archive_backtrain_weapon_shield_use_HT
setvariable mendhunt_weapon_shield_name_HT %mendhunt_archive_backtrain_weapon_shield_name_HT
setvariable mendhunt_weapon_stance_focus_HT %mendhunt_archive_backtrain_weapon_stance_focus_HT

setvariable mendhunt_weapon_name_BR %mendhunt_archive_backtrain_weapon_name_BR
setvariable mendhunt_weapon_class_BR %mendhunt_archive_backtrain_weapon_class_BR
setvariable mendhunt_weapon_type_BR %mendhunt_archive_backtrain_weapon_type_BR
setvariable mendhunt_weapon_combo_BR %mendhunt_archive_backtrain_weapon_combo_BR
setvariable mendhunt_weapon_combo_1_BR %mendhunt_archive_backtrain_weapon_combo_1_BR
setvariable mendhunt_weapon_combo_2_BR %mendhunt_archive_backtrain_weapon_combo_2_BR
setvariable mendhunt_weapon_combo_3_BR %mendhunt_archive_backtrain_weapon_combo_3_BR
setvariable mendhunt_weapon_combo_4_BR %mendhunt_archive_backtrain_weapon_combo_4_BR
setvariable mendhunt_weapon_combo_5_BR %mendhunt_archive_backtrain_weapon_combo_5_BR
setvariable mendhunt_weapon_combo_6_BR %mendhunt_archive_backtrain_weapon_combo_6_BR
setvariable mendhunt_weapon_combo_7_BR %mendhunt_archive_backtrain_weapon_combo_7_BR
setvariable mendhunt_weapon_combo_8_BR %mendhunt_archive_backtrain_weapon_combo_8_BR
setvariable mendhunt_weapon_ammo_BR %mendhunt_archive_backtrain_weapon_ammo_BR
setvariable mendhunt_weapon_shield_use_BR %mendhunt_archive_backtrain_weapon_shield_use_BR
setvariable mendhunt_weapon_shield_name_BR %mendhunt_archive_backtrain_weapon_shield_name_BR
setvariable mendhunt_weapon_stance_focus_BR %mendhunt_archive_backtrain_weapon_stance_focus_BR

setvariable mendhunt_weapon_name_OW %mendhunt_archive_backtrain_weapon_name_OW
setvariable mendhunt_weapon_name_right_OW %mendhunt_archive_backtrain_weapon_name_right_OW
setvariable mendhunt_weapon_name_left_OW %mendhunt_archive_backtrain_weapon_name_left_OW
setvariable mendhunt_weapon_class_OW %mendhunt_archive_backtrain_weapon_class_OW
setvariable mendhunt_weapon_class_right_OW %mendhunt_archive_backtrain_weapon_class_right_OW
setvariable mendhunt_weapon_class_left_OW %mendhunt_archive_backtrain_weapon_class_left_OW
setvariable mendhunt_weapon_type_OW %mendhunt_archive_backtrain_weapon_type_OW
setvariable mendhunt_weapon_type_right_OW %mendhunt_archive_backtrain_weapon_type_right_OW
setvariable mendhunt_weapon_type_left_OW %mendhunt_archive_backtrain_weapon_type_left_OW
setvariable mendhunt_weapon_combo_OW %mendhunt_archive_backtrain_weapon_combo_OW
setvariable mendhunt_weapon_combo_1_OW %mendhunt_archive_backtrain_weapon_combo_1_OW
setvariable mendhunt_weapon_combo_2_OW %mendhunt_archive_backtrain_weapon_combo_2_OW
setvariable mendhunt_weapon_combo_3_OW %mendhunt_archive_backtrain_weapon_combo_3_OW
setvariable mendhunt_weapon_combo_4_OW %mendhunt_archive_backtrain_weapon_combo_4_OW
setvariable mendhunt_weapon_combo_5_OW %mendhunt_archive_backtrain_weapon_combo_5_OW
setvariable mendhunt_weapon_combo_6_OW %mendhunt_archive_backtrain_weapon_combo_6_OW
setvariable mendhunt_weapon_combo_7_OW %mendhunt_archive_backtrain_weapon_combo_7_OW
setvariable mendhunt_weapon_combo_8_OW %mendhunt_archive_backtrain_weapon_combo_8_OW
setvariable mendhunt_weapon_ammo_OW %mendhunt_archive_backtrain_weapon_ammo_OW
setvariable mendhunt_weapon_shield_use_OW %mendhunt_archive_backtrain_weapon_shield_use_OW
setvariable mendhunt_weapon_shield_name_OW %mendhunt_archive_backtrain_weapon_shield_name_OW
setvariable mendhunt_weapon_stance_focus_OW %mendhunt_archive_backtrain_weapon_stance_focus_OW

setvariable mendhunt_weapon_name_noweap %mendhunt_archive_backtrain_weapon_name_noweap
setvariable mendhunt_weapon_class_noweap %mendhunt_archive_backtrain_weapon_class_noweap
setvariable mendhunt_weapon_type_noweap %mendhunt_archive_backtrain_weapon_type_noweap
setvariable mendhunt_weapon_combo_noweap %mendhunt_archive_backtrain_weapon_combo_noweap
setvariable mendhunt_weapon_combo_1_noweap %mendhunt_archive_backtrain_weapon_combo_1_noweap
setvariable mendhunt_weapon_combo_2_noweap %mendhunt_archive_backtrain_weapon_combo_2_noweap
setvariable mendhunt_weapon_combo_3_noweap %mendhunt_archive_backtrain_weapon_combo_3_noweap
setvariable mendhunt_weapon_combo_4_noweap %mendhunt_archive_backtrain_weapon_combo_4_noweap
setvariable mendhunt_weapon_combo_5_noweap %mendhunt_archive_backtrain_weapon_combo_5_noweap
setvariable mendhunt_weapon_combo_6_noweap %mendhunt_archive_backtrain_weapon_combo_6_noweap
setvariable mendhunt_weapon_combo_7_noweap %mendhunt_archive_backtrain_weapon_combo_7_noweap
setvariable mendhunt_weapon_combo_8_noweap %mendhunt_archive_backtrain_weapon_combo_8_noweap
setvariable mendhunt_weapon_ammo_noweap %mendhunt_archive_backtrain_weapon_ammo_noweap
setvariable mendhunt_weapon_shield_use_noweap %mendhunt_archive_backtrain_weapon_shield_use_noweap
setvariable mendhunt_weapon_shield_name_noweap %mendhunt_archive_backtrain_weapon_shield_name_noweap
setvariable mendhunt_weapon_stance_focus_noweap %mendhunt_archive_backtrain_weapon_stance_focus_noweap

echo *** Resetting variables [||||||||||||||||____________________]

setvariable mendhunt_shield_name_armworn %mendhunt_archive_backtrain_shield_name_armworn
setvariable mendhunt_shield_name_handheld %mendhunt_archive_backtrain_shield_name_handheld

setvariable mendhunt_armor_name_main %mendhunt_archive_backtrain_armor_name_main
setvariable mendhunt_armor_class_main %mendhunt_archive_backtrain_armor_class_main
setvariable mendhunt_armor_name_second %mendhunt_archive_backtrain_armor_name_second
setvariable mendhunt_armor_class_second %mendhunt_archive_backtrain_armor_class_second
setvariable mendhunt_armor_name_1 %mendhunt_archive_backtrain_armor_name_1
setvariable mendhunt_armor_class_1 %mendhunt_archive_backtrain_armor_class_1
setvariable mendhunt_armor_name_2 %mendhunt_archive_backtrain_armor_name_2
setvariable mendhunt_armor_class_2 %mendhunt_archive_backtrain_armor_class_2
setvariable mendhunt_armor_name_3 %mendhunt_archive_backtrain_armor_name_3
setvariable mendhunt_armor_class_3 %mendhunt_archive_backtrain_armor_class_3
setvariable mendhunt_armor_name_4 %mendhunt_archive_backtrain_armor_name_4
setvariable mendhunt_armor_class_4 %mendhunt_archive_backtrain_armor_class_4
setvariable mendhunt_armor_name_5 %mendhunt_archive_backtrain_armor_name_5
setvariable mendhunt_armor_class_5 %mendhunt_archive_backtrain_armor_class_5
setvariable mendhunt_armor_name_6 %mendhunt_archive_backtrain_armor_name_6
setvariable mendhunt_armor_class_6 %mendhunt_archive_backtrain_armor_class_6

echo *** Resetting variables [|||||||||||||||||___________________]

setvariable mendhunt_LEslice1 %mendhunt_archive_backtrain_LEslice1
setvariable mendhunt_LEslice2 %mendhunt_archive_backtrain_LEslice2
setvariable mendhunt_LEslice3 %mendhunt_archive_backtrain_LEslice3
setvariable mendhunt_LEslice4 %mendhunt_archive_backtrain_LEslice4
setvariable mendhunt_LEslice5 %mendhunt_archive_backtrain_LEslice5
setvariable mendhunt_LEslice6 %mendhunt_archive_backtrain_LEslice6
setvariable mendhunt_LEslice7 %mendhunt_archive_backtrain_LEslice7
setvariable mendhunt_LEslice8 %mendhunt_archive_backtrain_LEslice8

setvariable mendhunt_LEthrust1 %mendhunt_archive_backtrain_LEthrust1
setvariable mendhunt_LEthrust2 %mendhunt_archive_backtrain_LEthrust2
setvariable mendhunt_LEthrust3 %mendhunt_archive_backtrain_LEthrust3
setvariable mendhunt_LEthrust4 %mendhunt_archive_backtrain_LEthrust4
setvariable mendhunt_LEthrust5 %mendhunt_archive_backtrain_LEthrust5
setvariable mendhunt_LEthrust6 %mendhunt_archive_backtrain_LEthrust6
setvariable mendhunt_LEthrust7 %mendhunt_archive_backtrain_LEthrust7
setvariable mendhunt_LEthrust8 %mendhunt_archive_backtrain_LEthrust8

setvariable mendhunt_MEslice1 %mendhunt_archive_backtrain_MEslice1
setvariable mendhunt_MEslice2 %mendhunt_archive_backtrain_MEslice2
setvariable mendhunt_MEslice3 %mendhunt_archive_backtrain_MEslice3
setvariable mendhunt_MEslice4 %mendhunt_archive_backtrain_MEslice4
setvariable mendhunt_MEslice5 %mendhunt_archive_backtrain_MEslice5
setvariable mendhunt_MEslice6 %mendhunt_archive_backtrain_MEslice6
setvariable mendhunt_MEslice7 %mendhunt_archive_backtrain_MEslice7
setvariable mendhunt_MEslice8 %mendhunt_archive_backtrain_MEslice8

echo *** Resetting variables [||||||||||||||||||__________________]

setvariable mendhunt_MEthrust1 %mendhunt_archive_backtrain_MEthrust1
setvariable mendhunt_MEthrust2 %mendhunt_archive_backtrain_MEthrust2
setvariable mendhunt_MEthrust3 %mendhunt_archive_backtrain_MEthrust3
setvariable mendhunt_MEthrust4 %mendhunt_archive_backtrain_MEthrust4
setvariable mendhunt_MEthrust5 %mendhunt_archive_backtrain_MEthrust5
setvariable mendhunt_MEthrust6 %mendhunt_archive_backtrain_MEthrust6
setvariable mendhunt_MEthrust7 %mendhunt_archive_backtrain_MEthrust7
setvariable mendhunt_MEthrust8 %mendhunt_archive_backtrain_MEthrust8

setvariable mendhunt_HEslice1 %mendhunt_archive_backtrain_HEslice1
setvariable mendhunt_HEslice2 %mendhunt_archive_backtrain_HEslice2
setvariable mendhunt_HEslice3 %mendhunt_archive_backtrain_HEslice3
setvariable mendhunt_HEslice4 %mendhunt_archive_backtrain_HEslice4
setvariable mendhunt_HEslice5 %mendhunt_archive_backtrain_HEslice5
setvariable mendhunt_HEslice6 %mendhunt_archive_backtrain_HEslice6
setvariable mendhunt_HEslice7 %mendhunt_archive_backtrain_HEslice7
setvariable mendhunt_HEslice8 %mendhunt_archive_backtrain_HEslice8

echo *** Resetting variables [|||||||||||||||||||_________________]

setvariable mendhunt_HEthrust1 %mendhunt_archive_backtrain_HEthrust1
setvariable mendhunt_HEthrust2 %mendhunt_archive_backtrain_HEthrust2
setvariable mendhunt_HEthrust3 %mendhunt_archive_backtrain_HEthrust3
setvariable mendhunt_HEthrust4 %mendhunt_archive_backtrain_HEthrust4
setvariable mendhunt_HEthrust5 %mendhunt_archive_backtrain_HEthrust5
setvariable mendhunt_HEthrust6 %mendhunt_archive_backtrain_HEthrust6
setvariable mendhunt_HEthrust7 %mendhunt_archive_backtrain_HEthrust7
setvariable mendhunt_HEthrust8 %mendhunt_archive_backtrain_HEthrust8

setvariable mendhunt_2HE1 %mendhunt_archive_backtrain_2HE1
setvariable mendhunt_2HE2 %mendhunt_archive_backtrain_2HE2
setvariable mendhunt_2HE3 %mendhunt_archive_backtrain_2HE3
setvariable mendhunt_2HE4 %mendhunt_archive_backtrain_2HE4
setvariable mendhunt_2HE5 %mendhunt_archive_backtrain_2HE5
setvariable mendhunt_2HE6 %mendhunt_archive_backtrain_2HE6
setvariable mendhunt_2HE7 %mendhunt_archive_backtrain_2HE7
setvariable mendhunt_2HE8 %mendhunt_archive_backtrain_2HE8

setvariable mendhunt_LB1 %mendhunt_archive_backtrain_LB1
setvariable mendhunt_LB2 %mendhunt_archive_backtrain_LB2
setvariable mendhunt_LB3 %mendhunt_archive_backtrain_LB3
setvariable mendhunt_LB4 %mendhunt_archive_backtrain_LB4
setvariable mendhunt_LB5 %mendhunt_archive_backtrain_LB5
setvariable mendhunt_LB6 %mendhunt_archive_backtrain_LB6
setvariable mendhunt_LB7 %mendhunt_archive_backtrain_LB7
setvariable mendhunt_LB8 %mendhunt_archive_backtrain_LB8

echo *** Resetting variables [||||||||||||||||||||________________]

setvariable mendhunt_MB1 %mendhunt_archive_backtrain_MB1
setvariable mendhunt_MB2 %mendhunt_archive_backtrain_MB2
setvariable mendhunt_MB3 %mendhunt_archive_backtrain_MB3
setvariable mendhunt_MB4 %mendhunt_archive_backtrain_MB4
setvariable mendhunt_MB5 %mendhunt_archive_backtrain_MB5
setvariable mendhunt_MB6 %mendhunt_archive_backtrain_MB6
setvariable mendhunt_MB7 %mendhunt_archive_backtrain_MB7
setvariable mendhunt_MB8 %mendhunt_archive_backtrain_MB8

setvariable mendhunt_HB1 %mendhunt_archive_backtrain_HB1
setvariable mendhunt_HB2 %mendhunt_archive_backtrain_HB2
setvariable mendhunt_HB3 %mendhunt_archive_backtrain_HB3
setvariable mendhunt_HB4 %mendhunt_archive_backtrain_HB4
setvariable mendhunt_HB5 %mendhunt_archive_backtrain_HB5
setvariable mendhunt_HB6 %mendhunt_archive_backtrain_HB6
setvariable mendhunt_HB7 %mendhunt_archive_backtrain_HB7
setvariable mendhunt_HB8 %mendhunt_archive_backtrain_HB8

setvariable mendhunt_2HB1 %mendhunt_archive_backtrain_2HB1
setvariable mendhunt_2HB2 %mendhunt_archive_backtrain_2HB2
setvariable mendhunt_2HB3 %mendhunt_archive_backtrain_2HB3
setvariable mendhunt_2HB4 %mendhunt_archive_backtrain_2HB4
setvariable mendhunt_2HB5 %mendhunt_archive_backtrain_2HB5
setvariable mendhunt_2HB6 %mendhunt_archive_backtrain_2HB6
setvariable mendhunt_2HB7 %mendhunt_archive_backtrain_2HB7
setvariable mendhunt_2HB8 %mendhunt_archive_backtrain_2HB8

echo *** Resetting variables [|||||||||||||||||||||_______________]

setvariable mendhunt_SS1 %mendhunt_archive_backtrain_SS1
setvariable mendhunt_SS2 %mendhunt_archive_backtrain_SS2
setvariable mendhunt_SS3 %mendhunt_archive_backtrain_SS3
setvariable mendhunt_SS4 %mendhunt_archive_backtrain_SS4
setvariable mendhunt_SS5 %mendhunt_archive_backtrain_SS5
setvariable mendhunt_SS6 %mendhunt_archive_backtrain_SS6
setvariable mendhunt_SS7 %mendhunt_archive_backtrain_SS7
setvariable mendhunt_SS8 %mendhunt_archive_backtrain_SS8

setvariable mendhunt_QS1 %mendhunt_archive_backtrain_QS1
setvariable mendhunt_QS2 %mendhunt_archive_backtrain_QS2
setvariable mendhunt_QS3 %mendhunt_archive_backtrain_QS3
setvariable mendhunt_QS4 %mendhunt_archive_backtrain_QS4
setvariable mendhunt_QS5 %mendhunt_archive_backtrain_QS5
setvariable mendhunt_QS6 %mendhunt_archive_backtrain_QS6
setvariable mendhunt_QS7 %mendhunt_archive_backtrain_QS7
setvariable mendhunt_QS8 %mendhunt_archive_backtrain_QS8

setvariable mendhunt_PI1 %mendhunt_archive_backtrain_PI1
setvariable mendhunt_PI2 %mendhunt_archive_backtrain_PI2
setvariable mendhunt_PI3 %mendhunt_archive_backtrain_PI3
setvariable mendhunt_PI4 %mendhunt_archive_backtrain_PI4
setvariable mendhunt_PI5 %mendhunt_archive_backtrain_PI5
setvariable mendhunt_PI6 %mendhunt_archive_backtrain_PI6
setvariable mendhunt_PI7 %mendhunt_archive_backtrain_PI7
setvariable mendhunt_PI8 %mendhunt_archive_backtrain_PI8

echo *** Resetting variables [||||||||||||||||||||||______________]

setvariable mendhunt_HAL1 %mendhunt_archive_backtrain_HAL1
setvariable mendhunt_HAL2 %mendhunt_archive_backtrain_HAL2
setvariable mendhunt_HAL3 %mendhunt_archive_backtrain_HAL3
setvariable mendhunt_HAL4 %mendhunt_archive_backtrain_HAL4
setvariable mendhunt_HAL5 %mendhunt_archive_backtrain_HAL5
setvariable mendhunt_HAL6 %mendhunt_archive_backtrain_HAL6
setvariable mendhunt_HAL7 %mendhunt_archive_backtrain_HAL7
setvariable mendhunt_HAL8 %mendhunt_archive_backtrain_HAL8

setvariable mendhunt_my11 %mendhunt_archive_backtrain_my11
setvariable mendhunt_my12 %mendhunt_archive_backtrain_my12
setvariable mendhunt_my13 %mendhunt_archive_backtrain_my13
setvariable mendhunt_my14 %mendhunt_archive_backtrain_my14
setvariable mendhunt_my15 %mendhunt_archive_backtrain_my15
setvariable mendhunt_my16 %mendhunt_archive_backtrain_my16
setvariable mendhunt_my17 %mendhunt_archive_backtrain_my17
setvariable mendhunt_my18 %mendhunt_archive_backtrain_my18

setvariable mendhunt_my21 %mendhunt_archive_backtrain_my21
setvariable mendhunt_my22 %mendhunt_archive_backtrain_my22
setvariable mendhunt_my23 %mendhunt_archive_backtrain_my23
setvariable mendhunt_my24 %mendhunt_archive_backtrain_my24
setvariable mendhunt_my25 %mendhunt_archive_backtrain_my25
setvariable mendhunt_my26 %mendhunt_archive_backtrain_my26
setvariable mendhunt_my27 %mendhunt_archive_backtrain_my27
setvariable mendhunt_my28 %mendhunt_archive_backtrain_my28

echo *** Resetting variables [|||||||||||||||||||||||_____________]

setvariable mendhunt_magic_master_test %mendhunt_archive_backtrain_magic_master_test
setvariable mendhunt_target_master_test %mendhunt_archive_backtrain_target_master_test
setvariable mendhunt_buff_master_test %mendhunt_archive_backtrain_buff_master_test
setvariable mendhunt_debuff_master_test %mendhunt_archive_backtrain_debuff_master_test
setvariable mendhunt_cam_name %mendhunt_archive_backtrain_cam_name
setvariable mendhunt_pathway_target_name %mendhunt_archive_backtrain_pathway_target_name
setvariable mendhunt_pathway_frenzy_name %mendhunt_archive_backtrain_pathway_frenzy_name
setvariable mendhunt_pathway_frenzy_test %mendhunt_archive_backtrain_pathway_frenzy_test
setvariable mendhunt_pathway_target_test %mendhunt_archive_backtrain_pathway_target_test
setvariable mendhunt_buff_retreat_test %mendhunt_archive_backtrain_buff_retreat_test

echo *** Resetting variables [||||||||||||||||||||||||____________]

setvariable mendhunt_target_test_1 %mendhunt_archive_backtrain_target_test_1
setvariable mendhunt_target_name_1 %mendhunt_archive_backtrain_target_name_1
setvariable mendhunt_target_prep_power_1 %mendhunt_archive_backtrain_target_prep_power_1
setvariable mendhunt_target_harn_test_1 %mendhunt_archive_backtrain_target_harn_test_1
setvariable mendhunt_target_harn_power_1 %mendhunt_archive_backtrain_target_harn_power_1
setvariable mendhunt_target_harn_loop_1 %mendhunt_archive_backtrain_target_harn_loop_1
setvariable mendhunt_target_cam_test_1 %mendhunt_archive_backtrain_target_cam_test_1
setvariable mendhunt_target_cam_power_1 %mendhunt_archive_backtrain_target_cam_power_1
setvariable mendhunt_target_cam_loop_1 %mendhunt_archive_backtrain_target_cam_loop_1
setvariable mendhunt_target_cast_pause_1 %mendhunt_archive_backtrain_target_cast_pause_1

setvariable mendhunt_target_test_2 %mendhunt_archive_backtrain_target_test_2
setvariable mendhunt_target_name_2 %mendhunt_archive_backtrain_target_name_2
setvariable mendhunt_target_prep_power_2 %mendhunt_archive_backtrain_target_prep_power_2
setvariable mendhunt_target_harn_test_2 %mendhunt_archive_backtrain_target_harn_test_2
setvariable mendhunt_target_harn_power_2 %mendhunt_archive_backtrain_target_harn_power_2
setvariable mendhunt_target_harn_loop_2 %mendhunt_archive_backtrain_target_harn_loop_2
setvariable mendhunt_target_cam_test_2 %mendhunt_archive_backtrain_target_cam_test_2
setvariable mendhunt_target_cam_power_2 %mendhunt_archive_backtrain_target_cam_power_2
setvariable mendhunt_target_cam_loop_2 %mendhunt_archive_backtrain_target_cam_loop_2
setvariable mendhunt_target_cast_pause_2 %mendhunt_archive_backtrain_target_cast_pause_2

setvariable mendhunt_target_test_3 %mendhunt_archive_backtrain_target_test_3
setvariable mendhunt_target_name_3 %mendhunt_archive_backtrain_target_name_3
setvariable mendhunt_target_prep_power_3 %mendhunt_archive_backtrain_target_prep_power_3
setvariable mendhunt_target_harn_test_3 %mendhunt_archive_backtrain_target_harn_test_3
setvariable mendhunt_target_harn_power_3 %mendhunt_archive_backtrain_target_harn_power_3
setvariable mendhunt_target_harn_loop_3 %mendhunt_archive_backtrain_target_harn_loop_3
setvariable mendhunt_target_cam_test_3 %mendhunt_archive_backtrain_target_cam_test_3
setvariable mendhunt_target_cam_power_3 %mendhunt_archive_backtrain_target_cam_power_3
setvariable mendhunt_target_cam_loop_3 %mendhunt_archive_backtrain_target_cam_loop_3
setvariable mendhunt_target_cast_pause_3 %mendhunt_archive_backtrain_target_cast_pause_3

echo *** Resetting variables [|||||||||||||||||||||||||___________]

setvariable mendhunt_target_test_4 %mendhunt_archive_backtrain_target_test_4
setvariable mendhunt_target_name_4 %mendhunt_archive_backtrain_target_name_4
setvariable mendhunt_target_prep_power_4 %mendhunt_archive_backtrain_target_prep_power_4
setvariable mendhunt_target_harn_test_4 %mendhunt_archive_backtrain_target_harn_test_4
setvariable mendhunt_target_harn_power_4 %mendhunt_archive_backtrain_target_harn_power_4
setvariable mendhunt_target_harn_loop_4 %mendhunt_archive_backtrain_target_harn_loop_4
setvariable mendhunt_target_cam_test_4 %mendhunt_archive_backtrain_target_cam_test_4
setvariable mendhunt_target_cam_power_4 %mendhunt_archive_backtrain_target_cam_power_4
setvariable mendhunt_target_cam_loop_4 %mendhunt_archive_backtrain_target_cam_loop_4
setvariable mendhunt_target_cast_pause_4 %mendhunt_archive_backtrain_target_cast_pause_4

setvariable mendhunt_target_test_5 %mendhunt_archive_backtrain_target_test_5
setvariable mendhunt_target_name_5 %mendhunt_archive_backtrain_target_name_5
setvariable mendhunt_target_prep_power_5 %mendhunt_archive_backtrain_target_prep_power_5
setvariable mendhunt_target_harn_test_5 %mendhunt_archive_backtrain_target_harn_test_5
setvariable mendhunt_target_harn_power_5 %mendhunt_archive_backtrain_target_harn_power_5
setvariable mendhunt_target_harn_loop_5 %mendhunt_archive_backtrain_target_harn_loop_5
setvariable mendhunt_target_cam_test_5 %mendhunt_archive_backtrain_target_cam_test_5
setvariable mendhunt_target_cam_power_5 %mendhunt_archive_backtrain_target_cam_power_5
setvariable mendhunt_target_cam_loop_5 %mendhunt_archive_backtrain_target_cam_loop_5
setvariable mendhunt_target_cast_pause_5 %mendhunt_archive_backtrain_target_cast_pause_5

setvariable mendhunt_target_test_6 %mendhunt_archive_backtrain_target_test_6
setvariable mendhunt_target_name_6 %mendhunt_archive_backtrain_target_name_6
setvariable mendhunt_target_prep_power_6 %mendhunt_archive_backtrain_target_prep_power_6
setvariable mendhunt_target_harn_test_6 %mendhunt_archive_backtrain_target_harn_test_6
setvariable mendhunt_target_harn_power_6 %mendhunt_archive_backtrain_target_harn_power_6
setvariable mendhunt_target_harn_loop_6 %mendhunt_archive_backtrain_target_harn_loop_6
setvariable mendhunt_target_cam_test_6 %mendhunt_archive_backtrain_target_cam_test_6
setvariable mendhunt_target_cam_power_6 %mendhunt_archive_backtrain_target_cam_power_6
setvariable mendhunt_target_cam_loop_6 %mendhunt_archive_backtrain_target_cam_loop_6
setvariable mendhunt_target_cast_pause_6 %mendhunt_archive_backtrain_target_cast_pause_6

echo *** Resetting variables [||||||||||||||||||||||||||__________]

setvariable mendhunt_buff_test_1 %mendhunt_archive_backtrain_buff_test_1
setvariable mendhunt_buff_name_1 %mendhunt_archive_backtrain_buff_name_1
setvariable mendhunt_buff_prep_power_1 %mendhunt_archive_backtrain_buff_prep_power_1
setvariable mendhunt_buff_harn_test_1 %mendhunt_archive_backtrain_buff_harn_test_1
setvariable mendhunt_buff_harn_power_1 %mendhunt_archive_backtrain_buff_harn_power_1
setvariable mendhunt_buff_harn_loop_1 %mendhunt_archive_backtrain_buff_harn_loop_1
setvariable mendhunt_buff_cam_test_1 %mendhunt_archive_backtrain_buff_cam_test_1
setvariable mendhunt_buff_cam_power_1 %mendhunt_archive_backtrain_buff_cam_power_1
setvariable mendhunt_buff_cam_loop_1 %mendhunt_archive_backtrain_buff_cam_loop_1
setvariable mendhunt_buff_cast_pause_1 %mendhunt_archive_backtrain_buff_cast_pause_1

setvariable mendhunt_buff_test_2 %mendhunt_archive_backtrain_buff_test_2
setvariable mendhunt_buff_name_2 %mendhunt_archive_backtrain_buff_name_2
setvariable mendhunt_buff_prep_power_2 %mendhunt_archive_backtrain_buff_prep_power_2
setvariable mendhunt_buff_harn_test_2 %mendhunt_archive_backtrain_buff_harn_test_2
setvariable mendhunt_buff_harn_power_2 %mendhunt_archive_backtrain_buff_harn_power_2
setvariable mendhunt_buff_harn_loop_2 %mendhunt_archive_backtrain_buff_harn_loop_2
setvariable mendhunt_buff_cam_test_2 %mendhunt_archive_backtrain_buff_cam_test_2
setvariable mendhunt_buff_cam_power_2 %mendhunt_archive_backtrain_buff_cam_power_2
setvariable mendhunt_buff_cam_loop_2 %mendhunt_archive_backtrain_buff_cam_loop_2
setvariable mendhunt_buff_cast_pause_2 %mendhunt_archive_backtrain_buff_cast_pause_2

setvariable mendhunt_buff_test_3 %mendhunt_archive_backtrain_buff_test_3
setvariable mendhunt_buff_name_3 %mendhunt_archive_backtrain_buff_name_3
setvariable mendhunt_buff_prep_power_3 %mendhunt_archive_backtrain_buff_prep_power_3
setvariable mendhunt_buff_harn_test_3 %mendhunt_archive_backtrain_buff_harn_test_3
setvariable mendhunt_buff_harn_power_3 %mendhunt_archive_backtrain_buff_harn_power_3
setvariable mendhunt_buff_harn_loop_3 %mendhunt_archive_backtrain_buff_harn_loop_3
setvariable mendhunt_buff_cam_test_3 %mendhunt_archive_backtrain_buff_cam_test_3
setvariable mendhunt_buff_cam_power_3 %mendhunt_archive_backtrain_buff_cam_power_3
setvariable mendhunt_buff_cam_loop_3 %mendhunt_archive_backtrain_buff_cam_loop_3
setvariable mendhunt_buff_cast_pause_3 %mendhunt_archive_backtrain_buff_cast_pause_3

echo *** Resetting variables [|||||||||||||||||||||||||||_________]

setvariable mendhunt_buff_test_4 %mendhunt_archive_backtrain_buff_test_4
setvariable mendhunt_buff_name_4 %mendhunt_archive_backtrain_buff_name_4
setvariable mendhunt_buff_prep_power_4 %mendhunt_archive_backtrain_buff_prep_power_4
setvariable mendhunt_buff_harn_test_4 %mendhunt_archive_backtrain_buff_harn_test_4
setvariable mendhunt_buff_harn_power_4 %mendhunt_archive_backtrain_buff_harn_power_4
setvariable mendhunt_buff_harn_loop_4 %mendhunt_archive_backtrain_buff_harn_loop_4
setvariable mendhunt_buff_cam_test_4 %mendhunt_archive_backtrain_buff_cam_test_4
setvariable mendhunt_buff_cam_power_4 %mendhunt_archive_backtrain_buff_cam_power_4
setvariable mendhunt_buff_cam_loop_4 %mendhunt_archive_backtrain_buff_cam_loop_4
setvariable mendhunt_buff_cast_pause_4 %mendhunt_archive_backtrain_buff_cast_pause_4

setvariable mendhunt_buff_test_5 %mendhunt_archive_backtrain_buff_test_5
setvariable mendhunt_buff_name_5 %mendhunt_archive_backtrain_buff_name_5
setvariable mendhunt_buff_prep_power_5 %mendhunt_archive_backtrain_buff_prep_power_5
setvariable mendhunt_buff_harn_test_5 %mendhunt_archive_backtrain_buff_harn_test_5
setvariable mendhunt_buff_harn_power_5 %mendhunt_archive_backtrain_buff_harn_power_5
setvariable mendhunt_buff_harn_loop_5 %mendhunt_archive_backtrain_buff_harn_loop_5
setvariable mendhunt_buff_cam_test_5 %mendhunt_archive_backtrain_buff_cam_test_5
setvariable mendhunt_buff_cam_power_5 %mendhunt_archive_backtrain_buff_cam_power_5
setvariable mendhunt_buff_cam_loop_5 %mendhunt_archive_backtrain_buff_cam_loop_5
setvariable mendhunt_buff_cast_pause_5 %mendhunt_archive_backtrain_buff_cast_pause_5

setvariable mendhunt_buff_test_6 %mendhunt_archive_backtrain_buff_test_6
setvariable mendhunt_buff_name_6 %mendhunt_archive_backtrain_buff_name_6
setvariable mendhunt_buff_prep_power_6 %mendhunt_archive_backtrain_buff_prep_power_6
setvariable mendhunt_buff_harn_test_6 %mendhunt_archive_backtrain_buff_harn_test_6
setvariable mendhunt_buff_harn_power_6 %mendhunt_archive_backtrain_buff_harn_power_6
setvariable mendhunt_buff_harn_loop_6 %mendhunt_archive_backtrain_buff_harn_loop_6
setvariable mendhunt_buff_cam_test_6 %mendhunt_archive_backtrain_buff_cam_test_6
setvariable mendhunt_buff_cam_power_6 %mendhunt_archive_backtrain_buff_cam_power_6
setvariable mendhunt_buff_cam_loop_6 %mendhunt_archive_backtrain_buff_cam_loop_6
setvariable mendhunt_buff_cast_pause_6 %mendhunt_archive_backtrain_buff_cast_pause_6

echo *** Resetting variables [||||||||||||||||||||||||||||________]

setvariable mendhunt_debuff_test_1 %mendhunt_archive_backtrain_debuff_test_1
setvariable mendhunt_debuff_name_1 %mendhunt_archive_backtrain_debuff_name_1
setvariable mendhunt_debuff_prep_power_1 %mendhunt_archive_backtrain_debuff_prep_power_1
setvariable mendhunt_debuff_harn_test_1 %mendhunt_archive_backtrain_debuff_harn_test_1
setvariable mendhunt_debuff_harn_power_1 %mendhunt_archive_backtrain_debuff_harn_power_1
setvariable mendhunt_debuff_harn_loop_1 %mendhunt_archive_backtrain_debuff_harn_loop_1
setvariable mendhunt_debuff_cam_test_1 %mendhunt_archive_backtrain_debuff_cam_test_1
setvariable mendhunt_debuff_cam_power_1 %mendhunt_archive_backtrain_debuff_cam_power_1
setvariable mendhunt_debuff_cam_loop_1 %mendhunt_archive_backtrain_debuff_cam_loop_1
setvariable mendhunt_debuff_cast_pause_1 %mendhunt_archive_backtrain_debuff_cast_pause_1
setvariable mendhunt_debuff_once_test_1 %mendhunt_archive_backtrain_debuff_once_test_1

setvariable mendhunt_debuff_test_2 %mendhunt_archive_backtrain_debuff_test_2
setvariable mendhunt_debuff_name_2 %mendhunt_archive_backtrain_debuff_name_2
setvariable mendhunt_debuff_prep_power_2 %mendhunt_archive_backtrain_debuff_prep_power_2
setvariable mendhunt_debuff_harn_test_2 %mendhunt_archive_backtrain_debuff_harn_test_2
setvariable mendhunt_debuff_harn_power_2 %mendhunt_archive_backtrain_debuff_harn_power_2
setvariable mendhunt_debuff_harn_loop_2 %mendhunt_archive_backtrain_debuff_harn_loop_2
setvariable mendhunt_debuff_cam_test_2 %mendhunt_archive_backtrain_debuff_cam_test_2
setvariable mendhunt_debuff_cam_power_2 %mendhunt_archive_backtrain_debuff_cam_power_2
setvariable mendhunt_debuff_cam_loop_2 %mendhunt_archive_backtrain_debuff_cam_loop_2
setvariable mendhunt_debuff_cast_pause_2 %mendhunt_archive_backtrain_debuff_cast_pause_2
setvariable mendhunt_debuff_once_test_2 %mendhunt_archive_backtrain_debuff_once_test_2

setvariable mendhunt_debuff_test_3 %mendhunt_archive_backtrain_debuff_test_3
setvariable mendhunt_debuff_name_3 %mendhunt_archive_backtrain_debuff_name_3
setvariable mendhunt_debuff_prep_power_3 %mendhunt_archive_backtrain_debuff_prep_power_3
setvariable mendhunt_debuff_harn_test_3 %mendhunt_archive_backtrain_debuff_harn_test_3
setvariable mendhunt_debuff_harn_power_3 %mendhunt_archive_backtrain_debuff_harn_power_3
setvariable mendhunt_debuff_harn_loop_3 %mendhunt_archive_backtrain_debuff_harn_loop_3
setvariable mendhunt_debuff_cam_test_3 %mendhunt_archive_backtrain_debuff_cam_test_3
setvariable mendhunt_debuff_cam_power_3 %mendhunt_archive_backtrain_debuff_cam_power_3
setvariable mendhunt_debuff_cam_loop_3 %mendhunt_archive_backtrain_debuff_cam_loop_3
setvariable mendhunt_debuff_cast_pause_3 %mendhunt_archive_backtrain_debuff_cast_pause_3
setvariable mendhunt_debuff_once_test_3 %mendhunt_archive_backtrain_debuff_once_test_3

echo *** Resetting variables [|||||||||||||||||||||||||||||_______]

setvariable mendhunt_debuff_test_4 %mendhunt_archive_backtrain_debuff_test_4
setvariable mendhunt_debuff_name_4 %mendhunt_archive_backtrain_debuff_name_4
setvariable mendhunt_debuff_prep_power_4 %mendhunt_archive_backtrain_debuff_prep_power_4
setvariable mendhunt_debuff_harn_test_4 %mendhunt_archive_backtrain_debuff_harn_test_4
setvariable mendhunt_debuff_harn_power_4 %mendhunt_archive_backtrain_debuff_harn_power_4
setvariable mendhunt_debuff_harn_loop_4 %mendhunt_archive_backtrain_debuff_harn_loop_4
setvariable mendhunt_debuff_cam_test_4 %mendhunt_archive_backtrain_debuff_cam_test_4
setvariable mendhunt_debuff_cam_power_4 %mendhunt_archive_backtrain_debuff_cam_power_4
setvariable mendhunt_debuff_cam_loop_4 %mendhunt_archive_backtrain_debuff_cam_loop_4
setvariable mendhunt_debuff_cast_pause_4 %mendhunt_archive_backtrain_debuff_cast_pause_4
setvariable mendhunt_debuff_once_test_4 %mendhunt_archive_backtrain_debuff_once_test_4

setvariable mendhunt_debuff_test_5 %mendhunt_archive_backtrain_debuff_test_5
setvariable mendhunt_debuff_name_5 %mendhunt_archive_backtrain_debuff_name_5
setvariable mendhunt_debuff_prep_power_5 %mendhunt_archive_backtrain_debuff_prep_power_5
setvariable mendhunt_debuff_harn_test_5 %mendhunt_archive_backtrain_debuff_harn_test_5
setvariable mendhunt_debuff_harn_power_5 %mendhunt_archive_backtrain_debuff_harn_power_5
setvariable mendhunt_debuff_harn_loop_5 %mendhunt_archive_backtrain_debuff_harn_loop_5
setvariable mendhunt_debuff_cam_test_5 %mendhunt_archive_backtrain_debuff_cam_test_5
setvariable mendhunt_debuff_cam_power_5 %mendhunt_archive_backtrain_debuff_cam_power_5
setvariable mendhunt_debuff_cam_loop_5 %mendhunt_archive_backtrain_debuff_cam_loop_5
setvariable mendhunt_debuff_cast_pause_5 %mendhunt_archive_backtrain_debuff_cast_pause_5
setvariable mendhunt_debuff_once_test_5 %mendhunt_archive_backtrain_debuff_once_test_5

setvariable mendhunt_debuff_test_6 %mendhunt_archive_backtrain_debuff_test_6
setvariable mendhunt_debuff_name_6 %mendhunt_archive_backtrain_debuff_name_6
setvariable mendhunt_debuff_prep_power_6 %mendhunt_archive_backtrain_debuff_prep_power_6
setvariable mendhunt_debuff_harn_test_6 %mendhunt_archive_backtrain_debuff_harn_test_6
setvariable mendhunt_debuff_harn_power_6 %mendhunt_archive_backtrain_debuff_harn_power_6
setvariable mendhunt_debuff_harn_loop_6 %mendhunt_archive_backtrain_debuff_harn_loop_6
setvariable mendhunt_debuff_cam_test_6 %mendhunt_archive_backtrain_debuff_cam_test_6
setvariable mendhunt_debuff_cam_power_6 %mendhunt_archive_backtrain_debuff_cam_power_6
setvariable mendhunt_debuff_cam_loop_6 %mendhunt_archive_backtrain_debuff_cam_loop_6
setvariable mendhunt_debuff_cast_pause_6 %mendhunt_archive_backtrain_debuff_cast_pause_6
setvariable mendhunt_debuff_once_test_6 %mendhunt_archive_backtrain_debuff_once_test_6

echo *** Resetting variables [||||||||||||||||||||||||||||||______]

setvariable mendhunt_combat_roar_test %mendhunt_archive_backtrain_combat_roar_test
setvariable mendhunt_combat_roar_type %mendhunt_archive_backtrain_combat_roar_type
setvariable mendhunt_combat_dance_test %mendhunt_archive_backtrain_combat_dance_test
setvariable mendhunt_combat_dance_type %mendhunt_archive_backtrain_combat_dance_type
setvariable mendhunt_combat_sing_test %mendhunt_archive_backtrain_combat_sing_test
setvariable mendhunt_combat_sing_type %mendhunt_archive_backtrain_combat_sing_type
setvariable mendhunt_combat_chant_test %mendhunt_archive_backtrain_combat_chant_test
setvariable mendhunt_combat_chant_type %mendhunt_archive_backtrain_combat_chant_type
setvariable mendhunt_combat_khri_test %mendhunt_archive_backtrain_combat_khri_test
setvariable mendhunt_combat_khri_type %mendhunt_archive_backtrain_combat_khri_type
setvariable mendhunt_deks_special_test %mendhunt_archive_backtrain_deks_special_test
setvariable mendhunt_deks_line_1 %mendhunt_archive_backtrain_deks_line_1
setvariable mendhunt_deks_line_2 %mendhunt_archive_backtrain_deks_line_2
setvariable mendhunt_deks_line_3 %mendhunt_archive_backtrain_deks_line_3
setvariable mendhunt_deks_line_4 %mendhunt_archive_backtrain_deks_line_4
setvariable mendhunt_deks_line_5 %mendhunt_archive_backtrain_deks_line_5

echo *** Resetting variables [|||||||||||||||||||||||||||||||_____]

setvariable mendhunt_frenzy_cl_test %mendhunt_archive_backtrain_frenzy_cl_test
setvariable mendhunt_frenzy_cl_prep_mana %mendhunt_archive_backtrain_frenzy_cl_prep_mana
setvariable mendhunt_frenzy_cl_harn_test %mendhunt_archive_backtrain_frenzy_cl_harn_test
setvariable mendhunt_frenzy_cl_harn_mana %mendhunt_archive_backtrain_frenzy_cl_harn_mana
setvariable mendhunt_frenzy_cl_harn_loop %mendhunt_archive_backtrain_frenzy_cl_harn_loop
setvariable mendhunt_frenzy_cl_cast_pause %mendhunt_archive_backtrain_frenzy_cl_cast_pause
setvariable mendhunt_frenzy_roar_test %mendhunt_archive_backtrain_frenzy_roar_test
setvariable mendhunt_frenzy_roar_type %mendhunt_archive_backtrain_frenzy_roar_type
setvariable mendhunt_frenzy_berserk_test %mendhunt_archive_backtrain_frenzy_berserk_test
setvariable mendhunt_frenzy_berserk_type %mendhunt_archive_backtrain_frenzy_berserk_type
setvariable mendhunt_frenzy_sing_test %mendhunt_archive_backtrain_frenzy_sing_test
setvariable mendhunt_frenzy_sing_type %mendhunt_archive_backtrain_frenzy_sing_type
setvariable mendhunt_frenzy_chant_test %mendhunt_archive_backtrain_frenzy_chant_test
setvariable mendhunt_frenzy_chant_type %mendhunt_archive_backtrain_frenzy_chant_type
setvariable mendhunt_frenzy_bot_test %mendhunt_archive_backtrain_frenzy_bot_test
setvariable mendhunt_frenzy_bot_prep_mana %mendhunt_archive_backtrain_frenzy_bot_prep_mana
setvariable mendhunt_frenzy_bot_harn_test %mendhunt_archive_backtrain_frenzy_bot_harn_test
setvariable mendhunt_frenzy_bot_harn_mana %mendhunt_archive_backtrain_frenzy_bot_harn_mana
setvariable mendhunt_frenzy_bot_harn_loop %mendhunt_archive_backtrain_frenzy_bot_harn_loop
setvariable mendhunt_frenzy_bot_cast_pause %mendhunt_archive_backtrain_frenzy_bot_cast_pause
setvariable mendhunt_frenzy_flee_test %mendhunt_archive_backtrain_frenzy_flee_test
setvariable mendhunt_frenzy_hide_test %mendhunt_archive_backtrain_frenzy_hide_test

echo *** Resetting variables [||||||||||||||||||||||||||||||||____]

setvariable mendhunt_empath_guild_test %mendhunt_archive_backtrain_empath_guild_test
setvariable mendhunt_empath_test_manipulate %mendhunt_archive_backtrain_empath_test_manipulate
setvariable mendhunt_empath_test_innocence %mendhunt_archive_backtrain_empath_test_innocence
setvariable mendhunt_empath_test_gs %mendhunt_archive_backtrain_empath_test_gs

setvariable mendhunt_empath_prep_power_innocence %mendhunt_archive_backtrain_empath_prep_power_innocence
setvariable mendhunt_empath_cast_pause_innocence %mendhunt_archive_backtrain_empath_cast_pause_innocence
setvariable mendhunt_empath_harn_test_innocence %mendhunt_archive_backtrain_empath_harn_test_innocence
setvariable mendhunt_empath_harn_power_innocence %mendhunt_archive_backtrain_empath_harn_power_innocence
setvariable mendhunt_empath_harn_loop_innocence %mendhunt_archive_backtrain_empath_harn_loop_innocence
setvariable mendhunt_empath_cam_test_innocence %mendhunt_archive_backtrain_empath_cam_test_innocence
setvariable mendhunt_empath_cam_power_innocence %mendhunt_archive_backtrain_empath_cam_power_innocence
setvariable mendhunt_empath_cam_loop_innocence %mendhunt_archive_backtrain_empath_cam_loop_innocence

setvariable mendhunt_empath_prep_power_gs %mendhunt_archive_backtrain_empath_prep_power_gs
setvariable mendhunt_empath_cast_pause_gs %mendhunt_archive_backtrain_empath_cast_pause_gs
setvariable mendhunt_empath_harn_test_gs %mendhunt_archive_backtrain_empath_harn_test_gs
setvariable mendhunt_empath_harn_power_gs %mendhunt_archive_backtrain_empath_harn_power_gs
setvariable mendhunt_empath_harn_loop_gs %mendhunt_archive_backtrain_empath_harn_loop_gs
setvariable mendhunt_empath_cam_test_gs %mendhunt_archive_backtrain_empath_cam_test_gs
setvariable mendhunt_empath_cam_power_gs %mendhunt_archive_backtrain_empath_cam_power_gs
setvariable mendhunt_empath_cam_loop_gs %mendhunt_archive_backtrain_empath_cam_loop_gs

setvariable mendhunt_empath_maxconc %mendhunt_archive_backtrain_empath_maxconc

echo *** Resetting variables [|||||||||||||||||||||||||||||||||___]

setvariable mendhunt_crittercount1 %mendhunt_archive_backtrain_crittercount1
setvariable mendhunt_crittercount2 %mendhunt_archive_backtrain_crittercount2
setvariable mendhunt_crittercount3 %mendhunt_archive_backtrain_crittercount3
setvariable mendhunt_crittercount4 %mendhunt_archive_backtrain_crittercount4
setvariable mendhunt_crittercount5 %mendhunt_archive_backtrain_crittercount5
setvariable mendhunt_crittercount6 %mendhunt_archive_backtrain_crittercount6

setvariable mendhunt_skinning_test %mendhunt_archive_backtrain_skinning_test
setvariable mendhunt_skinner_name %mendhunt_archive_backtrain_skinner_name
setvariable mendhunt_skinner_name_branch %mendhunt_archive_backtrain_skinner_name_branch

setvariable mendhunt_ndc_master_test %mendhunt_archive_backtrain_ndc_master_test
setvariable mendhunt_ndc_hum_test %mendhunt_archive_backtrain_ndc_hum_test
setvariable mendhunt_ndc_hum_item %mendhunt_archive_backtrain_ndc_hum_item
setvariable mendhunt_ndc_pow_test %mendhunt_archive_backtrain_ndc_pow_test
setvariable mendhunt_ndc_juggle_test %mendhunt_archive_backtrain_ndc_juggle_test
setvariable mendhunt_ndc_juggle_item %mendhunt_archive_backtrain_ndc_juggle_item
setvariable mendhunt_ndc_comp_test %mendhunt_archive_backtrain_ndc_comp_test
setvariable mendhunt_ndc_stones_test %mendhunt_archive_backtrain_ndc_stones_test
setvariable mendhunt_ndc_pyramid_test %mendhunt_archive_backtrain_ndc_pyramid_test
setvariable mendhunt_ndc_pyramid_item %mendhunt_archive_backtrain_ndc_pyramid_item
setvariable mendhunt_ndc_forage_test %mendhunt_archive_backtrain_ndc_forage_test
setvariable mendhunt_ndc_forage_item %mendhunt_archive_backtrain_ndc_forage_item

echo *** Resetting variables [||||||||||||||||||||||||||||||||||__]

setvariable mendhunt_fissure_master_test %mendhunt_archive_backtrain_fissure_master_test
setvariable mendhunt_fissure_element %mendhunt_archive_backtrain_fissure_element
setvariable mendhunt_fissure_prep_power %mendhunt_archive_backtrain_fissure_prep_power
setvariable mendhunt_fissure_cast_pause %mendhunt_archive_backtrain_fissure_cast_pause
setvariable mendhunt_fissure_harn_test %mendhunt_archive_backtrain_fissure_harn_test
setvariable mendhunt_fissure_harn_power %mendhunt_archive_backtrain_fissure_harn_power
setvariable mendhunt_fissure_harn_loop %mendhunt_archive_backtrain_fissure_harn_loop
setvariable mendhunt_fissure_cam_test %mendhunt_archive_backtrain_fissure_cam_test
setvariable mendhunt_fissure_cam_power %mendhunt_archive_backtrain_fissure_cam_power
setvariable mendhunt_fissure_cam_loop %mendhunt_archive_backtrain_fissure_cam_loop

setvariable mendhunt_mof_master_test %mendhunt_archive_backtrain_mof_master_test
setvariable mendhunt_mof_prep_power %mendhunt_archive_backtrain_mof_prep_power
setvariable mendhunt_mof_cast_pause %mendhunt_archive_backtrain_mof_cast_pause
setvariable mendhunt_mof_harn_test %mendhunt_archive_backtrain_mof_harn_test
setvariable mendhunt_mof_harn_power %mendhunt_archive_backtrain_mof_harn_power
setvariable mendhunt_mof_harn_loop %mendhunt_archive_backtrain_mof_harn_loop
setvariable mendhunt_mof_cam_test %mendhunt_archive_backtrain_mof_cam_test
setvariable mendhunt_mof_cam_power %mendhunt_archive_backtrain_mof_cam_power
setvariable mendhunt_mof_cam_loop %mendhunt_archive_backtrain_mof_cam_loop

setvariable mendhunt_ys_master_test %mendhunt_archive_backtrain_ys_master_test
setvariable mendhunt_ys_prep_power %mendhunt_archive_backtrain_ys_prep_power
setvariable mendhunt_ys_cast_pause %mendhunt_archive_backtrain_ys_cast_pause
setvariable mendhunt_ys_harn_test %mendhunt_archive_backtrain_ys_harn_test
setvariable mendhunt_ys_harn_power %mendhunt_archive_backtrain_ys_harn_power
setvariable mendhunt_ys_harn_loop %mendhunt_archive_backtrain_ys_harn_loop
setvariable mendhunt_ys_cam_test %mendhunt_archive_backtrain_ys_cam_test
setvariable mendhunt_ys_cam_power %mendhunt_archive_backtrain_ys_cam_power
setvariable mendhunt_ys_cam_loop %mendhunt_archive_backtrain_ys_cam_loop
setvariable mendhunt_ysmaint_prep_power %mendhunt_archive_backtrain_ysmaint_prep_power
setvariable mendhunt_ysmaint_cast_pause %mendhunt_archive_backtrain_ysmaint_cast_pause

setvariable mendhunt_aeg_master_test %mendhunt_archive_backtrain_aeg_master_test
setvariable mendhunt_aeg_prep_power %mendhunt_archive_backtrain_aeg_prep_power
setvariable mendhunt_aeg_cast_pause %mendhunt_archive_backtrain_aeg_cast_pause
setvariable mendhunt_aeg_harn_test %mendhunt_archive_backtrain_aeg_harn_test
setvariable mendhunt_aeg_harn_power %mendhunt_archive_backtrain_aeg_harn_power
setvariable mendhunt_aeg_harn_loop %mendhunt_archive_backtrain_aeg_harn_loop
setvariable mendhunt_aeg_cam_test %mendhunt_archive_backtrain_aeg_cam_test
setvariable mendhunt_aeg_cam_power %mendhunt_archive_backtrain_aeg_cam_power
setvariable mendhunt_aeg_cam_loop %mendhunt_archive_backtrain_aeg_cam_loop
setvariable mendhunt_aeg_type_LE %mendhunt_archive_backtrain_aeg_type_LE
setvariable mendhunt_aeg_type_ME %mendhunt_archive_backtrain_aeg_type_ME
setvariable mendhunt_aeg_type_HE %mendhunt_archive_backtrain_aeg_type_HE
setvariable mendhunt_aeg_type_2HE %mendhunt_archive_backtrain_aeg_type_2HE
setvariable mendhunt_aeg_type_LB %mendhunt_archive_backtrain_aeg_type_LB
setvariable mendhunt_aeg_type_MB %mendhunt_archive_backtrain_aeg_type_MB
setvariable mendhunt_aeg_type_HB %mendhunt_archive_backtrain_aeg_type_HB
setvariable mendhunt_aeg_type_2HB %mendhunt_archive_backtrain_aeg_type_2HB
setvariable mendhunt_aeg_type_SL %mendhunt_archive_backtrain_aeg_type_SL
setvariable mendhunt_aeg_type_STAFFSLING %mendhunt_archive_backtrain_aeg_type_STAFFSLING
setvariable mendhunt_aeg_type_SB %mendhunt_archive_backtrain_aeg_type_SB
setvariable mendhunt_aeg_type_LOB %mendhunt_archive_backtrain_aeg_type_LOB
setvariable mendhunt_aeg_type_CB %mendhunt_archive_backtrain_aeg_type_CB
setvariable mendhunt_aeg_type_LX %mendhunt_archive_backtrain_aeg_type_LX
setvariable mendhunt_aeg_type_HX %mendhunt_archive_backtrain_aeg_type_HX
setvariable mendhunt_aeg_type_SS %mendhunt_archive_backtrain_aeg_type_SS
setvariable mendhunt_aeg_type_QS %mendhunt_archive_backtrain_aeg_type_QS
setvariable mendhunt_aeg_type_PI %mendhunt_archive_backtrain_aeg_type_PI
setvariable mendhunt_aeg_type_HAL %mendhunt_archive_backtrain_aeg_type_HAL
setvariable mendhunt_aeg_type_LT %mendhunt_archive_backtrain_aeg_type_LT
setvariable mendhunt_aeg_type_HT %mendhunt_archive_backtrain_aeg_type_HT
setvariable mendhunt_aeg_type_BR %mendhunt_archive_backtrain_aeg_type_BR
setvariable mendhunt_aeg_type_OW %mendhunt_archive_backtrain_aeg_type_OW
setvariable mendhunt_aeg_type_noweap %mendhunt_archive_backtrain_aeg_type_noweap
setvariable mendhunt_aegmaint_test %mendhunt_archive_backtrain_aegmaint_test
setvariable mendhunt_aegmaint_prep_power %mendhunt_archive_backtrain_aegmaint_prep_power
setvariable mendhunt_aegmaint_cast_pause %mendhunt_archive_backtrain_aegmaint_cast_pause

echo *** Resetting variables [|||||||||||||||||||||||||||||||||||_]

setvariable mendhunt_loot_master_test %mendhunt_archive_backtrain_loot_master_test
setvariable mendhunt_loot_plat_test %mendhunt_archive_backtrain_loot_plat_test
setvariable mendhunt_loot_gold_test %mendhunt_archive_backtrain_loot_gold_test
setvariable mendhunt_loot_silver_test %mendhunt_archive_backtrain_loot_silver_test
setvariable mendhunt_loot_bronze_test %mendhunt_archive_backtrain_loot_bronze_test
setvariable mendhunt_loot_copper_test %mendhunt_archive_backtrain_loot_copper_test
setvariable mendhunt_loot_gems_test %mendhunt_archive_backtrain_loot_gems_test
setvariable mendhunt_loot_boxes_test %mendhunt_archive_backtrain_loot_boxes_test
setvariable mendhunt_loot_other_test %mendhunt_archive_backtrain_loot_other_test
setvariable mendhunt_loot_skins_test %mendhunt_archive_backtrain_loot_skins_test
setvariable mendhunt_gems_container %mendhunt_archive_backtrain_gems_container
setvariable mendhunt_boxes_container %mendhunt_archive_backtrain_boxes_container
setvariable mendhunt_other_container %mendhunt_archive_backtrain_other_container
setvariable mendhunt_gpouch_use_test %mendhunt_archive_backtrain_gpouch_use_test
setvariable mendhunt_gpouch_empty_container %mendhunt_archive_backtrain_gpouch_empty_container
setvariable mendhunt_gpouch_full_container %mendhunt_archive_backtrain_gpouch_full_container
setvariable mendhunt_gpouch_tie_test %mendhunt_archive_backtrain_gpouch_tie_test

#setvariable mendhunt_useradd_critter_1 %mendhunt_archive_backtrain_useradd_critter_1
#setvariable mendhunt_useradd_critter_2 %mendhunt_archive_backtrain_useradd_critter_2
#setvariable mendhunt_useradd_critter_3 %mendhunt_archive_backtrain_useradd_critter_3
#setvariable mendhunt_useradd_critter_4 %mendhunt_archive_backtrain_useradd_critter_4
#setvariable mendhunt_useradd_critter_5 %mendhunt_archive_backtrain_useradd_critter_5
#setvariable mendhunt_useradd_critter_6 %mendhunt_archive_backtrain_useradd_critter_6
#setvariable mendhunt_loot_gems_useradd_1 %mendhunt_archive_backtrain_loot_gems_useradd_1
#setvariable mendhunt_loot_gems_useradd_2 %mendhunt_archive_backtrain_loot_gems_useradd_2
#setvariable mendhunt_loot_gems_useradd_3 %mendhunt_archive_backtrain_loot_gems_useradd_3
#setvariable mendhunt_loot_gems_useradd_4 %mendhunt_archive_backtrain_loot_gems_useradd_4
#setvariable mendhunt_loot_gems_useradd_5 %mendhunt_archive_backtrain_loot_gems_useradd_5
#setvariable mendhunt_loot_gems_useradd_6 %mendhunt_archive_backtrain_loot_gems_useradd_6
#setvariable mendhunt_loot_other_useradd_1 %mendhunt_archive_backtrain_loot_other_useradd_1
#setvariable mendhunt_loot_other_useradd_2 %mendhunt_archive_backtrain_loot_other_useradd_2
#setvariable mendhunt_loot_other_useradd_3 %mendhunt_archive_backtrain_loot_other_useradd_3
#setvariable mendhunt_loot_other_useradd_4 %mendhunt_archive_backtrain_loot_other_useradd_4
#setvariable mendhunt_loot_other_useradd_5 %mendhunt_archive_backtrain_loot_other_useradd_5
#setvariable mendhunt_loot_other_useradd_6 %mendhunt_archive_backtrain_loot_other_useradd_6
#setvariable mendhunt_loot_skins_useradd_1 %mendhunt_archive_backtrain_loot_skins_useradd_1
#setvariable mendhunt_loot_skins_useradd_2 %mendhunt_archive_backtrain_loot_skins_useradd_2
#setvariable mendhunt_loot_skins_useradd_3 %mendhunt_archive_backtrain_loot_skins_useradd_3
#setvariable mendhunt_loot_skins_useradd_4 %mendhunt_archive_backtrain_loot_skins_useradd_4
#setvariable mendhunt_loot_skins_useradd_5 %mendhunt_archive_backtrain_loot_skins_useradd_5
#setvariable mendhunt_loot_skins_useradd_6 %mendhunt_archive_backtrain_loot_skins_useradd_6


echo *** Resetting variables [||||||||||||||||||||||||||||||||||||]
echo
echo *** Resetting variables COMPLETED
echo

	echo
	echo
	echo *** Variables retrieved from Archive Backtrain
	echo
	echo
	pause 1
ARCHIVE_BACKTRAIN_RETRIEVE_END:
	goto SETUP_MISC_ARCHIVE_RETURN



#############################################################################
###########################    SCRIPT UPDATE SECTION    #####################
#############################################################################

FIRST_RUN_POPUP:
put echo /on
waitfor echocolumn
echo
echo
echo ***********************************************************************
echo ***       This appears to be your first run of this script.         ***  
echo ***********************************************************************
echo ***                                                                 ***
echo ***       The script needs to initialize variables.                 ***
echo ***       Please be patient while variables are set.                ***
echo ***                                                                 ***
echo ***       This will take ~ a minute and cause considerable scroll.  ***
echo ***       The script can not run until this is completed.           ***
echo ***                                                                 ***
echo ***********************************************************************
echo ***                                                                 ***
echo ***       To continue:      type GLANCE                             ***
echo ***                                                                 ***
echo ***********************************************************************
echo
put echo /off
pause 1
	waitfor You glance
	setvariable subreturnflag FIRST_RUN_POPUP
	goto INITIALIZE_FACTORY_SETTINGS
SUBRETURN_FIRST_RUN_POPUP:
	setvariable mendhunt_firstruntest itsran
	setvariable mendhunt_version14 itsran
	setvariable mendhunt_version19 itsran

put echo /on
waitfor echocolumn
echo
echo
echo ***********************************************************************
echo ***                                                                 ***
echo ***********************************************************************
echo ***                                                                 ***
echo ***       Variables have been successfully initialized.             ***
echo ***       Now you need to customize the script.                     ***
echo ***                                                                 ***
echo ***       Get to a safe spot and continue to the help section.      ***
echo ***       You can access help at anytime by entering:               ***
echo ***                                                                 ***
echo ***                    .mendhunt help                               ***
echo ***                                                                 ***
echo ***********************************************************************
echo ***                                                                 ***
echo ***       The script *MUST* be customized to you prior to hunting   ***
echo ***                                                                 ***
echo ***********************************************************************
echo
echo =======================================================================
echo *** To continue to help from here,
echo .   type and enter the following:           z1
echo =======================================================================
echo
echo
put echo /off
pause 1
	match SETUP_HELP z1
	matchwait


UPDATE_VERSION14:
echo
echo ***********************************************************************
echo
echo *** Updating to Version 1.4
echo
echo 1) Backstab option added to Guild Specials menu, initially OFF
echo 2) YS added to Guild Specials menu, initially OFF... provides for YS maintenance cast
echo 3) Flag added to check casting spells at melee (GZ etc), initially NO... set flags at script top to change 
echo 4) Fixed debuff choke
echo 5) Added switch to debuff detail menu to only fire a debuff spell once per critter, initially ON
echo 6) Many other minor changes/fixes... see version notes at bottom of script for info
echo
echo ***********************************************************************
echo
setvariable mendhunt_ys_master_test OFF
setvariable mendhunt_ys_prep_power 25
setvariable mendhunt_ys_cast_pause 0
setvariable mendhunt_ys_harn_test ON
setvariable mendhunt_ys_harn_power 10
setvariable mendhunt_ys_harn_loop 2
setvariable mendhunt_ys_cam_test OFF
setvariable mendhunt_ys_cam_power 11
setvariable mendhunt_ys_cam_loop 1
setvariable mendhunt_ysmaint_prep_power 10
setvariable mendhunt_ysmaint_cast_pause 1
setvariable mendhunt_backstab_master_test OFF
setvariable mendhunt_debuff_once_test_1 ON
setvariable mendhunt_debuff_once_test_2 ON
setvariable mendhunt_debuff_once_test_3 ON
setvariable mendhunt_debuff_once_test_4 ON
setvariable mendhunt_debuff_once_test_5 ON
setvariable mendhunt_debuff_once_test_6 ON

setvariable mendhunt_archive_primary_ys_master_test %mendhunt_ys_master_test
setvariable mendhunt_archive_primary_ys_prep_power %mendhunt_ys_prep_power
setvariable mendhunt_archive_primary_ys_cast_pause %mendhunt_ys_cast_pause
setvariable mendhunt_archive_primary_ys_harn_test %mendhunt_ys_harn_test
setvariable mendhunt_archive_primary_ys_harn_power %mendhunt_ys_harn_power
setvariable mendhunt_archive_primary_ys_harn_loop %mendhunt_ys_harn_loop
setvariable mendhunt_archive_primary_ys_cam_test %mendhunt_ys_cam_test
setvariable mendhunt_archive_primary_ys_cam_power %mendhunt_ys_cam_power
setvariable mendhunt_archive_primary_ys_cam_loop %mendhunt_ys_cam_loop
setvariable mendhunt_archive_primary_ysmaint_prep_power %mendhunt_ysmaint_prep_power
setvariable mendhunt_archive_primary_ysmaint_cast_pause %mendhunt_ysmaint_cast_pause
setvariable mendhunt_archive_primary_backstab_master_test %mendhunt_backstab_master_test

setvariable mendhunt_archive_backtrain_ys_master_test %mendhunt_ys_master_test
setvariable mendhunt_archive_backtrain_ys_prep_power %mendhunt_ys_prep_power
setvariable mendhunt_archive_backtrain_ys_cast_pause %mendhunt_ys_cast_pause
setvariable mendhunt_archive_backtrain_ys_harn_test %mendhunt_ys_harn_test
setvariable mendhunt_archive_backtrain_ys_harn_power %mendhunt_ys_harn_power
setvariable mendhunt_archive_backtrain_ys_harn_loop %mendhunt_ys_harn_loop
setvariable mendhunt_archive_backtrain_ys_cam_test %mendhunt_ys_cam_test
setvariable mendhunt_archive_backtrain_ys_cam_power %mendhunt_ys_cam_power
setvariable mendhunt_archive_backtrain_ys_cam_loop %mendhunt_ys_cam_loop
setvariable mendhunt_archive_backtrain_ysmaint_prep_power %mendhunt_ysmaint_prep_power
setvariable mendhunt_archive_backtrain_ysmaint_cast_pause %mendhunt_ysmaint_cast_pause
setvariable mendhunt_archive_backtrain_backstab_master_test %mendhunt_backstab_master_test

setvariable mendhunt_archive_primary_debuff_once_test_1 %mendhunt_debuff_once_test_1
setvariable mendhunt_archive_primary_debuff_once_test_2 %mendhunt_debuff_once_test_2
setvariable mendhunt_archive_primary_debuff_once_test_3 %mendhunt_debuff_once_test_3
setvariable mendhunt_archive_primary_debuff_once_test_4 %mendhunt_debuff_once_test_4
setvariable mendhunt_archive_primary_debuff_once_test_5 %mendhunt_debuff_once_test_5
setvariable mendhunt_archive_primary_debuff_once_test_6 %mendhunt_debuff_once_test_6

setvariable mendhunt_archive_backtrain_debuff_once_test_1 %mendhunt_debuff_once_test_1
setvariable mendhunt_archive_backtrain_debuff_once_test_2 %mendhunt_debuff_once_test_2
setvariable mendhunt_archive_backtrain_debuff_once_test_3 %mendhunt_debuff_once_test_3
setvariable mendhunt_archive_backtrain_debuff_once_test_4 %mendhunt_debuff_once_test_4
setvariable mendhunt_archive_backtrain_debuff_once_test_5 %mendhunt_debuff_once_test_5
setvariable mendhunt_archive_backtrain_debuff_once_test_6 %mendhunt_debuff_once_test_6

setvariable mendhunt_version14 itsran
echo *** Update complete
goto SCRIPT_RUN_TESTS



UPDATE_VERSION19:
echo
echo ***********************************************************************
echo
echo *** Updating to Version 1.9
echo
echo 1) Added forced weapon switch for Multi when a certain period has cycled... initially ON, change in Armaments Menu.
echo 2) Added forced armor switch when a certain period has cycled... initially ON, change in Armor Menu.
echo 3) Added option to retreat prior to buffs... initially OFF, change in Buff Menu.
echo 4) Fixed flee, should work for all guilds now.
echo 5) Other changes, see version notes at bottom of script.
echo
echo ***********************************************************************
echo

setvariable mendhunt_buff_retreat_test OFF
setvariable mendhunt_archive_primary_buff_retreat_test %mendhunt_buff_retreat_test
setvariable mendhunt_archive_backtrain_buff_retreat_test %mendhunt_buff_retreat_test

setvariable mendhunt_force_weapon_switch_test ON
setvariable mendhunt_archive_primary_force_weapon_switch_test %mendhunt_force_weapon_switch_test
setvariable mendhunt_archive_backtrain_force_weapon_switch_test %mendhunt_force_weapon_switch_test

setvariable mendhunt_force_armor_switch_test ON
setvariable mendhunt_archive_primary_force_armor_switch_test %mendhunt_force_armor_switch_test
setvariable mendhunt_archive_backtrain_force_armor_switch_test %mendhunt_force_armor_switch_test

setvariable mendhunt_version19 itsran
echo *** Update complete
goto SCRIPT_RUN_TESTS


UPDATE_VERSION20:
echo
echo ***********************************************************************
echo
echo *** Updating to Version 2.0
echo
echo 1) Added Necro special
echo 2) Updated loot and critter tables
echo 3) Other changes, see version notes at bottom of script.
echo
echo ***********************************************************************
echo

setvariable mendhunt_preserve_master_test OFF
setvariable mendhunt_archive_primary_preserve_master_test %mendhunt_preserve_master_test
setvariable mendhunt_archive_backtrain_preserve_master_test %mendhunt_preserve_master_test
setvariable mendhunt_dance_hunt_test ON
setvariable mendhunt_archive_primary_dance_hunt_test %mendhunt_dance_hunt_test
setvariable mendhunt_archive_backtrain_dance_hunt_test %mendhunt_dance_hunt_test
setvariable mendhunt_version20 itsran
echo *** Update complete
goto SCRIPT_RUN_TESTS


#############################################################################
###########################    MAJOR ERROR SECTION    #######################
#############################################################################

ERROR_WEAPON:
	echo 
	echo ************************************************************* 
	echo
	echo *** <<< WARNING ERROR >>>
	echo
	echo Weapon error
	echo
	echo Go to weapon menu and check your setup.
	echo
	echo Exiting script
	echo
	echo *************************************************************
	echo
	goto END_SCRIPT

ERROR_SHIELD:
	echo 
	echo ************************************************************* 
	echo
	echo *** <<< WARNING ERROR >>>
	echo
	echo Shield error
	echo
	echo Go to shield menu and check your setup.
	echo
	echo Exiting script
	echo
	echo *************************************************************
	echo
	goto END_SCRIPT

ERROR_ARMOR:
	echo 
	echo ************************************************************* 
	echo
	echo *** <<< WARNING ERROR >>>
	echo
	echo Armor error
	echo
	echo Go to armor menu and check your setup.
	echo
	echo Exiting script
	echo
	echo *************************************************************
	echo
	goto END_SCRIPT

ERROR_EMPATH:
	echo 
	echo *************************************************************
	echo
	echo *** <<< WARNING ERROR >>>
	echo
	echo Empath error
	echo
	echo Script has determined that you are an Empath but the Empath flag is OFF.
	echo
	echo Go to the empath combat menu and check your setup.
	echo 
	echo *** The "I am an empath" flag should be ON   (I am an empath: ON)
	echo
	echo Exiting script
	echo
	echo *************************************************************
	echo
	goto END_SCRIPT

ERROR_STOW:
	echo
	echo *************************************************************
	echo
	echo *** <<< WARNING ERROR >>>
	echo
	echo Stow error
	echo
	echo Script tried to stow an item and failed.
	echo
	echo 1) check if stow container is full or closed
	echo 2) make sure stow is set... type STOW HELP
	echo
	echo Exiting script
	echo
	echo *************************************************************
	echo
	goto END_SCRIPT

ERROR_AMMO:
	echo
	echo *************************************************************
	echo
	echo *** <<< WARNING ERROR >>>
	echo
	echo Ammo error
	echo
	echo Out of ammo
	echo
	echo Get some and restart script 
	echo 
	echo
	echo Exiting script
	echo
	echo *************************************************************
	echo
	goto END_SCRIPT

#_________________________________________________________________________
#Version notes:
#
#version 2.0 4/20/10
#   a) added necro special
#   b) added loot verb / updated critter database
#   c) put a bundle in after skinning so should be less annoying clutter to pick up
#   d) rewrote looting to keep weapon in hand
#   e) removed quickswitches... script size getting out of hand
#   f) added hunt verb
#version 1.13 1/11/10
#   a) added full bundle fail message
#   b) chased bugs on skinning... added bundle after skinning
#   c) replaced searching critters with loot verb... loottype variable added and can be modified at top of script
#   d) updated gems database (will be ongoing)
#version 1.12 1/8/10
#   a) fixed choke when checking guild (empath)
#   b) fixed syntex in skinning with weapon
#   c) modified mental checks due to new learning system
#   d) removed second skinning... was hanging
#version 1.11 7/25/08
#   a) fixed choke with shield naming
#   b) fixed annoying issue with mind sleeping when catching stray message
#version 1.10 7/18/08
#   a) fixed a choke with hiding
#   b) fixed dead character match error
#   c) added some support for hunting partner in room
#   d) fixed some issues when assessing
#version 1.9 7/12/08
#   a) readjusted combat cycle - increased number of loops before forcing to mainstart/buff-check
#   b) added forced switch of armor and weapons after 15 cycles... high mentals can cause never-lock.
#   c) added combat fail for entanglement.
#   d) fixed flee - should work for all guilds now.
#   e) added a retreat option prior to buffing... initially set to OFF.
#   f) added potion and salve to other-loot table.
#   g) moved dance mode face-next after the MO check.
#   h) added critter Shadowy Black Death Spirit
#   i) fixed problem with armor switch and dual weapons
#   j) added support for belt-frog and other odd weapon holders
#version 1.8 7/7/08
#   a) fixed problem with 3 & 4 word critters (made em 1 word names... should determine what 2 word name for each is).
#   b) fixed problem with class check on staff slings.
#   c) edited equip weapon and shield messages.
#version 1.7 7/5/08 added fail to hiding when armor prevents (ie young)
#version 1.6 7/4/08 fixed choke with gems retreat
#Version 1.5 7/1/08 added additional retreats when looting
#version 1.4 6/30/08
#   a) added Morah Creeper to creature table.
#   b) fixed empath critter count... should no longer count avenger if active.
#   c) added flag that checks if a critter has been killed prior to loot.
#   d) added aftercastrtpause variable.
#   e) added flag to stop annoying stalk messages when full mental skips hiding.
#   f) added rtcheck in front of hum stop.
#   g) added stand check to combat and melee advances.
#   h) added casttargetdebuffspellsatmeleeflag... if YES, waits to use target/debuff spells until at melee (gz, etc).
#   i) added all cast_pause variables at top which user can manually edit if wanting decimal value.
#   j) fixed flee for thief message
#   k) fixed box loot hanging when matching in room description
#   l) added backstab to guild specials
#   m) added YS to guild specials
#   n) moved YS and AEG maintenance to only fire when mana full
#   o) added fail message to multi command line when weapon style not multi
#   p) fixed choke when casting debuff
#   q) modified combat cycle reducing number of loops before checking buffs/critter count etc
#   r) added switch to debuff detail menu to only fire a debuff spell once per critter, initially ON
#   s) fixed equip problem while skinning with weapon + granite shield
#version 1.3 fixed backtrain archive retrieve...was pulling some primary archive 6/27/08
#version 1.2 added ndc test in front of hum stop; added swap weapon hit message 6/26/08
#Version 1.1 added initialization prior to archiving 6/26/08
#Version 1 released June 24, 2008
#Version 0 added BR, OW, and NOWEAP June 23, 2008
#Version 0 added AEG and Arrange June 19, 2008
#Version 0 release for debug June 10, 2008
#Version 0 started approx March 2008
#_________________________________________________________________________


END_SCRIPT:
	exit

BOTTOM: