User:Dt192/Sandbox
Basic Essentials
Just playing around with the format, as think we should standardise a format throughout the wiki (we don't currently). Don't think I like this layout more than the normal one (or do I :/), but I do think all functions should show a params breakdown if they take any and a returns section to avoid ambiguity. I also think it would be good to show the expected <type> for every param in some way.
echo
This function appends text at the end of the current line.
- Syntax
- echo(outputTarget, text)
- Parameters
-
- outputTarget<string> (optional)
- Accepts the name of a miniconsole or label to redirect output to.
- text<string>
- Text you'd like to see printed.
- Returns
- Nil
See also: moveCursor(), insertText(), cecho(), decho(), hecho()
You can use \n in an echo to insert a new line. If you're echoing this to a label, you can also use styling to color, center, increase/decrease size of text and various other formatting options as listed here.
As of Mudlet 4.8+, a single line is capped to 10,000 characters (this is when ~200 at most will fit on one line on your screen).
Examples...