Jump to content
  • 0
Sign in to follow this  
Takumirai

Christmas Event Help

Question

 

prontera,154,186,6 script Daddy Christmas 718,{
mes "[Daddy Christmas]";
mes "Hello there!";
mes "Ho! Ho! Ho!";
mes "Have you been naughty or nice this year?";
next;
if (select("I've been nice,Daddy Christmas.:Naughty, you fat prick!.") == 2) {
            mes "[Daddy Christmas]";
            mes "See you around.";
            close;
}else {
mes "[Daddy Christmas]";
mes "Very well then!Since you have been nice this year, I will let you enjoy the presents I have in my bag. Here, take a look:";
next;
mes "[Daddy Christmas]";
mes "So which one would you like to have?";
switch(select("10x Santa Bag:1x Goblin Egg:1x Santa Poring Hat")) {
    case 1:    
        mes "[Daddy Christmas]";
mes "For the Santa Bag, you’ll need to bring me the following:";
mes "^00FF0010x Well-baked cookie^000000";
mes "^00FF0010x Candy Cane^000000";
mes "^00FF0010x Candy^000000";
mes "^00FF005x Poring Doll^000000";
mes "^00FF001x Santa Hat^000000";
next;
mes "[Daddy Christmas]";
mes "Let me check if you have all that I need.";
if (select("Yes!:Not Yet!.") == 2) {
            mes "[Daddy Christmas]";
            mes "See you around.";
            close;
 
        if( countitem(2236) < 1 && countitem(538) < 10 && countitem(530) < 10 && countitem(529) < 10 && countitem(741) < 5 ) {
mes "You don't have the requirements.";
close;
}else {
mes "[Daddy Christmas]";
mes "Exactly what I wanted. Here’s your present! Merry Christmas! Ho! Ho! Ho";
next;
        delitem 2236, 1;
delitem 538, 10;
delitem 530, 10;
delitem 529, 10;
delitem 741, 5;
getitem 12132, 10;
close;
}
    case 2:  
        mes "[Daddy Christmas]";
mes "For the Christmas Goblin Egg, you’ll need to bring me the following:";
mes "^00FF001x Santa Hat^000000";
mes "^00FF0020x Star Dust^000000";
mes "^00FF0020x Old Broom^000000";
mes "^00FF0010x Witched Starsand^000000";
mes "^00FF0010x Rainbow Carrot^000000";
next;
mes "[Daddy Christmas]";
mes "Let me check if you have all that I need.";
if (select("Yes!:Not Yet!.") == 2) {
            mes "[Daddy Christmas]";
            mes "See you around.";
            close;
 
        if( countitem(2236) < 1 && countitem(1148) < 20 && countitem(637) < 20 && countitem(1061) < 10 && countitem(622) < 10 ) {
mes "You don't have the requirements.";
close;
}else {
mes "[Daddy Christmas]";
mes "Ho ho ho! *cough *cough";
next;
        delitem 2236, 1;
delitem 1148, 20;
delitem 637, 20;
delitem 1061, 10;
delitem 622, 10;
getitem 9029, 1;
mes "[Daddy Christmas]";
mes "Exactly what I wanted. Here’s your present! Merry Christmas! Ho! Ho! Ho";
close;
}
   case 3:
        mes "[Daddy Christmas]";
mes "For the Santa Poring Hat, you’ll need to bring me the following:";
mes "^00FF001x Santa Poring Card^000000";
mes "^00FF0010x Wrapping Paper^000000";
mes "^00FF0010x Wrapping Lace^000000";
mes "^00FF00Santa Hat^000000";
mes "^00FF001x Stellar^000000";
mes "^00FF00100x Fabric^000000";
mes "^00FF001x Event Ticket^000000";
next;
mes "[Daddy Christmas]";
mes "Let me check if you have all that I need.";
if (select("Yes!:Not Yet!.") == 2) {
            mes "[Daddy Christmas]";
            mes "See you around.";
            close;
 
        if( countitem(4005) < 1 && countitem(7175) < 10 && countitem(7174) < 10 && countitem(2294) < 1 && countitem(2236) < 1 && countitem(1059) < 100 && countitem(30802) < 1 ) {
mes "You don't have the requirements.";
close;
}else {
mes "[Daddy Christmas]";
mes "Exactly what I wanted. Here’s your present! Merry Christmas! Ho! Ho! Ho";
        delitem 4005, 1;
delitem 7175, 10;
delitem 7174, 10;
delitem 2294, 1;
delitem 2236, 1;
delitem 1059, 1;
delitem 3082, 1;
getitem 5381, 1;
close;
}
 

can i ask a support where i am wrong in this script?

 

Share this post


Link to post
Share on other sites

5 answers to this question

Recommended Posts

  • 0

Try this out.

prontera,154,186,6	script	Daddy Christmas	718,{	mes "[Daddy Christmas]";	mes "Hello there!";	mes "Ho! Ho! Ho!";	mes "Have you been naughty or nice this year?";	next;	if (select("I've been nice,Daddy Christmas.:Naughty, you fat prick!.") == 2) {		mes "[Daddy Christmas]";		mes "See you around.";		close;	} else {		mes "[Daddy Christmas]";		mes "Very well then!Since you have been nice this year, I will let you enjoy the presents I have in my bag. Here, take a look:";		next;		mes "[Daddy Christmas]";		mes "So which one would you like to have?";		next;		switch(select("10x Santa Bag:1x Goblin Egg:1x Santa Poring Hat")) {		case 1:    			mes "[Daddy Christmas]";			mes "For the Santa Bag, you’ll need to bring me the following:";			mes "^00FF0010x Well-baked cookie^000000";			mes "^00FF0010x Candy Cane^000000";			mes "^00FF0010x Candy^000000";			mes "^00FF005x Poring Doll^000000";			mes "^00FF001x Santa Hat^000000";			next;			mes "[Daddy Christmas]";			mes "Let me check if you have all that I need.";			if (select("Yes!:Not Yet!.") == 2) {				mes "[Daddy Christmas]";				mes "See you around.";				close;			}			if( countitem(2236) < 1 || countitem(538) < 10 || countitem(530) < 10 || countitem(529) < 10 || countitem(741) < 5 ) {				mes "You don't have the requirements.";				close;			} else {				mes "[Daddy Christmas]";				mes "Exactly what I wanted. Here’s your present! Merry Christmas! Ho! Ho! Ho";				delitem 2236, 1;				delitem 538, 10;				delitem 530, 10;				delitem 529, 10;				delitem 741, 5;				getitem 12132, 10;				close;			}		case 2:  			mes "[Daddy Christmas]";			mes "For the Christmas Goblin Egg, you’ll need to bring me the following:";			mes "^00FF001x Santa Hat^000000";			mes "^00FF0020x Star Dust^000000";			mes "^00FF0020x Old Broom^000000";			mes "^00FF0010x Witched Starsand^000000";			mes "^00FF0010x Rainbow Carrot^000000";			next;			mes "[Daddy Christmas]";			mes "Let me check if you have all that I need.";			if (select("Yes!:Not Yet!.") == 2) {					mes "[Daddy Christmas]";					mes "See you around.";					close;			}			if( countitem(2236) < 1 || countitem(1148) < 20 || countitem(637) < 20 || countitem(1061) < 10 || countitem(622) < 10 ) {				mes "You don't have the requirements.";				close;			} else {				mes "[Daddy Christmas]";				mes "Ho ho ho! *cough *cough";				delitem 2236, 1;				delitem 1148, 20;				delitem 637, 20;				delitem 1061, 10;				delitem 622, 10;				getitem 9029, 1;				mes "[Daddy Christmas]";				mes "Exactly what I wanted. Here’s your present! Merry Christmas! Ho! Ho! Ho";				close;			}	   case 3:			mes "[Daddy Christmas]";			mes "For the Santa Poring Hat, you’ll need to bring me the following:";			mes "^00FF001x Santa Poring Card^000000";			mes "^00FF0010x Wrapping Paper^000000";			mes "^00FF0010x Wrapping Lace^000000";			mes "^00FF00Santa Hat^000000";			mes "^00FF001x Stellar^000000";			mes "^00FF00100x Fabric^000000";			mes "^00FF001x Event Ticket^000000";			next;			mes "[Daddy Christmas]";			mes "Let me check if you have all that I need.";			if (select("Yes!:Not Yet!.") == 2) {				mes "[Daddy Christmas]";				mes "See you around.";				close;			}			if( countitem(4005) < 1 || countitem(7175) < 10 || countitem(7174) < 10 || countitem(2294) < 1 || countitem(2236) < 1 || countitem(1059) < 100 || countitem(30802) < 1 ) {				mes "You don't have the requirements.";				close;			} else {				mes "[Daddy Christmas]";				mes "Exactly what I wanted. Here’s your present! Merry Christmas! Ho! Ho! Ho";				delitem 4005, 1;				delitem 7175, 10;				delitem 7174, 10;				delitem 2294, 1;				delitem 2236, 1;				delitem 1059, 1;				delitem 3082, 1;				getitem 5381, 1;				close;			}			}	}close;}

Share this post


Link to post
Share on other sites
  • 0

Thanks how to make it like this.. for example item apple 10/10 if you have 10 items in green color but if you have only 5 it will appear 5/10 apple in red color can you rescript if you mind thanks so much

Share this post


Link to post
Share on other sites
  • 0

Follow syntax : 

mes ( countitem( item_id ) < amount_of_item_needed ? "^FF0000" : "^009900" ) + countitem( item_id ) + "/" + amount_of_item_needed + " " + getitemname( item_id ) + "^000000";

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.