HTML Utilities

Showing help on '@chmod'

Syntax: @chmod <object> <object-permissions>
@chmod <object>.<prop-name> <property-permissions>
@chmod <object>:<verb-name> <verb-permissions>
@chmod# <object>:<verb-number> <verb-permissions>

Changes the permissions of an object, property or verb, to those given. The following table shows what permission bits are allowed for each form of the command:
<object-permissions> r, w, f
<property-permissions> r, w, c
<verb-permissions> r, w, x, d

See the LambdaMOO Programmer's Manual for their meanings.

The form @chmod# is used to unambiguously refer to a verb by its 1-based index as it appears in the verbs() (or @verbs()) output list.

To clear all of the permissions for an object, verb, or property, use "" as the second argument.

@chmod also accepts +, !, and - as modifiers for a single permission to add or subtract that permission from the current set. (! and - are the same.)

Examples:

Set a verb to be Readable and Callable:
@chmod chair:sit rx

Set a verb to be not Callable, without changing its other permissions:
@chmod cookies:eat !x

Set an object to be Fertile in addition to any current bits:
@chmod table +f



-- telnet://project-mongoose.net:7777 -- Mail us -- http://project-mongoose.net:7780/ --
-- Eight users connected --