What is itThis is a quick script I randomly decided to make yesterday. Any player can type "!911" into chat with a report that all players with specific jobs will see in a notification.
(I will explain the command better later in the post). The notification window will be shown in a DFrame on the right side of the screen of users if their job is allowed to see it.
Commands:Chat commands: "!911" or "/911": Arguments: 1
Example: "!911 bad stuff is happening at spawn"
Example: "/911 my house is being robbed"
Notes:
1. There is a maximum of 32 characters for the "report/reason" (first argument)
2. If a reason/report is not supplied, the report will not be submitted
To Do:Nothing ATM (feel free to suggest something that I may have missed)
Known Bugs:Nothing ATM (feel free to reply to this thread letting me know about bugs for me to fix)
Pictures:Notification window + chat command:
http://i.imgur.com/8sZvqxZ.jpgWhat is shown in chat upon clicking "Respond":
http://i.imgur.com/CEyHv60.pngThe yellow message is only shown to the person who clicked "Respond"
The blue and white message is shown to all users who are able to see the notification window
Permissions/Configuration:There is one configuration file
All you need to do there is list the jobs that you want to be able to see/ignore/respond to 911 reports
Changelog:1.2 (9/1/15):
- Fixed bug that was created upon updating to version 1.1 --all custom commands "should" work now
1.1 (8/30/2015):
- Added line in config file to set the chat command
1.0 (6/27/2015):
- Initial release
Download:The addon file is attached to this post as a .zip file
I think you need to be signed in to download it?