Jump to content
  • 0

Can anyone properly configure this?


Newbie Scripter

Question


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  21
  • Reputation:   0
  • Joined:  11/25/13
  • Last Seen:  

sec_in01,94,156,4	script	Gabrielle	720,{
	mes "[ ^F660ABGabrielle^000000 ]";
	mes "Hi ^F4123F"+strcharinfo(0)+"^000000";
	mes "I can trade several beautiful scarfs to you";
	mes "Do you want to know what i have in store?";
	next;

	if (select("Yes Please:No") == 2) {
		mes "[ ^F660ABGabrielle^000000 ]";
		mes "Comeback Soon!... >.>";
		close; }

	mes "I have a collection of special magical Scarfs";
	next;
	switch(select("^F4123FBlue Scarf^000000:^F4123FCyan Scarf^000000:^F4123FBlack Scarf^000000:^F4123FRed Scarf^000000:^F4123FPink Scarf^000000:^F4123FGreen Scarf^000000:^F4123FExit^000000")) {
	case 1:
		mes "[ ^F660ABGabrielle^000000 ]";
		mes "A blue scarf ei? reminds of GM-Pentium she like's to wear it everytime. anyway";
		mes "Would you like one?";
		next;
		
		if (select("Yes Please:No") == 2) {
		mes "Alright guess it wasn't your type";
		mes "Comeback Soon!... >.>";
		close; }

		Emotion e_ho;
		next;
		mes "[ ^F660ABGabrielle^000000 ]";
		mes "I need the following items for  me to give you";
		mes "1 ^0000FFBlue Scarf^000000";
		next;
		mes "[ ^F660ABGabrielle^000000 ]";
		mes "1 TCG Card";
		mes "5 Santa's Hat";
		mes "500 Well baked Cookie";
		mes "500 Candy";
		mes "10 Cobalt Blue Dyestuff";
		mes "10 White Dyestuff";
		mes "100 Tiger Panty";
		mes "100 Alice's Apron";
		mes "10 Silver Coins";

		mes "What do you say?";
		next;
		
		if(countitem(7227) > 1) 
		if(countitem(2236) > 4) 
		if(countitem(538) > 499) 
		if(countitem(529) > 499) 
		if(countitem(978) > 9) 
		if(countitem(982) > 9) 
		if(countitem(7267) > 99) 
		if(countitem(7047) > 99)
		if(countitem(675) > 9)
					
				{
			mes "[ ^F660ABGabrielle^000000 ]";
			mes "Wow! You've Collected it all!";
			next;
			delitem 7227,1;
			delitem 2236,5;
			delitem 538,500;
			delitem 529,500;
			delitem 978,10;
			delitem 982,10;
			delitem 7267,100;
			delitem 7047,100;
			delitem 675,10;
			mes "[ ^F660Gabrielle^000000 ]";
			mes "Here you go";
			getitem 21290,1;
			Emotion e_grat;
			next;
			mes "[ ^F660ABGabrielle^000000 ]";
			mes "See you around!";
			Emotion e_bo;
			close;
		}
		else {
			mes "[ ^F660ABGabrielle^000000 ]";
			mes "You don't meet my standards go away!";
			Emotion e_heh;
			close;			
		}

	case 2:
		mes "[ ^F660ABGabrielle^000000 ]";
		mes "A blue scarf ei? reminds of GM-Pentium she like's to wear it everytime. anyway";
		mes "Would you like one?";
		next;
		
		if (select("Yes Please:No") == 2) {
		mes "Alright guess it wasn't your type";
		mes "Comeback Soon!... >.>";
		close; }

		Emotion e_ho;
		next;
		mes "[ ^F660ABGabrielle^000000 ]";
		mes "I need the following items for  me to give you";
		mes "1 ^0000FFBlue Scarf^000000";
		next;
		mes "[ ^F660ABGabrielle^000000 ]";
		mes "1 TCG Card";
		mes "5 Santa's Hat";
		mes "500 Well baked Cookie";
		mes "500 Candy";
		mes "10 Cobalt Blue Dyestuff";
		mes "10 White Dyestuff";
		mes "100 Tiger Panty";
		mes "100 Alice's Apron";
		mes "10 Silver Coins";

		mes "What do you say?";
		next;
		
		if(countitem(7227) > 1) 
		if(countitem(2236) > 4) 
		if(countitem(538) > 499) 
		if(countitem(529) > 499) 
		if(countitem(978) > 9) 
		if(countitem(982) > 9) 
		if(countitem(7267) > 99) 
		if(countitem(7047) > 99)
		if(countitem(675) > 9)
					{
			mes "[ ^F660ABGabrielle^000000 ]";
			mes "Wow! You've Collected it all!";
			next;
			delitem 7227,1;
			delitem 2236,5;
			delitem 538,500;
			delitem 529,500;
			delitem 978,10;
			delitem 982,10;
			delitem 7267,100;
			delitem 7047,100;
			delitem 675,10;
			mes "[ ^F660Gabrielle^000000 ]";
			mes "Here you go";
			getitem 21290,1;
			Emotion e_grat;
			next;
			mes "[ ^F660ABGabrielle^000000 ]";
			mes "See you around!";
			Emotion e_bo;
			close;
		}
		else {
			mes "[ ^F660ABGabrielle^000000 ]";
			mes "You don't meet my standards go away!";
			Emotion e_heh;
			close;			
		}

	case 3:
		mes "[ ^F660ABGabrielle^000000 ]";
		mes "A blue scarf ei? reminds of GM-Pentium she like's to wear it everytime. anyway";
		mes "Would you like one?";
		next;
		
		if (select("Yes Please:No") == 2) {
		mes "Alright guess it wasn't your type";
		mes "Comeback Soon!... >.>";
		close; }

		Emotion e_ho;
		next;
		mes "[ ^F660ABGabrielle^000000 ]";
		mes "I need the following items for  me to give you";
		mes "1 ^0000FFBlue Scarf^000000";
		next;
		mes "[ ^F660ABGabrielle^000000 ]";
		mes "1 TCG Card";
		mes "5 Santa's Hat";
		mes "500 Well baked Cookie";
		mes "500 Candy";
		mes "10 Cobalt Blue Dyestuff";
		mes "10 White Dyestuff";
		mes "100 Tiger Panty";
		mes "100 Alice's Apron";
		mes "10 Silver Coins";

		mes "What do you say?";
		next;
	

		if(countitem(7227) > 1) 
		if(countitem(2236) > 4) 
		if(countitem(538) > 499) 
		if(countitem(529) > 499) 
		if(countitem(978) > 9) 
		if(countitem(982) > 9) 
		if(countitem(7267) > 99) 
		if(countitem(7047) > 99)
		if(countitem(675) > 9)
				{
			mes "[ ^F660ABGabrielle^000000 ]";
			mes "Wow! You've Collected it all!";
			next;
			delitem 7227,1;
			delitem 2236,5;
			delitem 538,500;
			delitem 529,500;
			delitem 978,10;
			delitem 982,10;
			delitem 7267,100;
			delitem 7047,100;
			delitem 675,10;
			mes "[ ^F660Gabrielle^000000 ]";
			mes "Here you go";
			getitem 21290,1;
			Emotion e_grat;
			next;
			mes "[ ^F660ABGabrielle^000000 ]";
			mes "See you around!";
			Emotion e_bo;
			close;
		}
		else {
			mes "[ ^F660ABGabrielle^000000 ]";
			mes "You don't meet my standards go away!";
			Emotion e_heh;
			close;			
		}

	case 4:
		mes "[ ^F660ABGabrielle^000000 ]";
		mes "A blue scarf ei? reminds of GM-Pentium she like's to wear it everytime. anyway";
		mes "Would you like one?";
		next;
		
		if (select("Yes Please:No") == 2) {
		mes "Alright guess it wasn't your type";
		mes "Comeback Soon!... >.>";
		close; }

		Emotion e_ho;
		next;
		mes "[ ^F660ABGabrielle^000000 ]";
		mes "I need the following items for  me to give you";
		mes "1 ^0000FFBlue Scarf^000000";
		next;
		mes "[ ^F660ABGabrielle^000000 ]";
		mes "1 TCG Card";
		mes "5 Santa's Hat";
		mes "500 Well baked Cookie";
		mes "500 Candy";
		mes "10 Cobalt Blue Dyestuff";
		mes "10 White Dyestuff";
		mes "100 Tiger Panty";
		mes "100 Alice's Apron";
		mes "10 Silver Coins";

		mes "What do you say?";
		next;
	
		if(countitem(7227) > 1) 
		if(countitem(2236) > 4) 
		if(countitem(538) > 499) 
		if(countitem(529) > 499) 
		if(countitem(978) > 9) 
		if(countitem(982) > 9) 
		if(countitem(7267) > 99) 
		if(countitem(7047) > 99)
		if(countitem(675) > 9)
				{
			mes "[ ^F660ABGabrielle^000000 ]";
			mes "Wow! You've Collected it all!";
			next;
			delitem 7227,1;
			delitem 2236,5;
			delitem 538,500;
			delitem 529,500;
			delitem 978,10;
			delitem 982,10;
			delitem 7267,100;
			delitem 7047,100;
			delitem 675,10;
			mes "[ ^F660Gabrielle^000000 ]";
			mes "Here you go";
			getitem 21290,1;
			Emotion e_grat;
			next;
			mes "[ ^F660ABGabrielle^000000 ]";
			mes "See you around!";
			Emotion e_bo;
			close;
		}
		else {
			mes "[ ^F660ABGabrielle^000000 ]";
			mes "You don't meet my standards go away!";
			Emotion e_heh;
			close;			
		}

	case 5:
		mes "[ ^F660ABGabrielle^000000 ]";
		mes "A blue scarf ei? reminds of GM-Pentium she like's to wear it everytime. anyway";
		mes "Would you like one?";
		next;
		
		if (select("Yes Please:No") == 2) {
		mes "Alright guess it wasn't your type";
		mes "Comeback Soon!... >.>";
		close; }

		Emotion e_ho;
		next;
		mes "[ ^F660ABGabrielle^000000 ]";
		mes "I need the following items for  me to give you";
		mes "1 ^0000FFBlue Scarf^000000";
		next;
		mes "[ ^F660ABGabrielle^000000 ]";
		mes "1 TCG Card";
		mes "5 Santa's Hat";
		mes "500 Well baked Cookie";
		mes "500 Candy";
		mes "10 Cobalt Blue Dyestuff";
		mes "10 White Dyestuff";
		mes "100 Tiger Panty";
		mes "100 Alice's Apron";
		mes "10 Silver Coins";

		mes "What do you say?";
		next;

		if(countitem(7227) > 1) 
		if(countitem(2236) > 4) 
		if(countitem(538) > 499) 
		if(countitem(529) > 499) 
		if(countitem(978) > 9) 
		if(countitem(982) > 9) 
		if(countitem(7267) > 99) 
		if(countitem(7047) > 99)
		if(countitem(675) > 9)
				{
			mes "[ ^F660ABGabrielle^000000 ]";
			mes "Wow! You've Collected it all!";
			next;
			delitem 7227,1;
			delitem 2236,5;
			delitem 538,500;
			delitem 529,500;
			delitem 978,10;
			delitem 982,10;
			delitem 7267,100;
			delitem 7047,100;
			delitem 675,10;
			mes "[ ^F660Gabrielle^000000 ]";
			mes "Here you go";
			getitem 21290,1;
			Emotion e_grat;
			next;
			mes "[ ^F660ABGabrielle^000000 ]";
			mes "See you around!";
			Emotion e_bo;
			close;
		}
		else {
			mes "[ ^F660ABGabrielle^000000 ]";
			mes "You don't meet my standards go away!";
			Emotion e_heh;
			close;			
		}

	case 6:
		mes "[ ^F660ABGabrielle^000000 ]";
		mes "A blue scarf ei? reminds of GM-Pentium she like's to wear it everytime. anyway";
		mes "Would you like one?";
		next;
		
		if (select("Yes Please:No") == 2) {
		mes "Alright guess it wasn't your type";
		mes "Comeback Soon!... >.>";
		close; }
		next;
		Emotion e_ho;
		next;
		mes "[ ^F660ABGabrielle^000000 ]";
		mes "I need the following items for  me to give you";
		mes "1 ^0000FFBlue Scarf^000000";
		next;
		mes "[ ^F660ABGabrielle^000000 ]";
		mes "1 TCG Card";
		mes "5 Santa's Hat";
		mes "500 Well baked Cookie";
		mes "500 Candy";
		mes "10 Cobalt Blue Dyestuff";
		mes "10 White Dyestuff";
		mes "100 Tiger Panty";
		mes "100 Alice's Apron";
		mes "10 Silver Coins";

		mes "What do you say?";

		if(countitem(7227) > 1) 
		if(countitem(2236) > 4) 
		if(countitem(538) > 499) 
		if(countitem(529) > 499) 
		if(countitem(978) > 9) 
		if(countitem(982) > 9) 
		if(countitem(7267) > 99) 
		if(countitem(7047) > 99)
		if(countitem(675) > 9)	
			{
			delitem 7227,1;
			delitem 2236,5;
			delitem 538,500;
			delitem 529,500;
			delitem 978,10;
			delitem 982,10;
			delitem 7267,100;
			delitem 7047,100;
			delitem 675,10;
			mes "[ ^F660ABGabrielle^000000 ]";
			mes "Wow! You've Collected it all!";
			next;

			mes "[ ^F660Gabrielle^000000 ]";
			mes "Here you go";
			getitem 21290,1;
			Emotion e_grat;
			next;
			mes "[ ^F660ABGabrielle^000000 ]";
			mes "See you around!";
			Emotion e_bo;
			close;
		}
		else {
			mes "[ ^F660ABGabrielle^000000 ]";
			mes "You don't meet my standards go away!";
			Emotion e_heh;
			close;			
		}

	case 7:
		mes "[ ^F660ABGabrielle^000000 ]";
		mes "Alright!";
		mes "Just come back , Ill be waiting baby!";
		Emotion e_no1;
		close;
	}
}


	

