ENTMOD is the key, but this is easier (since you used a command to generate a text object):
(command ".text" "c" pause 0.0 pause)
(command ".chprop" "Last" "Color" "5" "")
(command ".text" "" pause)
The first line will change to the desired color, the second text line (and subsequent lines) will inherit the properties of the first line.
I use this a lot when scripting the symbol library and have corresponding 2-line text...
The above is only an example.
You can also send the last object to a layer that has the properties you are desiring...
>
>Is there a way to use word wrap when posting?
>
Switch to Rich Text.
I hope this is what you are looking for...
as there is no attachment to your posting.
Scot-65
A gift of extraordinary Common Sense does not require an Acronym Suffix to be added to my given name.