Jump to content
  • 0

Req : Interview NPC


Dolphin86

Question


  • Group:  Members
  • Topic Count:  266
  • Topics Per Day:  0.06
  • Content Count:  729
  • Reputation:   16
  • Joined:  01/07/12
  • Last Seen:  

Hello thanks for reading my request.

 

Here are the request info:

 

I would like to request an npc that will ask the player for a of random question like 5 stage of random question,

for each stage they have 3 random question

and player have to answer each stage of question without fail,

if a player fail to answer the question they will have to start back from the beginning,

once player complete all 5 stage nc will reward them.

 

 

i really hope that someone would like to help me with my request.

and thank you for your effort to help me.

Edited by dolphincute
Link to comment
Share on other sites

11 answers to this question

Recommended Posts


  • Group:  Developer
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1443
  • Reputation:   338
  • Joined:  10/17/12
  • Last Seen:  

If you provide the questions this is quite easy.

 

Did you want a small prizes after each of the 5 stages or just the last stage?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  266
  • Topics Per Day:  0.06
  • Content Count:  729
  • Reputation:   16
  • Joined:  01/07/12
  • Last Seen:  

Hello Stolao,

Thank you for your time reading and trying to help me with my request,

for those question, just add "Edit Here" and i would like player to receive the reward for only at last stage

Edited by dolphincute
Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1443
  • Reputation:   338
  • Joined:  10/17/12
  • Last Seen:  

Hello Stolao,

Thank for your time reading and trying to help me with my request,

for those question, just add "Edit Here" and i would like player to recive the reward for only at last stage

if a question is missed do they start back at 1st stage or simply the restart the current stage?, right now im setting to start back at 1st stage again.

 

want ti account based or character based?

Edited by Stolao
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  266
  • Topics Per Day:  0.06
  • Content Count:  729
  • Reputation:   16
  • Joined:  01/07/12
  • Last Seen:  

if player fail at any question they will have to do all over again from beginning that means back to stage 1

 

character based

Edited by dolphincute
Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1443
  • Reputation:   338
  • Joined:  10/17/12
  • Last Seen:  



prontera,149,184,4	script	Interview#1	123,{
	if(Interview){
		set .@Stage$,"First","Second","Third","Forth","Fifth";
		mes "[Interviewer]
		mes "You Should be talking to the "+.@Stage$[Interview]+" Interviwer";
		close;
	}
	mes "[Interviewer]
	mes "Welcome, " + (Sex?"Mr.":"Mrs.") + " " + strcharinfo(0);
	mes "I am the First Interviewer, There are Five in total";
	next;

	mes "[Interviewer]
	mes "We will each ask you a series of questions, if you miss one you have to start from the very begining";
	next;

	mes "[Interviewer]
	mes "If you manage to get through all five stages you will get a wonderful prize";
	mes "Would you like to start now?";
	if(select("No Thanks:Yes") == 1){
		mes "Come back if you change your mind";
		close;
	} else {
		next;
		mes "[Interviewer]
		mes "Question 1";
		mes "[]"

		if(prompt("Right:Wrong:Wrong:Wrong") != 1){
			set Interview,0;
			mes "Sorry that is incorrect";
			close2;
			warp "Save",0,0;
			end;
		}

		next;
		mes "[Interviewer]
		mes "Question 2";
		mes "[]"
		if(prompt("Wrong:Wrong:Right:Wrong") != 3){
			set Interview,0;
			mes "Sorry that is incorrect";
			close2;
			warp "Save",0,0;
			end;
		}

		next;
		mes "[Interviewer]
		mes "Question 3";
		mes "[]"
		if(prompt("Wrong:Right:Wrong:Wrong") != 2){
			set Interview,0;
			mes "Sorry that is incorrect";
			close2;
			warp "Save",0,0;
			end;
		}

		next;
		mes "[Interviewer]
		mes "Congrats you passed the first stage";
		set Interview,1;
		close;
		}
	}	
}

