TinyMARE HelpText

Global Functions > S_as()

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
Topic revision: r1 - 22 Nov 2007, SluggyQBFreak
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding WikiMARE? Send feedback