Sorry for the small amount of info!!!
Ok, so what I need to do is to have it:
-Dclick the npc
-Scan the quest
-If it is the right quest
-Accept the quest
-If it is NOT the right quest
-Go to Dclick
Here is what it origionally was:
sub getquest
get:
finditem %quester G
if #finddist > 8
event pathfind #findx #findy #findz
wait 10
gosub bookcheck
if %found = #true
return
exevent popup %quester 1
set %jindex #jindex + 1
wait 30
if #contsize = 512_443
return
if #contsize <> 512_603 && #contsize <> 512_643
{
wait 10s
goto get
}
if %vendor = Sleen
{
set %craft1x #contposx + 370
set %craft1y #contposy + 607
}
else
{
set %craft1x #contposx + 370
set %craft1y #contposy + 560
}
click %craft1x %craft1y
wait 30
gosub journal_scan You_have_accepted_the_quest.
if #result = #true
{
event sysmessage accepted quest!
repeat
{
set %timeout #scnt + 5
set %craft2x #contposx + 365
set %craft2y #contposy + 400
click %craft2x %craft2y
wait 20
}
until #contsize <> 512_443 || #scnt > %timeout
return
}
if #result = #false && #contsize <> 512_443
gosub findbook
if %found = #false
{
;event sysmessage result is false
wait 10s
goto get
}
return
As you can see, this script was designed for the older version of the game where you still had quest books,
so I'm having to update it!! XD
Then all i'll need to do is add a sub to mark the quest items as quest items, which should be easy! Then I should be done
