sorry i am new i am trying to make a refine material as quest item but i dont know how to do that.,
heres my experimental but i got error on switch case
can you help me how to make a refine materials as quest material
example the npc menu would be, main gauche, gakkung,
then the quest material for main gauch is +10 Knife and 100 apples
and the requirements for Gakkung is +10 Bow and 5 Ygg
heres my experimental script but it gives me error please help im new at switch script
turbo_room,63,98,4 script test 4_M_BIBI,{
switch(select("Case 0","Case 1")) {
Case 0:
if(countitem2(25226,1,8,0,0,0,0,0) < 1){
mes " Sorry, but you haven't brought the requirements";
close;
}
mes "Bwahahahah";
mes "Thank you for your help!!";
//getitem getarg(0), 1;
delitem2 25226,1,1,8,0,0,0,0,0;
getitem 30205,1;
close;
break;
Case 1:
if(countitem2(25226,1,8,0,0,0,0,0) < 1){
mes " Sorry, but you haven't brought the requirements";
close;
}
mes "Bwahahahah";
mes "Thank you for your help!!";
//getitem getarg(0), 1;
delitem2 25225,1,1,8,0,0,0,0,0;
getitem 30208,1;
close;
break;
}
}
sorry i am new i am just trying to learn