^#^
chfn^#^
SUBTOPIC-player^#^
-=[ Help ]=-
command: chfn
Usuage: chfn
Description: chfn allows you to change finger information.
Information includes your real name, email
address, and plan.
Related topics: finger, plan, email.
^#^
cls^#^
SUBTOPIC-player^#^
-=[ Help ]=-
command: cls
Usuage: cls
Description: This simply sends a few carriage returns to
clear your screen.
Related topics: none.
^#^
church^#^
SUBTOPIC-player^#^
-=[ Help ]=-
command: square
Usuage: square
church
Description: As a newbie it is easy to get lost. All 1st
level characters get a free lift back to the
square.
Related topics: none.
^#^
cat^#^
SUBTOPIC-creator^#^
-=[ Help ]=-
command: cat
Usuage: cat <file>
Description: The cat command types a file. It is limited to the
first 45 lines of the file.
Related topics: more, Cat, tail.
^#^
Cat^#^
SUBTOPIC-creator^#^
-=[ Help ]=-
command: Cat
Usuage: Cat <file>
Description: The Cat command types a file. It is limited to the
first 500 lines of the file.
Related topics: more, cat, tail.
^#^
cd^#^
SUBTOPIC-creator^#^
-=[ Help ]=-
command: cd
Usuage: cd <directory>
Description: This command allows you to change your default
directory. There are a number of symbolic tokens that
can be used. These include:
.. for parent directory
~ for home directory
domain# for domain home directory
Example: cd change to /players/zilanthius
cd myth#open change to /d/myth/w/zilanthius/open
Related topics: mkdir, rmdir, rm, Rm, copy, Copy, mv, Mv, ed.
^#^
clean^#^
SUBTOPIC-creator^#^
-=[ Help ]=-
command: clean
Usuage: clean <item(s)>
Description: This command destructs all the inventory of item(s). It
will not destruct interactive players. Item(s) can be
any object(s) referenced by the object parser.
Example: clean zilanthius
clean room
Related topics: parser, dest, bomb.
^#^
clone^#^
SUBTOPIC-creator^#^
-=[ Help ]=-
command: clone
Usuage: clone <file>
Description: This makes a clone of an object, and moves it to the
room or to the creator.
Related topics: load, update.
^#^
command^#^
SUBTOPIC-creator^#^
-=[ Help ]=-
command: command
Usuage: command <who> <action>
Description: This command allows the creator to force another player
to do an action. The creator must be higher then
security level SEC3 (30), and cannot command higher
security level creators.
Example: command zilanthius wield sword
Related topics: none.
^#^
copy^#^
SUBTOPIC-creator^#^
-=[ Help ]=-
command: copy
Usuage: copy <file1>
copy <file1> <file2>
Description: This command allows you copy a one file to another.
Files can use the token '*' as a wildcard. If the
destination directory/file is not given, the creator's
default directory is used. copy will not overwrite
a file with the same name.
Related topics: Copy, mv, Mv.
^#^
Copy^#^
SUBTOPIC-creator^#^
-=[ Help ]=-
command: Copy
Usuage: Copy <file1>
Copy <file1> <file2>
Description: This command allows you copy a one file to another.
Files can use the token '*' as a wildcard. If the
destination directory/file is not given, the creator's
default directory is used. Copy will overwrite a file
with the same name.
Related topics: copy, mv, Mv.
^#^
call lightning^#^
SUBTOPIC-cleric^#^
________________________________________________________________
()_______________________________________________________________)
| Prayer: Call Lightning Sphere: Nature |
| Level: 8 Cost: 8 |
| Component: None. Usage: call lightning target |
| Description: |
| |
| This prayer will summon a lightning storm. The cleric can |
| direct a massive lightning strike to hit the prayer's |
| designated target. |
| |
| |
|_______________________________________________________________|
()_______________________________________________________________)
^#^
cause blindness^#^
SUBTOPIC-cleric^#^
________________________________________________________________
()_______________________________________________________________)
| Prayer: Cause Blindness Sphere: Healing |
| Level: 5 Cost: 5 |
| Component: None. Usage: cause blindness who |
| Description: |
| |
| This prayer has a chance of causing a person to go blind. |
| |
| |
| |
| |
|_______________________________________________________________|
()_______________________________________________________________)
^#^
cause critical wounds^#^
SUBTOPIC-cleric^#^
________________________________________________________________
()_______________________________________________________________)
| Prayer: Cause Critical Wounds Sphere: Healing |
| Level: 16 Cost: 16 |
| Component: None. Usage: Cause Critical wounds |
| Description: |
| |
| This prayer will cause wounds to open up on an opponent. |
| |
| |
| |
| |
|_______________________________________________________________|
()_______________________________________________________________)
^#^
cause deafness^#^
SUBTOPIC-cleric^#^
________________________________________________________________
()_______________________________________________________________)
| Prayer: Cause Deafness Sphere: Healing |
| Level: 3 Cost: 3 |
| Component: None. Usage: cause deafness who |
| Description: |
| |
| This prayer has a chance of making a person deaf. |
| |
| |
| |
| |
|_______________________________________________________________|
()_______________________________________________________________)
^#^
cause disease^#^
SUBTOPIC-cleric^#^
________________________________________________________________
()_______________________________________________________________)
| Prayer: Cause Disease Sphere: Healing |
| Level: 7 Cost: 7 |
| Component: None. Usage: cause disease who |
| Description: |
| |
| This prayer will set a contagion onto a person, making them |
| more susceptible to disease. |
| |
| |
| |
|_______________________________________________________________|
()_______________________________________________________________)
^#^
cause heavy wounds^#^
SUBTOPIC-cleric^#^
________________________________________________________________
()_______________________________________________________________)
| Prayer: Cause Heavy Wounds Sphere: Healing |
| Level: 23 Cost: 23 |
| Component: None. Usage: cause heavy wounds who |
| Description: |
| |
| This prayer will cause heavy wounds to open up on the target |
| of this spell. |
| |
| |
| |
|_______________________________________________________________|
()_______________________________________________________________)
^#^
cause light wounds^#^
SUBTOPIC-cleric^#^
____________________________________________________________
()___________________________________________________________)
| Prayer: Cause Light Wounds Sphere: Healing |
| Level: 4 Cost: 4 |
| Component: None. Usage: cause light wounds who|
| Description: |
| |
| This prayer will cause light wounds to open up on the |
| prayer's target. |
| |
| |
| |
|__________________________________________________________|
()__________________________________________________________)
^#^
cause major wounds^#^
SUBTOPIC-cleric^#^
________________________________________________________________
()_______________________________________________________________)
| Prayer: Cause Major Wounds Sphere: Healing |
| Level: 19 Cost: 19 |
| Component: None. Usage: cause major wounds who |
| Description: |
| |
| This prayer will cause major wounds to open up on the |
| prayer's target. |
| |
| |
| |
|_______________________________________________________________|
()_______________________________________________________________)
^#^
cause medium wounds^#^
SUBTOPIC-cleric^#^
_____________________________________________________________
()____________________________________________________________)
| Prayer: Cause Medium Wounds Sphere: Healing |
| Level: 10 Cost: 10 |
| Component: None. Usage: cause medium wounds who|
| Description: |
| |
| This prayer will cause medium wounds to open up on the |
| prayer's target. |
| |
| |
| |
|____________________________________________________________|
()____________________________________________________________)
^#^
cause minor wounds^#^
SUBTOPIC-cleric^#^
____________________________________________________________
()___________________________________________________________)
| Prayer: Cause Minor Wounds Sphere: Healing |
| Level: 7 Cost: 7 |
| Component: None. Usage: cause minor wounds who|
| Description: |
| |
| This prayer will cause minor wounds to open up on the |
| prayer's target. |
| |
| |
| |
|__________________________________________________________|
()__________________________________________________________)
^#^
cause serious wounds^#^
SUBTOPIC-cleric^#^
_______________________________________________________________
()______________________________________________________________)
| Prayer: Cause Serious Wounds Sphere: Healing |
| Level: 13 Cost: 13 |
| Component: None. Usage: cause serious wounds who|
| Description: |
| |
| This prayer will cause serious wounds to open up on the |
| prayer's target. |
| |
| |
| |
|______________________________________________________________|
()______________________________________________________________)
^#^
cause wounds^#^
SUBTOPIC-cleric^#^
_________________________________________________________
()________________________________________________________)
| Prayer: Cause Wounds Sphere: Healing |
| Level: 1 Cost: 1 |
| Component: None. Usage: cause wounds who |
| Description: |
| |
| This prayer will cause wounds to open up on the |
| prayer's target. |
| |
| |
| |
|_______________________________________________________|
()________________________________________________________)
^#^
combat sphere^#^
SUBTOPIC-cleric^#^
_________________________________________________________
()________________________________________________________)
| Prayers from the Combat Sphere |
| |
| Bless Remove Curse |
| Curse |
| Prayer |
| Spiritual Hammer |
| Flamestrike |
| Holy Strike |
| Holy Word |
| Meteorswarm |
|_______________________________________________________|
()________________________________________________________)
^#^
create food^#^
SUBTOPIC-cleric^#^
________________________________________________________________
()_______________________________________________________________)
| Prayer: Create Food Sphere: Nature |
| Level: 8 Cost: 8 |
| Component: None. Usage: create food |
| Description: |
| |
| This prayer will create a bowl of lumpy food that the cleric |
| can eat. |
| |
| |
| |
|_______________________________________________________________|
()_______________________________________________________________)
^#^
create water^#^
SUBTOPIC-cleric^#^
________________________________________________________________
()_______________________________________________________________)
| Prayer: Create Water Sphere: Nature |
| Level: 8 Cost: 8 |
| Component: Bottle. Usage: create water |
| Description: |
| |
| This prayer will fill an empty bottle with pure water. |
| |
| |
| |
| |
|_______________________________________________________________|
()_______________________________________________________________)
^#^
cure blindness^#^
SUBTOPIC-cleric^#^
________________________________________________________________
()_______________________________________________________________)
| Prayer: Cure Blindness Sphere: Healing |
| Level: 5 Cost: 5 |
| Component: None. Usage: cure blindness who |
| Description: |
| |
| This prayer will cure a person of the affliction of blindness.|
| |
| |
| |
| |
|_______________________________________________________________|
()_______________________________________________________________)
^#^
cure critical wounds^#^
SUBTOPIC-cleric^#^
________________________________________________________________
()_______________________________________________________________)
| Prayer: Cure Critical Wounds Sphere: Healing |
| Level: 16 Cost: 16 |
| Component: None. Usage: cure critical wounds who |
| Description: |
| |
| This prayer will heal 25 to 100 physical hit points to |
| the target. If no target is given, the caster will be |
| healed. |
| |
| |
|_______________________________________________________________|
()_______________________________________________________________)
^#^
cure deafness^#^
SUBTOPIC-cleric^#^
________________________________________________________________
()_______________________________________________________________)
| Prayer: Cure Deafness Sphere: Healing |
| Level: 3 Cost: 3 |
| Component: None. Usage: cure deafness who |
| Description: |
| |
| This prayer will cure a person of the affliction of deafness. |
| |
| |
| |
| |
|_______________________________________________________________|
()_______________________________________________________________)
^#^
cure disease^#^
SUBTOPIC-cleric^#^
________________________________________________________________
()_______________________________________________________________)
| Prayer: Cure Disease Sphere: Healing |
| Level: 7 Cost: 7 |
| Component: None. Usage: cure disease who |
| Description: |
| |
| This prayer will cure a person of the affliction of a |
| disease. |
| |
| |
| |
|_______________________________________________________________|
()_______________________________________________________________)
^#^
cure heavy wounds^#^
SUBTOPIC-cleric^#^
________________________________________________________________
()_______________________________________________________________)
| Prayer: Cure Heavy Wounds Sphere: Healing |
| Level: 23 Cost: 23 |
| Component: None. Usage: cure heavy wounds who |
| Description: |
| |
| This prayer will heal 35 to 150 physical hit points to |
| the target. If no target is given, the caster will be |
| healed. |
| |
| |
|_______________________________________________________________|
()_______________________________________________________________)
^#^
cure light wounds^#^
SUBTOPIC-cleric^#^
____________________________________________________________
()___________________________________________________________)
| Prayer: Cure Light Wounds Sphere: Healing |
| Level: 4 Cost: 4 |
| Component: None. Usage: cure light wounds who |
| Description: |
| |
| This prayer will heal 5 to 20 physical hit points to |
| the target. If no target is given, the caster will be |
| healed. |
| |
| |
|__________________________________________________________|
()__________________________________________________________)
^#^
cure major wounds^#^
SUBTOPIC-cleric^#^
________________________________________________________________
()_______________________________________________________________)
| Prayer: Cure Major Wounds Sphere: Healing |
| Level: 19 Cost: 19 |
| Component: None. Usage: cure major wounds who |
| Description: |
| |
| This prayer will heal 30 to 120 physical hit points to |
| the target. If no target is given, the caster will be |
| healed. |
| |
| |
|_______________________________________________________________|
()_______________________________________________________________)
^#^
cure medium wounds^#^
SUBTOPIC-cleric^#^
_____________________________________________________________
()____________________________________________________________)
| Prayer: Cure Medium Wounds Sphere: Healing |
| Level: 10 Cost: 10 |
| Component: None. Usage: cure medium wounds who |
| Description: |
| |
| This prayer will heal 15 to 60 physical hit points to |
| the target. If no target is given, the caster will be |
| healed. |
| |
| |
|____________________________________________________________|
()____________________________________________________________)
^#^
cure minor wounds^#^
SUBTOPIC-cleric^#^
____________________________________________________________
()___________________________________________________________)
| Prayer: Cure Minor Wounds Sphere: Healing |
| Level: 7 Cost: 7 |
| Component: None. Usage: cure minor wounds who |
| Description: |
| |
| This prayer will heal 10 to 40 physical hit points to |
| the target. If no target is given, the caster will be |
| healed. |
| |
| |
|__________________________________________________________|
()__________________________________________________________)
^#^
cure serious wounds^#^
SUBTOPIC-cleric^#^
_______________________________________________________________
()______________________________________________________________)
| Prayer: Cure Serious Wounds Sphere: Healing |
| Level: 13 Cost: 13 |
| Component: None. Usage: cure serious wounds who |
| Description: |
| |
| This prayer will heal 20 to 80 physical hit points to |
| the target. If no target is given, the caster will be |
| healed. |
| |
| |
|______________________________________________________________|
()______________________________________________________________)
^#^
cure wounds^#^
SUBTOPIC-cleric^#^
_________________________________________________________
()________________________________________________________)
| Prayer: Cure Wounds Sphere: Healing |
| Level: 1 Cost: 1 |
| Component: None. Usage: cure wounds who |
| Description: |
| |
| This prayer will heal 1 to 4 physical hit points to |
| the target. If no target is given, the caster will |
| be healed. |
| |
| |
|_______________________________________________________|
()________________________________________________________)
^#^
curse^#^
SUBTOPIC-cleric^#^
________________________________________________________________
()_______________________________________________________________)
| Prayer: Curse Sphere: Combat |
| Level: 1 Cost: 1 |
| Component: None. Usage: curse who |
| Description: |
| |
| This prayer will curse the recipient of this prayer. A |
| cursed recipient is generally worsens their ability to |
| attack and defend. |
| |
| |
|_______________________________________________________________|
()_______________________________________________________________)
^#^
chain lightning^#^
SUBTOPIC-mage^#^
______________________________ ______________________________
__/ \/ \__
| /| |: |:||
||:| Spell: Chain Lightning |: Description: |:||
||:| School: Evocation |: |:||
||:| Cost: 15 |: This spell causes a bolt |:||
||:| Level: 15 |: of lightning to leap from |:||
||:| Usage: chain lightning |: one target to another in the|:||
||:| |: immediate locale. The bolt |:||
||:| Related Spells: |: will not hit the caster. |:||
||:| None. |: |:||
||:| |: |:||
||:|_____________________________ |: _____________________________|:||
||/______________________________\|:/______________________________\||
|_______________________________ _______________________________|
'----`
^#^
charm^#^
SUBTOPIC-mage^#^
______________________________ ______________________________
__/ \/ \__
| /| Charm Spells |: Charm Spells |:||
||:| |: |:||
||:| Charm Animal |: Demand |:||
||:| Charm Monster |: Charm Person |:||
||:| Hold Person |: |:||
||:| Hold Monster |: |:||
||:| Scare |: |:||
||:| Friends |: |:||
||:| Suggest |: |:||
||:|_____________________________ |: _____________________________|:||
||/______________________________\|:/______________________________\||
|_______________________________ _______________________________|
'----`
^#^
charm animal^#^
SUBTOPIC-mage^#^
______________________________ ______________________________
__/ \/ \__
| /| |: |:||
||:| Spell: Charm Animal |: Description: |:||
||:| School: Charm |: |:||
||:| Cost: 2 |: Charming creatures gives |:||
||:| Level: 2 |: the caster the opportunity |:||
||:| Usage: charm animal who |: to persuade a creature to |:||
||:| |: do things. The creature may |:||
||:| Related Spells: |: refuse if it can resist the |:||
||:| Charm Monster, Charm Person. |: caster's persuasive ability.|:||
||:| |: |:||
||:|_____________________________ |: _____________________________|:||
||/______________________________\|:/______________________________\||
|_______________________________ _______________________________|
'----`
______________________________ ______________________________
__/ \/ \__
| /| |: |:||
||:| Description: |: Description: |:||
||:| |: |:||
||:| The caster can only charm one|: drop, get, kill, follow, |:||
||:| creature at a time. |: stay, and any feeling(soul) |:||
||:| |: commands. |:||
||:| A command can be given by, |: |:||
||:| <creature's name> command. |: Charm animal only effects |:||
||:| The commands a charmed |: small, weak creatures with |:||
||:| creature may accept include: |: little will power. |:||
||:|_____________________________ |: _____________________________|:||
||/______________________________\|:/______________________________\||
|_______________________________ _______________________________|
'----`
^#^
charm monster^#^
SUBTOPIC-mage^#^
______________________________ ______________________________
__/ \/ \__
| /| |: |:||
||:| Spell: Charm Monster |: Description: |:||
||:| School: Charm |: |:||
||:| Cost: 18 |: Charming creatures gives |:||
||:| Level: 18 |: the caster the opportunity |:||
||:| Usage: charm monster who |: to persuade a creature to |:||
||:| |: do things. The creature may |:||
||:| Related Spells: |: refuse if it can resist the |:||
||:| Charm Person, Charm Animal. |: caster's persuasive ability.|:||
||:| |: |:||
||:|_____________________________ |: _____________________________|:||
||/______________________________\|:/______________________________\||
|_______________________________ _______________________________|
'----`
______________________________ ______________________________
__/ \/ \__
| /| |: |:||
||:| Description: |: Description: |:||
||:| |: |:||
||:| The caster can only charm one|: drop, get, kill, follow, |:||
||:| creature at a time. |: stay, and any feeling(soul) |:||
||:| |: commands. |:||
||:| A command can be given by, |: |:||
||:| <creature's name> command. |: Charm Monster is a powerful |:||
||:| The commands a charmed |: charm spell, and will effect |:||
||:| creature may accept include: |: most creatures. |:||
||:|_____________________________ |: _____________________________|:||
||/______________________________\|:/______________________________\||
|_______________________________ _______________________________|
'----`
^#^
charm person^#^
SUBTOPIC-mage^#^
______________________________ ______________________________
__/ \/ \__
| /| |: |:||
||:| Spell: Charm Person |: Description: |:||
||:| School: Charm |: |:||
||:| Cost: 12 |: Charming creatures gives |:||
||:| Level: 12 |: the caster the opportunity |:||
||:| Usage: charm person who |: to persuade a creature to |:||
||:| |: do things. The creature may |:||
||:| Related Spells: |: refuse if it can resist the |:||
||:| Charm Monster, Charm Animal. |: caster's persuasive ability.|:||
||:| |: |:||
||:|_____________________________ |: _____________________________|:||
||/______________________________\|:/______________________________\||
|_______________________________ _______________________________|
'----`
______________________________ ______________________________
__/ \/ \__
| /| |: |:||
||:| Description: |: Description: |:||
||:| |: |:||
||:| The caster can only charm one|: drop, get, kill, follow, |:||
||:| creature at a time. |: stay, and any feeling(soul) |:||
||:| |: commands. |:||
||:| A command can be given by, |: |:||
||:| <creature's name> command. |: Charm Person only effects |:||
||:| The commands a charmed |: humanoid creatures. |:||
||:| creature may accept include: |: |:||
||:|_____________________________ |: _____________________________|:||
||/______________________________\|:/______________________________\||
|_______________________________ _______________________________|
'----`
^#^
chill touch^#^
SUBTOPIC-mage^#^
______________________________ ______________________________
__/ \/ \__
| /| |: |:||
||:| Spell: Chill Touch |: Description: |:||
||:| School: Necromancy |: |:||
||:| Cost: 5 |: The spell causes the victim |:||
||:| Level: 5 |: to freeze under the touch |:||
||:| Usage: chill touch who |: of the caster. |:||
||:| |: |:||
||:| Related Spells: |: |:||
||:| None. |: |:||
||:| |: |:||
||:|_____________________________ |: _____________________________|:||
||/______________________________\|:/______________________________\||
|_______________________________ _______________________________|
'----`
^#^
coc^#^
SUBTOPIC-mage^#^
______________________________ ______________________________
__/ \/ \__
| /| |: |:||
||:| Spell: Cone of Cold |: Description: |:||
||:| School: Evocation |: |:||
||:| Cost: 10 |: This spell causes a cone of |:||
||:| Level: 10 |: ice cold to be sprayed the |:||
||:| Usage: coc who |: target. The target takes |:||
||:| |: cold damage. |:||
||:| Related Spells: |: |:||
||:| None. |: |:||
||:| |: |:||
||:|_____________________________ |: _____________________________|:||
||/______________________________\|:/______________________________\||
|_______________________________ _______________________________|
'----`
^#^
comet^#^
SUBTOPIC-mage^#^
______________________________ ______________________________
__/ \/ \__
| /| |: |:||
||:| Spell: Comet |: Description: |:||
||:| School: Conjuration |: |:||
||:| Cost: 8 |: This spell conjures a fiery |:||
||:| Level: 8 |: comet, that strikes a |:||
||:| Usage: comet who |: target designated by the |:||
||:| |: caster. |:||
||:| Related Spells: |: |:||
||:| None. |: |:||
||:| |: |:||
||:|_____________________________ |: _____________________________|:||
||/______________________________\|:/______________________________\||
|_______________________________ _______________________________|
'----`
^#^
cone of cold^#^
SUBTOPIC-mage^#^
______________________________ ______________________________
__/ \/ \__
| /| |: |:||
||:| Spell: Cone of Cold |: Description: |:||
||:| School: Evocation |: |:||
||:| Cost: 10 |: This spell causes a cold of |:||
||:| Level: 10 |: ice cold to be sprayed the |:||
||:| Usage: coc who |: target. The target takes |:||
||:| |: cold damage. |:||
||:| Related Spells: |: |:||
||:| None. |: |:||
||:| |: |:||
||:|_____________________________ |: _____________________________|:||
||/______________________________\|:/______________________________\||
|_______________________________ _______________________________|
'----`
^#^
conjuration^#^
SUBTOPIC-mage^#^
______________________________ ______________________________
__/ \/ \__
| /| Conjuration Spells |: Conjuration Spells |:||
||:| |: |:||
||:| Monster Summon 1 |: Gate |:||
||:| Monster Summon 2 |: Limited Wish |:||
||:| Monster Summon 3 |: Wish |:||
||:| Acid rain |: |:||
||:| Comet |: |:||
||:| Shooting Stars |: |:||
||:| PWK (Power Word Kill) |: |:||
||:| PWS (Power Word Stun) |: |:||
||:|_____________________________ |: _____________________________|:||
||/______________________________\|:/______________________________\||
|_______________________________ _______________________________|
'----`
^#^
categories^#^
SUBTOPIC-general^#^
-=[ Categories ]=-
There are a number of subtopics, or categories for help. If the help
is not relevant to you, you will not be shown that information.
^#^
call_other^#^
SUBTOPIC-efun^#^
EFUN call_other()
SYNOPSIS
unknown call_other(object ob, string func, arg1, ...);
DESCRIPTION
Calls a function in another object, with [optional]
argument(s). The return value is returned from the other
object, so it cannot be known at compile time and may need
to be cast if using type checking. The function named
`func' will be called in `ob', with arguments 3, 4, etc
given as arguments 1, 2, etc to `func' in `ob'. call_other
will return the return value of `func'.
There is a much more attractive way to do call_others:
ob->func( ... );
ie, call_other(ob, "query", "name"); could be written as:
ob->query("name");
EXAMPLE
void simple_who() {
int i, level;
string name;
for(i = 0; i < sizeof(users()); i++) {
name = (string)call_other(users()[i],"query_name");
level = (int)users()[i]->query_level();
write(level +"\t"+ name +"\n");
}
}
SEE ALSO
^#^
call_out^#^
SUBTOPIC-efun^#^
EFUN call_out()
SYNOPSIS
void call_out(string fun, int delay, mixed arg);
DESCRIPTION
Set up a call of function <fun> in this_object(). The call
will take place in <delay> seconds, with the argument <arg>
provided. <arg> can be of any type.
DO NOT use call_outs to make loops. If you want to use a
timed loop, use a heartbeat.
EXAMPLE
void init() {
add_action("acid","acid");
}
status acid(string str) {
if(str == "lock") {
write("You pour acid onto the lock.\n");
call_out("acid_lock",5);
return 1;
}
return 0;
}
void acid_lock() {
write("The acid has finally eaten the lock...\n");
open_lock();
}
SEE ALSO
remove_call_out(), call_out_info(), find_call_out()
^#^
capitalize^#^
SUBTOPIC-efun^#^
EFUN capitalize()
SYNOPSIS
string capitalize(string str);
DESCRIPTION
Convert the first character in <str> to upper case, and
return the new string.
EXAMPLE
string query_cap_name() { return capitalize(name); }
SEE ALSO
lower_case()
^#^
catch^#^
SUBTOPIC-efun^#^
EFUN catch()
SYNOPSIS
mixed catch(mixed expr);
DESCRIPTION
Evaluate <expr>. If there is no error, 0 is returned. If
there is a standard error, a string (with a leading '*')
will be returned.
The function throw() can also be used to immediately return
any value, except 0. catch() is not really a function call,
but a directive to the compiler.
The catch() is somewhat costly, and should not be used just
anywhere. Rather, use it at places where an error would
destroy consistency. It is used for instance in the login
sequence.
EXAMPLE
if(catch(move_object(clone_object(MAILER), this_object()))) {
write("Error Cloning Mailer.\n");
}
SEE ALSO
throw()
^#^
clone_object^#^
SUBTOPIC-efun^#^
EFUN clone_object()
SYNOPSIS
object clone_object(string name);
DESCRIPTION
Load a new object from definition <name>, and give it a new
unique name. Returns the new object. An object with a
nonzero environment() cannot be cloned. <name> is an object
name. The following name formats are all valid.
"/inherit/weapon.c"
"/inherit/weapon"
"inherit/weapon"
EXAMPLE
void make_sword() {
object sword;
sword = clone_object("inherit/weapon");
sword->set_name("longsword");
sword->set_alt_name("sword");
sword->set_short("Longsword");
sword->set_long("The longsword is made of rusty old iron.\n");
.......etc
SEE ALSO
destruct(), move_object().
Sun Release 4.1 Last change: 1
^#^
create_wizard^#^
SUBTOPIC-efun^#^
EFUN create_wizard()
SYNOPSIS
string create_wizard(string name, string domain)
DESCRIPTION
This function has been set up to work only in
player.c/wizard.c. It creates new home directories and
access objects for the player 'name'. If an optional domain
name is a new domain, it will create the new domain, and
make the player 'name' the domain lord. If it is not a new
domain it will add domain directories and access objects for
'name'.
This function is accessed through the command 'promote'
which is availible to SEC5 (50) security level wizards and
above.^#^
creator^#^
SUBTOPIC-efun^#^
EFUN creator()
SYNOPSIS
string creator(object ob)
DESCRIPTION
This returns the name of the creator of the object <ob>. It
simply scans the filename of <ob>, and retrieves the name
from the path.
SEE ALSO
file_name().^#^
crypt^#^
SUBTOPIC-efun^#^
EFUN crypt()
SYNOPSIS
string crypt(string str, string seed);
DESCRIPTION
Crypt the string <str> using the first two characters from
<seed> as a seed. If <seed> is 0, then random seed is used.
The result has the first two characters as the seed.
This is used for encypting a players password, and the
random name maker for magic item spell triggers.
^#^
ctime^#^
SUBTOPIC-efun^#^
EFUN ctime()
SYNOPSIS
string ctime(int clock);
DESCRIPTION
Gives a nice string with current date and time, with the
argument 'clock' that is the number of seconds since 1970.
SEE ALSO
time(), rtime().
^#^
call_out_info^#^
SUBTOPIC-efun32^#^
SYNOPSIS
mixed *call_out_info(void)
DESCRIPTION
Get information about all pending call outs. An array is
returned, where nearly every item in the array consists of 4
elements:
1. The object 2. The function 3. The delay to go 4. The optional
argument
But not every entry in the list looks like this. If the object
has been destructed in the meanwhile the entry will be an
empty array (or was it just a 0?).
SEE ALSO
call_out(E), remove_call_out(E), find_call_out(E)
^#^
call_resolved^#^
SUBTOPIC-efun32^#^
SYNOPSIS
int call_resolved(mixed result, object ob, string func, ...)
DESCRIPTION
Similar to call_other(). If ob->func() is defined and publicly
accessible, any of the optional extra arguments are passed to
ob->func(...). The result of that function call is stored in
result, which must be passed by reference.
If the current object is already destructed, or the ob does
not exist, or ob does not define a public accessible function
named func, call_resolved returns 0 as failure code, else 1
for success.
ob can also be a file_name.
SEE ALSO
call_other(E), function_exists(E), find_object(E)
^#^
caller_stack_depth^#^
SUBTOPIC-efun32^#^
SYNOPSIS
int caller_stack_depth(void)
DESCRIPTION
Returns the stack depth of the execution in the current
object. Dont know what it is good for.
^#^
cindent^#^
SUBTOPIC-efun32^#^
SYNOPSIS
int cindent(string file)
DESCRIPTION
Indent a file using an LPC-enhanced version of the GNU indent
program, which is modelled after the Berkeley indent(1).
SEE ALSO
ed(E)
^#^
clear_bit^#^
SUBTOPIC-efun^#^
SYNOPSIS
string clear_bit(string str, int n)
DESCRIPTION
Return the new string where bit n is cleared in string str.
Note that the old string str is not modified.
Each character contains 6 bits. So you can store a value
between 0 and 63 ( 2^6=64) in one character. Starting
character is the blank character " " which has the value 0.
The first charcter in the string is the one with the lowest
bits (0-5).
EXAMPLES
string s;
s=clear_bit("_",5);
Because "_" is the highest possible value (63), the variable s
will now contain the charcter "?" wich is equal to 31
(63-2^5=31).
string s;
s=clear_bit("?<",3);
s=clear_bit(s,8);
s will now contain the string "78". "?" equals 31 and "<"
equals 28. Now "?<" is equal to 31+28<<6=31+1792=1823 which is
in binary notation (highest bit on the right side)
11111000111. Now clearing the bit 3 and bit 8 (bit numbering
starts with zero) will result in 11101000011. The first 6 bits
are in decimal notation 23 and the next 6 are equal to 24. Now
the 23 is the character "7" and 24 is the "8". So the string s
contains "78".
SEE ALSO
set_bit(E), test_bit(E)
^#^
closurep^#^
SUBTOPIC-efun32^#^
SYNOPSIS
int closurep(mixed)
DESCRIPTION
Returns 1 if the argument is a closure.
^#^
copy_mapping^#^
SUBTOPIC-efun32^#^
SYNOPSIS
mapping copy_mapping(mapping)
DESCRIPTION
This efun is needed to create copies of mappings instead of
just passing a reference, like adding/subtraction from a
mapping do.
SEE ALSO
mappings(LPC)
^#^
cos^#^
SUBTOPIC-efun32^#^
SYNOPSIS
float cos(float)
DESCRIPTION
Returns the cosinus of the argument.
^#^
can_put_and_get^#^
SUBTOPIC-compatfn/driverfn^#^
SYNOPSIS
int can_put_and_get()
DESCRIPTION
In compat mode, this function is used by the efun transfer().
Define this function in objects that are neither living nor
rooms if you want to make it possible to put something into
current object.
Return true if ok, otherwise 0. That means that default is
that it is not possible to put something into an object.
SEE ALSO
transfer(E), prevent_insert(A)
^#^
catch_msg^#^
SUBTOPIC-compatfn/driverfn^#^
SYNOPSIS
void catch_msg(mixed *arr, object obj)
DESCRIPTION
When say() or tell_room() are used with an array as message,
the array will be passed to catch_message() in all living
objects that can hear it, instead of writing to the user resp.
sending to catch_tell(). This can be used to implement
communication protocols between livings. The second denotes
the object that has sent the message.
SEE ALSO
say(E), tell_room(E), catch_tell(A)
^#^
catch_tell^#^
SUBTOPIC-compatfn/driverfn^#^
SYNOPSIS
void catch_tell(string)
DESCRIPTION
When a message is sent to a noninteractive user, via say(),
tell_object, tell_room() or write(), it will get to the function
catch_tell(string). This will enable communications between
NPCs and from a user to an NPC.
Also, if an interactive object is being shadowed and the
shadow has catch_tell() defined, it will receive all output
that would otherwise be written to the user.
If a message is sent by an interactive object, catch_tell() is
not called in that object, to prevent recursive calls. Thus
catch_tell() in interactive objects can be used to filter the
output that goes to the users.
The efun shout() sends to interactive objects only.
SEE ALSO
enable_commands(E), say(E), tell_object(E), tell_room(E),
write(E), catch_msg(A)
^#^
clean_up^#^
SUBTOPIC-compatfn/driverfn^#^
SYNOPSIS
int clean_up(int refcount)
DESCRIPTION
clean_up() is applied by the parser when an object hasn't been
used for a long time, to give it a possibility to
self-destruct. The refcount passed as argument will be 0 for
clone objects, 1 for a simple loaded object, and greater when
the object is cloned or inherited by some existing object. It
is recommended not to self_destruct the object when the
reference count is greater than one.
If clean_up returns 0, it will not be called again in that
object until it is swapped out and in again.
Returning a non-zero value is only recommended when the reason
why the object can't self-destruct is likely to vanish without
the object being touched, that is, when no local function is
called in it, (and in compat mode also when the object is not
being moved around).
A typical mud configuration defines the time to wait for
clean_up() so long that you can assert reset() has been
called since the object has been touched last time.
EXAMPLES
A clone of /std/drink defines clean_up() to self-destruct if
it is empty, not carried a living being and not touched for
a long time.
A room that inherits /std/room defines clean_up() to
self-destruct if it is neither inherited nor used as a
blueprint, is empty and was not entered for a long time.
SEE ALSO
reset(A), heart_beat(A), call_out(A), destruct(E), remove(A)
^#^
create^#^
SUBTOPIC-compatfn/driverfn^#^
SYNOPSIS
void create()
DESCRIPTION
In native mode, this function will be called only once on
creation of the object (this is when the object will be loaded
or cloned). Inside this function all major initialization can
be done. The current user and the previous object are
defined but the object has no environment.
EXAMPLE
object cloner;
void create() {
cloner=this_player();
}
Initialize the global variable to hold the one who
created/cloned the object.
SEE ALSO
reset(A), init(A), __INIT(A), initialisation(LPC), native(C)
^#^
commandline^#^
SUBTOPIC-driver^#^
NAME
commandline
DESCRIPTION
The driver understands several command line options and
arguments.
-f<string>: When the master object is loaded and fully
operational after startup, the function flag()
with argument string is applied to the master
object for each occurence of -f in the command line.
-o : run in compat mode (thus sometimes also called
-o mode), instead of native mode. Note: the flag
is obsolete by now, the driver must be compiled
with the appropriate definitions in the config.h
instead.
-c : trace compilations.
-Dsymbol : Globally pre-#define symbol for preprocessor.
-D : without symbol, this logs specific trace messages
to /log/D_TRACE (if the driver was compiled for it)
-e : The number of occurences of the -e flag is
passed as argument to the epilog() function
in the master at startup time.
-N : Don't start the ip demon, that asynchronously
resolves IP numbers to IP names.
-M<master>: provide a different name for the master object.
-m<dir> : provide a different mudlib directory.
-ru<size> : set the size of the reserved user memory.
-rm<size> : set the size of the reserved master memory.
-rs<size> : set the size of the reserved system memory.
-E<cost> : set the maximum allowed evaluation cost.
--max_malloced : set maximum size of mallocable memory chunks.
--max_small_malloced : set max. size of mallocable memory chunks.
-u<port> : set the UDP port number for IMP communication.
-t : disable heart_beat and reset.
-d : run with debug.
-s<time> : Set the time between swapout attempts. -1 means
don't swap.
-y : If the driver has been compiled with YYDEBUG,
this will enable debug output for the LPC compiler.
<number> : the TCP port number to use for user connections.
SEE ALSO
flag(M), epilog(M), native(C), imp(C)
^#^
compile_object^#^
SUBTOPIC-efun32^#^
SYNOPSIS
object compile_object(string filename)
DESCRIPTION
This function is caleld if the interpreter cannot find the
file for asn object to be loaded. The master object has now
the opportunity to return an object that will then serve as if
compiled from the given filename.
If 0 is returned, the usual ``Could not load descr for'' error
will occur.
^#^
connect^#^
SUBTOPIC-efun32^#^
SYNOPSIS
object connect(void)
DESCRIPTION
Return a login object that the requested connection should be
bound to. Note that the connection is not bound yet.
The lfun logon() will be applied to the login after object
after binding the connection to it. That lfun has to return !=
0 to indicate success.
SEE ALSO
logon(A), disconnect(M), interactive(E)
^#^
creator_file^#^
SUBTOPIC-efun32^#^
SYNOPSIS
string creator_file(mixed ob)
DESCRIPTION
Return the name of the creator of a newly created object, i.e.
the name of the user that is responsible for the LPC source
file the object was loaded from. If the function returns 0,
the object can't be loaded and is destructed again
immediately.
In !compat mode, the returned string serves as the initial uid
(``cuid'') of the object. Objects whose cuid is the
backbone-id will then get the uid of the currently active user
as their userid instead.
Under compat mode this function is called as well.
If this function is not provided by the master object, no
other object can be loaded.
SEE ALSO
uids(C), creator(E)
^#^
close^#^
SUBTOPIC-general^#^
-=[ Close ]=-
Command: close
Usuage: close <door|item>
Description: This command allows you to close a door or a 'closable'
item like a chest for example.
Example: close east door
Related Topics: open, lock, unlock, search.
^#^
combat^#^
SUBTOPIC-paladin^#^
________________________________________________________
()_______________________________________________________)
| Prayers from the Combat Sphere |
| Bless Remove Curse |
| Curse Prayer |
| Spiritual Hammer Flamestrike |
| Holy Strike Holy Word |
| Meteor Swarm |
|______________________________________________________|
()_______________________________________________________)