NAME
target - Set or show your default target region
SYNOPSIS
target
target region
target here
target none
targetwidth point
DESCRIPTION
Commands that act on a region wall, ban, unban, loadmod, unloadmod, modlist and deny normally take an optional region selector. Without one they act on your default target region if you have set one, and otherwise on the region you are standing in.
This command shows or changes that default.
- target
- Show the current default, or say that there is none.
- target region
- Set the default. region is a bare world number (0-65535) or the keyword cosmos, under exactly the same rules every other region selector uses. You must rule the region you name, or an ancestor of it, or the command is refused and names the ruler.
- target here
- Set the default to the region you are standing in, without having to name it. That is the deepest region the engine knows about there -- a claimed world, a granted district, or the cosmos from the void -- not a single cell: only rows count, and a cell selector would reach nobody. From the void this stores the cosmos, which no world number can name.
- targetwidth point
- Set the default to the width-wide ancestor of the point: the same point forms grant takes (here, world N, cosmos, or coordinates). This is how region commands address districts and super-planet regions no world token names. A lone number stays a world, so always name the point, even for a planet width.
- target none
- Clear the default. Commands go back to acting on your current region.
The default is validated when you set it, not when a command uses it, so it cannot be a setting that appears to work and then refuses every command.
Note the asymmetry: loadmod and unloadmod require exact ownership of the named region, because module loading attaches to one specific region row. A default naming a subregion you rule but do not own outright is therefore settable here and refused by those two commands. That is correct rather than a defect.
The default applies only to commands that take a region selector. It does not change what owned, clone, create or chown may reach: those are scoped to the region of the object involved, so setting a default is never a way to widen what you can enumerate or act on by name.
SEE ALSO
wall(10), ban(10), unban(10), modlist(10), loadmod(10), unloadmod(10), deny(10), here(10), planet(10), grant(10)
AUTHOR
quirinpa <quirinpa@tty.pt>