From: Ari Johnson Date: Wed, 21 Feb 2007 01:35:14 +0000 (+0000) Subject: Added help for alias() and fullalias() X-Git-Tag: 0.73~149 X-Git-Url: https://git.theari.com/?a=commitdiff_plain;h=ea9bdeecffd197f56f635f822f4f659d4abd33eb;p=cobramush.git Added help for alias() and fullalias() --- diff --git a/game/txt/hlp/cobra_func.hlp b/game/txt/hlp/cobra_func.hlp index 4213b8b..25e1345 100644 --- a/game/txt/hlp/cobra_func.hlp +++ b/game/txt/hlp/cobra_func.hlp @@ -2466,6 +2466,29 @@ for an object named "Test", preferring a thing over other types. non-hidden players. It's exactly the same as lwho() used by a mortal, and is suitable for use on privileged global objects who need an unprivileged who-list. +& ALIAS() + alias([,]) + + Alias returns the alias of . If multiple aliases are set, + alias returns the first component of the alias. + + If function side effects are allowed, this function, given two arguments, + acts just like @alias =. + + Related functions: FULLALIAS() + +& FULLALIAS() + fullalias() + + fullalias() returns the alias of . It is identical to + alias() except when multiple aliases are set, fullalias() returns the + complete alias list. + + >"[fullalias(Noltar)] + You say, "$;No;Nol;Noli;Nolt" + + Related functions: ALIAS() + & NAME() name([,]) name([, ])