- script sample -,{
mes "I can exchange your gold to credits.";
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
how can i change my script
Gold To Cash Points
Edited by Help-HelpLink 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.