Execute_SetCurrency
Description
Sets the currency amount for the specified currency id, or for all non-CatShopPoint currencies.
Parameters
| Parameter | Description |
|---|---|
| BaseObject | Transaction instigator (used for record/context). |
| S1 | (Optional) Currency id (Currency.Id). If None, sets all (except CatShopPoint). |
| F1 | New amount to set. |
Examples
| Description | BaseObject | Command | S1 | F1 |
|---|---|---|---|---|
| Sets self currency Mew to 5000. | Self | SetCurrency | Mew | 5000 |
| Sets all currencies (except CatShopPoint) to 0. | Self | SetCurrency | 0 |
Back to Command FinderSearch and filter all 399 Script Execution documents