|
Um, why does this question arise? No need to faff around reading titles, looking for pixelated tits or listening to voices, the information is out there and accessible to the UI.
The variable you want is, unsurprisingly, UnitSex, as in this old mage polymorph macro
/script if UnitSex("target")==1 then g="female " else g="male " end;s="Sheeping "..g..UnitLevel("target").." %T";c="say";if GetNumRaidMembers()>0 then c="raid" elseif GetNumPartyMembers()>0 then c="party" end;SendChatMessage(s,c)
/cast Polymorph(Rank 4)
Not sure what the current syntax is, but the variable should still be there and accessible.
|