Quesooo Posted July 16, 2017 Group: Members Topic Count: 197 Topics Per Day: 0.07 Content Count: 883 Reputation: 28 Joined: 02/13/17 Last Seen: November 10, 2022 Share Posted July 16, 2017 Requesting for 1 NPC that can exchange item to kafra points and can be exchange item to zeny 1 item = 1 kafra points 1 item = 5000 zeny thank you Quote Link to comment Share on other sites More sharing options...
0 Cyro Posted July 16, 2017 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 1138 Reputation: 290 Joined: 04/29/13 Last Seen: July 20, 2024 Share Posted July 16, 2017 you mean your custom item to zeny and another item to cashpoints ? or cashpoints to zeny and vise versa ? 1 Quote Link to comment Share on other sites More sharing options...
0 Quesooo Posted July 16, 2017 Group: Members Topic Count: 197 Topics Per Day: 0.07 Content Count: 883 Reputation: 28 Joined: 02/13/17 Last Seen: November 10, 2022 Author Share Posted July 16, 2017 18 hours ago, Cyro said: you mean your custom item to zeny and another item to cashpoints ? or cashpoints to zeny and vise versa ? item to kafra points and the other choices is item to zeny Quote Link to comment Share on other sites More sharing options...
0 Quesooo Posted July 17, 2017 Group: Members Topic Count: 197 Topics Per Day: 0.07 Content Count: 883 Reputation: 28 Joined: 02/13/17 Last Seen: November 10, 2022 Author Share Posted July 17, 2017 npc have 2 option 1 is for coupon to kafra points ( 1 coupon is equal to 1 kafra point ) 2 is coupon to zeny ( 1 coupon is equal to 5000 zeny ) Quote Link to comment Share on other sites More sharing options...
0 sotf Posted July 17, 2017 Group: Members Topic Count: 43 Topics Per Day: 0.01 Content Count: 173 Reputation: 9 Joined: 11/14/12 Last Seen: June 7, 2023 Share Posted July 17, 2017 (edited) prontera,100,100,3 script Converter 100,{ mes "Convert Menu"; if(select("Coupon to Kafra Pts:Coupon to Zeny")== 1) { goto ckafra; end; } else { goto czeny; end; } ckafra: next; mes "Input Amount"; input .@ckafra; next; set .@kafratotal, .@ckafra*1; mes "Converting "+.@ckafra+" coupon to "+.@kafratotal+" kafra points, continue?"; if(select("No:Yes")==1) { close; } next; mes "Done!"; delitem .@couponid, .@ckafra; set #KAFRAPOINTS,#KAFRAPOINTS+.@kafratotal; close; czeny: next; mes "Input Amount"; input .@czeny; next; set .@zenytotal, .@czeny*5000; mes "Converting "+.@czeny+" coupon to "+.@zenytotal+" zeny, continue?"; if(select("No:Yes")==1) { close; } next; mes "Done!"; delitem .@couponid, .@czeny; set #ZENY,#ZENY+.@zenytotal; close; OnInit: set .@couponid, 909; end; } Try this. Edited July 17, 2017 by sotf 1 Quote Link to comment Share on other sites More sharing options...
0 hendra814 Posted July 17, 2017 Group: Members Topic Count: 59 Topics Per Day: 0.01 Content Count: 1281 Reputation: 170 Joined: 06/12/12 Last Seen: 1 hour ago Share Posted July 17, 2017 (edited) Sorry Wrong post please delete this post. Edited July 17, 2017 by hendra814 Quote Link to comment Share on other sites More sharing options...
0 Quesooo Posted July 17, 2017 Group: Members Topic Count: 197 Topics Per Day: 0.07 Content Count: 883 Reputation: 28 Joined: 02/13/17 Last Seen: November 10, 2022 Author Share Posted July 17, 2017 2 hours ago, sotf said: prontera,100,100,3 script Converter 100,{ mes "Convert Menu"; if(select("Coupon to Kafra Pts:Coupon to Zeny")== 1) { goto ckafra; end; } else { goto czeny; end; } ckafra: next; mes "Input Amount"; input .@ckafra; next; set .@kafratotal, .@ckafra*1; mes "Converting "+.@ckafra+" coupon to "+.@kafratotal+" kafra points, continue?"; if(select("No:Yes")==1) { close; } next; mes "Done!"; delitem .@couponid, .@ckafra; set #KAFRAPOINTS,#KAFRAPOINTS+.@kafratotal; close; czeny: next; mes "Input Amount"; input .@czeny; next; set .@zenytotal, .@czeny*5000; mes "Converting "+.@czeny+" coupon to "+.@zenytotal+" zeny, continue?"; if(select("No:Yes")==1) { close; } next; mes "Done!"; delitem .@couponid, .@czeny; set #ZENY,#ZENY+.@zenytotal; close; OnInit: set .@couponid, 909; end; } Try this. Thank you i will try this after work Quote Link to comment Share on other sites More sharing options...
0 Quesooo Posted July 17, 2017 Group: Members Topic Count: 197 Topics Per Day: 0.07 Content Count: 883 Reputation: 28 Joined: 02/13/17 Last Seen: November 10, 2022 Author Share Posted July 17, 2017 On 7/16/2017 at 8:04 PM, sotf said: prontera,100,100,3 script Converter 100,{ mes "Convert Menu"; if(select("Coupon to Kafra Pts:Coupon to Zeny")== 1) { goto ckafra; end; } else { goto czeny; end; } ckafra: next; mes "Input Amount"; input .@ckafra; next; set .@kafratotal, .@ckafra*1; mes "Converting "+.@ckafra+" coupon to "+.@kafratotal+" kafra points, continue?"; if(select("No:Yes")==1) { close; } next; mes "Done!"; delitem .@couponid, .@ckafra; set #KAFRAPOINTS,#KAFRAPOINTS+.@kafratotal; close; czeny: next; mes "Input Amount"; input .@czeny; next; set .@zenytotal, .@czeny*5000; mes "Converting "+.@czeny+" coupon to "+.@zenytotal+" zeny, continue?"; if(select("No:Yes")==1) { close; } next; mes "Done!"; delitem .@couponid, .@czeny; set #ZENY,#ZENY+.@zenytotal; close; OnInit: set .@couponid, 909; end; } Try this. script is not working cant figure out whats the problem the item cannot be deleted also donot add kafra point after converting same on the next menu for zeny and coupon is not working also Quote Link to comment Share on other sites More sharing options...
0 sotf Posted July 19, 2017 Group: Members Topic Count: 43 Topics Per Day: 0.01 Content Count: 173 Reputation: 9 Joined: 11/14/12 Last Seen: June 7, 2023 Share Posted July 19, 2017 (edited) On 7/17/2017 at 9:18 PM, Questune09 said: script is not working cant figure out whats the problem the item cannot be deleted also donot add kafra point after converting same on the next menu for zeny and coupon is not working also Did you change the item id to your coupon's item id? EDIT: My bad, try this: prontera,100,100,3 script Converter 100,{ mes "Convert Menu"; if(select("Coupon to Kafra Pts:Coupon to Zeny")== 1) { goto ckafra; end; } else { goto czeny; end; } ckafra: next; mes "Input Coupon Amount"; input .@ckafra; next; set .@kafratotal, .@ckafra*1; mes "Converting "+.@ckafra+" coupon to "+.@kafratotal+" kafra points, continue?"; if(select("No:Yes")==1) { close; } next; mes "Done!"; delitem .couponid, .@ckafra; set #KAFRAPOINTS,#KAFRAPOINTS+.@kafratotal; dispbottom "========================================="; dispbottom "Convert: You converted "+.@ckafra+" coupons to "+.@kafratotal+" Kafra Points."; dispbottom "You now have "+#KAFRAPOINTS+" Kafra Points"; dispbottom "========================================="; close; czeny: next; mes "Input Coupon Amount"; input .@czeny; next; set .@zenytotal, .@czeny*5000; mes "Converting "+.@czeny+" coupon to "+.@zenytotal+" zeny, continue?"; if(select("No:Yes")==1) { close; } next; mes "Done!"; delitem .couponid, .@czeny; set #ZENY,#ZENY+.@zenytotal; dispbottom "========================================="; dispbottom "Convert: You converted "+.@czeny+" coupons to "+.@zenytotal+" Kafra Points."; dispbottom "You now have "+#ZENY+" Kafra Points"; dispbottom "========================================="; close; OnInit: set .couponid, 909; end; } Edited July 19, 2017 by sotf 1 Quote Link to comment Share on other sites More sharing options...
0 Quesooo Posted July 19, 2017 Group: Members Topic Count: 197 Topics Per Day: 0.07 Content Count: 883 Reputation: 28 Joined: 02/13/17 Last Seen: November 10, 2022 Author Share Posted July 19, 2017 22 hours ago, sotf said: Did you change the item id to your coupon's item id? EDIT: My bad, try this: prontera,100,100,3 script Converter 100,{ mes "Convert Menu"; if(select("Coupon to Kafra Pts:Coupon to Zeny")== 1) { goto ckafra; end; } else { goto czeny; end; } ckafra: next; mes "Input Coupon Amount"; input .@ckafra; next; set .@kafratotal, .@ckafra*1; mes "Converting "+.@ckafra+" coupon to "+.@kafratotal+" kafra points, continue?"; if(select("No:Yes")==1) { close; } next; mes "Done!"; delitem .couponid, .@ckafra; set #KAFRAPOINTS,#KAFRAPOINTS+.@kafratotal; dispbottom "========================================="; dispbottom "Convert: You converted "+.@ckafra+" coupons to "+.@kafratotal+" Kafra Points."; dispbottom "You now have "+#KAFRAPOINTS+" Kafra Points"; dispbottom "========================================="; close; czeny: next; mes "Input Coupon Amount"; input .@czeny; next; set .@zenytotal, .@czeny*5000; mes "Converting "+.@czeny+" coupon to "+.@zenytotal+" zeny, continue?"; if(select("No:Yes")==1) { close; } next; mes "Done!"; delitem .couponid, .@czeny; set #ZENY,#ZENY+.@zenytotal; dispbottom "========================================="; dispbottom "Convert: You converted "+.@czeny+" coupons to "+.@zenytotal+" Kafra Points."; dispbottom "You now have "+#ZENY+" Kafra Points"; dispbottom "========================================="; close; OnInit: set .couponid, 909; end; } working on coupon to zeny convert but coupon to zeny is not working czeny: next; mes "Input Coupon Amount"; input .@czeny; next; set .@zenytotal, .@czeny*5000; mes "Converting "+.@czeny+" coupon to "+.@zenytotal+" zeny, continue?"; if(select("No:Yes")==1) { close; } next; mes "Done!"; delitem 7588, .@czeny; set #ZENY,#ZENY+.@zenytotal; dispbottom "========================================="; dispbottom "Convert: You converted "+.@czeny+" coupons to "+.@zenytotal+" Zeny."; dispbottom "You now have "+#ZENY+" Zeny"; dispbottom "========================================="; close; OnInit: set 7588, 909; end; } Quote Link to comment Share on other sites More sharing options...
0 sotf Posted July 19, 2017 Group: Members Topic Count: 43 Topics Per Day: 0.01 Content Count: 173 Reputation: 9 Joined: 11/14/12 Last Seen: June 7, 2023 Share Posted July 19, 2017 prontera,100,100,3 script Converter 100,{ mes "Convert Menu"; if(select("Coupon to Kafra Pts:Coupon to Zeny")== 1) { goto ckafra; end; } else { goto czeny; end; } ckafra: next; mes "Input Coupon Amount"; input .@ckafra; next; set .@kafratotal, .@ckafra*1; mes "Converting "+.@ckafra+" coupon to "+.@kafratotal+" kafra points, continue?"; if(select("No:Yes")==1) { close; } next; mes "Done!"; delitem .couponid, .@ckafra; set #KAFRAPOINTS,#KAFRAPOINTS+.@kafratotal; dispbottom "========================================="; dispbottom "Convert: You converted "+.@ckafra+" coupons to "+.@kafratotal+" Kafra Points."; dispbottom "You now have "+#KAFRAPOINTS+" Kafra Points"; dispbottom "========================================="; close; czeny: next; mes "Input Coupon Amount"; input .@czeny; next; set .@zenytotal, .@czeny*5000; mes "Converting "+.@czeny+" coupon to "+.@zenytotal+" zeny, continue?"; if(select("No:Yes")==1) { close; } next; mes "Done!"; delitem .couponid, .@czeny; set #ZENY,#ZENY+.@zenytotal; dispbottom "========================================="; dispbottom "Convert: You converted "+.@czeny+" coupons to "+.@zenytotal+" Kafra Points."; dispbottom "You now have "+#ZENY+" Kafra Points"; dispbottom "========================================="; close; OnInit: set .couponid, 7588; end; } Try this ^ About your edit: OnInit: set 7588, 909; end; It should be: OnInit: set .couponid, 7588; end; that's the only part you need to change (except for the mes and dispbottoms if you want to change the displayed messages) 1 Quote Link to comment Share on other sites More sharing options...
0 Quesooo Posted July 19, 2017 Group: Members Topic Count: 197 Topics Per Day: 0.07 Content Count: 883 Reputation: 28 Joined: 02/13/17 Last Seen: November 10, 2022 Author Share Posted July 19, 2017 thank you Quote Link to comment Share on other sites More sharing options...
Question
Quesooo
Requesting for 1 NPC that can exchange item to kafra points and can be exchange item to zeny
1 item = 1 kafra points
1 item = 5000 zeny
thank you
Link to comment
Share on other sites
11 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.