J'espère que ça fonctionne, désolé si c'est pas très opti :x J'avais pas le temsp d'opti à fond, si t'as une erreur dit la
options:
msglire: lol
vousavezenvoyeetc: VOus avez envoyez, ce que tu veux à dire quand il a envoyyé le bordel
command /message <player> <text>:
trigger:
if arg 1 is not player:
if {msgattente.%arg 1%} is not set:
send "{@vousavezenvoyeetc}" to player
give 1 paper named "&aMessage de &b%player%" with lore "1" to arg 1
set {msgattente.%arg 1%} to 1
set {msg.%{msgattente.%arg 1%}%.%arg 1%} to arg 2
add player to {msgattente2.%arg 1%::*}
else:
send "{@vousavezenvoyeetc}" to player
add 1 to {msgattente.%arg 1%}
give 1 paper named "&aMessage de &b%player%" with lore "%{msgattente.%arg 1%}%" to arg 1
set {msgattente.%arg 1%} to 1
on click with paper:
set {_t.%player%} to 0
loop {msgattente2.%arg 1%::*}:
loop {msgattente.%arg 1%}:
if player's tool is a paper named "&aMessage de &b%loop-value%" with lore "%{_t.%player%}%":
send "{@msglire} : %{msg.%{msgattente.%player%}%.%player%}%"
else:
add 1 to {_t.%player%}