I think on TE when you create a character the first one appaers at /accounts/ your account.ini and the second and third character appaers under /banks account.ini, i use TES so i'm just guessing, correct me if i'm wrong..
just place this at the buttom of your main.txt and if you want to use it you could say
Dim gender
gender = getplayersex(index)
If gender = 0 then
---
Else
---
End if
Function GetPlayerSex (index)
DIM CHNUM
DIM GEN
CHNUM = GetPlayerCharNum(index)
If CHNUM = 1 then
GEN = GetVar("accounts\" & GetPlayerLogin(index) & ".ini", "CHAR" & GetPlayerCharNum(index), "Sex")
ElseIF CHNUM >= 2 then
GEN = GetVar("Banks\" & GetPlayerLogin(index) & ".ini", "CHAR" & GetPlayerCharNum(index), "Sex")
Call PlayerMsg(index, "SEX " & GEN, 15)
End if
GetPlayerSex = GEN
End Function
i dont want credit im starting to learn this kind of stuff so.. ok cool.