The syntax for console.unlock calls is:
The console.unlock function is for reallowing other threads from outputting to the console when it is currently locked, it takes zero parameters.
Note: An error will be thrown if you call console.unlock when the console is not already locked.
Note: Nift will skip to the first non-whitespace (ie. to the first character that is not a space, tab or newline) after a console.unlock call and inject it to the output file where the call started. If you want to prevent Nift from doing this put a '!' after the call, eg.:
Example of console.unlock being used with f++:
Example of console.unlock being used with n++: