ChatAnnouncements

ChatAnnouncements allows you to make announcements to everyone else in chat. By default only chat moderators and above can do this, though you can set a variable to allow anyone to use it. It must be imported in the wiki's MediaWiki:Chat.js page or it will not work for anyone else.

Usage
To send an announcement, you must start each message with "/announce" with the message going after the first space. If the message is not started this way, it will not be parsed.

Installing
To install this script add the following to your wiki's MediaWiki:Chat.js:

If you'd like to make the script available to everyone, add the following above the import statement: