i been staring at this script and i cant find what was missing.. can someone help me find what was wrong?
script :
Spoiler
new_1-3,90,53,5 script Dudu474,{if(Cooking==1)gotoCooking1;// Line 402 is here //if(Cooking==2)gotoCooking2;if(Cooking==3)gotoCooking3;
soundeffect "menu.wav",0;
mes "Oh !, hello there child";
mes "how can i help you ?";
next;
soundeffect "menu.wav",0;switch(select("- What are you doing ?:- Nothing")){case1:
soundeffect "menu.wav",0;
mes "Well i am cooking Satey";
mes "it's good recover your";
mes "health..";
next;switch(select("- Can you teach me ?:- Good Bye")){case1:
soundeffect "menu.wav",0;
mes "Oh !, sure it's easy";
mes "bring me 10 branch";
mes "and 10 Monster loot";
mes "and i teach you how";
next;
soundeffect "menu.wav",0;
mes "Want to give it a try?";switch(select("- Yes !:- Good Bye")){case1:
soundeffect "menu.wav",0;
mes "Great, now gather";
mes "10 Branch and";
mes "10 Monster Loot";
next;
soundeffect "menu.wav",0;
mes "come back when you have it";setCooking,1;
close3;case2:
soundeffect "menu.wav",0;
mes "Well, com back if you want to learn it";
close3;}case2:
soundeffect "menu.wav",0;
mes "Good bye child";
close3;}case2:
soundeffect "menu.wav",0;
mes "Good bye child..";
close3;}Cooking1:if(countitem(40006)<10|| countitem(40023)<10){
soundeffect "menu.wav",0;
mes "^ff0000 My child, you dont have";
mes "10 Monster Loot and";
mes "10 Branch.. ^000000";
next;
soundeffect "menu.wav",0;
mes "Come back when you have";
mes "10 Branch and 10 Monster Loot";
close3;}
soundeffect "menu.wav",0;
mes "Great work child";
mes "now on this Bon Fire";
mes "select Grill Meat Satey";
next;
soundeffect "menu.wav",0;
mes "Once you have Meat Satey";
mes "talk to me again";setCooking,2;
close3;Cooking2:if(countitem(40036)<1){
soundeffect "menu.wav",0;
mes "Where are the Meat Satey?";
mes "On the BonFire Select";
mes "Grill Meat Satey";
close3;}
soundeffect "menu.wav",0;
mes "That was easy right?";
mes "the more you cook";
mes "more dish you can make";
mes "as long you have all";
mes "ingredients.";
atcommand "@jlvl 1";
atcommand "@blvl 1";setCooking,3;
close3;Cooking3:
soundeffect "menu.wav",0;
mes "Hello child, i hope everything is good eh?";
close3;}
Question
Dolphin86
i been staring at this script and i cant find what was missing.. can someone help me find what was wrong?
script :
Link to comment
Share on other sites
2 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.