transient <command_block>
Execute a block of commands in transient mode. When transient mode completes, all global graphic items (entities and groups) created within the block will be removed.
<command_block>
A block of commands to be executed in transient mode.
none
This command enables graphic items to be created without worrying about remembering to delete them when they are no longer required. Normally this is done automatically for local identifiers, but graphic items, i.e. entities and groups cannot be local. This therefore provides a convenient housekeeping function.
The nesting of transient blocks is permitted.
Execute a command block.
transient { group ga restore myfile.e ga = all modify ga { ls = green } save myfile.e, ga }
Structures: |