DairyPresto Posted November 23, 2017 Group: Members Topic Count: 35 Topics Per Day: 0.01 Content Count: 151 Reputation: 2 Joined: 04/03/17 Last Seen: Yesterday at 02:31 PM Share Posted November 23, 2017 i have here my credits exxchanger but can i request additional category Credits to Super Credits 100 Credit > 1 Super Credit Here is my scripthttps://pastebin.com/qfWJtQCc Thanks in advance Quote Link to comment Share on other sites More sharing options...
0 DairyPresto Posted November 23, 2017 Group: Members Topic Count: 35 Topics Per Day: 0.01 Content Count: 151 Reputation: 2 Joined: 04/03/17 Last Seen: Yesterday at 02:31 PM Author Share Posted November 23, 2017 help Quote Link to comment Share on other sites More sharing options...
0 Alayne Posted November 23, 2017 Group: Members Topic Count: 54 Topics Per Day: 0.01 Content Count: 342 Reputation: 170 Joined: 02/25/12 Last Seen: January 24, 2022 Share Posted November 23, 2017 - script Credit Exchanger#2 903,{ mes "[Credit Exchanger]"; mes "What do you want?"; switch(select("[Credits to Super Credits]","[Credits to Zeny]","[Zeny to Credits]")){ case 1: if(!countitem(20234)){ mes "You don't have any credit"; close; } mes "How many you want to exchange?"; input @u; if(countitem(20234)<@u || @u < 100){ mes "You don't have enough credit."; close; } set @realu, @u / 100; //report to nearest 100 multiplier mes "Ok~!"; delitem 20234,@realu * 100; getitem "supercoinid", @realu; close; case 2: if(!countitem(20234)){ mes "You don't have any credit"; close; } mes "How many you want to exchange?"; input @u; if(countitem(20234)<@u){ mes "You don't have enough credit."; close; } mes "Ok~!"; delitem 20234,@u; set Zeny,Zeny+10000000*@u; set @u,0; close; case 3: if(zeny<10000000){ mes "You don't have enough Zeny."; close; } mes "How many you want to exchange?"; input @u; if(10000000*@u>Zeny){ mes "You don't have enough Zeny."; close; } set ztc_player,gettimetick(2); mes "Ok~!"; getitem 20234,@u; set Zeny,Zeny-10000000*@u; close; } OnInit: waitingroom "Credit Exchanger",0; end; } prontera,164,168,5 duplicate(Credit Exchanger#2) Credit Exchanger#3 903 geffen,116,62,5 duplicate(Credit Exchanger#2) Credit Exchanger#4 903 turbo_room,93,117,5 duplicate(Credit Exchanger#2) Credit Exchanger#3 903 You just have to replace the "supercoinid" by the real id. 1 Quote Link to comment Share on other sites More sharing options...
0 DairyPresto Posted November 23, 2017 Group: Members Topic Count: 35 Topics Per Day: 0.01 Content Count: 151 Reputation: 2 Joined: 04/03/17 Last Seen: Yesterday at 02:31 PM Author Share Posted November 23, 2017 Thanks man, btw i got an error, npc can't click is there a posibility to put in on pastebin ?:) Quote Link to comment Share on other sites More sharing options...
0 AdrianoGC Posted November 24, 2017 Group: Members Topic Count: 8 Topics Per Day: 0.00 Content Count: 40 Reputation: 7 Joined: 12/30/11 Last Seen: April 8 Share Posted November 24, 2017 (edited) https://pastebin.com/3hNYmnBX Edited November 24, 2017 by AdrianoGC Quote Link to comment Share on other sites More sharing options...
0 DairyPresto Posted November 24, 2017 Group: Members Topic Count: 35 Topics Per Day: 0.01 Content Count: 151 Reputation: 2 Joined: 04/03/17 Last Seen: Yesterday at 02:31 PM Author Share Posted November 24, 2017 21 hours ago, AdrianoGC said: https://pastebin.com/3hNYmnBX Thank you i'll try it later. Quote Link to comment Share on other sites More sharing options...
Question
DairyPresto
i have here my credits exxchanger but can i request additional category
Credits to Super Credits
100 Credit > 1 Super Credit
Here is my script
https://pastebin.com/qfWJtQCc
Thanks in advance
Link to comment
Share on other sites
5 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.