prontera,149,182,4	script	Interview#2	123,{

	if(!Interview){
		mes "[Interviewer]
		mes "Hello";
		close;
	}

	if(Interview != 1){
		set .@Stage$,"First","Second","Third","Forth","Fifth";
		mes "[Interviewer]
		mes "You Should be talking to the "+.@Stage$[Interview]+" Interviwer";
		close;
	}

	mes "[Interviewer]
	mes "Welcome, " + (Sex?"Mr.":"Mrs.") + " " + strcharinfo(0);
	mes "I am the Second Interviewer";
	next;

	mes "[Interviewer]
	mes "Would you like to start now?";
	if(select("No Thanks:Yes") == 1){
		mes "Come back if you change your mind";
		close;
	} else {
		next;
		mes "[Interviewer]
		mes "Question 1";
		mes "[]"

		if(prompt("Right:Wrong:Wrong:Wrong") != 1){
			set Interview,0;
			mes "Sorry that is incorrect";
			close2;
			warp "Save",0,0;
			end;
		}

		next;
		mes "[Interviewer]
		mes "Question 2";
		mes "[]"
		if(prompt("Wrong:Wrong:Right:Wrong") != 3){
			set Interview,0;
			mes "Sorry that is incorrect";
			close2;
			warp "Save",0,0;
			end;
		}

		next;
		mes "[Interviewer]
		mes "Question 3";
		mes "[]"
		if(prompt("Wrong:Right:Wrong:Wrong") != 2){
			set Interview,0;
			mes "Sorry that is incorrect";
			close2;
			warp "Save",0,0;
			end;
		}

		next;
		mes "[Interviewer]
		mes "Congrats you passed the second stage";
		set Interview,2;
		close;
		}
	}
}

prontera,149,180,4	script	Interview#3	123,{
	if(!Interview){
		mes "[Interviewer]
		mes "Hello";
		close;
	}

	if(Interview != 2){
		set .@Stage$,"First","Second","Third","Forth","Fifth";
		mes "[Interviewer]
		mes "You Should be talking to the "+.@Stage$[Interview]+" Interviwer";
		close;
	}

	mes "[Interviewer]
	mes "Welcome, "+ strcharinfo(0);
	mes "I am the Third Interviewer";
	next;

	mes "[Interviewer]
	mes "Would you like to start now?";
	if(select("No Thanks:Yes") == 1){
		mes "Come back if you change your mind";
		close;
	} else {
		next;
		mes "[Interviewer]
		mes "Question 1";
		mes "[]"

		if(prompt("Right:Wrong:Wrong:Wrong") != 1){
			set Interview,0;
			mes "Sorry that is incorrect";
			close2;
			warp "Save",0,0;
			end;
		}

		next;
		mes "[Interviewer]
		mes "Question 2";
		mes "[]"
		if(prompt("Wrong:Wrong:Right:Wrong") != 3){
			set Interview,0;
			mes "Sorry that is incorrect";
			close2;
			warp "Save",0,0;
			end;
		}

		next;
		mes "[Interviewer]
		mes "Question 3";
		mes "[]"
		if(prompt("Wrong:Right:Wrong:Wrong") != 2){
			set Interview,0;
			mes "Sorry that is incorrect";
			close2;
			warp "Save",0,0;
			end;
		}

		next;
		mes "[Interviewer]
		mes "Congrats you passed the third stage";
		set Interview,3;
		close;
		}
	}
}

