Aantioch_Infernum/_module/nss/pass_userdef1.nss
Jaysyn904 22947ad4b6 Initial Upload
Initial Upload
2023-08-08 16:22:17 -04:00

33 lines
648 B
Plaintext

void main()
{
if (GetIsListening(OBJECT_SELF))
{
// Get what he heard
int nPattern = GetListenPatternNumber();
//When someone says the right password
if (nPattern == 2000) //Do this on password 1
{
object oTarget = GetObjectByTag("DEIMOSPASSDOOR");
SetLocked(oTarget, FALSE);
AssignCommand(oTarget, ActionOpenDoor(oTarget));
}
if (nPattern == 2001) //Do this on password 2
{
}
if (nPattern == 2002) //Do this on password 3
{
}
if (nPattern == 2003) //Do this on password 4
{
}
}
}