regionRestartCancel
From SmartBots Developers Docs
Jump to: navigation, search
Cancels pending restart of current region
Bot.regionRestart(delay);
Reference
This command accepts the following parameters:
Variable | Required | Description
| |
---|---|---|---|
Input: | |||
Output: | |||
Function returns a Promise with the following data: | |||
success | bool | true if command completed successfully | |
error | string | error string if command has failed |
Permissions
The bot has to be an Estate Manager of the current region.
Examples
See a complex region restart script in Examples.
- regionRestartCancel