prontera,149,178,4	script	Interview#4	123,{
	if(!Interview){
		mes "[Interviewer]
		mes "Hello";
		close;
	}

	if(Interview != 3){
		set .@Stage$,"First","Second","Third","Forth","Fifth";
		mes "[Interviewer]
		mes "You Should be talking to the "+.@Stage$[Interview]+" Interviwer";
		close;
	}

	mes "[Interviewer]
	mes "Welcome, " + (Sex?"Mr.":"Mrs.") + " " + strcharinfo(0);
	mes "I am the Forth Interviewer";
	next;

	mes "[Interviewer]
	mes "Would you like to start now?";
	if(select("No Thanks:Yes") == 1){
		mes "Come back if you change your mind";
		close;
	} else {
		next;
		mes "[Interviewer]
		mes "Question 1";
		mes "[]"

		if(prompt("Right:Wrong:Wrong:Wrong") != 1){
			set Interview,0;
			mes "Sorry that is incorrect";
			close2;
			warp "Save",0,0;
			end;
		}

		next;
		mes "[Interviewer]
		mes "Question 2";
		mes "[]"
		if(prompt("Wrong:Wrong:Right:Wrong") != 3){
			set Interview,0;
			mes "Sorry that is incorrect";
			close2;
			warp "Save",0,0;
			end;
		}

		next;
		mes "[Interviewer]
		mes "Question 3";
		mes "[]"
		if(prompt("Wrong:Right:Wrong:Wrong") != 2){
			set Interview,0;
			mes "Sorry that is incorrect";
			close2;
			warp "Save",0,0;
			end;
		}

		next;
		mes "[Interviewer]
		mes "Congrats you passed the forth stage";
		set Interview,4;
		close;
		}
	}
}

prontera,149,176,4	script	Interview#5	123,{
	if(!Interview){
		mes "[Interviewer]
		mes "Hello";
		close;
	}

	if(Interview != 1){
		set .@Stage$,"First","Second","Third","Forth","Fifth";
		mes "[Interviewer]
		mes "You Should be talking to the "+.@Stage$[Interview]+" Interviwer";
		close;
	}

	mes "[Interviewer]
	mes "Welcome, " + (Sex?"Mr.":"Mrs.") + " " + strcharinfo(0);
	mes "I am the Fifth Interviewer";
	next;

	mes "[Interviewer]
	mes "Would you like to start now?";
	if(select("No Thanks:Yes") == 1){
		mes "Come back if you change your mind";
		close;
	} else {
		next;
		mes "[Interviewer]
		mes "Question 1";
		mes "[]"

		if(prompt("Right:Wrong:Wrong:Wrong") != 1){
			set Interview,0;
			mes "Sorry that is incorrect";
			close2;
			warp "Save",0,0;
			end;
		}

		next;
		mes "[Interviewer]
		mes "Question 2";
		mes "[]"
		if(prompt("Wrong:Wrong:Right:Wrong") != 3){
			set Interview,0;
			mes "Sorry that is incorrect";
			close2;
			warp "Save",0,0;
			end;
		}

		next;
		mes "[Interviewer]
		mes "Question 3";
		mes "[]"
		if(prompt("Wrong:Right:Wrong:Wrong") != 2){
			set Interview,0;
			mes "Sorry that is incorrect";
			close2;
			warp "Save",0,0;
			end;
		}

		next;
		mes "[Interviewer]
		mes "Congrats you passed the fifth stage";
		set Interview,5;
		getitem 501,1;		//prize
		set zeny,zeny + 100;	//prize
		getexp 10000,5000;	//prize
		close;
		}
	}
}

Here you go, its a very generic quiz should be easy for you to edit.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  266
  • Topics Per Day:  0.06
  • Content Count:  729
  • Reputation:   16
  • Joined:  01/07/12
  • Last Seen:  



