^#^ main^#^ SUBTOPIC-creator^#^ -=[ Help ]=- command: main Usuage: main Description: main tails the main error log file, /log/log. Related topics: log, debug, rlog. ^#^ mclone^#^ SUBTOPIC-creator^#^ -=[ Help ]=- command: mclone Usuage: mclone mclone <clone message> Description: When the creator uses the clone command, they clone an object and move it into their inventory, or into the room. The clone message is then echoed to the room. The message accepts two tokens. $name for the creator's name, and $obj for the cloned object's name. If no clone message is given is defaults to "$name creates $obj". Example: mclone $name weaves a spell. Out of a mist appears a $obj. Related topics: align, mhome, minvis, mtrans, mmin, min, mmout, mout, edtitle, reveiw, title, pretitle, mdest. ^#^ mdest^#^ SUBTOPIC-creator^#^ -=[ Help ]=- command: mdest Usuage: mdest mdest <dest message> Description: When a creator uses the dest command. The dest message is echoed to the room that the creator is present. The dest message can use two tokens. $name for the creator's name, and $obj for the object being dested. If no dest message is given, it defaults to "$name disintegrates $obj". Example: mdest $name crushes the $obj in his hands. Related topics: align, mhome, mclone, minvis, mtrans, mout, mmin, mmout, edtitle, review, title, pretitle. ^#^ mhome^#^ SUBTOPIC-creator^#^ -=[ Help ]=- command: mhome Usuage: mhome mhome <home message> Description: When the creator uses the home command, they go to their workroom. The home message is echoed to the room the creator leaves. If no home message is given it defaults to "heads home". Example: mhome opens up a pit and dives into it. Related topics: align, mclone, minvis, mtrans, mmin, min, mmout, mout, edtitle, review, title, pretitle, mdest. ^#^ min^#^ SUBTOPIC-creator^#^ -=[ Help ]=- command: min Usuage: min min <movement message into room> Description: When the creator is moved using move_player(). The movement message is echoed to the room the creator enters. If no in movement message is given, it defaults to "arrives". Example: min zooms in on his flying carpet Related topics: align, mhome, mclone, minvis, mtrans, mout, mmin, mmout, edtitle, review, title, pretitle, mdest. ^#^ minvis^#^ SUBTOPIC-creator^#^ -=[ Help ]=- command: minvis Usuage: minvis minvis <invis name> Description: When the creator uses the invis|vis command, they effectively become invisible to players. The creator's name changes to their invis name. If no invis name is given, it defaults to "Someone". Example: minvis Liz Related topics: align, mhome, mclone, mtrans, mmin, min, mmout, mout, edtitle, review, title, pretitle, mdest. ^#^ mkdir^#^ SUBTOPIC-creator^#^ -=[ Help ]=- command: mkdir Usuage: mkdir <directory> Description: This makes a new directory. Directory can be any valid path. Related topics: path. ^#^ mmin^#^ SUBTOPIC-creator^#^ -=[ Help ]=- command: mmin Usuage: mmin mmin <magical movement message into room> Description: When the creator is moved magically. Using a teleport spell for example. The magical movement message is echoed to the room the creator enters. If no in magical movement message is given, it defaults to "appears in a puff of smoke" Related topics: align, mhome, mclone, minvis, mtrans, min, mmout, mout, edtitle, reveiw, title, pretitle, mdest. ^#^ mmout^#^ SUBTOPIC-creator^#^ -=[ Help ]=- command: mmout Usuage: mmout mmout <magical movement message out of room> Description: When the creator is moved magically. Using a teleport spell for example. The magical movement message is echoed to the room the creator leaves. If no in magical movement message is given, it defaults to "disappears in a puff of smoke" Related topics: align, mhome, mclone, minvis, mtrans, min, mmin, mout, edtitle, reveiw, title, pretitle, mdest. ^#^ more^#^ SUBTOPIC-creator^#^ -=[ Help ]=- command: more Usuage: more more <file> Description: The more command types a file, 1 page at a time to the creator. If no file is given, it defaults to the room the creator is in. The more command has the following interactive help file, -=[ More Help ]=- Command Notes u,p One page up. <cr>,n One page down. b,f Up/Down 5 lines. # Goto line #. +/-# Jump # lines up/down. ! !external command. s,S Save "+more_filename+", S is with overwrite. d Dump page to file, if exists, appends to file. r Search & Replace in new file. >file Open another 'mored' file. o Toggle prompt line off|on, useful for screen captures. ># Change to more number #. l Number of lines in file. q,x,Q,X quit more; Quit all mored files. /str Search for string \"str\" c clip page to clipboard m# Screen Mode, # lines (Default: 20 lines) other Rewrite page. Related topics: cat, Cat, tail. ^#^ mout^#^ SUBTOPIC-creator^#^ -=[ Help ]=- command: mout Usuage: mout mout <movement message out of room> Description: When the creator is moved using move_player(). The movement message is echoed to the room the creator leaves. If no in movement message is given, it defaults to "leaves". Example: mout floats Related topics: align, mhome, mclone, minvis, mtrans, min, mmin, mmout, edtitle, review, title, pretitle, mdest. ^#^ mtrans^#^ SUBTOPIC-creator^#^ -=[ Help ]=- command: mtrans Usuage: mtrans mtrans <trans message> Description: When the creator uses the trans command, they transport a player to their presence. The transed player is echoed the trans message. If no trans message is given, it defaults to "You are magically transferred somewhere." Example: minvis A hand reaches down and picks you up. Related topics: align, mhome, mclone, minvis, mmin, min, mmout, mout, edtitle, review, title, pretitle, mdest. ^#^ mv^#^ SUBTOPIC-creator^#^ -=[ Help ]=- command: mv Usuage: mv <file1> mv <file1> <file2> Description: This command allows you to move file(s). Files can use the token '*' as a wildcard. If the destination directory/file is not given, the creator's default directory is used. mv will not overwrite a file with the same name. If it cannot overwrite, it will not move the file. Related topics: copy, Copy, Mv. ^#^ Mv^#^ SUBTOPIC-creator^#^ -=[ Help ]=- command: Mv Usuage: Mv <file1> Mv <file1> <file2> Description: This command allows you to move file(s). Files can use the token '*' as a wildcard. If the destination directory/file is not given, the creator's default directory is used. Mv will overwrite a file with the same name. Related topics: copy, Copy, mv. ^#^ minotaur^#^ SUBTOPIC-races^#^ ::: Minotaurs ::: Minotaurs are gargantuan brutes over seven feet in height. They have soft fur covering their massive mmuscles; the fur ranges from a red brown to almost black. Their faces are brutish and ugly by human standards, reminiscent of those of bulls. They have short horns that grow from the edges of their foreheads to a length of six to twelve inches for the females and one to two feet for the males. Minotaurs firmly believe in the superiority of their race and in their ultimate place as the rulers of the world. It is their destiny to bring the reset of the world under their rule. They will go to any lengths to achieve domination over others. They are ruthless in battle and cold in their justice. They believe that the weak should perish and that might proves right. It is, to them, the natural process of life. ^#^ mountain dwarf^#^ SUBTOPIC-races^#^ ::: Mountain Dwarves ::: Mountain dwarves have light brown skin and smooth cheeks and bright eyes. Their hair is brown, black, gray, or occasionally white. They favour earth tones in their clothing. Since mountain dwarves have a wide vocal range, communities often form chrouses of dwarves that sing the traditional songs of the mountain dwarves. These songs can sometimes be heard echoing though the mountains where the dwarves live. Mountain dwarves are as stubborn as their underground cousins (the hill dwarves, though each group clains to be more stubborn than the other). As a player., mountain dwarves can drink much more than other races, and hence heal much faster. All dwarves are excelent in combat and are granted a weapon class bonus for their right hand weapons. Mountain dwarves are also excelent armourers and weapon smiths, so their abilities far exceed other races in this regard. ^#^ meteor swarm^#^ SUBTOPIC-cleric^#^ ________________________________________________________________ ()_______________________________________________________________) | Prayer: Meteor Swarm Sphere: Combat | | Level: 27 Cost: 27 | | Component: None. Usage: meteorswarm | | Description: | | | | This prayer causes a swarm of meteors to pound into the area. | | Everyone is effected except the cleric, and the cleric's | | affiliated party. | | | | | |_______________________________________________________________| ()_______________________________________________________________) ^#^ multiple^#^ SUBTOPIC-fighter^#^ Multi Attack Skill This skill allows a fighter to attack multiple times against one monster. His 'multi attack' stat is compared to the monster's dexterity. If the out come favours the fighter, he gains an extra attack, else if it favours the monster, the fighters attacks end there. Up to 5 attacks in a single round are possible. Note that monsters have this skill also. When a monster attacks a player its 'multi attack' skill is compared to the player's dexterity. If the outcome favours the player, the monster has no more attacks beyond the first. Otherwise, another attack is made. Up to 5 attacks can be made against a player, identical in nature to the player's 'multi attack' routines. Multi Opponent Skill When more than one opponent is attacking you, a comparison is made between the next opponent's dexterity, and your (or monster's) 'multi attack' skill. If the out come favours you then you attack that extra attacker. This may be done for as many attackers attack you beyond the first. If the attacker's result is higher than yours then you miss out on the extra attack against the second opponent. EG: Fred is attacking 3 giants. Fred has a 'multi attack' skill of 10. The giants have a dexterity of 12. Fred is attacked by all the giants at once. Compare Fred's 'multi attack' skill vs giant #2's dex. If Fred's skill is higher, he hits giant #2. Compare Fred's 'multi attack' skill vs giant #3's dex. If Fred's skill is higher, he hits giant #3 also. If the 1st giant's dex beats Fred's 'multi attack', he misses the giant. Note that monsters have this skill as well as players. In this instance, if Fred was a monster, and there were 3 players attacking him, then it is possible for him to attack ALL the extra players attacking him! So, watch out all you Newbies who kill monsters with 20th level players. That monster you're attacking with him CAN hit you as well! Angel ^#^ monster summon 2^#^ SUBTOPIC-mage^#^ ______________________________ ______________________________ __/ \/ \__ | /| |: |:|| ||:| Spell: Monster Summon 2 |: Description: |:|| ||:| School: Conjuration |: |:|| ||:| Cost: 16 |: This spell summons a monster|:|| ||:| Level: 16 |: that will aid the caster in |:|| ||:| Usage: monster summon 2 |: fighting. The summoned |:|| ||:| |: monster will automatically |:|| ||:| Related Spells: |: follow the caster. |:|| ||:| Monster Summon 1, |: |:|| ||:| Monster Summon 3. |: |:|| ||:|_____________________________ |: _____________________________|:|| ||/______________________________\|:/______________________________\|| |_______________________________ _______________________________| '----` ^#^ monster summon 3^#^ SUBTOPIC-mage^#^ ______________________________ ______________________________ __/ \/ \__ | /| |: |:|| ||:| Spell: Monster Summon 3 |: Description: |:|| ||:| School: Conjuration |: |:|| ||:| Cost: 22 |: This spell summons a monster|:|| ||:| Level: 22 |: that will aid the caster in |:|| ||:| Usage: monster summon 3 |: fighting. The summoned |:|| ||:| |: monster will automatically |:|| ||:| Related Spells: |: follow the caster. |:|| ||:| Monster Summon 1, |: |:|| ||:| Monster Summon 2. |: |:|| ||:|_____________________________ |: _____________________________|:|| ||/______________________________\|:/______________________________\|| |_______________________________ _______________________________| '----` ^#^ magic missile^#^ SUBTOPIC-mage^#^ ______________________________ ______________________________ __/ \/ \__ | /| |: |:|| ||:| Spell: Magic Missile |: Description: |:|| ||:| School: Evocation |: |:|| ||:| Cost: 1 |: This spell causes small |:|| ||:| Level: 1 |: magical missiles to leap |:|| ||:| Usage: magic missile who |: from the hand of the caster |:|| ||:| |: hitting the appropriate |:|| ||:| Related Spells: |: target. |:|| ||:| None. |: |:|| ||:| |: |:|| ||:|_____________________________ |: _____________________________|:|| ||/______________________________\|:/______________________________\|| |_______________________________ _______________________________| '----` ^#^ minor malison^#^ SUBTOPIC-mage^#^ ______________________________ ______________________________ __/ \/ \__ | /| |: |:|| ||:| Spell: Minor Malison |: Description: |:|| ||:| School: Necromancy |: |:|| ||:| Cost: 7 |: The spell sprays the |:|| ||:| Level: 7 |: victim with pure evil. |:|| ||:| Usage: minor malsion who |: |:|| ||:| |: |:|| ||:| Related Spells: |: |:|| ||:| None. |: |:|| ||:| |: |:|| ||:|_____________________________ |: _____________________________|:|| ||/______________________________\|:/______________________________\|| |_______________________________ _______________________________| '----` ^#^ mks^#^ SUBTOPIC-mage^#^ ______________________________ ______________________________ __/ \/ \__ | /| |: |:|| ||:| Spell: Mordenkainen's Sword |: Description: |:|| ||:| School: Evocation |: |:|| ||:| Cost: 7 |: This spell evokes a sword |:|| ||:| Level: 7 |: that fights with the caster.|:|| ||:| Usage: mks |: The sword fights at a level |:|| ||:| |: that is half the caster's |:|| ||:| Related Spells: |: level. |:|| ||:| None. |: |:|| ||:| |: |:|| ||:|_____________________________ |: _____________________________|:|| ||/______________________________\|:/______________________________\|| |_______________________________ _______________________________| '----` ^#^ monster summon 1^#^ SUBTOPIC-mage^#^ ______________________________ ______________________________ __/ \/ \__ | /| |: |:|| ||:| Spell: Monster Summon 1 |: Description: |:|| ||:| School: Conjuration |: |:|| ||:| Cost: 11 |: This spell summons a monster|:|| ||:| Level: 11 |: that will aid the caster in |:|| ||:| Usage: monster summon 1 |: fighting. The summoned |:|| ||:| |: monster will automatically |:|| ||:| Related Spells: |: follow the caster. |:|| ||:| Monster Summon 2, |: |:|| ||:| Monster Summon 3. |: |:|| ||:|_____________________________ |: _____________________________|:|| ||/______________________________\|:/______________________________\|| |_______________________________ _______________________________| '----` ^#^ manuals^#^ SUBTOPIC-general^#^ -=[ Manuals ]=- Command: man Usuage: man <topic> Description: Help gives a brief description on a topic. Manuals are a lot more in depth, and give a lot more detail. It is recommended that you read the manuals available to you. ^#^ member_array^#^ SUBTOPIC-efun^#^ EFUN member_array() SYNOPSIS int member_array(mixed item, mixed *arr); DESCRIPTION Returns the index of the first occurence of `item' in array `arr'. If the item is not found, then -1 is returned. EXAMPLE /* is quest part of quests array ? */ void query_quest(string quest) { if(!quests) quests = ({}); return (member_array(quest, quests) != -1) ? 1 : 0; } SEE ALSO allocate(), unique_array(), sort_array(), filter_array(), []. ^#^ move_object^#^ SUBTOPIC-efun^#^ EFUN move_object() SYNOPSIS void move_object(object item, mixed dest); DESCRIPTION Move the object <item> into the object <dest>. Sets the environment of <item> to <dest>. Adds <item> to <dest>'s inventory list. The <item> has in effect become associated with <dest> and <dest>'s inventory. All objects that are living and are associated with <item> will call init() in <item>. If <item> is living then it will call init() in associated objects. add_action()s will be linked between objects while they are associated. When an object moves, it loses its association, and therefore add_action()s and gathers a new set of add_action()s when it re-associates with a new set of objects. NATIVE <item> must be this_object(). move_object may be optionally called with one argument in which case 'item' is implicitly this_object() and the passed argument is <dest>. Most objects have function move() in them. COMPAT <item> can be any object. EXAMPLE void move(object dest) { move_object(this_object(), dest); } SEE ALSO this_object(), environment(), all_inventory(), first_inventory(), next_inventory(), add_action(). ^#^ m_delete^#^ SUBTOPIC-amylaar^#^ SYNOPSIS mapping m_delete(mapping map, mixed key) DESCRIPTION Remove the entry with index 'key' from mapping 'map', and return the changed mapping. If the mapping does not have an entry with index 'key', the first argument is returned. SEE ALSO mappingp(E), mkmapping(E), m_indices(E), m_values(E), m_sizeof(E) ^#^ m_indices^#^ SUBTOPIC-amylaar^#^ SYNOPSIS mixed *m_indices(mapping map) DESCRIPTION Return an array containing the indices of mapping 'map'. SEE ALSO mappingp(E), mkmapping(E), m_values(E), m_delete(E), m_sizeof(E) ^#^ m_sizeof^#^ SUBTOPIC-amylaar^#^ SYNOPSIS int m_sizeof(mapping map) DESCRIPTION Return the number of indices (or values) in mapping 'map'. SEE ALSO mappingp(E), mkmapping(E), m_indices,(E) m_values(E), m_delete(E) ^#^ m_values^#^ SUBTOPIC-amylaar^#^ SYNOPSIS mixed *m_values(mapping map) DESCRIPTION Return an array with the values of mapping 'map'. SEE ALSO mappingp(E), mkmapping(E), m_indices(E), m_delete(E), m_sizeof(E) ^#^ map_array^#^ SUBTOPIC-amylaar^#^ SYNOPSIS mixed *map_array(mixed *arr, string fun, object ob, mixed extra) mixed *map_array(mixed *arr, closure cl, mixed extra) DESCRIPTION Returns an array holding the items of arr mapped through ob->fun(element, extra) resp. the closure cl. The function fun in ob is called for each element in arr with that element as parameter. A second parameter extra is sent in each call if given. ob can be an object or a string. Principal function: foreach (index) arr[index] = ob->fun(arr[index],extra); The value returned by ob->fun(array[index],extra) replaces the existing element in the array. If arr is not an array, then 0 will be returned. The extra argument is optional. ob can also be a file_name. If ob is omitted, this_object() is default. EXAMPLE string ask_for_uid(object obj) { return getuid(obj); } void func() { string *names; names = map_array(users(), "ask_for_uid", this_object()); /* equivalent but a bit smaller and faster is the following */ names = map_array(users(), #'getuid ); ... } This will create an array holding all uids of the current users. SEE ALSO filter_array(E), assoc(E), intersect_alist(E), insert_alist(E), member_array(E), order_alist(E), sort_array(E), unique_array(E) ^#^ map_mapping^#^ SUBTOPIC-amylaar^#^ SYNOPSIS mapping map_mapping(mapping m, string func, object ob, ...) mapping map_mapping(mapping m, closure cl, ...) DESCRIPTION ob->func() is called resp. cl applied to every element in the mapping, with first argument the first data item of the element, and then the extra args that were given to map_mapping. The data item in the mapping is replaced by the return value of the function. ob can also be a file_name of an object. If the second arg is a string and the third is not an object, this_object() will be used as default. SEE ALSO map_array(E), walk_mapping(E), member(E), mapping_contains(E) ^#^ map_objects^#^ SUBTOPIC-amylaar^#^ SYNOPSIS object *map_objects(object *arr, string fun, mixed extra) DESCRIPTION Similar to map_array(), but calls arr[n]->fun(extra). The returned value replaces the object in returned array. SEE ALSO map_array(E), filter_array(E), filter_objects(E) ^#^ mapping_contains^#^ SUBTOPIC-amylaar^#^ SYNOPSIS int mapping_contains(mixed &data1, ..., &dataN, map, key) DESCRIPTION If the mapping contains the key map, the corresponding values are assigned to the data arguments, which massed be passed by reference, and 1 is returned. If key is not in map, 0 is returned and the data args are left unchanged. SEE ALSO mappings(LPC), member(E) ^#^ mappingp^#^ SUBTOPIC-amylaar^#^ SYNOPSIS int mappingp(mixed arg) DESCRIPTION Return 1 if the argument is a mapping, or 0 if it is not. SEE ALSO intp(E), stringp(E), objectp(E), pointerp(E), mkmapping(E), m_indices(E), m_values(E), m_delete(E), m_sizeof(E) ^#^ member^#^ SUBTOPIC-amylaar^#^ SYNOPSIS int member(mixed *array, mixed elem) int member(mapping m, mixed key) int member(string s, int elem) DESCRIPTION For arrays and strings, returns the index of the second arg in the first arg, or -1 if none found. For mappings it checks, if key is present in mapping m and returns 1 if so, 0 if key is not in m. SEE ALSO member_array(E), mappings(LPC) ^#^ mkmapping^#^ SUBTOPIC-amylaar^#^ SYNOPSIS mapping mkmapping(mixed *arr1, mixed *arr2) Return a mapping with indices from 'arr1' and values from 'arr2'. arr1[0] will index arr2[0], arr1[1] will index arr2[1], etc. If the arrays are of unequal size, the mapping will only contain as much elements as are in the smallest array. Normally, mappings are extended by simplyinserting new elements. This function is useful if you can estimate the needed size of the mapping in advance, to reduce the malloc overhead. Any unused allocated space will be freed after the current function returns. SEE ALSO mappings(LPC), mappingp(E), m_indices(E), m_values(E), m_delete(E), m_sizeof(E) ^#^ modify_command^#^ SUBTOPIC-compatfn/driverfn^#^ SYNOPSIS string modify_command(string cmd) DESCRIPTION After set_modify_command(mob) was called for an interactive object iob, all commands for that user will be passed to mob->modify_command(), and the return will then be checked for actions. SEE ALSO set_modify_command(E) ^#^ malloc^#^ SUBTOPIC-driver^#^ NAME malloc DESCRIPTION This command is hardcoded into the driver's input parser. It shows the statistics of the memory management module. SEE ALSO status(D), memory(C), debug_info(E) ^#^ make_path_absolute^#^ SUBTOPIC-amylaar^#^ SYNOPSIS string make_path_absolute(string str) DESCRIPTION Absolutize a relative filename str given to the editor. Should return the full pathname of the file to use. Any non-string result will act as ``bad file name''. SEE ALSO ed(E), valid_write(M) ^#^ move silently^#^ SUBTOPIC-thief^#^ -=[ Move Silently ]=- Command: move silently Usuage: move silently Description: This command allows you to stealthily sneak from place to place. People may not see you coming and going. Related Topics: hide in shadows, backstab, steal.