If you start at portal in logar and press 1 then target snoop press 5 press 6 then 3(go to varanas) save and check the xml it fails their are 2 << >> that seem to be causing problems.
Ive thought of trying that function but on simple waypoints I prefer to just use the default waypoints as made by the creator. I have been adding a wait and loop to check for npc on other end.
repeat
yrest(500)
until player:target_NPC(111256) -- Snoop the Stubborn
ChoiceOptionByName(">> Transport to Varanas <<")
yrest(500);
mountUp();
I just ran into 2 places (logar to varanas) and (east_varanas to central_varanas) that it creates invalid html. I wanted to let him know so he might apply a fix to the code some time later.
I can fix by just using
ChoiceOption(3) -- transport to varanas.
which will work but some times the choices move.
I believe the >> are added by an addon. The >> will cause an error. ChoiceOptionByName works with partial names so you can just delete those brackets and it should work, eg.