prontera,149,184,4	script	Interview#1	123,{
	if(Interview){
		set .@Stage$,"First","Second","Third","Forth","Fifth";
		mes "[Interviewer]
		mes "You Should be talking to the "+.@Stage$[Interview]+" Interviwer";
		close;
	}
	mes "[Interviewer]
	mes "Welcome, " + (Sex?"Mr.":"Mrs.") + " " + strcharinfo(0);
	mes "I am the First Interviewer, There are Five in total";
	next;

	mes "[Interviewer]
	mes "We will each ask you a series of questions, if you miss one you have to start from the very begining";
	next;

	mes "[Interviewer]
	mes "If you manage to get through all five stages you will get a wonderful prize";
	mes "Would you like to start now?";
	if(select("No Thanks:Yes") == 1){
		mes "Come back if you change your mind";
		close;
	} else {
		next;
		mes "[Interviewer]
		mes "Question 1";
		mes "[]"

		if(prompt("Right:Wrong:Wrong:Wrong") != 1){
			set Interview,0;
			mes "Sorry that is incorrect";
			close2;
			warp "Save",0,0;
			end;
		}

		next;
		mes "[Interviewer]
		mes "Question 2";
		mes "[]"
		if(prompt("Wrong:Wrong:Right:Wrong") != 3){
			set Interview,0;
			mes "Sorry that is incorrect";
			close2;
			warp "Save",0,0;
			end;
		}

		next;
		mes "[Interviewer]
		mes "Question 3";
		mes "[]"
		if(prompt("Wrong:Right:Wrong:Wrong") != 2){
			set Interview,0;
			mes "Sorry that is incorrect";
			close2;
			warp "Save",0,0;
			end;
		}

		next;
		mes "[Interviewer]
		mes "Congrats you passed the first stage";
		set Interview,1;
		close;
		}
	}	
}

prontera,149,182,4	script	Interview#2	123,{

	if(!Interview){
		mes "[Interviewer]
		mes "Hello";
		close;
	}

	if(Interview != 1){
		set .@Stage$,"First","Second","Third","Forth","Fifth";
		mes "[Interviewer]
		mes "You Should be talking to the "+.@Stage$[Interview]+" Interviwer";
		close;
	}

	mes "[Interviewer]
	mes "Welcome, " + (Sex?"Mr.":"Mrs.") + " " + strcharinfo(0);
	mes "I am the Second Interviewer";
	next;

	mes "[Interviewer]
	mes "Would you like to start now?";
	if(select("No Thanks:Yes") == 1){
		mes "Come back if you change your mind";
		close;
	} else {
		next;
		mes "[Interviewer]
		mes "Question 1";
		mes "[]"

		if(prompt("Right:Wrong:Wrong:Wrong") != 1){
			set Interview,0;
			mes "Sorry that is incorrect";
			close2;
			warp "Save",0,0;
			end;
		}

		next;
		mes "[Interviewer]
		mes "Question 2";
		mes "[]"
		if(prompt("Wrong:Wrong:Right:Wrong") != 3){
			set Interview,0;
			mes "Sorry that is incorrect";
			close2;
			warp "Save",0,0;
			end;
		}

		next;
		mes "[Interviewer]
		mes "Question 3";
		mes "[]"
		if(prompt("Wrong:Right:Wrong:Wrong") != 2){
			set Interview,0;
			mes "Sorry that is incorrect";
			close2;
			warp "Save",0,0;
			end;
		}

		next;
		mes "[Interviewer]
		mes "Congrats you passed the second stage";
		set Interview,2;
		close;
		}
	}
}

prontera,149,180,4	script	Interview#3	123,{
	if(!Interview){
		mes "[Interviewer]
		mes "Hello";
		close;
	}

	if(Interview != 2){
		set .@Stage$,"First","Second","Third","Forth","Fifth";
		mes "[Interviewer]
		mes "You Should be talking to the "+.@Stage$[Interview]+" Interviwer";
		close;
	}

	mes "[Interviewer]
	mes "Welcome, "+ strcharinfo(0);
	mes "I am the Third Interviewer";
	next;

	mes "[Interviewer]
	mes "Would you like to start now?";
	if(select("No Thanks:Yes") == 1){
		mes "Come back if you change your mind";
		close;
	} else {
		next;
		mes "[Interviewer]
		mes "Question 1";
		mes "[]"

		if(prompt("Right:Wrong:Wrong:Wrong") != 1){
			set Interview,0;
			mes "Sorry that is incorrect";
			close2;
			warp "Save",0,0;
			end;
		}

		next;
		mes "[Interviewer]
		mes "Question 2";
		mes "[]"
		if(prompt("Wrong:Wrong:Right:Wrong") != 3){
			set Interview,0;
			mes "Sorry that is incorrect";
			close2;
			warp "Save",0,0;
			end;
		}

		next;
		mes "[Interviewer]
		mes "Question 3";
		mes "[]"
		if(prompt("Wrong:Right:Wrong:Wrong") != 2){
			set Interview,0;
			mes "Sorry that is incorrect";
			close2;
			warp "Save",0,0;
			end;
		}

		next;
		mes "[Interviewer]
		mes "Congrats you passed the third stage";
		set Interview,3;
		close;
		}
	}
}

