command /sil:
trigger:
if player has permission "chat.kilit":
loop 70 times:
broadcast " "
send "&bSohbet temizlendi." to all players
else:
message "&4&lHata &8» &7Bu komutu kullanabilmek için gereken yetkiye sahip değilsin."
Command /chat <text>:
permission: chat.kilit
trigger:
if arg 1 is "kapat":
set {kilitli} to true
broadcast "&b&m[------------&c&lSunucuAdı&b&m------------]"
broadcast " &4 Sohbet Kapatıldı ! "
broadcast "&b&m[------------&c&lSunucuAdı&b&m------------]"
else:
if arg 1 is "ac":
set {kilitli} to false
broadcast "&b&m[------------&c&lSunucuAdı&b&m------------]"
broadcast " &2 Sohbet Açıldı ! "
broadcast "&b&m[------------&c&lSunucuAdı&b&m------------]"