From: Ari Johnson Date: Fri, 23 Feb 2007 02:57:55 +0000 (+0000) Subject: Help fixes X-Git-Tag: 0.73~113 X-Git-Url: https://git.theari.com/?a=commitdiff_plain;h=939981497ad05cdc8729429b86c79af61d3e2a2f;p=cobramush.git Help fixes --- diff --git a/game/txt/hlp/cobra_func.hlp b/game/txt/hlp/cobra_func.hlp index ad0ed39..03a3a22 100644 --- a/game/txt/hlp/cobra_func.hlp +++ b/game/txt/hlp/cobra_func.hlp @@ -973,7 +973,7 @@ Note that add(mul(div(%0,%1),%1),remainder(%0,%1)) always yields %0, and add(mul(floordiv(%0,%1),%1),modulo(%0,%1)) also always yields %0. - See also: MODULO + See also: modulo(), fdiv() & DOING() doing() @@ -1183,6 +1183,8 @@ Returns the quotient of the two numbers. Note that the DIV() and MOD() functions cannot be used on floating point numbers. + + See also: div() & FILTER() & FILTERBOOL() filter([/], [,][,]) @@ -2501,14 +2503,12 @@ for an object named "Test", preferring a thing over other types. & NAME() name([,]) - name([, ]) Name returns the name of object . For exits, name returns the displayed name of the exit. If function side effects are allowed, this function, given two arguments, - acts just like @name =. Consequently, if renaming - a player, you must use the player's password or be God. + acts just like @name =. name() with no arguments currently returns nothing. This should be an error, but enough old code has been written that expects this behavior @@ -3624,6 +3624,7 @@ for an object named "Test", preferring a thing over other types. @switch, while switch() and case() match more like @switch/first. See HELP SWITCH WILDCARDS for more, and HELP SWITCH2 for examples + See also: reswitch(), if() & SWITCH2 Examples of switch() and related functions: > say switch(test, *a*, foo, *b*, bar, *t*, neat, baz) @@ -3771,7 +3772,7 @@ for an object named "Test", preferring a thing over other types. See also: timefmt(), timestring(), convsecs(), convtime() & ETIMEFMT() - etimefmt([, ]) + etimefmt(, ) This function is similar to timestring() - it formats an elapsed time into days, hours, minutes and seconds. However, its formatting is