Functions Documentation
View Function Edit Function
Name ecoExchange
Syntax (ecoExchange amount fromCurrency toCurrency) -> amount
Argument List amount: number to be exchanged
fromCurrency: current currency
toCurrency: new currency
Returns amount: the amount of new currency
Category 1.06, economy
Description With the addition of 1.06 economytypes, this function allows one to exchange credits to rin and etc.
Example (ecoExchange 100 &ecCreditEconomy; &ecRinEconomy;)

This exchanges 100 credits to 20 rins.

In this case, the return is 20.
Comment Basic economy function. First introduced in 1.06.