Selected¶
Returns a randomly selected entry from the provided list.
Placeholder Patterns¶
%randomcolor_selected_<options>%
Options¶
options¶
| Type | Required | Default |
|---|---|---|
| String | Yes |
Comma-separated list of color and formatting codes.
Each entry should only be the code without either & or § before it.
Example: %randomcolor_selected_a,b,c,d% would return either §a, §b, §c or §d
Possible color codes¶
| Code | Color | Returned Value | Preview |
|---|---|---|---|
0 |
Black | §0 |
|
1 |
Dark Blue | §1 |
|
2 |
Dark Green | §2 |
|
3 |
Dark Aqua | §3 |
|
4 |
Dark Red | §4 |
|
5 |
Dark Purple | §5 |
|
6 |
Gold | §6 |
|
7 |
Gray | §7 |
|
8 |
Dark Gray | §8 |
|
9 |
Blue | §9 |
|
a |
Green | §a |
|
b |
Aqua | §b |
|
c |
Red | §c |
|
d |
Light Purple | §d |
|
e |
Yellow | §e |
|
f |
White | §f |
Possible formatting codes¶
| Code | Type | Returned Value | Preview |
|---|---|---|---|
k |
Obfuscated | §k |
(No preview possible) |
l |
Bold | §l |
Bold |
m |
Strikethrough | §m |
|
n |
Underlined | §n |
Underlined |
o |
Italic | §o |
Italic |
Last update:
22. March 2025 ()