NWNDS/nwnds_module/dante_db.nss
Jaysyn904 de24f81734 Added NWN Dark Sun module contents
Added NWN Dark Sun module contents.
2021-07-12 21:24:46 -04:00

16 lines
486 B
Plaintext

string GetCampaignVariableName(object oPlayer)
{
string sAccountName = GetPCPlayerName(oPlayer);
string sCDKey = GetPCPublicCDKey(oPlayer);
string sName = GetName(oPlayer);
string sVariable = sCDKey;
sVariable += IntToString(GetStringLength(sAccountName));
sVariable += GetStringLeft(sAccountName, 6);
sVariable += IntToString(GetStringLength(sName));
sVariable += GetStringLeft(sName, 6);
return GetStringUpperCase(sVariable);
}
//void main () {}