^#^ update^#^ SUBTOPIC-creator^#^ -=[ Help ]=- command: update Usuage: update <file> Description: This attempts to unload an object from memory. File will accept the token '*' as a wildcard. All file names have ".c" added to them automatically. Related topics: load, clone, log, main, debug. ^#^ unique_array^#^ SUBTOPIC-efun^#^ EFUN unique_array() SYNOPSIS mixed unique_array(object *obarr, string separator); DESCRIPTION Groups objects together for which the `separator' function returns the same value. `obarr' should be an array of objects, other types are ignored. The `separator' function is called only once in each object in `obarr'. The return value is an array of arrays of objects on the form: ({ ({Same1:1, Same1:2, Same1:3, .... Same1:N }), ({Same2:1, Same2:2, Same2:3, .... Same2:N }), ({Same3:1, Same3:2, Same3:3, .... Same3:N }), .... ({SameM:1, SameM:2, SameM:3, .... SameM:N }), }) SEE ALSO filter_array(), sort_array() ^#^ users^#^ SUBTOPIC-efun^#^ EFUN users() SYNOPSIS object *users(); DESCRIPTION Return an array of objects, containing all interactive players. EXAMPLE status simple_who() { int i; for(i = 0; i < sizeof(users()); i++) { write(users()[i]->query_name() +"\n"); } return 1; } SEE ALSO ^#^ unbound_lambda^#^ SUBTOPIC-efun32^#^ SYNOPSIS closure unbound_lambda(mixed *args, mixed) DESCRIPTION Constructs a lambda closure that is not bound to an object, like lambda function in LISP. The closure cannot contain references to global variables, and all lfun closures are inserted as is, since there is no native object for this closure. You need to bind it before it can be called. Ordinary objects can obly bind to themselves, binding to other objects causes a privilege violation(). The point is that previous_object for calls done from inside the closure will reflect the object doing bind_lambda(), and all object / uid based security will also refer to this object. The first argument is an array describing the arguments (symbols) passed to the closure upon evaluation by funcall() or apply(), the second arg forms the code of the closure. SEE ALSO closures(LPC), lambda(E), apply(E), funcall(E), bind_lambda(E) ^#^ unshadow^#^ SUBTOPIC-efun32^#^ SYNOPSIS void unshadow(void) DESCRIPTION The calling object stops shadowing any other object. If the calling object is being shadowed, that is also stopped. SEE ALSO shadow(E) ^#^ unlock^#^ SUBTOPIC-general^#^ -=[ Unlock ]=- Command: unlock Usuage: unlock <door|item> with <key> Description: This command allows you to unlock a door or an item with a 'key'. The key must fit the lock. A thief may be able to pick the lock. Example: unlock east door with round key Related Topics: open, close, lock, search, pick (thief).