Hi,
Panyama!
There are a couple of twists on this...
1) Sometimes the vehicle is right behind the giver waiting to be mounted. If that's the case, you want the
MountVehOnly behavior.
2) If you must select gossip option 1, then this should get the job done...
PHP:
<!-- select gossip option #1 -->
<CustomBehavior File="RunMacro" Macro="/click GossipTitleButton1" NumOfTimes="1" WaitTime="1000" />
<!-- some givers requires an "are you sure" type confirmation. If that's the case, this will be needed also -->
<CustomBehavior File="RunMacro" Macro="/click QuestFrameCompleteButton" NumOfTimes="1" WaitTime="1000" />
Here's the problem with option #2...
Depending on your progress through a zone, and whether or not the NPC is offering additional quests, the gossip option you desire may not always be the first one. If so, you have to either guarantee a certain state of 'zone completion' throughout the rest of the profile (very tricky), or use some clever tricks and a
lot more profile code to address all the gossip option position possibilities. Either situation is not pretty.
Good luck with it!
chinajade