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

16 lines
661 B
Plaintext
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

///MOD Visits Counter By: Zebr@He@d\\\\
void main()
{
object oPC = GetLastUsedBy();
object oMod = GetModule();
string oPCPLAYER = GetPCPlayerName(oPC);
string oPCName = GetCampaignString("ENTER2","PCNAME2",oMod);
string PCPLAYER = GetCampaignString("ENTER2","PCPLAYER",oMod);
int PCNUMBER = GetCampaignInt("ENTER2","NUMBER2",oMod);
string PCNUMBER2 = IntToString(PCNUMBER);
ApplyEffectToObject(DURATION_TYPE_TEMPORARY,EffectVisualEffect(VFX_DUR_PROT_EPIC_ARMOR_2),OBJECT_SELF,6.0);
AssignCommand(OBJECT_SELF,SpeakString("<cööö> There Has Been <cÜ~>"+PCNUMBER2+"<cööö> Visits to ==PRC World-Extreme== and<cÜ~> "+oPCName+"<cööö> was the Last to Enter."));
}