PoA_PRC8/module/nss/run_announcement.nss
Jaysyn904 128e7e59a4 Initial upload
Initial upload
2022-10-07 14:20:31 -04:00

14 lines
438 B
Plaintext

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();
}
}