prontera,149,178,4	script	Interview#4	123,{
	if(!Interview){
		mes "[Interviewer]
		mes "Hello";
		close;
	}

	if(Interview != 3){
		set .@Stage$,"First","Second","Third","Forth","Fifth";
		mes "[Interviewer]
		mes "You Should be talking to the "+.@Stage$[Interview]+" Interviwer";
		close;
	}

	mes "[Interviewer]
	mes "Welcome, " + (Sex?"Mr.":"Mrs.") + " " + strcharinfo(0);
	mes "I am the Forth Interviewer";
	next;

	mes "[Interviewer]
	mes "Would you like to start now?";
	if(select("No Thanks:Yes") == 1){
		mes "Come back if you change your mind";
		close;
	} else {
		next;
		mes "[Interviewer]
		mes "Question 1";
		mes "[]"

		if(prompt("Right:Wrong:Wrong:Wrong") != 1){
			set Interview,0;
			mes "Sorry that is incorrect";
			close2;
			warp "Save",0,0;
			end;
		}

		next;
		mes "[Interviewer]
		mes "Question 2";
		mes "[]"
		if(prompt("Wrong:Wrong:Right:Wrong") != 3){
			set Interview,0;
			mes "Sorry that is incorrect";
			close2;
			warp "Save",0,0;
			end;
		}

		next;
		mes "[Interviewer]
		mes "Question 3";
		mes "[]"
		if(prompt("Wrong:Right:Wrong:Wrong") != 2){
			set Interview,0;
			mes "Sorry that is incorrect";
			close2;
			warp "Save",0,0;
			end;
		}

		next;
		mes "[Interviewer]
		mes "Congrats you passed the forth stage";
		set Interview,4;
		close;
		}
	}
}

prontera,149,176,4	script	Interview#5	123,{
	if(!Interview){
		mes "[Interviewer]
		mes "Hello";
		close;
	}

	if(Interview != 1){
		set .@Stage$,"First","Second","Third","Forth","Fifth";
		mes "[Interviewer]
		mes "You Should be talking to the "+.@Stage$[Interview]+" Interviwer";
		close;
	}

	mes "[Interviewer]
	mes "Welcome, " + (Sex?"Mr.":"Mrs.") + " " + strcharinfo(0);
	mes "I am the Fifth Interviewer";
	next;

	mes "[Interviewer]
	mes "Would you like to start now?";
	if(select("No Thanks:Yes") == 1){
		mes "Come back if you change your mind";
		close;
	} else {
		next;
		mes "[Interviewer]
		mes "Question 1";
		mes "[]"

		if(prompt("Right:Wrong:Wrong:Wrong") != 1){
			set Interview,0;
			mes "Sorry that is incorrect";
			close2;
			warp "Save",0,0;
			end;
		}

		next;
		mes "[Interviewer]
		mes "Question 2";
		mes "[]"
		if(prompt("Wrong:Wrong:Right:Wrong") != 3){
			set Interview,0;
			mes "Sorry that is incorrect";
			close2;
			warp "Save",0,0;
			end;
		}

		next;
		mes "[Interviewer]
		mes "Question 3";
		mes "[]"
		if(prompt("Wrong:Right:Wrong:Wrong") != 2){
			set Interview,0;
			mes "Sorry that is incorrect";
			close2;
			warp "Save",0,0;
			end;
		}

		next;
		mes "[Interviewer]
		mes "Congrats you passed the fifth stage";
		set Interview,5;
		getitem 501,1;		//prize
		set zeny,zeny + 100;	//prize
		getexp 10000,5000;	//prize
		close;
		}
	}
}

Here you go, its a very generic quiz should be easy for you to edit.

 

 

