PWE_PRC8/_module/nss/_visit_counter_e.nss
Jaysyn904 ee1dc35889 Initial Commit
Initial Commit
2025-04-03 10:29:41 -04:00

16 lines
367 B
Plaintext

void main()
{
object PC = GetEnteringObject();
if(GetIsPC(PC))
{
object oMod = GetModule();
int D = GetCampaignInt("ENTER2","NUMBER2",oMod);
int E=(D+1);
string PCPLAYER = GetPCPlayerName(PC);
string GN = GetName(PC);
SetCampaignString("ENTER2","PCNAME2",GN,oMod);
SetCampaignInt("ENTER2","NUMBER2", E,oMod);
SetCampaignString("ENTER2","PCPLAYER",PCPLAYER,oMod);
}
}