Core Help Root: Objects: Object Lib


.to_dbref(obj)
Accepts strings or objnums and returns a valid objnum. Can throw ~namenf, ~objnf, or ~invdbref.
.get_name(obj[, @args])
Returns the name of the object. Accepts two optional args. The first is the name of the method to call on the object to return the name. This defaults to 'name. The second argument must be a list, and should contain the list of arguments with which to call the method returning the name of the object.
.see_perms(obj[, @args])
Accepts an object as the first argument and displays it's flags in a succint manner. The optional args should be two in number, both of them strings. These are used as the first and last character of the string returned and default to '[' and ']'.
.str_to_objlist(args)
Accepts a list in string form that is either in english form or delimited by spaces. It then explodes the list into a string and calls .list_to_objlist() and returns the result. See the help on .list_to_objlist() for further details.
.list_to_objlist(args)
Accepts a list and attempts to convert each element to a dbref. It returns a dictionary with two keys. 'valid contains a list of the valid dbrefs. 'invalid contains a list of the invalid elements of the list passed in as the argument.
.parse_method_flags(flags)
Accepts a list of method flags and returns a short string summarizing them. This method is used by @display and other commands.
.format_object(obj, chop)
Accepts an object and a boolean flag chop. Formats some general information about the object. Used by @display mainly.
.format_method_header(obj, method, opt, flags, access)
Accepts an object, method name, string, method flags and method access and returns a method header in '@program' format.


Colors | Trie | List Library | has_text | mutex | Heap | Weather System | Math Library | Integer | Data Lib | Object Lib | Help Node | Code Lib | Generic Map | Scrabble | World Time | Time | Robot | Native Function Reference | Complex Number Library | Bytecode Docs | motd | Mail List | Float | Collective | libraries | social_ui


the Cold Dark