gonryun,154,111,5 script Convert NPC 108,{
mes "I can exchange your Emblem Of the Sun God to Cash Points.";
next;
mes "How many would you like to exchange?";
menu "1000 gold",gold_1k,"2000 gold",gold_2k,"5000 gold",gold_5k,"10,000 gold",gold_10k,"30,000 gold",gold_30k,"None",end1;
end1:
next;
mes "See you again.";
close;
gold_1k:
if (countitem(969) < 1000) goto end2;
next;
mes "Here you go.";
getitem 29999,100;
delitem 969,1000;
mes "Thank you. Come again.";
close;
gold_2k:
if (countitem(969) < 2000) goto end2;
next;
mes "Here you go.";
getitem 29999,200;
delitem 969,2000;
mes "Thank you. Come again.";
close;
gold_5k:
if (countitem(969) < 5000) goto end2;
next;
mes "Here you go.";
getitem 29999,500;
delitem 969,5000;
mes "Thank you. Come again.";
close;
gold_10k:
if (countitem(969) < 10000) goto end2;
next;
mes "Here you go.";
getitem 29999,1000;
delitem 969,10000;
mes "Thank you. Come again.";
close;
gold_30k:
if (countitem(969) < 30000) goto end2;
next;
mes "Here you go.";
getitem 29999,3000;
delitem 969,30000;
mes "Thank you. Come again.";
close;
end2:
next;
mes "Sorry, you don't have enough gold for this transaction.";
close;
}
Question
Help-Help
50 esg = 50 cash points 100 esg = 100 cash points 500 esg = 500 cash points 1000 esg = 1000 cash points
5000 esg = 5000 cash points id of esg is 19600
Link to comment
Share on other sites
1 answer 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.