View/Edit #12:set_brief

Switch to edit mode.

Name(s): set_brief
1:  "set_brief(value)"
2:  "set_brief(value, anything)"
3:  "If <anything> is given, add value to the current value; otherwise, just set the value."
4:  if (!($perm_utils:controls(caller_perms(), this) || this == caller))
5:    return E_PERM
6:  else
7:    if (length(args) == 1)
8:      this.brief = args[1]
9:    else
10:     this.brief = this.brief + args[1]
11:   endif
12: endif

Verb arguments: this none this
Verb perms: Readable eXecutable NOT-Debug
Verb owned by: Slacker (#55)

You are not logged in.

[home | help | who | search | setup | code]