There is no %myname% type tag however this could be done via a textsearch of the incoming message using javascript.
Something like incomingTextVar.search(/myName/i) should find it. However there's no way to set what YOUR name is, until you send a message (at least in Adium that is the case) (see the vars available and when they are evaluated at http://trac.adium.im/wiki/CreatingMessageStyles) so, yes, it's possible to do this with the theme, would I recommend it? No. It would be a lot of work for something that should be handled by Empathy and passed down to the theme.
There is no %myname% type tag however this could be done via a textsearch of the incoming message using javascript.
Something like incomingTextVar .search( /myName/ i) should find it. However there's no way to set what YOUR name is, until you send a message (at least in Adium that is the case) (see the vars available and when they are evaluated at http:// trac.adium. im/wiki/ CreatingMessage Styles) so, yes, it's possible to do this with the theme, would I recommend it? No. It would be a lot of work for something that should be handled by Empathy and passed down to the theme.