^#^ look^#^ SUBTOPIC-player^#^ -=[ Help ]=- command: look Usage: l look look at <item|player|monster> look at <item> on <item> Description: This gives a CASUAL glance at an object that may or may not need a closer examination. 'look' will give a description of the room, unless its dark or you are in brief mode. Example: look at lock on door Related topics: examine, brief. ^#^ l^#^ SUBTOPIC-player^#^ -=[ Help ]=- command: look Usage: l look look at <item|player|monster> look at <item> on <item> Description: This gives a CASUAL glance at an object that may or may not need a closer examination. 'look' will give a description of the room, unless its dark or you are in brief mode. Example: look at lock on door Related topics: examine, brief. ^#^ light^#^ SUBTOPIC-creator^#^ -=[ Help ]=- command: light Usage: light light <amount> Description: This command allows you to set the change the light value. If no argument is given, the light value is returned. If the light value is zero or less, it is dark. Related topics: none. ^#^ load^#^ SUBTOPIC-creator^#^ -=[ Help ]=- command: load Usage: load <file> Description: This attempts to load a file as an object into memory. Failure will log into /log/log, /log/creator_name. The logs can be looked at with 'log', 'main', 'debug'. File will accept the token '*' as a wildcard. All file names have ".c" added to them automatically. Related topics: load, update, log, main, debug. ^#^ localcmd^#^ SUBTOPIC-creator^#^ -=[ Help ]=- command: localcmd Usage: localcmd Description: This command gives you a list of all actions currently available to you. Related topics: none. ^#^ log^#^ SUBTOPIC-creator^#^ -=[ Help ]=- command: log Usage: log log <who> Description: log tails the end of your error log file. If you have file read access to other creators log files, then you can look at their error logs. Your error log file is /log/creator_name. Related topics: main, debug, rlog. ^#^ lpc^#^ SUBTOPIC-creator^#^ -=[ Help ]=- command: lpc Usage: lpc <code> Description: This command writes a temporary file, loads the code, and returns the value. It is used to clarify lpc code output. Example: lpc return 30*675; Related topics: patch. ^#^ ls^#^ SUBTOPIC-creator^#^ -=[ Help ]=- command: ls Usage: ls ls <file> ls <file> -v ls <file> -<number> ls -h Description: The ls command lists files and directories. If no options are given, it will list files in the creators current default directory. An optional file path can be given, which accepts the token '*' as a wildcard. The - v option prints the file list in verbose mode. Verbose mode shows the file sizes, and gives the creators read and/or write access. Example: ls /obj -v Related topics: none. ^#^ lt^#^ SUBTOPIC-cleric^#^ ________________________________________________________________ ()_______________________________________________________________) | Prayer: Light Sphere: Stellar | | Level: 1 Cost: 1 | | Component: None. Usage: Lt (with capital 'L') | | Description: | | | | This prayer will cause the cleric to glow with a soft halo. | | The halo enables the cleric to see in darkness. | | | | | | | |_______________________________________________________________| ()_______________________________________________________________) ^#^ lightning bolt^#^ SUBTOPIC-mage^#^ ______________________________ ______________________________ __/ \/ \__ | /| |: |:|| ||:| Spell: Lightning Bolt |: Description: |:|| ||:| School: Evocation |: |:|| ||:| Cost: 10 |: This spell causes lightning |:|| ||:| Level: 9 |: to leap about from the |:|| ||:| Usage: lb who |: caster. Striking its target. |:|| ||:| Related Spells: |: |:|| ||:| None. |: |:|| ||:| |: |:|| ||:|_____________________________ |: _____________________________|:|| ||/______________________________\|:/______________________________\|| |_______________________________ _______________________________| '----` ^#^ limited wish^#^ SUBTOPIC-mage^#^ ______________________________ ______________________________ __/ \/ \__ | /| |: |:|| ||:| Spell: Limited Wish |: Description: |:|| ||:| School: Conjuration |: |:|| ||:| Cost: 14 |: A limited wish can imitate |:|| ||:| Level: 14 |: almost any spell whose level|:|| ||:| Usage: limited wish <spell> |: does not exceed level 10. |:|| ||:| |: |:|| ||:| Related Spells: |: |:|| ||:| Wish. |: |:|| ||:| |: |:|| ||:|_____________________________ |: _____________________________|:|| ||/______________________________\|:/______________________________\|| |_______________________________ _______________________________| '----` ^#^ locate^#^ SUBTOPIC-mage^#^ ______________________________ ______________________________ __/ \/ \__ | /| |: |:|| ||:| Spell: Locate |: Description: |:|| ||:| School: Divination |: |:|| ||:| Cost: 6 |: This spell will enable the |:|| ||:| Level: 6 |: caster to locate any monster|:|| ||:| Usage: locate who |: or player throughout the |:|| ||:| |: domains. |:|| ||:| Related Spells: |: |:|| ||:| None. |: |:|| ||:| |: |:|| ||:|_____________________________ |: _____________________________|:|| ||/______________________________\|:/______________________________\|| |_______________________________ _______________________________| '----` ^#^ listen^#^ SUBTOPIC-general^#^ -=[ Help ]=- command: listen Usage: listen listen <item> Description: If you stop and listen you may hear something. Related topics: smell, search. ^#^ living^#^ SUBTOPIC-efun^#^ EFUN living() SYNOPSIS int living(object ob); DESCRIPTION Return true if `ob' is a living object (that is, if "enable_commands()" has been called by `ob'). EXAMPLE status filter_living(object ob) { return (living(ob)) ? 1 : 0; } object *all_living(object ob) { object *inv; inv = all_inventory(ob); return filter_array(inv,"filter_living",this_object()); } SEE ALSO interactive() ^#^ log_file^#^ SUBTOPIC-efun^#^ EFUN log_file() SYNOPSIS void log_file(string file, string message); DESCRIPTION log_file() appends the string message to "/log/"+ file write access is given to logs, but read read access may be restricted. EXAMPLE void set_hp(int i) { log_file("HP_SET","Hit points was set by "+ (string)this_player()->query_real_name()+ "@"+ ctime(time()) +"\n"); hp = i; } SEE ALSO read_bytes(), read_file(), write_bytes(), write_file() ^#^ lower_case^#^ SUBTOPIC-efun^#^ EFUN lower_case() SYNOPSIS string lower_case(string str) DESCRIPTION Convert the all characters in "str" to lower case, and return the new string. EXAMPLE string query_real_name() { return lower_case(name); } SEE ALSO capitalize(). ^#^ lambda^#^ SUBTOPIC-efun32^#^ SYNOPSIS closure lambda(mixed *arr, mixed) DESCRIPTION Constructs a lambda closure, like lambda function in LISP. The closure is bound the creating object, thus can contain references to global variables. The first argument is an array describing the arguments (symbols) passed to the closure upon evaluation by funcall() or apply(). SEE ALSO closures(LPC), unbound_lambda(E), apply(E), funcall(E), bind_lambda(E) ^#^ logon^#^ SUBTOPIC-compatfn/driverfn^#^ SYNOPSIS int logon(void) DESCRIPTION When the parser accepts a new connection, it first calls connect() in the master object and then applies logon() to the object that is returned by the master. That will usually be a special login object, that is expected to clone and get going a user shell or user object. Should return 0 on failure, everything else means success. SEE ALSO connect(M) ^#^ log_error^#^ SUBTOPIC-efun32^#^ SYNOPSIS void log_error(string file, string err) DESCRIPTION Announce a compiler-time error in the named file. Whenever the LPC compiler detects an error, this function is called. It should at least log the error in a file, and also announce it to the active user. SEE ALSO runtime_error(M) ^#^ lock^#^ SUBTOPIC-general^#^ -=[ Lock ]=- Command: lock Usage: lock <door|item> with <key> Description: This command allows you to lock a door or an item with a 'key'. The key must fit the lock. A thief may be able to pick the lock. Example: lock east door with round key Related Topics: open, close, unlock, search, pick (thief). ^#^ last_instructions^#^ SUBTOPIC-efun321^#^ SYNOPSIS string *last_instructions (int length, int verbose) DESCRIPTION Return an array showing the 'length' last executed instructions in disassembled form. If 'verbose' is non-zero (the default), line number information are also included. Each string is built as this: Opcode-Address: Opcode Operand Mnemonic (Stackdepth) Linenumber The linenumber information is appended if requested and a new source line is reached. Also, calls between objects produce a Objectname Programname Linenumber entry in the resulting array (in verbose mode only). There is a preconfigured upper limit for the backtrace. HISTORY Introduced in 3.2.1@34 SEE ALSO debug_message(E) ^#^ lastname^#^ SUBTOPIC-player^#^ -=[ Last Name ]=- Command: lastname Usage: lastname Description: The last name command enables a player to set his last name, or 'family' name, for the purposes of role playing. This command is only available to players once they reach player level 10 (not skills levels). Once a last name has been set, it can not be changed. Related topics: describe