S_as()
s_as(<expression>,<cause>,<player>)
Performs pronoun substitution and function evaluation on the given expression,
using the priviledges and point of view of
<player>
and imitating the
cause of the function from
<cause>
. Like
s()
, this
enables you to assign values to
%#
and
%!
as
<cause>
and
<player>
, respectively. You must be able to control both
<cause>
and
<player>
to perform an accurate substitution.
Examples:
Function |
Returns |
[s_as({%N(%#) -> %U(%!)},me,here)] |
Gandalf(#14) -> Gandalf's Patch(#2) |
See also: Pronouns,
s()
From the TinyMARE Help command - Courtesy Gandalf
--
SluggyQBFreak - 22 Nov 2007