Its not working the way i intended it to and it does go all the cases never halts or checks for the items, this was suppose to be a quest npc anyone can help me configure or set it properly?

Link to comment
Share on other sites

6 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  24
  • Topics Per Day:  0.01
  • Content Count:  151
  • Reputation:   5
  • Joined:  11/09/12
  • Last Seen:  

i'm on it..

sec_in01,94,156,4	script	Gabrielle	720,{
	mes "[ ^F660ABGabrielle^000000 ]";
	mes "Hi ^F4123F"+strcharinfo(0)+"^000000";
	mes "I can trade several beautiful scarfs to you";
	mes "Do you want to know what i have in store?";
	next;
				switch(select("Yes Please:No")) {
					case 2:
					mes "[ ^F660ABGabrielle^000000 ]";
					mes "Comeback Soon!... >.>";
					close; 
	case 1:
	next;
	mes "I have a collection of special magical Scarfs";
	next;
	switch(select("^F4123FBlue Scarf^000000:^F4123FCyan Scarf^000000:^F4123FBlack Scarf^000000:^F4123FRed Scarf^000000:^F4123FPink Scarf^000000:^F4123FGreen Scarf^000000:^F4123FExit^000000")) {

case 1:
		Emotion e_ho;
		next;
		mes "[ ^F660ABGabrielle^000000 ]";
		mes "I need the following items for  me to give you";
		mes "1 ^0000FFBlue Scarf^000000";
		next;
		mes "[ ^F660ABGabrielle^000000 ]";
		mes "1 TCG Card";
		mes "5 Santa's Hat";
		mes "500 Well baked Cookie";
		mes "500 Candy";
		mes "10 Cobalt Blue Dyestuff";
		mes "10 White Dyestuff";
		mes "100 Tiger Panty";
		mes "100 Alice's Apron";
		mes "10 Silver Coins";
		mes "What do you say?";
		next;
		if(countitem(7227) >= 1 && countitem(2236) >= 5 && countitem(538) >= 500 && countitem(529) >= 500 && countitem(978) >= 10 && countitem(982) >= 10 && countitem(7267) >= 100 && countitem(7047) >= 100 && countitem(675) >= 10){
			mes "[ ^F660ABGabrielle^000000 ]";
			mes "Wow! You've Collected it all!";
			next;
			delitem 7227,1;
			delitem 2236,5;
			delitem 538,500;
			delitem 529,500;
			delitem 978,10;
			delitem 982,10;
			delitem 7267,100;
			delitem 7047,100;
			delitem 675,10;
			mes "[ ^F660Gabrielle^000000 ]";
			mes "Here you go";
			getitem 21290,1;
			Emotion e_grat;
			next;
			mes "[ ^F660ABGabrielle^000000 ]";
			mes "See you around!";
			Emotion e_bo;
			close;
		}
		else {
			mes "[ ^F660ABGabrielle^000000 ]";
			mes "You don't meet my standards go away!";
			Emotion e_heh;
			close;			
		}


	case 2:
		Emotion e_ho;
		next;
		mes "[ ^F660ABGabrielle^000000 ]";
		mes "I need the following items for  me to give you";
		mes "1 ^0000FFCyan Scarf^000000";
		next;
		mes "[ ^F660ABGabrielle^000000 ]";
		mes "1 TCG Card";
		mes "5 Santa's Hat";
		mes "500 Well baked Cookie";
		mes "500 Candy";
		mes "10 Cobalt Blue Dyestuff";
		mes "10 White Dyestuff";
		mes "100 Tiger Panty";
		mes "100 Alice's Apron";
		mes "10 Silver Coins";

		mes "What do you say?";
		next;
		
			if(countitem(7227) >= 1 && countitem(2236) >= 5 && countitem(538) >= 500 && countitem(529) >= 500 && countitem(978) >= 10 && countitem(982) >= 10 && countitem(7267) >= 100 && countitem(7047) >= 100 && countitem(675) >= 10){
			mes "[ ^F660ABGabrielle^000000 ]";
			mes "Wow! You've Collected it all!";
			next;
			delitem 7227,1;
			delitem 2236,5;
			delitem 538,500;
			delitem 529,500;
			delitem 978,10;
			delitem 982,10;
			delitem 7267,100;
			delitem 7047,100;
			delitem 675,10;
			mes "[ ^F660Gabrielle^000000 ]";
			mes "Here you go";
			getitem 21290,1;
			Emotion e_grat;
			next;
			mes "[ ^F660ABGabrielle^000000 ]";
			mes "See you around!";
			Emotion e_bo;
			close;
		}
		else {
			mes "[ ^F660ABGabrielle^000000 ]";
			mes "You don't meet my standards go away!";
			Emotion e_heh;
			close;			
		}

	case 3:
		Emotion e_ho;
		next;
		mes "[ ^F660ABGabrielle^000000 ]";
		mes "I need the following items for  me to give you";
		mes "1 ^0000FFBlack Scarf^000000";
		next;
		mes "[ ^F660ABGabrielle^000000 ]";
		mes "1 TCG Card";
		mes "5 Santa's Hat";
		mes "500 Well baked Cookie";
		mes "500 Candy";
		mes "10 Cobalt Blue Dyestuff";
		mes "10 White Dyestuff";
		mes "100 Tiger Panty";
		mes "100 Alice's Apron";
		mes "10 Silver Coins";

		mes "What do you say?";
		next;
		
			if(countitem(7227) >= 1 && countitem(2236) >= 5 && countitem(538) >= 500 && countitem(529) >= 500 && countitem(978) >= 10 && countitem(982) >= 10 && countitem(7267) >= 100 && countitem(7047) >= 100 && countitem(675) >= 10){
			mes "[ ^F660ABGabrielle^000000 ]";
			mes "Wow! You've Collected it all!";
			next;
			delitem 7227,1;
			delitem 2236,5;
			delitem 538,500;
			delitem 529,500;
			delitem 978,10;
			delitem 982,10;
			delitem 7267,100;
			delitem 7047,100;
			delitem 675,10;
			mes "[ ^F660Gabrielle^000000 ]";
			mes "Here you go";
			getitem 21290,1;
			Emotion e_grat;
			next;
			mes "[ ^F660ABGabrielle^000000 ]";
			mes "See you around!";
			Emotion e_bo;
			close;
		}
		else {
			mes "[ ^F660ABGabrielle^000000 ]";
			mes "You don't meet my standards go away!";
			Emotion e_heh;
			close;			
		}

	case 4:
			Emotion e_ho;
		next;
		mes "[ ^F660ABGabrielle^000000 ]";
		mes "I need the following items for  me to give you";
		mes "1 ^0000FFRed Scarf^000000";
		next;
		mes "[ ^F660ABGabrielle^000000 ]";
		mes "1 TCG Card";
		mes "5 Santa's Hat";
		mes "500 Well baked Cookie";
		mes "500 Candy";
		mes "10 Cobalt Blue Dyestuff";
		mes "10 White Dyestuff";
		mes "100 Tiger Panty";
		mes "100 Alice's Apron";
		mes "10 Silver Coins";

		mes "What do you say?";
		next;
		
			if(countitem(7227) >= 1 && countitem(2236) >= 5 && countitem(538) >= 500 && countitem(529) >= 500 && countitem(978) >= 10 && countitem(982) >= 10 && countitem(7267) >= 100 && countitem(7047) >= 100 && countitem(675) >= 10){
			mes "[ ^F660ABGabrielle^000000 ]";
			mes "Wow! You've Collected it all!";
			next;
			delitem 7227,1;
			delitem 2236,5;
			delitem 538,500;
			delitem 529,500;
			delitem 978,10;
			delitem 982,10;
			delitem 7267,100;
			delitem 7047,100;
			delitem 675,10;
			mes "[ ^F660Gabrielle^000000 ]";
			mes "Here you go";
			getitem 21290,1;
			Emotion e_grat;
			next;
			mes "[ ^F660ABGabrielle^000000 ]";
			mes "See you around!";
			Emotion e_bo;
			close;
		}
		else {
			mes "[ ^F660ABGabrielle^000000 ]";
			mes "You don't meet my standards go away!";
			Emotion e_heh;
			close;			
		}


	case 5:
				Emotion e_ho;
		next;
		mes "[ ^F660ABGabrielle^000000 ]";
		mes "I need the following items for  me to give you";
		mes "1 ^0000FFPink Scarf^000000";
		next;
		mes "[ ^F660ABGabrielle^000000 ]";
		mes "1 TCG Card";
		mes "5 Santa's Hat";
		mes "500 Well baked Cookie";
		mes "500 Candy";
		mes "10 Cobalt Blue Dyestuff";
		mes "10 White Dyestuff";
		mes "100 Tiger Panty";
		mes "100 Alice's Apron";
		mes "10 Silver Coins";

		mes "What do you say?";
		next;
		
			if(countitem(7227) >= 1 && countitem(2236) >= 5 && countitem(538) >= 500 && countitem(529) >= 500 && countitem(978) >= 10 && countitem(982) >= 10 && countitem(7267) >= 100 && countitem(7047) >= 100 && countitem(675) >= 10){
			mes "[ ^F660ABGabrielle^000000 ]";
			mes "Wow! You've Collected it all!";
			next;
			delitem 7227,1;
			delitem 2236,5;
			delitem 538,500;
			delitem 529,500;
			delitem 978,10;
			delitem 982,10;
			delitem 7267,100;
			delitem 7047,100;
			delitem 675,10;
			mes "[ ^F660Gabrielle^000000 ]";
			mes "Here you go";
			getitem 21290,1;
			Emotion e_grat;
			next;
			mes "[ ^F660ABGabrielle^000000 ]";
			mes "See you around!";
			Emotion e_bo;
			close;
		}
		else {
			mes "[ ^F660ABGabrielle^000000 ]";
			mes "You don't meet my standards go away!";
			Emotion e_heh;
			close;			
		}

	case 6:
			Emotion e_ho;
		next;
		mes "[ ^F660ABGabrielle^000000 ]";
		mes "I need the following items for  me to give you";
		mes "1 ^0000FFGreen Scarf^000000";
		next;
		mes "[ ^F660ABGabrielle^000000 ]";
		mes "1 TCG Card";
		mes "5 Santa's Hat";
		mes "500 Well baked Cookie";
		mes "500 Candy";
		mes "10 Cobalt Blue Dyestuff";
		mes "10 White Dyestuff";
		mes "100 Tiger Panty";
		mes "100 Alice's Apron";
		mes "10 Silver Coins";

		mes "What do you say?";
		next;
		
			if(countitem(7227) >= 1 && countitem(2236) >= 5 && countitem(538) >= 500 && countitem(529) >= 500 && countitem(978) >= 10 && countitem(982) >= 10 && countitem(7267) >= 100 && countitem(7047) >= 100 && countitem(675) >= 10){
			mes "[ ^F660ABGabrielle^000000 ]";
			mes "Wow! You've Collected it all!";
			next;
			delitem 7227,1;
			delitem 2236,5;
			delitem 538,500;
			delitem 529,500;
			delitem 978,10;
			delitem 982,10;
			delitem 7267,100;
			delitem 7047,100;
			delitem 675,10;
			mes "[ ^F660Gabrielle^000000 ]";
			mes "Here you go";
			getitem 21290,1;
			Emotion e_grat;
			next;
			mes "[ ^F660ABGabrielle^000000 ]";
			mes "See you around!";
			Emotion e_bo;
			close;
		}
		else {
			mes "[ ^F660ABGabrielle^000000 ]";
			mes "You don't meet my standards go away!";
			Emotion e_heh;
			close;			
		}

	case 7:
		mes "[ ^F660ABGabrielle^000000 ]";
		mes "Alright!";
		mes "Just come back , Ill be waiting baby!";
		Emotion e_no1;
		close;
		}
	}
}
Edited by Dynasty
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  1479
  • Reputation:   172
  • Joined:  12/14/11
  • Last Seen:  

