Category:Functions

From TinyMUX
Revision as of 05:30, 5 January 2009 by Brazil (talk | contribs) (Reverted edit of ElgetCtrol, changed back to last version by Brazil)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Functions are specialized commands used to manipulate strings and other input. The format for a function is of this form: [fun-name(<input>)] Although usually the []'s indicate an input that is optional, in this case they are necessary and tell the MUSH that this is a function, although nested functions (like [first(rest(This is a nice day))] returns 'is') do not require more than one pair of []'s. Nested brackets may be used when it is necessary to insert a function call in the middle of an argument, like [get(me/[get(me/vz)])], which returns the contents of the attribute named in the VZ attribute.


Related Topics: Softcode Functions by Class

Pages in category "Functions"

The following 200 pages are in this category, out of 244 total.

(previous page) (next page)
(previous page) (next page)