Akinari Posted April 13, 2013 Posted April 13, 2013 File Name: Single Action Coin Exchanger File Submitter: Akinari File Submitted: 13 Apr 2013 File Category: Utilities Content Author: Akinari Features: Exchange all of a type (Zeny -> Coins) or (Coins -> Zeny) with one user action Provides fail-safe configuration Users see everything that has been exchanged and how much they've exchanged for without unnecessary click actions Requires no script modification if you choose to change the configs Configuration: OnInit: //bronze, silver, gold, mithril, platinum setarray .selections$[0],"Bronze","Silver","Gold","Mithril","Platinum"; setarray .prices[0],10000,100000,1000000,100000000,1000000000; setarray .items[0],673,675,671,674,677; .arraysize = getarraysize(.items); if(.arraysize != getarraysize(.prices)) { //These 2 arrays should be same size debugmes "Array size for coins: "+.arraysize+" does not match size of price: "+getarraysize(.prices); .arraysize = 0; } else if(.arraysize != getarraysize(.selections$)) { //These 2 arrays should be same size debugmes "Array size for coins: "+.arraysize+" does not match size of selections: "+getarraysize(.selections$); .arraysize = 0; } end; Click here to download this file Quote
LCDTheOG Posted April 13, 2013 Posted April 13, 2013 wahoo :3, dude i'm glad u came in and made this when you did, i spent all night working on this D:, ty for the help with it btw. Quote
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.