when i click the npc only the first item requirement is showing on the message do i miss some line??
please help thank you this is the script
lhz_dun_n,135,264,4 script Memory of Tears 10092,{
function Exchange;
mes "Why you are here??";
mes "Oh a Energy Debris and Job soul i like that give me that choose one";
next;
switch( select( "Old Rune Circlet [1]",
"Old Mitra [1]",
"Old Driver Band [1]",
"Old Driver Band (Yellow) [1]",
"Old Shadow Crown [1]",
"Old Minstrel Song [1]",
"Old Midas Whisper [1]",
"Old Magic Stone Hat [1]",
"Old Burning Spirit [1]",
"Old Wispers of Wind [1]",
"Old Circlet of Bone [1]",
"Old Guardian Crown [1]",
"Old Camouflage of Rabbit Hood [1]" )){
// Exchange( <ItemGained>,<Amount>,<ItemRequired>,<Amount> );
case 1: Exchange( 18971,1,6820,50,6814,1 ); break;
case 2: Exchange( 18972,1,6820,50,6819,1 ); break;
case 3: Exchange( 18973,1,6820,50,6815,1 ); break;
case 4: Exchange( 18974,1,6820,50,6815,1 ); break;
case 5: Exchange( 18983,1,6820,50,6816,1 ); break;
case 6: Exchange( 18976,1,6820,50,6818,1 ); break;
case 7: Exchange( 18977,1,6820,50,6815,1 ); break;
case 8: Exchange( 18978,1,6820,50,6817,1 ); break;
case 9: Exchange( 18979,1,6820,50,6819,1 ); break;
case 10: Exchange( 18980,1,6820,50,6817,1 ); break;
case 11: Exchange( 18982,1,6820,50,6816,1 ); break;
case 12: Exchange( 18983,1,6820,50,6814,1 ); break;
case 13: Exchange( 18984,1,6820,50,6818,1 ); break;
default:
mes "Wrong Selection"; break;
}
close;
function Exchange {
mes "Exchange "+getarg(3)+" "+getitemname( getarg(2) )+" into "+getarg(1)+" "+getitemname( getarg(0) )+"?";
if(select("Yes","No")==1){
if( countitem( getarg(2) ) < getarg(3) ){
mes "Sorry you didnt have enough Items to trade.";
close;
}else{
mes "Done";
delitem getarg(2),getarg(3);
getitem getarg(0),getarg(1);
}
}
return;
}
}
Question
Quesooo
Good day masters
please help me on my script
when i click the npc only the first item requirement is showing on the message do i miss some line??
please help thank you this is the script
Link to comment
Share on other sites
3 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.