|
Mechanic: ActionMessage
|
|
|
|
=======================
|
|
=======================
|
|
|
|
|
|
![](http://fs5.directupload.net/images/160306/zswobuo8.jpg)
|
|
![](http://fs5.directupload.net/images/160306/zswobuo8.jpg)
|
|
|
|
|
|
|
|
## Description:
|
|
|
|
|
|
Sends a message to the target player's action bar.
|
|
Sends a message to the target player's action bar.
|
|
|
|
|
|
[Color codes](/databases/misc/colorcodes) and
|
|
[Color codes](/databases/misc/colorcodes) and
|
... | @@ -14,17 +15,17 @@ post it in the bugs/suggestion-subforum! |
... | @@ -14,17 +15,17 @@ post it in the bugs/suggestion-subforum! |
|
Note: Versions 2.3.0 onwards- The @trigger targeter is buggy for
|
|
Note: Versions 2.3.0 onwards- The @trigger targeter is buggy for
|
|
~onAttack and ~onDamaged. Don't report it as a bug, we know.
|
|
~onAttack and ~onDamaged. Don't report it as a bug, we know.
|
|
|
|
|
|
Attributes
|
|
## Attributes:
|
|
----------
|
|
|
|
|
|
|
|
| Attribute | Aliases | Description | Default |
|
|
| Attribute | Aliases | Description | Default |
|
|
|-----------|---------|----------------------------------------------------|---------|
|
|
|-----------|---------|----------------------------------------------------|---------|
|
|
| message | m | The message to send. Must be surrounded by quotes. | |
|
|
| message | m | The message to send. Must be surrounded by quotes. | |
|
|
|
|
|
|
Examples
|
|
## Examples:
|
|
--------
|
|
|
|
|
|
|
|
Skills:
|
|
```yaml
|
|
- actionmessage{m="<mob.name>&f is casting a spell!"} @PlayersInRadius{r=30}
|
|
Skills:
|
|
- actionmessage{m="&lHello! &cI'm &athe &9&lactionmessage-bar&r! &e:)"} @trigger ~onInteract
|
|
- actionmessage{m="<mob.name>&f is casting a spell!"} @PlayersInRadius{r=30}
|
|
- am{m="<mob.name>&f is using the *skill alias!*"} @PlayersInRadius{r=30} |
|
- actionmessage{m="&lHello! &cI'm &athe &9&lactionmessage-bar&r! &e:)"} @trigger ~onInteract
|
|
\ No newline at end of file |
|
- am{m="<mob.name>&f is using the *skill alias!*"} @PlayersInRadius{r=30}
|
|
|
|
``` |
|
|
|
\ No newline at end of file |