If you are up to putting a nonrepeatable field in I would be very grateful.
Currently I think the only way to keep a task from being repeated is to put it in a taskset then do something like this in the quest.
Code:
if(!quest::istaskcompleted(quest::lasttaskinset(1))) {
# If the player has no tasks enabled for this task set, enable the first one
if(quest::enabledtaskcount(1) == 0) {
quest::say("You have not done any of my tasks before!");
quest::enabletask(quest::firsttaskinset(1));
}
Another method would be to check if the task is disabled but I did not see a perl quest command to do that.
Honestly I find writing tasks to be easier than quests if I use KLS taskmaster program.