Files
HeroesStone_PRC8/_module/nss/mgtower_spawn.nss
Jaysyn904 1eefc84201 Initial Commit
Initial Commit.
2025-09-14 15:40:46 -04:00

17 lines
441 B
Plaintext

/*
| script: oc_echo
| author: gsmithcat@yahoo.com
| date: 6/28/02
| called: OnSpawn
| behavior: This script sets up an NPC to listen to anything said by a PC. The
| event handler for this is in oc_echo.
*/
void main()
{
//using "**" listens to all text
//the 777 is arbitrary and can be any number you like
SetListenPattern(OBJECT_SELF, "**", 777);
SetListening(OBJECT_SELF, TRUE); //be sure NPC is listening
}