Staff Pick: Chat Alert
By
mcmonkeyCreated: 2014/11/19 17:30:15 UTC-08:00 (10 years and 35 days ago)
Edited: 2015/02/25 12:54:10 UTC-08:00 (9 years and 302 days ago)
Likes: 1
Staff pick as of: 2014/11/19 17:30:20 UTC-08:00 (10 years and 35 days ago)
Denizen Version: 0.9.6
Script Version: 1.0
Description:
Makes a gentle noise whenever someone chats, so you're more likely to notice it, particularly if you often tab out of your minecraft window.
Download script |
View raw script# +--------------------
# |
# | C h a t A l e r t
# |
# | Makes a little noise when somebody speaks.
#
# @author mcmonkey
# @date 2014 / 11 / 19
# @build 1534
# @version 1.1
#
# Installation:
# Just put the script in your scripts folder and reload.
#
# Usage:
# Just say someone's name, everything is automatic.
# Type /alertme or /chatalert to opt out of chat noises.
#
#
# ---------------------------- END HEADER ----------------------------
chat_alert_world:
type: world
debug: false
events:
on player chats:
- playsound <server.list_online_players.exclude[<server.get_online_players_flagged[chatalert_optout]>]> sound:NOTE_STICKS
chat_alert_command:
type: command
debug: false
name: chatalert
aliases:
- alertme
description: Sets whether you get chat alert noises.
usage: /chatalert
script:
- if <player.flag[chatalert_optout]||false> {
- flag player chatalert_optout:!
- narrate "<&b>Now receiving chat alert noises."
}
else {
- flag player chatalert_optout:true
- narrate "<&c>No longer receiving chat alert noises."
}
View History