Zanqual API (ComputerCraft Simplified API) Wiki
Register
Advertisement

Explaination & History[]

This function is a shortcut of term.setTextColor(color)

Type: Short-Func

stc(color) has been added to Zanqual since 0.1, but first gets mentioned in the 0.2-changelog.

How to use[]

Syntax: stc([the color you want])

Pros[]

It's very short and you can use it in private long programs.

Cons[]

When you publish your program and it contains this function, 99% of the people who try out your published program will get the error message attempt to call nil.

Advertisement