Difference between revisions of "Scribe"
Jump to navigation
Jump to search
imported>Shademe m (→Notes) |
imported>Shademe m (SEO) |
||
Line 44: | Line 44: | ||
[[Category: ConScribe]] | [[Category: ConScribe]] | ||
<!-- Begin Search Terms | |||
Scribe | |||
End Search Terms --> |
Revision as of 21:38, 26 September 2009
A command for ConScribe.
Syntax:
(nothing) Scribe formatString:string var1 var2 ... var20 printToConsole:bool scribeOperation:integer
Primary output function. Prints output to a log file and, optionally, to the console.
Scribe Operation | Integer |
---|---|
Post to Script Log | 0 |
Post to Registered Log | 1 |
Notes
- Script logs are created in the ConScribe Logs > Per-Script folder. Logs names follow the convention: <Mod Name> - [XX]<Calling script's truncated formID>.
Registered logs are created in the ConScribe Logs > Per-Mod folder.
- The calling mod must have a log registered to use scribe operation 1.
- String variables can be passed using the %z format specifier.
Example
string_var svLog begin gameMode scribe "This will be printed to the Script log, but not to the console" 0 scribe "This will be printed to the console alone" 1 let svLog := "Con" + $player + "Scribe" scribe "String Var - %z" svLog 1 scribe "This will be printed to the registered log, if any" 1 1 end
See also