Jump to content
  • 0

Coupon Exchanger


cheeky

Question


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  17
  • Reputation:   0
  • Joined:  04/10/12
  • Last Seen:  

Do you know the Coin converter? I just need like that..

But instead of Zeny to Coupon

Should be Mithril to Coupon

Please help me? I'm having a hard time editing the coin converter cause i'm not good in scripting. Please help me..

Anyone??

Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  27
  • Reputation:   1
  • Joined:  06/09/12
  • Last Seen:  

whats the ID OF COUPON MAYBE I CAN HELP YOU

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  658
  • Reputation:   57
  • Joined:  11/20/11
  • Last Seen:  

MAPNAME,XXX,YYY,Z<tab>script<tab>Mithril Exchanger<tab>NID,{
set .@n$,"^0000FF[ YOUR NPC NAME ]^000000";// CHANGE THE NPC NAME AND THE NPC HEADER!
set .MithID,XXX;// CHANGE THE XXX TO YOUR MITHRIL ID
set .CoupID,XXX;// CHANGE THE XXX TO YOUR COUPON ID
mes .@n$;
mes "Hello,I can exchange your";
mes "Mithril to Coupons!";
mes "5 Mithril are worth 1 Coupon.";
next;
mes .@n$;
mes "How many Coupons do you want to get?";
next;
input .@coupons;
if(.@coupons==0) close;
if(countitem(.MithID) < .@coupons*5) goto l_nomith;
mes .@n$;
mes "Okay,wait let me exchange them...";
next;
mes .@n$;
mes "Rustle...Rustle...";
delitem .MithID,.@coupons*5;
getitem .CoupID,.@coupons;
next;
mes .@n$;
mes "Thank you for the Mithril,have fun with the Coupons!";
close;
l_nomith:
mes "Sorry,but you don't have got enough MIthril in your inventory!";
close;
}

You mean somehting like the one I posted?

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