Thank You SOOO Much /no1 /no1

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  266
  • Topics Per Day:  0.06
  • Content Count:  729
  • Reputation:   16
  • Joined:  01/07/12
  • Last Seen:  

hello its me again, i have upload your script to my server, i havent change anything yet.

bump to error.

 

problem.png

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1443
  • Reputation:   338
  • Joined:  10/17/12
  • Last Seen:  

hello its me again, i have upload your script to my server, i havent change anything yet.

bump to error.

 

problem.png

 

 

lol sorry about that here,


prontera,149,184,4	script	Interview#1	123,{
	if(Interview){
		set .@Stage$,"First","Second","Third","Forth","Fifth";
		mes "[Interviewer]";
		mes "You Should be talking to the "+.@Stage$[Interview]+" Interviwer";
		close;
	}
	mes "[Interviewer]";
	mes "Welcome, " + (Sex?"Mr.":"Mrs.") + " " + strcharinfo(0);
	mes "I am the First Interviewer, There are Five in total";
	next;

	mes "[Interviewer]";
	mes "We will each ask you a series of questions, if you miss one you have to start from the very begining";
	next;

	mes "[Interviewer]";
	mes "If you manage to get through all five stages you will get a wonderful prize";
	mes "Would you like to start now?";
	if(select("No Thanks:Yes") == 1){
		mes "Come back if you change your mind";
		close;
	} else {
		next;
		mes "[Interviewer]";
		mes "Question 1";
		mes "[]"

		if(prompt("Right:Wrong:Wrong:Wrong") != 1){
			set Interview,0;
			mes "Sorry that is incorrect";
			close2;
			warp "Save",0,0;
			end;
		}

		next;
		mes "[Interviewer]";
		mes "Question 2";
		mes "[]"
		if(prompt("Wrong:Wrong:Right:Wrong") != 3){
			set Interview,0;
			mes "Sorry that is incorrect";
			close2;
			warp "Save",0,0;
			end;
		}

		next;
		mes "[Interviewer]";
		mes "Question 3";
		mes "[]"
		if(prompt("Wrong:Right:Wrong:Wrong") != 2){
			set Interview,0;
			mes "Sorry that is incorrect";
			close2;
			warp "Save",0,0;
			end;
		}

		next;
		mes "[Interviewer]";
		mes "Congrats you passed the first stage";
		set Interview,1;
		close;
		}
	}	
}

prontera,149,182,4	script	Interview#2	123,{

	if(!Interview){
		mes "[Interviewer]";
		mes "Hello";
		close;
	}

	if(Interview != 1){
		set .@Stage$,"First","Second","Third","Forth","Fifth";
		mes "[Interviewer]";
		mes "You Should be talking to the "+.@Stage$[Interview]+" Interviwer";
		close;
	}

	mes "[Interviewer]";
	mes "Welcome, " + (Sex?"Mr.":"Mrs.") + " " + strcharinfo(0);
	mes "I am the Second Interviewer";
	next;

	mes "[Interviewer]";
	mes "Would you like to start now?";
	if(select("No Thanks:Yes") == 1){
		mes "Come back if you change your mind";
		close;
	} else {
		next;
		mes "[Interviewer]";
		mes "Question 1";
		mes "[]"

		if(prompt("Right:Wrong:Wrong:Wrong") != 1){
			set Interview,0;
			mes "Sorry that is incorrect";
			close2;
			warp "Save",0,0;
			end;
		}

		next;
		mes "[Interviewer]";
		mes "Question 2";
		mes "[]"
		if(prompt("Wrong:Wrong:Right:Wrong") != 3){
			set Interview,0;
			mes "Sorry that is incorrect";
			close2;
			warp "Save",0,0;
			end;
		}

		next;
		mes "[Interviewer]";
		mes "Question 3";
		mes "[]"
		if(prompt("Wrong:Right:Wrong:Wrong") != 2){
			set Interview,0;
			mes "Sorry that is incorrect";
			close2;
			warp "Save",0,0;
			end;
		}

		next;
		mes "[Interviewer]";
		mes "Congrats you passed the second stage";
		set Interview,2;
		close;
		}
	}
}

