Install like any other addon. If this is your first addon, please follow these instructions: https://www.eq2interface.com/forums/faq.php?faq=howto_install#faq_new_faq_item

Copy _CombatEmotes.xml to your addon UI folder and add the EQ2UI_custom.xml include line to your EQ2UI_custom.xml in your addon UI folder.


This mod will randomly choose 1 out of 5 emotes to cast when player starts combat.
The emotes are: battlecry, taunt, shake, hey, incoming.

This mod can be turned off and on while in game
	Default is ON
	Type /hide_window Custom.ShowHelmet.EnableMod to turn off
	Type /show_window Custom.ShowHelmet.EnableMod to turn back on

The number of fights before it triggers again can be controlled by the following commands in game:

This mod allows changing use range while in game for any range between 0-9
	Default is MIN=0 and MAX=4
	Example:
	Type /show_window Custom.CombatEmotest.UseMin5 to have a minimum use of 0
	Type /show_window Custom.CombatEmotest.UseMax6 to have a maximum use of 9
		
This mod allows changing delay range while in game for any range between 0-9
	Default is MIN=4 and MAX=9
	Example:
	Type /show_window Custom.CombatEmotest.DelayMin2 to have a minimum delay of 2
	Type /show_window Custom.CombatEmotest.DelayMax8 to have a maximum delay of 8

UseNumRange MIN/MAX is for the number to use to determine random action from list of choices
DelayNumRange MIN/MAX is the range to the determine random number of times to delay between commands


*Since there is only 5 emotes, if the Use range MAX is set to over 4 (0-4 is 5 options) any use number generated higher than 4 will not have any emote to run. This can help spread out emotes.
You can also add/change more emotes/commands to the mod using the following guidelines:

<!-- ==============================================================
This section uses the random generated UseNum.
	MODIFIY to add more options but keep the same format
	Example: To add another emote, add the following to their respective sections
		BOOL = (CHKNUM '==' 5)
		Parent.RndNumCmd5.Visible=BOOL ? BOOL : BOOL

		and

		<Page Name="RndNumCmd5" Visible="false" OnShow="incoming
			Visible=false" />
=============================================================== -->
<Page Name="RndCmds" Visible="false" >
	<Page Name="RandNumCheck" Visible="false" CHKNUM="" OnShow="
		BOOL = (CHKNUM '==' 0)
		Parent.RndNumCmd0.Visible=BOOL ? BOOL : BOOL
		BOOL = (CHKNUM '==' 1)
		Parent.RndNumCmd1.Visible=BOOL ? BOOL : BOOL
		BOOL = (CHKNUM '==' 2)
		Parent.RndNumCmd2.Visible=BOOL ? BOOL : BOOL
		BOOL = (CHKNUM '==' 3)
		Parent.RndNumCmd3.Visible=BOOL ? BOOL : BOOL
		BOOL = (CHKNUM '==' 4)
		Parent.RndNumCmd4.Visible=BOOL ? BOOL : BOOL
		Visible=false" >
	</Page>
	
	<Page Name="RndNumCmd0" Visible="false" OnShow="battlecry
		Visible=false" />
	<Page Name="RndNumCmd1" Visible="false" OnShow="taunt
		Visible=false" />
	<Page Name="RndNumCmd2" Visible="false" OnShow="shake
		Visible=false" />
	<Page Name="RndNumCmd3" Visible="false" OnShow="hey
		Visible=false" />
	<Page Name="RndNumCmd4" Visible="false" OnShow="incoming
		Visible=false" />
</Page>
