User Tools

Site Tools


lua:ch:mdo

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
lua:ch:mdo [2014/06/20 04:18] – created vodurlua:ch:mdo [2014/06/20 04:20] (current) vodur
Line 1: Line 1:
 <code lua> <code lua>
 +CH:mdo( text [, ...] )
 +</code>
  
-CH:mdo( string [, fmt] )+**text **- string value
  
-</code>+**...** - optional format arguments
  
-Interprets the argument as if the CH typed it+Interprets the argument as if the CH entered it as a command.
- +
-Accepts [[http://rooflez.com/wiki/index.php?n=Main.FormatArguments|format arguments]].+
  
 Examples: Examples:
  
-<code lua>\\+<code lua>
 mdo("dance") mdo("dance")
  
 mdo("poke %s", ch.name) mdo("poke %s", ch.name)
- 
 </code> </code>
  
lua/ch/mdo.1403237891.txt.gz · Last modified: 2014/06/20 04:18 by vodur