Ok ds :/ sinon j'ai ca : Mais je suis pas sur de moi :D
options:
prefix: &7[&6GlobalChat&7]
command /chatglobal <text=help> [<text>]:
trigger:
if arg 1 is "off":
send "{@prefix} &cTu viens de desactiver le chat !"
set {chatglobal.%player%} to false
if arg 1 is "on":
send "{@prefix} &aTu viens d'activer le chat !"
set {chatglobal.%player%} to true
if arg 1 is "help":
send "&a-&4=&a-&4=&a-&4={@prefix}&a-&4=&a-&4=&a-&4="
send ""
send "&7->&a/chatglobal off <pour desactiver le chat global>"
send "&7->&a/chatglobal on <pour activer le chat global>"
send ""
send "&a-&4=&a-&4=&a-&4={@prefix}&a-&4=&a-&4=&a-&4="
if arg 1 is "world":
set {worldchat::%arg 2%}
send "tu a bien mis le monde %arg 2%"
on chat:
if player is in world "{worldchat::*}":
if {chatglobal.%player%} is false:
cancel event