prontera,149,180,4	script	Interview#3	123,{
	if(!Interview){
		mes "[Interviewer]";
		mes "Hello";
		close;
	}

	if(Interview != 2){
		set .@Stage$,"First","Second","Third","Forth","Fifth";
		mes "[Interviewer]";
		mes "You Should be talking to the "+.@Stage$[Interview]+" Interviwer";
		close;
	}

	mes "[Interviewer]";
	mes "Welcome, "+ strcharinfo(0);
	mes "I am the Third Interviewer";
	next;

	mes "[Interviewer]";
	mes "Would you like to start now?";
	if(select("No Thanks:Yes") == 1){
		mes "Come back if you change your mind";
		close;
	} else {
		next;
		mes "[Interviewer]";
		mes "Question 1";
		mes "[]"

		if(prompt("Right:Wrong:Wrong:Wrong") != 1){
			set Interview,0;
			mes "Sorry that is incorrect";
			close2;
			warp "Save",0,0;
			end;
		}

		next;
		mes "[Interviewer]";
		mes "Question 2";
		mes "[]"
		if(prompt("Wrong:Wrong:Right:Wrong") != 3){
			set Interview,0;
			mes "Sorry that is incorrect";
			close2;
			warp "Save",0,0;
			end;
		}

		next;
		mes "[Interviewer]";
		mes "Question 3";
		mes "[]"
		if(prompt("Wrong:Right:Wrong:Wrong") != 2){
			set Interview,0;
			mes "Sorry that is incorrect";
			close2;
			warp "Save",0,0;
			end;
		}

		next;
		mes "[Interviewer]";
		mes "Congrats you passed the third stage";
		set Interview,3;
		close;
		}
	}
}

prontera,149,178,4	script	Interview#4	123,{
	if(!Interview){
		mes "[Interviewer]";
		mes "Hello";
		close;
	}

	if(Interview != 3){
		set .@Stage$,"First","Second","Third","Forth","Fifth";
		mes "[Interviewer]";
		mes "You Should be talking to the "+.@Stage$[Interview]+" Interviwer";
		close;
	}

	mes "[Interviewer]";
	mes "Welcome, " + (Sex?"Mr.":"Mrs.") + " " + strcharinfo(0);
	mes "I am the Forth Interviewer";
	next;

	mes "[Interviewer]";
	mes "Would you like to start now?";
	if(select("No Thanks:Yes") == 1){
		mes "Come back if you change your mind";
		close;
	} else {
		next;
		mes "[Interviewer]";
		mes "Question 1";
		mes "[]"

		if(prompt("Right:Wrong:Wrong:Wrong") != 1){
			set Interview,0;
			mes "Sorry that is incorrect";
			close2;
			warp "Save",0,0;
			end;
		}

		next;
		mes "[Interviewer]";
		mes "Question 2";
		mes "[]"
		if(prompt("Wrong:Wrong:Right:Wrong") != 3){
			set Interview,0;
			mes "Sorry that is incorrect";
			close2;
			warp "Save",0,0;
			end;
		}

		next;
		mes "[Interviewer]";
		mes "Question 3";
		mes "[]"
		if(prompt("Wrong:Right:Wrong:Wrong") != 2){
			set Interview,0;
			mes "Sorry that is incorrect";
			close2;
			warp "Save",0,0;
			end;
		}

		next;
		mes "[Interviewer]";
		mes "Congrats you passed the forth stage";
		set Interview,4;
		close;
		}
	}
}

