The TextColor option changes the color of the text. The OptionValue is set to a color name.
Syntax
object.Construct(“CreateModule”)
object.Option(“Type”, “Text”)
object.Do() or object.DoOnce()
object.Construct(“ModifyModule”)
object.Option(“Module”, “Text”)
object.Option(“TextColor", “OptionValue”)
object.Do() or object.DoOnce()
Example
This example shows how to change the text color.
CommandApi.Construct ("ModifyModule")
CommandApi.Option ("Module", "Text")
CommandApi.Option ("TextColor", "Plum")
CommandApi.Do()
Used by: Text module
See Also