Changed folder name.
Changed folder name.
This commit is contained in:
13
_module/nss/run_announcement.nss
Normal file
13
_module/nss/run_announcement.nss
Normal file
@@ -0,0 +1,13 @@
|
||||
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();
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user