Example
<custombehavior file="RunMacro" macro="/dismount" numoftimes="1" waittime="300"><if condition="HasQuest(26843)"><custombehavior file="RunMacro" macro="/dismount" numoftimes="1" waittime="1000"><custombehavior file="RunMacro" macro="/dismount" numoftimes="1" waittime="300"><custombehavior file="RunMacro" macro="/dismount" numoftimes="1" waittime="300"><custombehavior file="RunMacro" macro="/cast Ebon Gryphon" numoftimes="1" waittime="300"><custombehavior file="MyCTM" questid="26834" location="1022.38 1857.29 306.392"><custombehavior file="MyCTM" questid="26834" location="1022.478 1858.025 319.6743"><custombehavior file="MyCTM" questid="26834" location="1124.251 1831.381 337.121"><custombehavior file="MyCTM" questid="26834" location="1295.56 1722.858 351.6685"><custombehavior file="MyCTM" questid="26834" location="1315.436 1644.037 207.3392"><custombehavior file="MyCTM" questid="26834" location="1266.899 1633.274 175.2001"><turnin questname="Down Into the Chasm" questid="26834" turninname="Slate Quicksand" turninid="44143"><custombehavior file="RunMacro" macro="/cast Ebon Gryphon" numoftimes="1" waittime="1000"><custombehavior file="MyCTMNoQuest" questid="26843" location="1000.23 343.34 422.33"><custombehavior file="MyCTMNoQuest" questid="26843" location="1222.14 754.63 266.44"><custombehavior file="MyCTMNoQuest" questid="26843" location="955.21 451.34 432.55"><turnin questname="Down Into the chasm" questid="26834" turninname="Slate Quicksand" turninid="44143"><if condition="HasQuest(26834)"><custombehavior file="RunMacro" macro="/dismount" numoftimes="1" waittime="300"><custombehavior file="RunMacro" macro="/cast Ebon Gryphon" numoftimes="1" waittime="300"><custombehavior file="MyCTM" questid="26834" location="1022.38 1857.29 306.392"><custombehavior file="MyCTM" questid="26834" location="1022.478 1858.025 319.6743"><custombehavior file="MyCTM" questid="26834" location="1124.251 1831.381 337.121"><custombehavior file="MyCTM" questid="26834" location="1295.56 1722.858 351.6685"><custombehavior file="MyCTM" questid="26834" location="1315.436 1644.037 207.3392"><custombehavior file="MyCTM" questid="26834" location="1266.899 1633.274 175.2001">This is just an example, not real coords.... But this example does include a quest that would not all regular CTM to work.
so apparently its not letting me put in code for some reason, i even took the time to type it out by hand just in case that was it....
Code:
<if condition="HasQuest(26834)">If Condition="HasQuest(26834)">
CustomBehavior File="RunMacro" Macro="/dismount" NumOfTimes="1" WaitTime="300"/>
CustomBehavior File="RunMacro" Macro="/cast Ebon Gryphon" NumOfTimes="1" WaitTime="300"/>
<custombehavior file="MyCTM" questid="26834" location="1022.38 1857.29 306.392">CustomBehavior File="MyCTMNoQuest" QuestId="26834" Location= "1022.38 1857.29 306.392"/>
CustomBehavior File="MyCTMNoQuest" QuestId="26834" Location= "1022.478 1858.025 319.6743"/>
CustomBehavior File="MyCTMNoQuest" QuestId="26834" Location= "1295.56 1722.858 351.6685"/>
TurnIn QuestName="Down Into the Chasm" QuestId="26834" TurnInName="Slate Quicksand" TurnInId="44143"/>
/If>
So apparently it doesn't like the < character to be in front of stuff... Also a side note, I don't know why the quest portion was in there to begin with because we could always wrap the behavior in an if statement,
</custombehavior></if></custombehavior></custombehavior></custombehavior></custombehavior></custombehavior></custombehavior></custombehavior></custombehavior></if></turnin></custombehavior></custombehavior></custombehavior></custombehavior></turnin></custombehavior></custombehavior></custombehavior></custombehavior></custombehavior></custombehavior></custombehavior></custombehavior></custombehavior></custombehavior></if></custombehavior>