View Single Post
  #1  
Old 02-15-2015, 10:58 AM
Bohbo
Hill Giant
 
Join Date: Dec 2012
Posts: 116
Default MySQL Error 1064 on TaskSets

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));



}
}
}
Reply With Quote