From: Ari Johnson Date: Wed, 4 May 2011 14:56:14 +0000 (-0400) Subject: Update help file for @atrlock X-Git-Url: https://git.theari.com/?a=commitdiff_plain;h=57124692a90baf905a09b0efafedb7663556c7ff;p=cobramush.git Update help file for @atrlock fixes #29 --- diff --git a/game/txt/hlp/cobra_cmd.hlp b/game/txt/hlp/cobra_cmd.hlp index 93af391..7071aea 100644 --- a/game/txt/hlp/cobra_cmd.hlp +++ b/game/txt/hlp/cobra_cmd.hlp @@ -355,16 +355,17 @@ See also: @tel, ACTION LISTS See also: @atrlock, ATTRIBUTES, NON-STANDARD ATTRIBUTES & @atrlock - @atrlock[/read/write] / = . + @atrlock[/write] / = - Locks an attribute's read or write lock to a specified - 'lock key'. - - TODO: Detailed Explanations on Read & Write Locks. + Lock the specified attribute to the given key, which should be a normal + boolexp suitable for using with @lock. If the /write switch is given, then + set the write-lock on the attribute. Otherwise, set the read-lock. If no + key is given, then the lock will be cleared. + An object that passes the read-lock can read the attribute's value. An + object that passes the write-lock can set the attribute's value. See also: @atrchown, ATTRIBUTES, NON-STANDARD ATTRIBUTES, LOCKING - & @asuccess @asuccess =