|
========================
|
|
## Description
|
|
|
|
|
|
## Description:
|
|
|
|
|
|
|
|
Sends a random message to the target player. Does nothing if the target
|
|
Sends a random message to the target player. Does nothing if the target
|
|
is not a player. No limit to how much messages can be added to the list.
|
|
is not a player. No limit to how much messages can be added to the list.
|
|
The special character # will cause this skill to fail.
|
|
The special character # will cause this skill to fail.
|
|
|
|
|
|
## Attributes:
|
|
|
|
|
|
|
|
| Attribute | Aliases | Description | Default Value |
|
|
## Attributes
|
|
|-----------|---------|---------------------------------------------------------------------------------------------------------------------------------------|---------------|
|
|
| Attribute | Aliases | Description | Default |
|
|
|
|
|-----------|-----------|----------------------------------------------------------------------|---------|
|
|
| messages | m | A list of message strings to send to the player, separated by commas. Each string must be in quotes. These strings can use variables. | |
|
|
| messages | m | A list of message strings to send to the player, separated by commas. Each string must be in quotes. These strings can use variables. | |
|
|
|
|
|
|
## Examples:
|
|
|
|
|
|
## Examples
|
|
|
|
This will each player n a 20 blocks radius one random message when the caster is interacted with.
|
|
```yaml
|
|
```yaml
|
|
Skills:
|
|
Skills:
|
|
- randommessage{
|
|
- randommessage{
|
|
m=
|
|
m=
|
|
"message 1",
|
|
"message 1",
|
|
"message 2",
|
|
"message 2",
|
|
"message 3";
|
|
"message 3";
|
|
} @PIR{r=20} ~onInteract
|
|
} @PIR{r=20} ~onInteract
|
|
|
|
```
|
|
Skills:
|
|
##
|
|
- randommessage{m="one test","not a test","test";} @PIR{r=20} ~onInteract
|
|
This will do the same as above, but this time sending 2 random messages per each player
|
|
|
|
```yaml
|
|
|
|
Skills:
|
|
|
|
- randommessage{m="one test","not a test","test";repeat=1} @PIR{r=20} ~onInteract
|
|
``` |
|
``` |
|
|
|
\ No newline at end of file |