I'm trying to get it so this NPC puts the player into a guild after you say a few things. Heres the error i'm getting
Code:
Line: 10,File: quests/load2/170467.qst | error C0002: 'if' :syntax error : '(' 0
'('s still not closed.
Line: 10,File: quests/load2/170467.qst | error C0007: 'setguild' : Unknown funct
ion
Line: 10,File: quests/load2/170466.qst | error C0002: 'if' :syntax error : '(' 0
'('s still not closed.
Line: 10,File: quests/load2/170466.qst | error C0007: 'setguild' : Unknown funct
ion
It looks as if it doesn't even recognize it as a function. Heres the quest file.
Code:
EVENT_ITEM{
if($item1 == "6");
setguild("6","5");
castspell("$userid","4498");}
}