From TinyMUX
Jump to navigation Jump to search

FUNCTION: 20px-Function.png v(<string>)

The V function can be used as an alternative for percent (%) substitution and also as a replacement for get(me/<arg>). If the argument is two characters long or longer and starts with a letter, then the object performing the v() call (and its parent, if necessary) is searched for the named attribute, and its value is returned if possible. Otherwise, a percent substitution is performed on the argument (so that v(o) is equivalent to %o, for instance). The percent form (%o in the previous example) is preferred as it is faster.

40px-Icon stickynote.gif Note: Attributes with single-character names cannot be retrieved with v().

Related Topics: Gender, Substitutions, Parent Objects, Get(), U().