Execute_ExchangeCurrency
Description
Transfers a random amount of currency between Self and Target. The payer is determined by BaseObject:
- BaseObject = Self : Self pays Target
- BaseObject = Target : Target pays Self
Parameters
| Parameter | Description |
|---|---|
| BaseObject | Who pays (Self or Target). |
| S1 | Currency id (Currency.Id). |
| F1 | Minimum amount (inclusive). |
| F2 | Maximum amount (inclusive). |
Examples
| Description | BaseObject | Command | S1 | F1 | F2 |
|---|---|---|---|---|---|
| Self pays target 100~200 Mew. | Self | ExchangeCurrency | Mew | 100 | 200 |
| Target pays self 50~100 Mew. | Target | ExchangeCurrency | Mew | 50 | 100 |
Back to Command FinderSearch and filter all 399 Script Execution documents