Aantioch_Infernum/_module/nss/pass_onspawn2.nss

14 lines
483 B
Plaintext
Raw Permalink Normal View History

2023-08-08 16:22:17 -04:00
#include "NW_O2_CONINCLUDE"
#include "NW_I0_GENERIC"
void main()
{
SetSpawnInCondition(NW_FLAG_ON_DIALOGUE_EVENT); //OPTIONAL BEHAVIOR - Fire User Defined Event 1004
SetListenPattern(OBJECT_SELF, "pass", 2000); // Password 1
SetListenPattern(OBJECT_SELF, "pass", 2001); // Password 2
SetListenPattern(OBJECT_SELF, "the letter e", 2002); // Password 3
SetListenPattern(OBJECT_SELF, "pass", 2003); // Password 4
SetListening(OBJECT_SELF,TRUE);
}