message to everyone
This commit is contained in:
parent
2692a2980a
commit
a6794b0b3d
2 changed files with 6 additions and 3 deletions
|
@ -35,3 +35,7 @@ function pluriel(int: number) :: text:
|
||||||
set {_pluriel} to ""
|
set {_pluriel} to ""
|
||||||
set {_pluriel} to "s" if {_int} > 1
|
set {_pluriel} to "s" if {_int} > 1
|
||||||
return {_pluriel}
|
return {_pluriel}
|
||||||
|
|
||||||
|
function annonceParty(message: text):
|
||||||
|
loop {party.list::*}:
|
||||||
|
send {_message} to loop-value
|
||||||
|
|
|
@ -96,8 +96,7 @@ every 0.5 second in "world": # pose du bloc et téléporatation
|
||||||
if {_niceJump} is true:
|
if {_niceJump} is true:
|
||||||
set block at loop-value to gold block
|
set block at loop-value to gold block
|
||||||
set {_player} to userOrNick(loop-value)
|
set {_player} to userOrNick(loop-value)
|
||||||
loop {party.list::*}:
|
annonceParty("&a&l%{_player}%&r&e a réalisé un dé à coudre !")
|
||||||
send "&a&l%{_player}%&r&e a réalisé un dé à coudre !" to loop-value-2
|
|
||||||
else:
|
else:
|
||||||
delete {thimble.dead.%uuid of loop-value%}
|
delete {thimble.dead.%uuid of loop-value%}
|
||||||
|
|
||||||
|
@ -119,7 +118,7 @@ on death:
|
||||||
add 1 to {_finPartie}
|
add 1 to {_finPartie}
|
||||||
else:
|
else:
|
||||||
set {_player} to userOrNick(loop-value)
|
set {_player} to userOrNick(loop-value)
|
||||||
send "&c%{_player}%&b a été éliminé !" to loop-value
|
annonceParty("&c%{_player}%&b a été éliminé !")
|
||||||
if {_finPartie} is 1 or 0:
|
if {_finPartie} is 1 or 0:
|
||||||
loop {party.list::*}:
|
loop {party.list::*}:
|
||||||
if {_gagnant} is set:
|
if {_gagnant} is set:
|
||||||
|
|
Loading…
Reference in a new issue