PGCC_PRC8/_module/nss/prc_pwonspawn.nss

21 lines
593 B
Plaintext
Raw Permalink Normal View History

//:://////////////////////////////////////////////////
//:: prc_pwonspawn
//::
//:://////////////////////////////////////////////////
/*
Catch all for onSpawn event script.
*/
//:://////////////////////////////////////////////////
#include "dmfi_dmw_inc"
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
}