Amon_PRC8/_module/nss/killgate.nss
Jaysyn904 c5cffc37af Initial Commit
Initial Commit [v1.01]
2025-04-03 19:00:46 -04:00

18 lines
322 B
Plaintext

void main()
{
ExportAllCharacters();
int nIncrement = GetLocalInt(OBJECT_SELF, "KillGate1");
int nTimeSet = nIncrement + 1;
SetLocalInt(OBJECT_SELF, "KillGate1", nTimeSet);
if (GetLocalInt(OBJECT_SELF, "KillGate1") == 10)
{
DestroyObject(OBJECT_SELF);
}
}