Name
UseFormatTags -- enable or disable text format tags (V11.0)
Synopsis
UseFormatTags(enable)
Library
text

Function
By default, all Hollywood text functions support on-the-fly text formatting using tags like [b] for bold, [u] for underlined etc. See Format tags for details. If you don't want that, you can disable text format tags globally for all text functions by passing False to UseFormatTags(). Once text format tags are disabled, no more on-the-fly text formatting will take place.

Note that TextOut() also allows you to locally disable on-the-fly text formatting by setting the UseFormatTags tag to True in the optional table argument. See TextOut for details.

Inputs
enable
True or False indicating whether text formatting should be enabled
Example
NPrint("[b][u][i]These format tags will not be ignored![/i][/u][/b]")
UseFormatTags(False)
NPrint("[b][u][i]These format tags will be ignored![/i][/u][/b]")
The code above demonstrates disabling of format tags.

Show TOC