I think you can create an attribute with a text style, so if your text style is underlined this should make the attrib underlined? I use the ATTDEF command.
Also not sure what you are doing with this. If you precede the attribute value with %%U it may force it to underline. I use this to make underlined pins in connectors.