14 lines
438 B
Plaintext
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();
|
|
}
|
|
}
|