Jump to content
  • 0

etc item convertor to another etc item


Question

Posted (edited)

It seems i cant find a script like this, tried google and search in rathena also.

 

This script is like an exchanger. 

 

10 Jellopy = 1 Poring Card

 

I want you can set amount in it, like let say i want 10 jellopy to be exchanger, i will get 1 poring card but if i want to exchanger 1000 jellopy, hmm basically i want a script that allows an amount to be exchange, like 10 jellopy to 1 poring 20 to 2 poring card 50 = 5 poring card 1000 = 100 poring card. Let say someone put 15 jellopy, he will get only 1 poring card, if he puts 5 jellopy it say you have not enough jellopy

 

 

I tried Coin exchanger but it didnt work and few others, made me angry cause i dont know how to change the zeny to item to another item. Deleted it. Can someone help me O.o

Edited by cmsm94

1 answer to this question

Recommended Posts

Posted

try this o:

prontera,159,177,4	script	Jellopy Master	935,{
mes "Do you want to change 10 Jellopies for 1 Poring Card?";
switch(select("Yup:Nope thnaks")) {
case 1:
if(countitem(909)<10)goto no_item;
mes "How many Poring Cards?.";
mes "10 Jellopy = 1 Poring Card";
mes "I can exchange you a Maxium of 100 Poring Cards.";
input @amount,0,100;
delitem 909,1*@amount*10;
getitem 4001,1*@amount;
close;
case 2:
mes "Allright Poring Love, take care";
close;
no_item:
mes "You dont have the Jellopies";
close;
}
}

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...