world

The world Tcl command

The world command has the following command line syntax:

 world info                  ; Gets a list of open worlds
 world id                    ; Gets the id of the current world
 world connected [<id>]      ; Gets whether the world is connected (0 | 1)
 world connect [<id>]        ; Connects to the world if not connected
 world disconnect [<id>]     ; Disconnects from the world when connected
 world close [<id>]          ; Closes the specified world
 world isActive [<id>]       ; Gets whether the world is active (0 | 1)
 world setActive [<id>]      ; Sets the world active
 world clearActive [<id>]    ; Sets the world inactive
 world setForeground [<id>]  ; Sets the world to the foreground
 world settings              ; Gets world info
 world dialog                ; Shows the connect dialog