giveMoney
Commands the bot to send money (L$) to a specific avatar.
Bot.giveMoney(avatar, amount, comment);Input
Variable | Required | Description |
|---|---|---|
| yes | The avatar UUID |
| yes | The amount of money to give |
| optional | Text comment for the money transaction |
Output
Function returns a Promise with the following data:
Variable | Type | Description |
|---|---|---|
| bool | True if command completed successfully |
| string | Error string if command has failed |
Examples
For a comprehensive balance management script, see the example.