prontera,140,199,5 script Cash Point Exchanger 497,{
set .@i, countitem(7227);
mes "[TCG Exchanger]";
mes "You have ^0055FF"+.@i+" TCG^000000.";
if (!.@i) { mes "Please come back later."; close; }
mes "I can trade ^FF00002 TCG^000000 for ^FF00001 Cash Points^000000.";
next;
if(select(" - Trade: - ^777777Leave^000000")==2) close;
mes "[TCG Exchanger]";
mes "How many would you like to exchange?";
next;
input .@j;
mes "[TCG Exchanger]";
if (.@j < 2 || .@j > countitem(7227)) { mes "That's an invalid amount."; close; }
mes "Are you sure you want to exchange ^0055FF"+.@j+" TCG^000000?";
if(select(" - Yes: - No")==2) close;
mes " ";
delitem 7227, .@j;
set #CASHPOINTS, #CASHPOINTS+(.@j*1);
mes "You now have "+#CASHPOINTS+" Cash Points.";
close;
}
//This wasn't my script, I took from other people and the original script was 1 TCG to 5 Cash Point ( it worked perfectly) but I changed the TCG exchange rate: 2 TCG card to 1 cash point. It became 2 TCG card to 2 Cash point. Did I change wrong thing inside it?
Sorry for disturb and my bad english. =)
Im new to here* nice to meet y'all
Edited by Radian please use codebox next time. thanks!
Question
ahloi007
//This wasn't my script, I took from other people and the original script was 1 TCG to 5 Cash Point ( it worked perfectly) but I changed the TCG exchange rate: 2 TCG card to 1 cash point. It became 2 TCG card to 2 Cash point. Did I change wrong thing inside it?
Sorry for disturb and my bad english. =)
Im new to here* nice to meet y'all
Edited by Radianplease use codebox next time. thanks!
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.