bitburner.ns.tprintf.md
September 26, 2025 ยท View on GitHub
Home > bitburner > NS > tprintf
NS.tprintf() method
Prints a raw value or a variable to the Terminal.
Signature:
tprintf(format: string, ...values: any[]): void;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
format |
string |
Format of the message. |
|
values |
any[] |
Value(s) to be printed. |
Returns:
void
Remarks
RAM cost: 0 GB
-
See print for how to add color to your printed strings.
-
See printf for examples on formatted strings.
-
For more detail, see: https://github.com/alexei/sprintf.js