Jump to content

Recommended Posts

Posted

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

  • 4 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...