Why does this not go to the chatSays miniconsole? This code clears that console just fine:
cecho() to a miniConsole
Re: cecho() to a miniConsole
Nevermind, I got it.
cecho([windowname, ] text)
Not sure about the rest of the arguments the manual claims it has, but this is how to send it to a window.
cecho([windowname, ] text)
Not sure about the rest of the arguments the manual claims it has, but this is how to send it to a window.
Re: cecho() to a miniConsole
The manual is really out of date. Cecho used to use all those arguments, but I changed it to make it simpler and use the same pattern of arguments as echo.
Re: cecho() to a miniConsole
To this end, I propose that we look for a lua implementation of javadoc and ... implement it. This way we can at least maintain a fully up-to-date API, and we can do it on the client side.Denarii wrote:The manual is really out of date. Cecho used to use all those arguments, but I changed it to make it simpler and use the same pattern of arguments as echo.
Re: cecho() to a miniConsole
I'll see about replacing the API section of the manual with the luadoc one that lex did. Doesn't help it if heiko is too busy to update it and I don't have access, though. (but I did forget to update cecho - will get to that today)
-
- Posts: 186
- Joined: Sun Nov 14, 2010 5:57 am
Re: cecho() to a miniConsole
I have no issues with this, and never did even with only 512MB of RAM.