PoA_PRC8/_module/nss/run_announcement.nss

14 lines
438 B
Plaintext
Raw Permalink Normal View History

2022-10-07 14:20:31 -04:00
void main()
{
object oPC = GetFirstPC();
string sAnnouncement = GetLocalString(GetModule(),"Announcement");
string sAuthor = GetLocalString(GetModule(),"Announcement_Author");
while(GetIsObjectValid(oPC))
{
if(GetIsDM(oPC))
SendMessageToPC(oPC,"Module wide announcement being sent, created by DM " + sAuthor + ".");
SendMessageToPC(oPC,sAnnouncement);
oPC = GetNextPC();
}
}