=====================================================
// Sad Girl
new_1-1,124,129,6 script Sad Girl 552,{ //4_F_STARFISHGIRL
if (checkquest(20500) == -1) { //You don't have this quest.
mes "Leave me alone!!...";
next;
mes "[ " + strnpcinfo(1) + " ]";
mes "I said leave me alone!!...";
next;
mes "^009900[ " + strcharinfo(0) + " ]^000000";
mes "Why are you crying?";
mes "Is there something i can do.";
next;
mes "[ " + strnpcinfo(1) + " ]";
mes "This dog stole Gold Pouch !";
mes "He digged it beneath the ground";
mes "And i cant find it anymore";
next;
mes "[ " + strnpcinfo(1) + " ]";
mes "Do you want to help me search?";
if (select("Help Search:Dont help") != 1) {
mes "[ " + strnpcinfo(1) + " ]";
mes "You Selfish Human Being!!";
} else {
mes "[ " + strnpcinfo(1) + " ]";
mes "Thank you so much";
next;
setquest 20500;
mes "[ " + strnpcinfo(1) + " ]";
mes "There is a dighole around.";
close2;
end;
}
if (checkquest(20500) == 2) { //Quest is completed.
mes "Thanks for helping";
close2;
end;
}
if (checkquest(20000) == 0 || checkquest(20000) == 1) { //Active.
if (countitem(7865) > 0) {
mes "[ " + strnpcinfo(1) + " ]";
mes "Oh my god, you found it!!";
delitem 7865,1;
next;
completequest 20500;
getexp 20,15;
close;
end;
}
// Dighole
new_1-1,122,125,6 script Dighole 557,{ //4_SOIL
if( !GiveQuestItem1 ){
set GiveQuestItem1,1;
mes "[ " + strnpcinfo(1) + " ]";
mes "You found the Gold Pouch";
getitem 7865,1;
} else {
mes "Just and empty dighole";
close;
end;
}
// Dog who digged in Gold Pouch
new_1-1,124,129,6 script Playfull Dog 81,{ //4_DOG01
mes "[ " + strnpcinfo(1) + " ]";
mes "Bark !!";
close;
end;
}
=====================================================
i got this in mapserv.sql.bat
[Error]: Missing 4 right curlys at file 'npc/custom/new/SQ_Sad_Girl.txt', line '83'.
Question
kurosuki

Edited by Emistryuse codebox
Link to comment
Share on other sites
9 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.