See also: @success, @osuccess, get, @lock, EXITS, ACTION LISTS
& @attribute
@attribute <attrib>
- @attribute/access[/retroactive] <attrib> = <flag list>
+ @attribute/access[/retroactive] <attrib> = <flag list or "none">
@attribute/delete <attrib>
@attribute/rename <attrib> = <new name>
@attribute/access adds a new standard attribute into the table,
associating it with the given space-separated list of flags.
- See 'help @set' for possible flags.
- If the /retroactive switch is added, the flags are set on every copy
+ See 'help @set' for possible flags. A flag list of "none" removes
+ all flag associations.
+ If the /retroactive switch is added, the flags are assigned to every copy
of the attribute that already exists in the database.
@attribute/delete removes a standard attribute from the table.
notify(player, T("Which attribute do you mean?"));
return;
}
- flags = string_to_privs(attr_privs, perms, 0);
- if (!flags) {
- notify(player, T("I don't understand those permissions."));
- return;
+ if (strcasecmp(perms, "none")) {
+ flags = string_to_privs(attr_privs, perms, 0);
+ if (!flags) {
+ notify(player, T("I don't understand those permissions."));
+ return;
+ }
}
upcasestr(name);
/* Is this attribute already in the table? */