building.redo
Overview
- [Build Mode Only] Re-applies build command(s) that were undone with building.undo. Issuing any new build command clears the redo stack.
Metadata
| Field | Value |
|---|---|
| Display | Build Redo |
| Category | building |
| Access | ScriptCheat |
| Scope | B1Standalone |
| Tags | Experimental |
| Aliases | — |
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| count | int | no | 1 | How many steps to redo (1-64) |
Returns
Returns a JSON object with the following fields:
| Field | Type | Required | Description |
|---|---|---|---|
redone | int | yes | How many steps were actually redone |
has_undo | bool | yes | Whether undo is available |
has_redo | bool | yes | Whether further redo is available |
Usage
await inzoi.cli.execute('building.redo', {
count: 1, // optional
});