From: Ari Johnson Date: Fri, 17 Dec 2010 19:34:34 +0000 (+0000) Subject: Various help updates X-Git-Url: https://git.theari.com/?a=commitdiff_plain;h=3f8f64818cf1127bec356dd1324c4ecbb171f97c;p=cobramush.git Various help updates --- diff --git a/game/txt/hlp/cobra_cmd.hlp b/game/txt/hlp/cobra_cmd.hlp index da72d4f..93af391 100644 --- a/game/txt/hlp/cobra_cmd.hlp +++ b/game/txt/hlp/cobra_cmd.hlp @@ -2132,6 +2132,7 @@ See also: locktypes, @clock, objid() @lock/dropto Who can trigger this container's drop-to. @lock/destroy Who can destroy this object if it's DESTROY_OK @lock/interact Who can send sound (say/pose/emit/etc) to this object + @lock/take Who can get things contained in this object See also: @lock, @lset, @clock, FAILURE & @lset @@ -2632,9 +2633,8 @@ See also: give The /list switch to this command allows you to @pemit a message to a list: @pemit/list [ ] = - There can be any number of objects in the list. The objects must be - specified by dbref number. You will not get back a "confirmation" - message for the /list form of this command. + There can be any number of objects in the list. You will not get back a + "confirmation" message for the /list form of this command. (continued in help @pemit2) & @pemit2 @@ -3762,9 +3762,10 @@ See also: get, drop get take - You pick up object, if you pass the object's @lock. You can also do - get 's , which will fail if either thing is not ENTER_OK - or the object is locked against you. Some MUSHes choose to disable the + You pick up object, if you pass the object's @lock and the container's + @lock/take (if set). You can also do get 's , which will + fail if thing is not ENTER_OK, thing has a take-lock that blocks you, + or object is locked against you. Some MUSHes choose to disable the ability to take an object in someone else's inventory. See also: @lock, ENTER_OK, give, drop, @success, inventory diff --git a/game/txt/hlp/cobra_flag.hlp b/game/txt/hlp/cobra_flag.hlp index 0c9df9d..b572a4c 100644 --- a/game/txt/hlp/cobra_flag.hlp +++ b/game/txt/hlp/cobra_flag.hlp @@ -278,7 +278,7 @@ which are available. Flag: ENTER_OK (all types) If an object or person is ENTER_OK, other players may - enter the object or person by using 'enter . + enter the object or person by using 'enter '. Only objects which are ENTER_OK may be entered, regardless of the enter lock. Players must also have the ENTER_OK flag set if they wish to be able to receive things given to them by other players via the diff --git a/game/txt/hlp/cobra_func.hlp b/game/txt/hlp/cobra_func.hlp index d6c928f..36886f8 100644 --- a/game/txt/hlp/cobra_func.hlp +++ b/game/txt/hlp/cobra_func.hlp @@ -1502,6 +1502,10 @@ Continued in HELP FOREACH2 See also: match(), matchall(), grab(), regmatch() & GREP() & REGREP() +& WILDGREP() +& GREPI() +& REGREPI() +& WILDGREPI() grep(,,) wildgrep(,,) regrep(,,) @@ -2078,7 +2082,7 @@ Continued in HELP ITER2 preferred one. X - Never return #-2. Use the last dbref found if the match is ambiguous. - If you specify more than one type, the last one will be preferred. Unless + If you specify more than one type, any will be preferred. Unless you specify an F option, if an object of a different type is found and none of the preferred type are, the found object will be returned. @@ -2673,14 +2677,23 @@ See also: mwho(), xwho() Returns the dbref number of the object, which must be in the same room as the object executing num. +& NMWHO() & NWHO() nwho() + nmwho() This returns a count of all currently-connected players. When - mortals use this function, DARK privileged players are NOT counted. + mortals use this function, hidden players are NOT counted. -See also: lwho(), nmwho(), xwho() + nmwho() returns a count of all currently connected, non-hidden players. + It's exactly the same as nwho() used by a mortal, and is suitable for use + on privileged global objects that always need an unprivileged count of + who is online. + These functions are equivilent to words(lwho()) and words(mwho()), + but are more efficient, and don't suffer from buffer constraints. + +See also: lwho(), mwho(), xwho(), xmwho() & OBJ() obj() @@ -4229,8 +4242,10 @@ See also: timestring(), etimefmt() or ROOM. See "help types of objects" for more. & U() & UFUN() +& ULAMBDA() u([/], , , ...) ufun([/], , , ...) + ulambda([/], , , ...) This allows you to create your own functions and evaluate them. is the attribute that contains the desired @@ -4240,12 +4255,12 @@ See also: timestring(), etimefmt() , , ... are the arguments that get passed to the user function as v(0), v(1), etc. (as in @trigger). You can pass - up to 10 arguments (v(0) through v(9)); extra arguments will be - evaluated but not accessible (since v(10) refers to an attribute, - not another argument). + up to 10 arguments (v(0) through v(9)). This function is also known as U() (alias for TinyMUSH compatibility). + ulambda() also accepts anonymous attributes. + See "help UFUN2" for more. & U2 diff --git a/game/txt/hlp/cobratop.hlp b/game/txt/hlp/cobratop.hlp index d21ed1c..863e162 100644 --- a/game/txt/hlp/cobratop.hlp +++ b/game/txt/hlp/cobratop.hlp @@ -443,7 +443,7 @@ Standard Attributes: (see @list/attribs for the complete list) +1 to the previous owner). @open: 1 penny (2 pennies if linked at the same time) - Type '@config costs' to get the costs for the particular MUSH you are on. + Type '@config/list costs' to get the costs for the MUSH you are on. See also: MONEY, money(), score & PENNMUSH CREDITS