^#^ email^#^ SUBTOPIC-player^#^ -=[ Help ]=- command: email Usuage: email Description: This allows your to change your email address in your finger information. Related topics: chfn, plan, finger. ^#^ emote^#^ SUBTOPIC-player^#^ -=[ Help ]=- command: emote Usuage: emote <message> :<message> Description: This allows you do a pseudo-action. If it is done by a player it prepends the emote with '::'. The message is echoed to all within the room, with the format: name <message>. Example: emote bursts out laughing. Others in the room will see, ::Zilanthius bursts out laughing. Related topics: say, tell, whisper, shout, speak. ^#^ examine^#^ SUBTOPIC-player^#^ -=[ Help ]=- command: examine Usuage: examine examine <item|player|monster> examine <item> on <item> exa exa <item|player|monster> exa <item> on <item> Description: This may or may not give a closer examination of item then compared to a casual 'look'. But it never hurts to be too careful. Related topics: look. ^#^ exa^#^ SUBTOPIC-player^#^ -=[ Help ]=- command: examine Usuage: examine examine <item|player|monster> examine <item> on <item> exa exa <item|player|monster> exa <item> on <item> Description: This may or may not give a closer examination of item then compared to a casual 'look'. But it never hurts to be too careful. Related topics: look. ^#^ echo^#^ SUBTOPIC-creator^#^ -=[ Help ]=- command: echo Usuage: echo <string> Description: This command echos a string directly to the room. Example: echo The earth shakes mightily! Related topics: echoto, echoall. ^#^ echoall^#^ SUBTOPIC-creator^#^ -=[ Help ]=- command: echoall Usuage: echoall <string> Description: This command echos a string directly to all interactive players on the game. Example: echoall The earth shakes mightily! Related topics: echoto, echo. ^#^ echoto^#^ SUBTOPIC-creator^#^ -=[ Help ]=- command: echoto Usuage: echoto <player|monster> <str> Description: This command echos a str directly to a player. Example: echoto zilanthius The earth shakes mightily! Related topics: echo, echoall. ^#^ ed^#^ SUBTOPIC-creator^#^ -=[ Help ]=- command: ed Usuage: ed <file> Description: This command allows the creator to use the online line editor to edit files. The creator must have write access to edit a file. Related topics: none. ^#^ edit^#^ SUBTOPIC-creator^#^ -=[ Help ]=- command: edit Usuage: edit Description: This command toggles your 'earmuffs' and 'edit flag' on|off. Related topics: tell, shout, wiz. ^#^ edtitle^#^ SUBTOPIC-creator^#^ -=[ Help ]=- command: edtitle Usuage: edtitle edtitle <edit title> Description: When the creator is has their 'edit' toggled on, it places 'earmuffs' on shouts, tells, and wiz. However, the creator's title changes to the edtitle. If no in edit title is given, it defaults to "is editing". Related topics: align, mhome, mclone, minvis, mtrans, mout, mmin, mmout, edtitle, review, title, pretitle, mdest, edit. ^#^ earthquake^#^ SUBTOPIC-cleric^#^ ________________________________________________________________ ()_______________________________________________________________) | Prayer: Earthquake Sphere: Nature | | Level: 20 Cost: 20 | | Component: Stone or Gem Usage: earthquake | | Description: | | | | This prayer will cause the earth to quake in the locale about | | the cleric. The earthquake will not harm the cleric or | | anyone partying with the cleric. The prayer needs a rock, | | stone, or gem as a spell component. | | | |_______________________________________________________________| ()_______________________________________________________________) ^#^ ebl^#^ SUBTOPIC-cleric^#^ ________________________________________________________________ ()_______________________________________________________________) | Prayer: Everburning Log Sphere: Nature | | Level: 1 Cost: 1 | | Component: branch or stick. Usage: evl | | Description: | | | | This prayer will cause a stick to burn as a bright torch. | | The torch burns with a much higher light intensity. | | | | | | | |_______________________________________________________________| ()_______________________________________________________________) ^#^ enchanted weapon^#^ SUBTOPIC-mage^#^ ______________________________ ______________________________ __/ \/ \__ | /| |: |:|| ||:| Spell: Enchanted Weapon |: Description: |:|| ||:| School: Alteration |: |:|| ||:| Cost: 12 |: This spell enchants a weapon|:|| ||:| Level: 12 |: The weapon is more able to |:|| ||:| Usage: enchanted weapon |: hit opponents. |:|| ||:| <weapon> |: |:|| ||:| Related Spells: |: |:|| ||:| None. |: |:|| ||:| |: |:|| ||:|_____________________________ |: _____________________________|:|| ||/______________________________\|:/______________________________\|| |_______________________________ _______________________________| '----` ^#^ energy drain^#^ SUBTOPIC-mage^#^ ______________________________ ______________________________ __/ \/ \__ | /| |: |:|| ||:| Spell: Energy Drain |: Description: |:|| ||:| School: Necromancy |: |:|| ||:| Cost: 35 |: The spell taps the victim's |:|| ||:| Level: 35 |: living essence. It has the |:|| ||:| Usage: energy drain who |: chance of draining away all |:|| ||:| |: magical energy, and a level.|:|| ||:| Related Spells: |: |:|| ||:| None. |: |:|| ||:| |: |:|| ||:|_____________________________ |: _____________________________|:|| ||/______________________________\|:/______________________________\|| |_______________________________ _______________________________| '----` ^#^ evocation^#^ SUBTOPIC-mage^#^ ______________________________ ______________________________ __/ \/ \__ | /| Evocation Spells |: Evocation Spells |:|| ||:| |: |:|| ||:| Magic Missile |: Meteor Swarm |:|| ||:| Lightning Bolt |: MKS (Mordenkainen's Sword) |:|| ||:| Fire Ball |: Acid Arrow |:|| ||:| Cone of Cold |: |:|| ||:| Chain Lightning |: |:|| ||:| Fire Shield |: |:|| ||:| Ice Storm |: |:|| ||:|_____________________________ |: _____________________________|:|| ||/______________________________\|:/______________________________\|| |_______________________________ _______________________________| '----` ^#^ enable_commands^#^ SUBTOPIC-efun^#^ EFUN enable_commands() SYNOPSIS void enable_commands(void); DESRIPTION enable_commands() marks this_object() as a living object, and allows it to use commands added with add_action() (by using command()). When enable_commands() is called, the driver also looks for the local function catch_tell(), and if found, it will call it every time a message (via say() for example) is given to the object. Note that when enable_commands() is called, this_player() is designated as the object which called enable_commands(). BUGS Do not call this function in any other place than create() or strange things will likely occur. SEE ALSO this_object(), living(), add_action(), command(), catch_tell(), say(), create(), this_player() ^#^ environment^#^ SUBTOPIC-efun^#^ EFUN environment() SYNOPSIS object environment(object ob); DESCRIPTION Return the containing object (environment) of <ob>. If no argument is given, <ob> defaults to this_object(). If there is no environment the it returns 0. SEE ALSO this_object(), move_object() ^#^ exec^#^ SUBTOPIC-efun^#^ EFUN exec() SYNOPSIS int exec(object to, object from); DESCRIPTION This efun allows the interactive link to a given object to be migrated to another object. That is, after a success- ful exec(to, from) call, interactive(to) will return 1 and interactive(from) will return 0. The player that was con- trolling 'from' will begin controlling 'to' following the exec() call. This function is restricted to player.c /wizard.c. SEE ALSO interactive() ^#^ explode^#^ SUBTOPIC-efun^#^ EFUN explode() SYNOPSIS string *explode(string str, string del); DESCRIPTION explode() returns an array of strings, created when the string <str> is split into pieces as divided by the delim- iter <del>. NOTES This function varies from driver to driver with respect to the return array. 3.1.2 and Mudos give similar output. But both fail with, explode("aa","a"). 3.1.2 returns 0, mudos ({}). Both fail the explode/implode complement test. The complement test is implode(explode(str,del),del) == str. The amylaar passes both tests. This mudlib has a simul_efun fix for the problem. Look at EXPLODE doc for further info. EXAMPLE /* load each line of a file into an array */ string *read_file_array(string file) { string file_txt; if(!(file_txt = read_bytes(file,0,file_size(file)))) { return ({}); /* either file not exist or text > 8 KB limit */ } #ifdef OLD_EXPLODE return explode(file_txt +"\n","\n"); /* for 3.1.2 & mudos */ #else return explode(file_txt,"\n"); /* for amylaar */ #endif /* OLD_EXPLODE */ } SEE ALSO sscanf(), extract(), implode() ^#^ extract^#^ SUBTOPIC-efun^#^ EFUN extract() SYNOPSIS string extract(string str, int from, int to) DESCRIPTION Extract a substring from a string. Character 0 is first character. 'extract(str, n)' will return a substring from characer number 'n' to the end. 'extract(str, i, j)' will return a string from character 'i' to character 'j'. This function is becoming redundant with the extensive use of the range function []. EXAMPLE void print_array_three_columns(string *txt) { int i; for(i = sizeof(txt); i--; ) { txt[i] += " "; txt[i] = extract(txt[i],0,25) +" "; if(!((i+1)%3)) txt[i] += "\n"; } write(implode(txt,"") +"\n"); } SEE ALSO sscanf(), explode(), [], implode() ^#^ efun^#^ SUBTOPIC-amylaar^#^ NAME efun DESCRIPTION This directory contains descriptions for the efuns of Amylaar's version of the LPC parser. These are functions that are supplied by the parser and can be called by LPC objects (somewhat similar to system calls in the C library). SEE ALSO efuns(LPC), applied(A), master(M), lpc(LPC), concepts(C), driver(D) ^#^ exp^#^ SUBTOPIC-amylaar^#^ SYNOPSIS float exp(float) DESCRIPTION The exponential function. ^#^ export_uid^#^ SUBTOPIC-amylaar^#^ SYNOPSIS int export_uid(object ob) DESCRIPTION Uids are not available in compat mode. Set the uid of object ob to the current object's effective uid. It is only possible when object ob has an effective uid of 0. SEE ALSO seteuid(E), getuid(E), geteuid(E), uids(C), native(C) ^#^ exit^#^ SUBTOPIC-compatfn/driverfn^#^ SYNOPSIS void exit(object ob) DESCRIPTION This function is used in compat mode only. This function is called in the old environment everytime a living object ob leaves it. The function this_player() will return a random value, don't use it at this point. WARNING: Using this function is EXTREMELY dangerous. A single bug, and you are forever (i.e. until the next reboot occurs) caught in the room. SEE ALSO init(E) ^#^ epilog^#^ SUBTOPIC-amylaar^#^ SYNOPSIS void epilog(void) /* compat */ string *epilog(int eflag) /* !compat */ DESCRIPTION Perform final actions before opening the system to users. The semantics of this function differ for compat and !compat mode. Compat: the objects from the INIT_FILE (#defined to "room/init_file" at compile time in the parser) are already loaded at this time. Normally there is nothing left to do for this function. Native: he argument is the number of -e options that were given to the parser on the commandline. Normally it is just 0 or 1. The function should return an array of strings, which denote the objects to be preloaded with master->preload(). Any other return value is interpreted as ``no object to preload''. The resulting strings will be passed one at a time as arguments to preload(). SEE ALSO preload(M), master(M) ^#^ external_master_reload^#^ SUBTOPIC-amylaar^#^ SYNOPSIS void external_master_reload() DESCRIPTION Master was reloaded on external request by SIGUSR1. It will be called after inaugurate_master() of course. If you plan to do additional magic here, you're welcome. SEE ALSO inaugurate_master(M)