From 3adf703a8afacaa78d1f77e608c9b579ee4444f9 Mon Sep 17 00:00:00 2001 From: Ari Johnson Date: Tue, 20 Feb 2007 15:29:52 +0000 Subject: [PATCH] Help fixes from 1.8.0p7 --- game/txt/hlp/cobra_cmd.hlp | 3 +++ game/txt/hlp/cobra_func.hlp | 6 +++--- game/txt/hlp/cobratop.hlp | 14 ++++++++------ 3 files changed, 14 insertions(+), 9 deletions(-) diff --git a/game/txt/hlp/cobra_cmd.hlp b/game/txt/hlp/cobra_cmd.hlp index 02de52f..2df0a00 100644 --- a/game/txt/hlp/cobra_cmd.hlp +++ b/game/txt/hlp/cobra_cmd.hlp @@ -622,6 +622,9 @@ See also: @create are parsed by default, but you can call foo/noeval. Note: the $-command needs to make allowances for the /noeval switch in it's matching. + Commands added with @command/add, like other standard commands, + are never case-sensitive (regardless of CASE flag on the attribute). + (examples in help @command3) & @command3 Examples: diff --git a/game/txt/hlp/cobra_func.hlp b/game/txt/hlp/cobra_func.hlp index 27aab98..e1656c4 100644 --- a/game/txt/hlp/cobra_func.hlp +++ b/game/txt/hlp/cobra_func.hlp @@ -2645,10 +2645,10 @@ for an object named "Test", preferring a thing over other types. & PMATCH() pmatch() - Given the partial name of a player, it returns that player's dbref + Given the partial name of a connected player, returns that player's dbref number. This partial name completion works similarly to the partial name completion of the "page" command - i.e. it first attempts to match - the normal names of all players (connected or not), and if that fails, + the full names of all players (connected or not), and if that fails, it tries to match the partial names of connected players visible to the enactor. If no player is matched, it returns "#-1". If more than one match is possible for a partial name, it returns "#-2". @@ -3308,7 +3308,7 @@ for an object named "Test", preferring a thing over other types. be careful to escape them with sqlescape(), like this: &SEL_GETID obj = SELECT id FROM mytable WHERE name = '[sqlescape(%0)]' - &DOIT obj = $do *: ... [setq(0,u(SEL_GETID,%0))] ... + &DOIT obj = $do *: ... [setq(0,sql(u(SEL_GETID,%0),~,|))] ... See also: sqlescape(), @sql diff --git a/game/txt/hlp/cobratop.hlp b/game/txt/hlp/cobratop.hlp index 5a9df99..c60e582 100644 --- a/game/txt/hlp/cobratop.hlp +++ b/game/txt/hlp/cobratop.hlp @@ -1160,7 +1160,7 @@ Standard Attributes: (see @list/attribs for the complete list) string from left to right. Most characters stand for themselves in a pattern, and match the corresponding characters in the subject. - There are two different sets of meta-characters: those that are + There are two different sets of meta-characters: those that are recognized anywhere in the pattern except within square brackets, and those that are recognized in square brackets. Outside square brackets, the meta-characters are as follows: @@ -1205,7 +1205,7 @@ Standard Attributes: (see @list/attribs for the complete list) (Cont'd in help regexp syntax4) & regexp syntax4 - A backlash can also two useful assertions -- conditions that + A backlash can also be used for two useful assertions -- conditions that must be met at a particular point in a match: \b word boundary @@ -1487,19 +1487,21 @@ Continued in 'help regexp classes2' Standard attributes are set using @ = Nonstandard attributes are set using & = Attributes may also be set using @set =: + or the set() function. Attributes are cleared using @ or & - or with @wipe. + or with @wipe or wipe(). - Note that there is a difference between clearing an attribute - and setting an attribute to a null value: + Note that if the empty_attrs configuration option is set + (@config empty_attrs to check), there is a difference between + clearing an attribute and setting an attribute to a null value: @va me <--- wipes out my VA attribute @va me= <--- sets my VA attribute to be empty Empty attributes retain their flags and atrlock status. Wiped attributes are gone forever. - See also ATTRIBUTES, NON-STANDARD ATTRIBUTES, @set, @wipe + See also ATTRIBUTES, NON-STANDARD ATTRIBUTES, @set, @wipe, set(), wipe() & SPOOFING Spoofing is the act of making other characters think that a person said or did something that they did not. This is very easy to -- 2.30.2