Hye can someone look at my script? It says npc_parsesrcfile: Unknown syntax in file 'npc/custom/mr tuesday.txt', line '1'.
prontera,155,170,2 script Mr.Tuesday 911,{
//=========================== Settings ====================================
set .@changername$,"[ Mr.Tuesday ]";// YOU MAY CHANGE THE NAME OF THE NPC
set .tcgid,20101;
set @tcgamount,1;
//======================= Settings End ====================================
//*************************************************************************
mes .@changername$;
mes "Damn where is he's hiding';
mes "Have you seen my little brother Mr. Monday?";
next;
switch(select("Yes I've already talk to him.:Find it yourself")){
case 1:
if (countitem(20100) > 0){
mes .@changername$;
mes "Hello "+strcharinfo(0)+" ,";
mes "Hmm. Do you see that wild boar there?";
mes "Today is Tuesday, a day of wildboar hunting";
mes "What you didn't see it? Me too. Hahaha";
next;
mes "Owh my little brother send you to see me?";
mes "About that unsual stone? Owh I see";
mes "I gave it to my sister already Mrs. Wednesday";
next;
switch(select("Can you tell me where she is?:I got to go dude")){
case 1:
mes .@changername$;
mes "Sure but I don't know if she want to see you";
mes "You seem very determined my friend.";
mes "How about we made a deal alright chap?";
next;
switch(select("Okay what is it?:Cancel")){
case 1:
mes .@changername$;
mes "I really love hunting and I can't see very far";
mes "Can you made find the material for ^FF0000 Binoculars ^000000";
mes "so I can craft it myself";
mes "and I need 4 ^0000FF TCG ^000000";
next;
switch(select("I have it right now:Cancel")){
case 1:
mes .@changername$;
mes "Okay let me check if";
mes "you have the material";
next;
mes .@changername$;
mes "Rustle... Rustle...";
if((countitem(2243) > 0) && (countitem(999) > 99) && (countitem(7227) > 3)){
delitem 2243,1;
delitem 999,99;
delitem 7227,2;
next;
mes .@changername$;
getitem .tcgid,@tcgamount; //Change to next Item!
mes "Here take this and see my sister";
mes "Mrs. Wednesday. Take this and she will talk to you";
close;
}
else {
mes .@changername$;
mes "Sorry you have to get the items first!";
close;
}
case 2:
mes .@changername$;
mes "Okay goodbye!";
close;
}
case 2:
mes .@changername$;
mes "Okay goodbye!";
close;
}
case 2:
mes .@changername$;
mes "Okay goodbye!";
close;
}
else {
mes .@changername$;
mes "How rude you young man!";
mes "Try to cheat on me";
close;
}
case 2:
mes .@changername$;
mes "Okay goodbye!";
close;
}
// Enabling
OnClock0655: // 06:55 AM
if(GetTime(4) == 2) // Monday
EnableNPC("Mr.Monday");
End();
// Enabling
OnClock1805: // 06:05 PM
if(GetTime(4) == 2) // Monday
DisableNPC("Mr.Monday");
End();
}
Question
pojiejapan
Hye can someone look at my script? It says npc_parsesrcfile: Unknown syntax in file 'npc/custom/mr tuesday.txt', line '1'.
Link to comment
Share on other sites
8 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.