why don't you explain the problem first? it's a pain to trace 366 lines

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  21
  • Reputation:   0
  • Joined:  11/25/13
  • Last Seen:  

It doesn't end the conversation when i pick a quest and it just goes all the way upto the last case on the switch . its suppose to be a quest npc's im still kinda new in scripting im sorry. :( i just need a bit of a help to make this work. been at it for 6 hours still got no answers. Sorry again.


sec_in01,94,156,4	script	Gabrielle	485,{
	mes "[ ^F660ABGabrielle^000000 ]";
	mes "Hi ^F4123F"+strcharinfo(0)+"^000000";
	mes "I can trade several beautiful scarfs to you";
	mes "Do you want to know what i have in store?";
	next;

	if (select("Yes Please:No") == 2) {
		mes "[ ^F660ABGabrielle^000000 ]";
		mes "Comeback Soon!... >.>";
		close; }

	mes "I have a collection of special magical Scarfs";
	next;
	switch(select("^F4123FBlue Scarf^000000:^F4123FCyan Scarf^000000:^F4123FBlack Scarf^000000:^F4123FRed Scarf^000000:^F4123FPink Scarf^000000:^F4123FGreen Scarf^000000:^F4123FExit^000000")) {
	case 1:
		mes "[ ^F660ABGabrielle^000000 ]";
		mes "A blue scarf ei? reminds of GM-Fantomex she like's to wear it everytime. Anyway";
		mes "Would you like one?";
		
		if (select("Yes Please:No") == 2) {
		mes "[ ^F660ABGabrielle^000000 ]";
		mes "Comeback Soon!... >.>";
		close; }
		
		next;

		Emotion e_ho;
		mes "[ ^F660ABGabrielle^000000 ]";
		mes "I need the following items for  me to give you 1 ^0000FFBlue Scarf^000000";
		next;
		mes "[ ^F660ABGabrielle^000000 ]";
		mes "1 TCG Card";
		mes "5 Santa's Hat";
		mes "500 Well baked Cookie";
		mes "500 Candy";
		mes "10 Cobalt Blue Dyestuff";
		mes "10 White Dyestuff";
		mes "100 Tiger Panty";
		mes "100 Alice's Apron";
		mes "10 Silver Coins";
		mes "10 Million Zeny";
		next;

		mes "What do you say?";
		next;

		if (select("Yes Please:No") == 2) {
		mes "[ ^F660ABGabrielle^000000 ]";
		mes "Comeback Soon!... >.>";
		close; }


		if(countitem(7227) > 1) 
		if(countitem(2236) > 4) 
		if(countitem(7227) < 1)
		if(countitem(2236) < 5) 		
		if(countitem(538) < 500)
		if(countitem(529) < 500)
		if(countitem(978) < 10)
		if(countitem(982) < 10)
		if(countitem(7267) < 100)
		if(countitem(7047) < 100)
		if(Zeny < 10000000) 
						{
		mes "[^FF00FFGabbriele^000000]";
		mes "Oh, so you did it !";
		mes "Congratulations Here's your gift.";
		delitem 7227,1;
		delitem 2236,5;
		delitem 538,500;
		delitem 529,500;
		delitem 978,10;
		delitem 982,10;
		delitem 7267,100;
		delitem 7047,100;
		set Zeny, Zeny - 10000000;
		getitem 21290,1;
		close;		
		}
		

		else {
			mes "[ ^F660ABGabrielle^000000 ]";
			mes "You don't meet my standards go away!";
			Emotion e_heh;
			close;			
		}

	case 2:
		mes "[ ^F660ABGabrielle^000000 ]";
		mes "A Cyan scarf ei? reminds of GM-Pentium she like's to wear it everytime. Anyway";
		mes "Would you like one?";
		
		if (select("Yes Please:No") == 2) {
		mes "[ ^F660ABGabrielle^000000 ]";
		mes "Comeback Soon!... >.>";
		close; }
		
		next;

		Emotion e_ho;
		mes "[ ^F660ABGabrielle^000000 ]";
		mes "I need the following items for  me to give you 1 ^0000FFCyan Scarf^000000";
		next;
		mes "[ ^F660ABGabrielle^000000 ]";
		mes "1 TCG Card";
		mes "5 Santa's Hat";
		mes "500 Well baked Cookie";
		mes "500 Candy";
		mes "10 Cobalt Blue Dyestuff";
		mes "10 Dark Green Dyestuff";
		mes "100 Tiger Panty";
		mes "100 Alice's Apron";
		mes "10 Silver Coins";
		mes "10 Million Zeny";

		mes "What do you say?";
		next;

		if (select("Yes Please:No") == 2) {
		mes "[ ^F660ABGabrielle^000000 ]";
		mes "Comeback Soon!... >.>";
		close; }


		if(countitem(7227) > 1) 
		if(countitem(2236) > 4) 
		if(countitem(7227) < 1)
		if(countitem(2236) < 5) 		
		if(countitem(538) < 500)
		if(countitem(529) < 500)
		if(countitem(978) < 10)
		if(countitem(979) < 10)
		if(countitem(7267) < 100)
		if(countitem(7047) < 100)
		if(Zeny < 10000000) 
						{
		mes "[^FF00FFGabbriele^000000]";
		mes "Oh, so you did it !";
		mes "Congratulations Here's your gift.";
		delitem 7227,1;
		delitem 2236,5;
		delitem 538,500;
		delitem 529,500;
		delitem 978,10;
		delitem 979,10;
		delitem 7267,100;
		delitem 7047,100;
		set Zeny, Zeny - 10000000;
		getitem 21337,1;
		close;		
			}
		else {
			mes "[ ^F660ABGabrielle^000000 ]";
			mes "You don't meet my standards go away!";
			Emotion e_heh;
			close;			
		}

	case 3:
		mes "[ ^F660ABGabrielle^000000 ]";
		mes "A black scarf ei? reminds of GM-Light she like's to wear it everytime. Anyway";
		mes "Would you like one?";
		
		if (select("Yes Please:No") == 2) {
		mes "[ ^F660ABGabrielle^000000 ]";
		mes "Comeback Soon!... >.>";
		close; }
		
		next;

		Emotion e_ho;
		mes "[ ^F660ABGabrielle^000000 ]";
		mes "I need the following items for  me to give you 1 ^0000FFBlack Scarf^000000";
		next;
		mes "[ ^F660ABGabrielle^000000 ]";
		mes "I need the following items for  me to give you";
		mes "1 ^0000FFBlack Scarf^000000";
		next;
		mes "[ ^F660ABGabrielle^000000 ]";
		mes "1 TCG Card";
		mes "5 Santa's Hat";
		mes "500 Well baked Cookie";
		mes "500 Candy";
		mes "10 Black Dyestuff";
		mes "10 White Dyestuff";
		mes "100 Tiger Panty";
		mes "100 Alice's Apron";
		mes "10 Silver Coins";
		mes "10 Million Zeny";

		mes "What do you say?";
		next;

		if (select("Yes Please:No") == 2) {
		mes "[ ^F660ABGabrielle^000000 ]";
		mes "Comeback Soon!... >.>";
		close; }


		if(countitem(7227) > 1) 
		if(countitem(2236) > 4) 
		if(countitem(7227) < 1)
		if(countitem(2236) < 5) 		
		if(countitem(538) < 500)
		if(countitem(529) < 500)
		if(countitem(982) < 10)
		if(countitem(983) < 10)
		if(countitem(7267) < 100)
		if(countitem(7047) < 100)
		if(Zeny < 10000000) 
						{
		mes "[^FF00FFGabbriele^000000]";
		mes "Oh, so you did it !";
		mes "Congratulations Here's your gift.";
		delitem 7227,1;
		delitem 2236,5;
		delitem 538,500;
		delitem 529,500;
		delitem 983,10;
		delitem 982,10;
		delitem 7267,100;
		delitem 7047,100;
		set Zeny, Zeny - 10000000;
		getitem 21288,1;
		close;		
		}
		

		else {
			mes "[ ^F660ABGabrielle^000000 ]";
			mes "You don't meet my standards go away!";
			Emotion e_heh;
			close;			
		}
		
	case 4:
		mes "[ ^F660ABGabrielle^000000 ]";
		mes "A Red scarf ei? reminds of Bear and Panda they like's to wear it everytime. Anyway";
		mes "Would you like one?";
		
		if (select("Yes Please:No") == 2) {
		mes "[ ^F660ABGabrielle^000000 ]";
		mes "Comeback Soon!... >.>";
		close; }
		
		next;

		Emotion e_ho;
		mes "[ ^F660ABGabrielle^000000 ]";
		mes "I need the following items for  me to give you 1 ^0000FFRed Scarf^000000";
		next;
		mes "[ ^F660ABGabrielle^000000 ]";
		mes "I need the following items for  me to give you";
		mes "1 ^0000FFBlue Scarf^000000";
		next;
		mes "[ ^F660ABGabrielle^000000 ]";
		mes "1 TCG Card";
		mes "5 Santa's Hat";
		mes "500 Well baked Cookie";
		mes "500 Candy";
		mes "10 Orange Dyestuff";
		mes "10 Lemon Dyestuff";
		mes "100 Tiger Panty";
		mes "100 Alice's Apron";
		mes "10 Silver Coins";
		mes "10 Million Zeny";

		mes "What do you say?";
		next;

		if (select("Yes Please:No") == 2) {
		mes "[ ^F660ABGabrielle^000000 ]";
		mes "Comeback Soon!... >.>";
		close; }


		if(countitem(7227) > 1) 
		if(countitem(2236) > 4) 
		if(countitem(7227) < 1)
		if(countitem(2236) < 5) 		
		if(countitem(538) < 500)
		if(countitem(529) < 500)
		if(countitem(980) < 10)
		if(countitem(976) < 10)
		if(countitem(7267) < 100)
		if(countitem(7047) < 100)
		if(Zeny < 10000000) 
						{
		mes "[^FF00FFGabbriele^000000]";
		mes "Oh, so you did it !";
		mes "Congratulations Here's your gift.";
		delitem 7227,1;
		delitem 2236,5;
		delitem 538,500;
		delitem 529,500;
		delitem 980,10;
		delitem 976,10;
		delitem 7267,100;
		delitem 7047,100;
		set Zeny, Zeny - 10000000;
		getitem 21328,1;
		close;		
		}
		

		else {
			mes "[ ^F660ABGabrielle^000000 ]";
			mes "You don't meet my standards go away!";
			Emotion e_heh;
			close;			
		}
		

	case 5:
		mes "[ ^F660ABGabrielle^000000 ]";
		mes "A Pink scarf ei? reminds of GM-Sweet she like's to wear it everytime. Anyway";
		mes "Would you like one?";
		
		if (select("Yes Please:No") == 2) {
		mes "[ ^F660ABGabrielle^000000 ]";
		mes "Comeback Soon!... >.>";
		close; }
		
		next;

		Emotion e_ho;
		mes "[ ^F660ABGabrielle^000000 ]";
		mes "I need the following items for  me to give you 1 ^0000FFPink Scarf^000000";
		next;

		mes "[ ^F660ABGabrielle^000000 ]";
		mes "I need the following items for  me to give you";
		mes "1 ^0000FFPink Scarf^000000";
		next;
		mes "[ ^F660ABGabrielle^000000 ]";
		mes "1 TCG Card";
		mes "5 Santa's Hat";
		mes "500 Well baked Cookie";
		mes "500 Candy";
		mes "10 Scarlet Dyestuff";
		mes "10 White Dyestuff";
		mes "100 Tiger Panty";
		mes "100 Alice's Apron";
		mes "10 Silver Coins";
		mes "10 Million Zeny";

		mes "What do you say?";
		next;

		if (select("Yes Please:No") == 2) {
		mes "[ ^F660ABGabrielle^000000 ]";
		mes "Comeback Soon!... >.>";
		close; }

		
		if(countitem(7227) > 1) 
		if(countitem(2236) > 4) 
		if(countitem(7227) < 1)
		if(countitem(2236) < 5) 		
		if(countitem(538) < 500)
		if(countitem(529) < 500)
		if(countitem(975) < 10)
		if(countitem(982) < 10)
		if(countitem(7267) < 100)
		if(countitem(7047) < 100)
		if(Zeny < 10000000) 
						{
		mes "[^FF00FFGabbriele^000000]";
		mes "Oh, so you did it !";
		mes "Congratulations Here's your gift.";
		delitem 7227,1;
		delitem 2236,5;
		delitem 538,500;
		delitem 529,500;
		delitem 975,10;
		delitem 982,10;
		delitem 7267,100;
		delitem 7047,100;
		set Zeny, Zeny - 10000000;
		getitem 21324,1;
		close;		
		}
		

		else {
			mes "[ ^F660ABGabrielle^000000 ]";
			mes "You don't meet my standards go away!";
			Emotion e_heh;
			close;			
		}

	case 6:
		mes "[ ^F660ABGabrielle^000000 ]";
		mes "A Green scarf ei? reminds of GM-Arvy she like's to wear it everytime. Anyway";
		mes "Would you like one?";
		
		if (select("Yes Please:No") == 2) {
		mes "[ ^F660ABGabrielle^000000 ]";
		mes "Comeback Soon!... >.>";
		close; }
		
		next;

		Emotion e_ho;
		mes "[ ^F660ABGabrielle^000000 ]";
		mes "I need the following items for  me to give you 1 ^0000FFGreen Scarf^000000";
		next;
		mes "[ ^F660ABGabrielle^000000 ]";
		mes "I need the following items for  me to give you";
		mes "1 ^0000FFGreen Scarf^000000";
		next;
		mes "[ ^F660ABGabrielle^000000 ]";
		mes "1 TCG Card";
		mes "5 Santa's Hat";
		mes "500 Well baked Cookie";
		mes "500 Candy";
		mes "10 Dark Green Dyestuff";
		mes "10 White Dyestuff";
		mes "100 Tiger Panty";
		mes "100 Alice's Apron";
		mes "10 Silver Coins";
		mes "10 Million Zeny";

		mes "What do you say?";
		next;

		if (select("Yes Please:No") == 2) {
		mes "[ ^F660ABGabrielle^000000 ]";
		mes "Comeback Soon!... >.>";
		close; }


		if(countitem(7227) > 1) 
		if(countitem(2236) > 4) 
		if(countitem(7227) < 1)
		if(countitem(2236) < 5) 		
		if(countitem(538) < 500)
		if(countitem(529) < 500)
		if(countitem(979) < 10)
		if(countitem(982) < 10)
		if(countitem(7267) < 100)
		if(countitem(7047) < 100)
		if(Zeny < 10000000) 
						{
		mes "[^FF00FFGabbriele^000000]";
		mes "Oh, so you did it !";
		mes "Congratulations Here's your gift.";
		delitem 7227,1;
		delitem 2236,5;
		delitem 538,500;
		delitem 529,500;
		delitem 979,10;
		delitem 982,10;
		delitem 7267,100;
		delitem 7047,100;
		set Zeny, Zeny - 10000000;
		getitem 21298,1;
		close;		
		}
		

		else {
			mes "[ ^F660ABGabrielle^000000 ]";
			mes "You don't meet my standards go away!";
			Emotion e_heh;
			close;			
		}

	case 7:
		mes "[ ^F660ABGabrielle^000000 ]";
		mes "Alright!";
		mes "Just come back , Ill be waiting baby!";
		Emotion e_no1;
		close;
	}
}


	

Here i updated it to its final desirable version still it goes all the way to case 7 it just ignores the else having trouble making it work. problem is when im about to the yes please option it just skips and moves to the other case it doesn't end or say that i have incomplete items.

Edited by Newbie Scripter
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  24
  • Topics Per Day:  0.01
  • Content Count:  151
  • Reputation:   5
  • Joined:  11/09/12
  • Last Seen:  

 

i'm on it..

sec_in01,94,156,4	script	Gabrielle	720,{
	mes "[ ^F660ABGabrielle^000000 ]";
	mes "Hi ^F4123F"+strcharinfo(0)+"^000000";
	mes "I can trade several beautiful scarfs to you";
	mes "Do you want to know what i have in store?";
	next;
				switch(select("Yes Please:No")) {
					case 2:
					mes "[ ^F660ABGabrielle^000000 ]";
					mes "Comeback Soon!... >.>";
					close; 
	case 1:
	next;
	mes "I have a collection of special magical Scarfs";
	next;
	switch(select("^F4123FBlue Scarf^000000:^F4123FCyan Scarf^000000:^F4123FBlack Scarf^000000:^F4123FRed Scarf^000000:^F4123FPink Scarf^000000:^F4123FGreen Scarf^000000:^F4123FExit^000000")) {

case 1:
		Emotion e_ho;
		next;
		mes "[ ^F660ABGabrielle^000000 ]";
		mes "I need the following items for  me to give you";
		mes "1 ^0000FFBlue Scarf^000000";
		next;
		mes "[ ^F660ABGabrielle^000000 ]";
		mes "1 TCG Card";
		mes "5 Santa's Hat";
		mes "500 Well baked Cookie";
		mes "500 Candy";
		mes "10 Cobalt Blue Dyestuff";
		mes "10 White Dyestuff";
		mes "100 Tiger Panty";
		mes "100 Alice's Apron";
		mes "10 Silver Coins";
		mes "What do you say?";
		next;
		if(countitem(7227) >= 1 && countitem(2236) >= 5 && countitem(538) >= 500 && countitem(529) >= 500 && countitem(978) >= 10 && countitem(982) >= 10 && countitem(7267) >= 100 && countitem(7047) >= 100 && countitem(675) >= 10){
			mes "[ ^F660ABGabrielle^000000 ]";
			mes "Wow! You've Collected it all!";
			next;
			delitem 7227,1;
			delitem 2236,5;
			delitem 538,500;
			delitem 529,500;
			delitem 978,10;
			delitem 982,10;
			delitem 7267,100;
			delitem 7047,100;
			delitem 675,10;
			mes "[ ^F660Gabrielle^000000 ]";
			mes "Here you go";
			getitem 21290,1;
			Emotion e_grat;
			next;
			mes "[ ^F660ABGabrielle^000000 ]";
			mes "See you around!";
			Emotion e_bo;
			close;
		}
		else {
			mes "[ ^F660ABGabrielle^000000 ]";
			mes "You don't meet my standards go away!";
			Emotion e_heh;
			close;			
		}


	case 2:
		Emotion e_ho;
		next;
		mes "[ ^F660ABGabrielle^000000 ]";
		mes "I need the following items for  me to give you";
		mes "1 ^0000FFCyan Scarf^000000";
		next;
		mes "[ ^F660ABGabrielle^000000 ]";
		mes "1 TCG Card";
		mes "5 Santa's Hat";
		mes "500 Well baked Cookie";
		mes "500 Candy";
		mes "10 Cobalt Blue Dyestuff";
		mes "10 White Dyestuff";
		mes "100 Tiger Panty";
		mes "100 Alice's Apron";
		mes "10 Silver Coins";

		mes "What do you say?";
		next;
		
			if(countitem(7227) >= 1 && countitem(2236) >= 5 && countitem(538) >= 500 && countitem(529) >= 500 && countitem(978) >= 10 && countitem(982) >= 10 && countitem(7267) >= 100 && countitem(7047) >= 100 && countitem(675) >= 10){
			mes "[ ^F660ABGabrielle^000000 ]";
			mes "Wow! You've Collected it all!";
			next;
			delitem 7227,1;
			delitem 2236,5;
			delitem 538,500;
			delitem 529,500;
			delitem 978,10;
			delitem 982,10;
			delitem 7267,100;
			delitem 7047,100;
			delitem 675,10;
			mes "[ ^F660Gabrielle^000000 ]";
			mes "Here you go";
			getitem 21290,1;
			Emotion e_grat;
			next;
			mes "[ ^F660ABGabrielle^000000 ]";
			mes "See you around!";
			Emotion e_bo;
			close;
		}
		else {
			mes "[ ^F660ABGabrielle^000000 ]";
			mes "You don't meet my standards go away!";
			Emotion e_heh;
			close;			
		}

	case 3:
		Emotion e_ho;
		next;
		mes "[ ^F660ABGabrielle^000000 ]";
		mes "I need the following items for  me to give you";
		mes "1 ^0000FFBlack Scarf^000000";
		next;
		mes "[ ^F660ABGabrielle^000000 ]";
		mes "1 TCG Card";
		mes "5 Santa's Hat";
		mes "500 Well baked Cookie";
		mes "500 Candy";
		mes "10 Cobalt Blue Dyestuff";
		mes "10 White Dyestuff";
		mes "100 Tiger Panty";
		mes "100 Alice's Apron";
		mes "10 Silver Coins";

		mes "What do you say?";
		next;
		
			if(countitem(7227) >= 1 && countitem(2236) >= 5 && countitem(538) >= 500 && countitem(529) >= 500 && countitem(978) >= 10 && countitem(982) >= 10 && countitem(7267) >= 100 && countitem(7047) >= 100 && countitem(675) >= 10){
			mes "[ ^F660ABGabrielle^000000 ]";
			mes "Wow! You've Collected it all!";
			next;
			delitem 7227,1;
			delitem 2236,5;
			delitem 538,500;
			delitem 529,500;
			delitem 978,10;
			delitem 982,10;
			delitem 7267,100;
			delitem 7047,100;
			delitem 675,10;
			mes "[ ^F660Gabrielle^000000 ]";
			mes "Here you go";
			getitem 21290,1;
			Emotion e_grat;
			next;
			mes "[ ^F660ABGabrielle^000000 ]";
			mes "See you around!";
			Emotion e_bo;
			close;
		}
		else {
			mes "[ ^F660ABGabrielle^000000 ]";
			mes "You don't meet my standards go away!";
			Emotion e_heh;
			close;			
		}

	case 4:
			Emotion e_ho;
		next;
		mes "[ ^F660ABGabrielle^000000 ]";
		mes "I need the following items for  me to give you";
		mes "1 ^0000FFRed Scarf^000000";
		next;
		mes "[ ^F660ABGabrielle^000000 ]";
		mes "1 TCG Card";
		mes "5 Santa's Hat";
		mes "500 Well baked Cookie";
		mes "500 Candy";
		mes "10 Cobalt Blue Dyestuff";
		mes "10 White Dyestuff";
		mes "100 Tiger Panty";
		mes "100 Alice's Apron";
		mes "10 Silver Coins";

		mes "What do you say?";
		next;
		
			if(countitem(7227) >= 1 && countitem(2236) >= 5 && countitem(538) >= 500 && countitem(529) >= 500 && countitem(978) >= 10 && countitem(982) >= 10 && countitem(7267) >= 100 && countitem(7047) >= 100 && countitem(675) >= 10){
			mes "[ ^F660ABGabrielle^000000 ]";
			mes "Wow! You've Collected it all!";
			next;
			delitem 7227,1;
			delitem 2236,5;
			delitem 538,500;
			delitem 529,500;
			delitem 978,10;
			delitem 982,10;
			delitem 7267,100;
			delitem 7047,100;
			delitem 675,10;
			mes "[ ^F660Gabrielle^000000 ]";
			mes "Here you go";
			getitem 21290,1;
			Emotion e_grat;
			next;
			mes "[ ^F660ABGabrielle^000000 ]";
			mes "See you around!";
			Emotion e_bo;
			close;
		}
		else {
			mes "[ ^F660ABGabrielle^000000 ]";
			mes "You don't meet my standards go away!";
			Emotion e_heh;
			close;			
		}


	case 5:
				Emotion e_ho;
		next;
		mes "[ ^F660ABGabrielle^000000 ]";
		mes "I need the following items for  me to give you";
		mes "1 ^0000FFPink Scarf^000000";
		next;
		mes "[ ^F660ABGabrielle^000000 ]";
		mes "1 TCG Card";
		mes "5 Santa's Hat";
		mes "500 Well baked Cookie";
		mes "500 Candy";
		mes "10 Cobalt Blue Dyestuff";
		mes "10 White Dyestuff";
		mes "100 Tiger Panty";
		mes "100 Alice's Apron";
		mes "10 Silver Coins";

		mes "What do you say?";
		next;
		
			if(countitem(7227) >= 1 && countitem(2236) >= 5 && countitem(538) >= 500 && countitem(529) >= 500 && countitem(978) >= 10 && countitem(982) >= 10 && countitem(7267) >= 100 && countitem(7047) >= 100 && countitem(675) >= 10){
			mes "[ ^F660ABGabrielle^000000 ]";
			mes "Wow! You've Collected it all!";
			next;
			delitem 7227,1;
			delitem 2236,5;
			delitem 538,500;
			delitem 529,500;
			delitem 978,10;
			delitem 982,10;
			delitem 7267,100;
			delitem 7047,100;
			delitem 675,10;
			mes "[ ^F660Gabrielle^000000 ]";
			mes "Here you go";
			getitem 21290,1;
			Emotion e_grat;
			next;
			mes "[ ^F660ABGabrielle^000000 ]";
			mes "See you around!";
			Emotion e_bo;
			close;
		}
		else {
			mes "[ ^F660ABGabrielle^000000 ]";
			mes "You don't meet my standards go away!";
			Emotion e_heh;
			close;			
		}

	case 6:
			Emotion e_ho;
		next;
		mes "[ ^F660ABGabrielle^000000 ]";
		mes "I need the following items for  me to give you";
		mes "1 ^0000FFGreen Scarf^000000";
		next;
		mes "[ ^F660ABGabrielle^000000 ]";
		mes "1 TCG Card";
		mes "5 Santa's Hat";
		mes "500 Well baked Cookie";
		mes "500 Candy";
		mes "10 Cobalt Blue Dyestuff";
		mes "10 White Dyestuff";
		mes "100 Tiger Panty";
		mes "100 Alice's Apron";
		mes "10 Silver Coins";

		mes "What do you say?";
		next;
		
			if(countitem(7227) >= 1 && countitem(2236) >= 5 && countitem(538) >= 500 && countitem(529) >= 500 && countitem(978) >= 10 && countitem(982) >= 10 && countitem(7267) >= 100 && countitem(7047) >= 100 && countitem(675) >= 10){
			mes "[ ^F660ABGabrielle^000000 ]";
			mes "Wow! You've Collected it all!";
			next;
			delitem 7227,1;
			delitem 2236,5;
			delitem 538,500;
			delitem 529,500;
			delitem 978,10;
			delitem 982,10;
			delitem 7267,100;
			delitem 7047,100;
			delitem 675,10;
			mes "[ ^F660Gabrielle^000000 ]";
			mes "Here you go";
			getitem 21290,1;
			Emotion e_grat;
			next;
			mes "[ ^F660ABGabrielle^000000 ]";
			mes "See you around!";
			Emotion e_bo;
			close;
		}
		else {
			mes "[ ^F660ABGabrielle^000000 ]";
			mes "You don't meet my standards go away!";
			Emotion e_heh;
			close;			
		}

	case 7:
		mes "[ ^F660ABGabrielle^000000 ]";
		mes "Alright!";
		mes "Just come back , Ill be waiting baby!";
		Emotion e_no1;
		close;
		}
	}
}

here is the npc

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  24
  • Topics Per Day:  0.01
  • Content Count:  151
  • Reputation:   5
  • Joined:  11/09/12
  • Last Seen:  

Ur wellcome, but in the future try to use switch(select is easier than select only, for the beginners scritpers.

And there is the wiki you will find some tips for scripting

Edited by Dynasty
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...