prontera,149,176,4	script	Interview#5	123,{
	if(!Interview){
		mes "[Interviewer]";
		mes "Hello";
		close;
	}

	if(Interview != 1){
		set .@Stage$,"First","Second","Third","Forth","Fifth";
		mes "[Interviewer]";
		mes "You Should be talking to the "+.@Stage$[Interview]+" Interviwer";
		close;
	}

	mes "[Interviewer]";
	mes "Welcome, " + (Sex?"Mr.":"Mrs.") + " " + strcharinfo(0);
	mes "I am the Fifth Interviewer";
	next;

	mes "[Interviewer]";
	mes "Would you like to start now?";
	if(select("No Thanks:Yes") == 1){
		mes "Come back if you change your mind";
		close;
	} else {
		next;
		mes "[Interviewer]";
		mes "Question 1";
		mes "[]"

		if(prompt("Right:Wrong:Wrong:Wrong") != 1){
			set Interview,0;
			mes "Sorry that is incorrect";
			close2;
			warp "Save",0,0;
			end;
		}

		next;
		mes "[Interviewer]";
		mes "Question 2";
		mes "[]"
		if(prompt("Wrong:Wrong:Right:Wrong") != 3){
			set Interview,0;
			mes "Sorry that is incorrect";
			close2;
			warp "Save",0,0;
			end;
		}

		next;
		mes "[Interviewer]";
		mes "Question 3";
		mes "[]"
		if(prompt("Wrong:Right:Wrong:Wrong") != 2){
			set Interview,0;
			mes "Sorry that is incorrect";
			close2;
			warp "Save",0,0;
			end;
		}

		next;
		mes "[Interviewer]";
		mes "Congrats you passed the fifth stage";
		set Interview,5;
		getitem 501,1;		//prize
		set zeny,zeny + 100;	//prize
		getexp 10000,5000;	//prize
		close;
		}
	}
}

Sorry i didn't even bother bug testing cuz it was so simple. if you wan to quick edit yours just ctrl + H and change mes "[interviewer] to mes "[interviewer]";

Edited by Stolao
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  266
  • Topics Per Day:  0.06
  • Content Count:  729
  • Reputation:   16
  • Joined:  01/07/12
  • Last Seen:  


[Error]:

script error on npc/RFRO/inter.txt line 4

Unexpected newline at string.

0 : vip,72,58,4 script Interview#1 123,{

1 : if(Interview){

2 : set .@Stage$,"First","Second","Third","Forth","Fifth";

3 : mes "[Interviewer]

* 4 : mes "You Should be talking to the "+.@Stage$[Interview]+" Interviwer";

5 : close;

6 : }

7 : mes "[Interviewer]

8 : mes "Welcome, " + (Sex?"Mr.":"Mrs.") + " " + strcharinfo(0);

9 : mes "I am the First Interviewer, There are Five in total";

[Error]:

-bash: [Error]:: command not found

[budgetus11@budgetus02 ~]$ script error on npc/RFRO/inter.txt line 4

Script started, file is error

[budgetus11@budgetus02 ~]$ Unexpected newline at string.

bash: Unexpected: command not found

[budgetus11@budgetus02 ~]$ 0 : vip,72,58,4 script Interview#1 123,{

bash: 0: command not found

[budgetus11@budgetus02 ~]$ 1 : if(Interview){

bash: syntax error near unexpected token `('

[budgetus11@budgetus02 ~]$ 2 : set .@Stage$,"First","Second","Third","Forth","Fifth";

bash: 2: command not found

[budgetus11@budgetus02 ~]$ 3 : mes "[Interviewer]

> * 4 : mes "You Should be talking to the "+.@Stage$[Interview]+" Interviwer";

> 5 : close;

> 6 : }

> 7 : mes "[Interviewer]

bash: 3: command not found

[budgetus11@budgetus02 ~]$ 8 : mes "Welcome, " + (Sex?"Mr.":"Mrs.") + " " + strcharinfo(0);

bash: syntax error near unexpected token `('

[budgetus11@budgetus02 ~]$ 9 : mes "I am the First Interviewer, There are Five in total";

bash: 9: command not found

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2350
  • Joined:  10/28/11
  • Last Seen:  


mes "[Interviewer] <----- missing ";

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  266
  • Topics Per Day:  0.06
  • Content Count:  729
  • Reputation:   16
  • Joined:  01/07/12
  • Last Seen:  

Oh i dint notice that, thanks Emistry

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...