Initial Upload
Initial Upload
This commit is contained in:
33
_module/nss/pass_userdef2.nss
Normal file
33
_module/nss/pass_userdef2.nss
Normal file
@@ -0,0 +1,33 @@
|
||||
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
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
if (nPattern == 2001) //Do this on password 2
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
if (nPattern == 2002) //Do this on password 3
|
||||
{
|
||||
if(GetLocalInt(OBJECT_SELF,"drow_priest_talk")==1)
|
||||
{
|
||||
ActionStartConversation(OBJECT_SELF,"drow_priestess_e",TRUE,FALSE);
|
||||
}
|
||||
}
|
||||
|
||||
if (nPattern == 2003) //Do this on password 4
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user