I didn't undertand how auto quest works?

is there any Auto Quest Tutorial ?
I want the bot to take a quest from a npc in a Town call XEON TOWN (( its similar to the Dock x,y)) in the bot town and the only way to teleport for it from jangan.

i know how to let the bot take the quest but i want the bot to attack mobs at samarkand and to supply hp-mp from hotan i

so what i did i created a script to XOEN town to take the quest, but what happend the bot keep ignoring going to XOEN Town and moving to the training area !

then i tried to use training area as XOEN TOWN the bot not going to samarkand through generating a script by using cordinates

the problem i dont know how to create the script well, Any explinations ?

what should i do exactly ?

Those quests are not supported due to there being missing quest NPC data in their files.

i have tried to use the command this script

walk,112,27,244
wait,1000
teleport,Hotan,Donwhang
wait,5000
walk,3551,2081,-106
walk,3551,2094,-106
wait,1000
teleport,Donwhang,Jangan
wait,5000
walk,6431,1106,-28
walk,6430,1109,-16
wait,1000
teleport,Jangan,XEON’s Town
wait,5000
walk,10241,426,-13
walk,10244,435,-14
walk,10245,437,-15
quest,Daily Quests,( Lucky Box )
quest,Daily Quests,( XOEN Coins ) 50 Coin
quest,Daily Quests,( Quest Coins ) 20 Coin
quest,Daily Quests,( Quest Coins ) 20 Coin

and the bot took the quest but i dunno how the Auto Quest Work excatly coz i dont want him to do town script at XOEN TOWN and i want him to move into the training area ?

any suggestions ?