API:OnClick QuestListButton

__NOTOC__
Picks a quest from the NPC Quest Dialog
OnClick_QuestListButton(type, index)
== Parameters ==
=== Arguments ===
:;type 
::(int) type of quest: 1 - not accepted, 2 - accepted, not completed, 3 - completed
:;index
::(int) index of quest in the NPC's quest dialog
=== Returns ===
:nul
== note ==
* NPC dialog has to be open and contain quests
* can be used to automate quest acceptance/completion
== Example ==
-- accept the second quest in the list
OnClick_QuestListButton(1, 2)
Category:Functions