Module commit
Module commit.
This commit is contained in:
24
_module/nss/prc_pwonspawn.nss
Normal file
24
_module/nss/prc_pwonspawn.nss
Normal file
@@ -0,0 +1,24 @@
|
||||
//:://////////////////////////////////////////////////
|
||||
//:: prc_pwonspawn.nss
|
||||
/*
|
||||
onSpawn catch-all
|
||||
*/
|
||||
//:://////////////////////////////////////////////////
|
||||
|
||||
//DMFI CODE ADDITIONS BEGIN HERE
|
||||
#include "dmfi_dmw_inc"
|
||||
//DMFI CODE ADDITIONS END HERE
|
||||
|
||||
void main()
|
||||
{
|
||||
|
||||
//DMFI CODE ADDITIONS BEGIN HERE
|
||||
if ((DMFI_LISTENING_GLOBAL) || (GetLocalInt(OBJECT_SELF, "DMFI_LISTEN")==1))
|
||||
{
|
||||
SetListening(OBJECT_SELF, TRUE);
|
||||
SetListenPattern(OBJECT_SELF, "**", 20600);
|
||||
SetLocalInt(OBJECT_SELF, "hls_Listening", 1); //listen to all text
|
||||
}
|
||||
//DMFI CODE ADDITIONS END HERE
|
||||
|
||||
}
|
Reference in New Issue
Block a user