ajout title in broadcast
This commit is contained in:
parent
6761765174
commit
d6857e96a3
2 changed files with 2 additions and 0 deletions
|
@ -4,3 +4,4 @@ simple commands in skript for my private minecraft server (in french)
|
||||||
## versions
|
## versions
|
||||||
- [Skript](https://github.com/SkriptLang/Skript) 2.5.3 (latest current version)
|
- [Skript](https://github.com/SkriptLang/Skript) 2.5.3 (latest current version)
|
||||||
- [SkBee](https://github.com/ShaneBeee/SkBee) 1.10.2 (for the completion suggest)
|
- [SkBee](https://github.com/ShaneBeee/SkBee) 1.10.2 (for the completion suggest)
|
||||||
|
- [skRayFall](https://dev.bukkit.org/projects/skrayfall) 1.9.25 (for the title in broadcast)
|
||||||
|
|
1
main.sk
1
main.sk
|
@ -20,6 +20,7 @@ command broadcast [<text>]:
|
||||||
if player is op:
|
if player is op:
|
||||||
if arg 1 is set:
|
if arg 1 is set:
|
||||||
broadcast "&a&lBREAKING NEWS &7» &6%arg 1%"
|
broadcast "&a&lBREAKING NEWS &7» &6%arg 1%"
|
||||||
|
send all players title "&a&lBREAKING NEWS" with subtitle "&6%arg 1%" for 5 seconds
|
||||||
else:
|
else:
|
||||||
send "&4Vous n'avez pas spécifier de texte."
|
send "&4Vous n'avez pas spécifier de texte."
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Add table
Reference in a new issue