/// send a message #include "header_sounds" #include "x3_inc_string" void main() { object oPC=GetEnteringObject(); if (GetIsPC(oPC)==TRUE) { string sMsg=StringToRGBString(GetName(OBJECT_SELF),"477"); SendMessageToPC(oPC,sMsg); fnSoundAlert(); } }