Jump to content
  • 0

R>NPC that will exchange PODS to ITEM


Budots

Question


  • Group:  Members
  • Topic Count:  69
  • Topics Per Day:  0.02
  • Content Count:  200
  • Reputation:   1
  • Joined:  09/25/13
  • Last Seen:  

Hi guys,

 

Can i ask for an NPC that will exchange item_id (9524) 1000 pcs into 1 proof of donation?

 

vice versa

1 proof of donation = 1000pcs 9524 // 9524 is the item ID

 

 

Thanks in advance

Link to comment
Share on other sites

4 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  68
  • Topics Per Day:  0.02
  • Content Count:  173
  • Reputation:   0
  • Joined:  06/07/14
  • Last Seen:  

346qr2d.png

 

 

On the first click if I don't click next immediately (or within 1 min), it turns out like this after clicking next. How to fix?


I tried to add

 

close;

 

after 

 

menu "Exchange "+getitemname(7179)+" to "+getitemname(9524)+"", L_PODS, "Nevermind", L_Cancel;

 

and it worked! :)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  1702
  • Reputation:   238
  • Joined:  09/05/12
  • Last Seen:  

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  69
  • Topics Per Day:  0.02
  • Content Count:  200
  • Reputation:   1
  • Joined:  09/25/13
  • Last Seen:  

 

 

I tried, put NPC just appeared but not responding :(

post-20873-0-39740200-1385650830_thumb.png

bc_pods.txt

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  66
  • Reputation:   1
  • Joined:  06/06/12
  • Last Seen:  


prontera,120,130,4 script POD 100,{

mes "[Trader]";

mes "You currently have ^ff0000"+countitem(9524)+"^000000 "+getitemname(9524)+"";

menu "Exchange "+getitemname(7179)+" to "+getitemname(9524)+"", L_PODS, "Nevermind", L_Cancel;

L_PODS:

next;

mes "[Trader]";

mes "How many you want to exchange?";

mes "^ff0000Note^000000: 1 "+getitemname(7179)+" currently 1000 "+getitemname(9524)+"";

input .@count;

if (.@count == 0) close;

if (countitem(7179) < .@count*1) goto L_Noitem;

delitem 7179,.@count*1;

getitem 9524,.@count*1000;

close;

L_Noitem:

next;

mes "[Trader]";

mes "You dont have enough "+getitemname(7179)+"";

close;

L_Cancel:

mes "[Trader]";

mes "Come back anytime!";

close;

end;

}

Edited by Yoga
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...