LOGTO
LOGTO(<target>,<text>)
Type: Action
Category: Mod related
Permission: N/A
Since Minecraft Version: v1.3
Since Version: v0.9
Minor: 9
API: N/A
Patch: N/A
Description
Outputs the specified text into the specified target, target can be a text file name or the name of a textarea.
If you specify a file as a target is has to end with the .txt file extension.
The files will always end up in .minecraft\liteconfig\common\macros\logs.
It is not possible to change that location.
Example
LOGTO("file.txt","Hello World");
Changelog
- Added em v0.9:
- Updated em v0.9.1: Can now also log to text files by specifying the file name as the target