ttt.hlp
./lib/help/ttt.hlp · 19.6 KB
From the archive h7v3.0a.tar.gz
Download the archive « Back to the archive contents
^#^
tell^#^
SUBTOPIC-player^#^
-=[ Help ]=-
command: tell
Usage: tell <who> <message>
tell <who@mud> <message> (if intermud enabled)
Description: This echos the message to any person playing
on the game. Except to those creators who
have 'earmuffs' on and have a higher security
level.
Related topics: shout.
^#^
tail^#^
SUBTOPIC-creator^#^
-=[ Help ]=-
command: tail
Usage: tail <file>
Description: The tail command types the end of a file. It is used by
the log command.
Related topics: more, Cat, tail, log, main, debug.
^#^
title^#^
SUBTOPIC-creator^#^
-=[ Help ]=-
command: title
Usage: title
title <title>
Description: Every player's title is broken into 3 parts: pretitle,
title, and alignment title. This command allows you
to set you title. If no title is given it defaults to
"is a Creator".
Example: title is going on Holidays
Related topics: mhome, mclone, minvis, mtrans, mmin, min, mmout, mout,
edtitle, review, pretitle, align.
^#^
tree^#^
SUBTOPIC-creator^#^
-=[ Help ]=-
command: tree
Usage: tree
tree <path>
Description: This command allows you to see a pictorial
representation of a directories tree structure. Don't
use this frivolously as it is fairly intensive, and will
give too long evaluation errors on large directory
trees.
Related topics: Tree.
^#^
Tree^#^
SUBTOPIC-creator^#^
-=[ Help ]=-
command: Tree
Usage: Tree
Tree <path>
Description: This command allows you to see a pictorial
representation of a directories tree structure. Don't
use this frivolously as it is fairly intensive, and will
give too long evaluation errors on large directory
trees. Tree evaluates each subdirectory of path
individually.
Related topics: tree.
^#^
time shift^#^
SUBTOPIC-cleric^#^
___________________________________________________________________
()__________________________________________________________________)
| Prayer: Time Shift Sphere: Stellar |
| Level: 16 Cost: 16 |
| Component: Gem. Usage: time shift <where> |
| Description: |
| |
| This prayer will move the cleric between times, to different |
| domains. |
| |
| |
| |
|__________________________________________________________________|
()__________________________________________________________________)
^#^
time shift other^#^
SUBTOPIC-cleric^#^
___________________________________________________________________
()__________________________________________________________________)
| Prayer: Time Shift Other Sphere: Stellar |
| Level: 25 Cost: 25 |
| Component: Gem. Usage: time shift other <who> <where> |
| Description: |
| |
| This prayer will move another person between times, to a |
| different time. |
| |
| |
| |
|__________________________________________________________________|
()__________________________________________________________________)
^#^
time shift party^#^
SUBTOPIC-cleric^#^
___________________________________________________________________
()__________________________________________________________________)
| Prayer: Time Shift Party Sphere: Stellar |
| Level: 33 Cost: 33 |
| Component: Gem. Usage: time shift party <where> |
| Description: |
| |
| This prayer will move the cleric's party to a different time. |
| Allowing travel between the domains. |
| |
| |
| |
|__________________________________________________________________|
()__________________________________________________________________)
^#^
teleport other^#^
SUBTOPIC-mage^#^
______________________________ ______________________________
__/ \/ \__
| /| |: |:||
||:| Spell: Teleport Other |: Description: |:||
||:| School: Alteration |: |:||
||:| Cost: 12 |: This spell teleports the |:||
||:| Level: 12 |: target to elsewhere in the |:||
||:| Usage: teleport other <who> |: domain. Location keyword |:||
||:| <location> |: is made using the |:||
||:| Component: 2 gems |: 'destination' command after |:||
||:| Related Spells: |: using teleport for the very |:||
||:| Teleport, |: first time. |:||
||:| Teleport Party. |: |:||
||:|_____________________________ |: _____________________________|:||
||/______________________________\|:/______________________________\||
|_______________________________ _______________________________|
'----`
^#^
teleport party^#^
SUBTOPIC-mage^#^
______________________________ ______________________________
__/ \/ \__
| /| |: |:||
||:| Spell: Teleport Party |: Description: |:||
||:| School: Alteration |: |:||
||:| Cost: 19 |: This spell teleports the |:||
||:| Level: 19 |: party to elsewhere in the |:||
||:| Usage: teleport party <loc.>|: domain. Location keyword |:||
||:| |: is made using the |:||
||:| Component: 2 gems |: 'destination' command after |:||
||:| Related Spells: |: using teleport for the very |:||
||:| Teleport Other, |: first time. |:||
||:| Teleport. |: |:||
||:|_____________________________ |: _____________________________|:||
||/______________________________\|:/______________________________\||
|_______________________________ _______________________________|
'----`
^#^
teleport^#^
SUBTOPIC-mage^#^
______________________________ ______________________________
__/ \/ \__
| /| |: |:||
||:| Spell: Teleport |: Description: |:||
||:| School: Alteration |: |:||
||:| Cost: 8 |: This spell teleports the |:||
||:| Level: 8 |: caster to elsewhere in the |:||
||:| Usage: teleport <location> |: domain. Location is given |:||
||:| Components: 2 gems |: by using the 'destination' |:||
||:| Related Spells: |: command after teleport is |:||
||:| Teleport Other, |: used for the very first |:||
||:| Teleport Party. |: time. |:||
||:|_____________________________ |: _____________________________|:||
||/______________________________\|:/______________________________\||
|_______________________________ _______________________________|
'----`
^#^
tell_object^#^
SUBTOPIC-efun^#^
EFUN tell_object()
SYNOPSIS
void tell_object(object ob, string str)
DESCRIPTION
Send a message `str' to object `ob'. If it is an interactive
object (a player), then the message will go to him, other-
wise it will go to the local function "catch_tell()".
SEE ALSO
write(), shout(), say().
^#^
tell_room^#^
SUBTOPIC-efun^#^
EFUN tell_room()
SYNOPSIS
void tell_room(mixed ob, string str);
DESCRIPTION
Send a message `str' to object all objects in the room `ob'.
`ob' can also be the filename of the room (string).
SEE ALSO
write(), shout(), say(), tell_object().
^#^
this_object^#^
SUBTOPIC-efun^#^
EFUN this_object()
SYNOPSIS
object this_object()
DESCRIPTION
Return the object pointer of this object. This function is
useful when an object wants to call functions that are not
in the same source file but are in the same object (via
inheritance).
SEE ALSO
this_player(), previous_object().
^#^
this_player^#^
SUBTOPIC-efun^#^
EFUN this_player()
SYNOPSIS
object this_player(int flag);
DESCRIPTION
Return the object representing the player that caused the
calling function to be called. Note that this_player() may
return a different value than this_object() even when called
from within a player object. If this_player is called as
this_player(1) then the returned value will be the interac-
tive that caused the calling function to be called.
this_player(1) may return a different value than
this_player(). For example, when command() is used by an
admin to force a player to perform some command.
Note: this_player(1) is redundant in amylaar In the amylaar
driver it is replaced by the efun this_interactive().
SEE ALSO
this_object(), previous_object().
^#^
throw^#^
SUBTOPIC-efun^#^
EFUN throw
SYNOPSIS
void throw(mixed);
DESCRIPTION
The throw() efun may be used to force an error to occur in
an object. When used in conjunction, throw() and catch()
allow the programmer to choose what error message is
displayed when a runtime error occurs. When throw() is
used, it should be used in conjunction with the catch(3)
efun. Here is a typical usage:
string err;
int rc;
err = catch(rc = ob->move(dest));
if (err) {
throw("move.c: ob->move(dest): " + err + "0);
return;
}
SEE ALSO
catch(), error()
^#^
time^#^
SUBTOPIC-efun^#^
EFUN time()
SYNOPSIS
int time();
DESCRIPTION
Return the number of seconds since midnight (GMT) January 1,
1970.
SEE ALSO
ctime().
^#^
tan^#^
SUBTOPIC-efun32^#^
SYNOPSIS
float tan(float)
DESCRIPTION
Returns the tangens of the argument.
^#^
test_bit^#^
SUBTOPIC-efun32^#^
SYNOPSIS
int test_bit(string str, int n)
DESCRIPTION
Return 0 or 1 of bit n was set in string str.
Each character contains 6 bits. So you can store a value
between 0 and 63 in one character (2^6=64). Starting character
is the blank " " which has the value 0. The first character in
the string is the one with the lowest bits (0-5).
EXAMPLES
test_bit("_",5);
Returns 1 because "_" stands for the number 63 and therefore
the 6th bit is set.
test_bit(" ",3);
Returns 0 because " " stands for 0 and no bit is set.
SEE ALSO
set_bit(E), clear_bit(E)
^#^
this_interactive^#^
SUBTOPIC-efun32^#^
SYNOPSIS
object this_interactive(void)
DESCRIPTION
this_interactive() returns the current interactive object, if
any, i.e. the one who "hit the RETURN key".
SEE ALSO
this_player(E), previous_object(E), interactive(E), living(E)
^#^
to_array^#^
SUBTOPIC-efun32^#^
SYNOPSIS
mixed *to_array(string)
mixed *to_array(symbol)
mixed *to_array(quotedarray)
mixed *to_array(mixed *)
DESCRIPTION
Strings and symbols are converted to an int array that
consists of the args characters.
Quoted arrays are ``dequoted'', and arrays are left as they
are.
SEE ALSO
to_int(E), to_string(E)
^#^
to_float^#^
SUBTOPIC-efun32^#^
SYNOPSIS
float to_float(int)
float to_float(string)
DESCRIPTION
Ints are expanded to floats, strings are converted up to the
first character that doesnt belong into a float.
SEE ALSO
to_string(E), to_int(E), sscanf(E)
^#^
to_int^#^
SUBTOPIC-efun32^#^
SYNOPSIS
int to_int(string)
int to_int(float)
DESCRIPTION
Floats are truncated to integer values, strings with leadings
digits are converted to integers up to the first non-digit.
SEE ALSO
to_string(E), sscanf(E)
^#^
to_string^#^
SUBTOPIC-efun32^#^
SYNOPSIS
string to_string(mixed)
DESCRIPTION
The argument is converted to a string. Works with int, float,
object, arrays, symbols, strings.
^#^
trace^#^
SUBTOPIC-efun32^#^
SYNOPSIS
int trace(int traceflags)
DESCRIPTION
Sets the trace flags and returns the old trace flags. When
tracing is on, a lot of information is printed during
execution and too much output can crash your connection or
even the whole driver.
The trace bits are:
1 Trace all function calls to lfuns.
2 Trace all calls to call_other
4 Trace all function returns.
8 Print argunents at function calls and return values.
16 Print all executed stack machine instructions (Avoid this
flag, it produces massive output!).
32 Enable trace in heart beat functions (Avoid this flag, it
constantly produces a lot of output!).
64 Trace calls to apply (Applies are driver internal
call_others).
128 Show object name in tracing (Avoid this flag when you know
what you are tracing!).
EXAMPLE
object obj;
string prefix;
obj=find_player("deepthought");
prefix=file_name(obj);
prefix=prefix[1..strlen(prefix)-1]; /* cut off the leading "/" */
traceprefix(prefix);
trace(1|2|4|8);
...
trace(0);
SEE ALSO
traceprefix(E)
^#^
traceprefix^#^
SUBTOPIC-efun32^#^
SYNOPSIS
string traceprefix(string prefix)
string traceprefix(int dummy)
DESCRIPTION
If called with a string, only objects matching this prefix will
be traced. The string must not contain a leading "/" because
the object names are stored internally without it. If called
with a number, the traceprefix will be ignored and all objects
will be traced. Returns the last traceprefix or 0 if there
wasn't any.
EXAMPLE
object obj;
string prefix;
obj = find_player("deepthought");
prefix = file_name(obj);
prefix = prefix[1..strlen(prefix)-1]; /* cut off the leading "/" */
traceprefix(prefix);
trace(1|2|4|8);
...
trace(0);
SEE ALSO
trace(E)
^#^
transfer^#^
SUBTOPIC-efun32^#^
SYNOPSIS
int transfer(object item, object dest)
DESCRIPTION
This efun is for backward compatibility only. It is only
available in compat mode.
Move the object "item" to the object "dest". All kinds of
tests are done, and a number is returned specifying the
result:
0: Success.
1: To heavy for destination.
2: Can't be dropped.
3: Can't take it out of it's container.
4: The object can't be inserted into bags etc.
5: The destination doesn't allow insertions of objects.
6: The object can't be picked up.
If an object is transfered to a newly created object, make
sure that the new object first is transfered to it's
destination.
SEE ALSO
move_object(E), drop(A), get(A), prevent_insert(A),
can_put_and_get(A), add_weight(A)
^#^
transpose_array^#^
SUBTOPIC-efun32^#^
SYNOPSIS
mixed *transpose_array (mixed *arr);
DESCRIPTION
transpose_array ( ({ ({1,2,3}), ({a,b,c}) }) )
== ({ ({1,a}), ({2,b)}, ({3,c}) })
transpose_array() applied to an alist results in an array of
({ key, data }) pairs, useful if you want to use sort_array()
or filter_array() on the alist.
EXAMPLE
sort_array(transpose_array( ({ m_indices(map), m_values(map) }) ),
lambda( ({ 'a, 'b }),
({ #'<, ({ #'[, 'a, 0 }),
({ #'[, 'b, 0}) }) )
The given mapping 'map' is returned as an array of
({ key, data }) pairs, sorted by the keys.
SEE ALSO
alists(LPC), sort_array(E)
^#^
typeof^#^
SUBTOPIC-efun32^#^
SYNOPSIS
int typeof(mixed)
DESCRIPTION
Returns a code for the type of the argument, as defined in
<lpctypes.h>
SEE ALSO
get_type_info(E), intp(E), objectp(E), floatp(E), pointerp(E),
closurep(E), symbolp(E), stringp(E), mappingp(E)
^#^
to_object^#^
SUBTOPIC-efun321^#^
SYNOPSIS
object to_object(string arg)
object to_object(closure arg)
object to_object(object arg)
DESCRIPTION
The argument is converted into an object, if possible.
For strings, the object with a matching file_name() is
returned, or 0 if there is none, as find_object() does.
For (bound!) closures, the object holding the closure is
returned.
Objects and the number 0 return themselves.
SEE ALSO
find_object(E), to_array(E), to_int(E), to_string(E)
^#^
tarx^#^
SUBTOPIC-creator^#^
-=[ Help ]=-
NAME
Tarx
Description
Tarx is an object, /secure/tarx that is cloned. It can be
used to extract tape archive files (file.tar) into the wizard's
directory. It is useful to extract wizard areas that you have
coded elsewhere and have ftp'ed onto the mud. That is, if the
administration has set up an ftp daemon for wizard use.
USAGE
clone /secure/tarx
tarx <tar_file>
NOTES
Due to object evaluation limits, it is slow. It uses call_out()
to overcome this intensive program problem. However,
this restricts file read/write access to 'open',
and wizard home directories.
Existing files are NOT overwritten.
All tarx'ed files are logged.
Remember, this tarx is crude. It should only contain (ustar) archived
text files.
*** ALSO FTP tar files in BINARY mode ***
^#^
track^#^
SUBTOPIC-ranger^#^
Command: track
SYNOPSIS
Ranger skill
DESCRIPTION
Track is a simple command that enables a ranger to 1) follow
a chosen opponent, or 2) find out where the tracks of a
person or creature leads to
See also: help ranger, man ranger
^#^
two weapon^#^
SUBTOPIC-ranger^#^
Command: twoweapon
SYNOPSIS
Ranger skill
DESCRIPTION
Two weapon is a skill that enables a ranger to wield two
weapons at the same time. Rangers are able to wield larger
weapons sooner than fighters are.
See also: help ranger, man ranger
^#^
training^#^
SUBTOPIC-weapons^#^
-=[ Weapon Proficiencies ]=-
A proficiency in a weapon enables a player to use a weapon more
effectively. If you do not have a proficiency in a weapon, and are
wielding it, you do so at a penalty.
Penalties for wielding non-proficient weapons are low for fighters,
and larger for thieves, paladins, and rangers, larger still for
clerics, and higher still for mages.
The more you train in a weapon, the better you become in using it
in combat. Fighters gain more chances to train in weapons as they
increase in levels. The number of chances a player gains depends on
his class. Rangers, Thieves, and Paladins gain the next highest
amount per level, followed by clerics and mages.
To become more proficient in a weapon, simply train in it at the
place where you train your said skills.
Angel, Aug '96