I was trying to setup my first taskset and when i give permission for a task. Whenever i try and write the enabletask i get this SQL error.
Here is my quest code snippet
Quote:
}elsif($text=~/yes/i){
if(!quest::istaskcompleted(quest::lasttaskinset(11 ))) {
# If the player has no tasks enabled for this task set, enable the first one
if(quest::enabledtaskcount(11) == 0) {
quest::say("You have not done any of my tasks before!");
quest::enabletask(quest::firsttaskinset(11));
}
}
}
|