In that case, change this line:
if (RetrieveQuestState("q_pirates", oPC) == 0)
to this:
if (RetrieveQuestState("q_pirates", oPC) > 0)
The problem is that the line was aborting the script if the quest was not started. Instead, you want to abort if it has already been started.
Modifié par Squatting Monk, 12 novembre 2013 - 06:59 .