Jump to content
  • 0

Poring coins -> Zeny


donkeyg

Question


  • Group:  Members
  • Topic Count:  344
  • Topics Per Day:  0.08
  • Content Count:  1060
  • Reputation:   1
  • Joined:  02/13/12
  • Last Seen:  

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?

Link to comment
Share on other sites

4 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  344
  • Topics Per Day:  0.08
  • Content Count:  1060
  • Reputation:   1
  • Joined:  02/13/12
  • Last Seen:  

buumppp

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  38
  • Reputation:   2
  • Joined:  09/19/13
  • Last Seen:  

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  344
  • Topics Per Day:  0.08
  • Content Count:  1060
  • Reputation:   1
  • Joined:  02/13/12
  • Last Seen:  

can u modify my script that can change to money as well? because i got alot item wan to add it too..

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

something similar

http://upaste.me/r/501485

 

just change the variable to Zeny

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...