prontera,143,171,6 script Gold Coin Exchanger 1582,{
Main:
MES "sing poring coinc Coin.";
next;
switch(select("^C0C0C0Information^000000",
"5 Poring Coins = 100,000 Zeny",
"Cancel")) {
Case 1:
mes "This is a Dynamic Shop that buy items using Gold Coins instead of Zeny.";
close;
// callsub DynamicShop,<ItemNeed>,<Amount>,<GetItem>,<Amount>,<Refine>;
Case 2: callsub DynamicShop,0,0,0,0,0;
Case 18: close;
}
DynamicShop:
if ( countitem(getarg(0)) < getarg(1) ){
mes "You didnt have enough items to buy this.";
mes "You need "+getarg(1)+" "+getitemname(getarg(0))+" to buy this items.";
next;
goto Main;
}
delitem getarg(0),getarg(1);
getitem2 getarg(2),getarg(3),1,getarg(4),0,0,0,0,0;
mes "You have Brought a +"+getarg(4)+" "+getitemname(getarg(2))+" with "+getarg(1)+" of "+getitemname(getarg(0))+".";
close;
}
how do i add 5 poring coins = 100K zeny instead of giving out items?
Question
donkeyg
how do i add 5 poring coins = 100K zeny instead of giving out items?
Link to comment
Share on other sites
4 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.