Jump to content
  • 0

etc item convertor to another etc item


cmsm94

Question


  • Group:  Members
  • Topic Count:  61
  • Topics Per Day:  0.02
  • Content Count:  170
  • Reputation:   5
  • Joined:  08/11/13
  • Last Seen:  

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
Link to comment
Share on other sites

1 answer to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  127
  • Topics Per Day:  0.03
  • Content Count:  1445
  • Reputation:   163
  • Joined:  08/17/13
  • Last Seen:  

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;
}
}
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...