PoA_PRC8/_module/nss/trigger_warn_dms.nss
Jaysyn904 37c79b6d57 Added DMFI
Added DMFI.  Set Diamond Golem appearance size to large.  Full compile.  Updated release archive.
2024-12-28 18:10:38 -05:00

18 lines
503 B
Plaintext

// trigger_warn_dms
// grabs the name of the entering object (usually a PC) and the area name
// and sends a message on the DM channel containing the information
// To use, place in an Area OnEnter handler or paint the custom "Trigger_Warn"
void main()
{
object oEntering=GetEnteringObject();
string sEnteringName=GetName(oEntering);
object oArea = GetArea(oEntering);
string sAreaName = GetName(oArea);
string sTellMe = sEnteringName + " just entered " + sAreaName;
SendMessageToAllDMs(sTellMe);
}