This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | |||
|
lua:ch:mdo [2014/06/20 04:20] vodur |
— (current) | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | <code lua> | ||
| - | CH:mdo( text [, ...] ) | ||
| - | </code> | ||
| - | |||
| - | **text **- string value | ||
| - | |||
| - | **...** - optional format arguments | ||
| - | |||
| - | Interprets the argument as if the CH entered it as a command. | ||
| - | |||
| - | Examples: | ||
| - | |||
| - | <code lua> | ||
| - | mdo("dance") | ||
| - | |||
| - | mdo("poke %s", ch.name) | ||
| - | </code> | ||