options:
Prefix: &c[&6SkyBlock&c]
Title: &bRegular&fCraft
command /sohbeti [<text>]:
permission: RC-S.Admin
permission message: {@Prefix} &cBu komutu KullanaBilmek Için Yetkiniz Yoktur!
trigger:
if arg 1 is "kapat":
set {kilit} to true
execute console command "/tm bc {@Title}\n&d%player% &cSohbeti Kapatmıştır!"
message "{@Prefix} &d%player% &cSohbeti Kapatmıştır!" to all players
if arg 1 is "ac" or "aç":
set {kilit} to false
execute console command "/tm bc {@Title}\n&d%player% &aSohbeti Açmıştır!"
message "{@Prefix} &d%player% &aSohbeti Açmıştır!" to all players
if arg 1 is "temizle":
loop 200 times:
send "" to all players
execute console command "/tm bc {@Title}\n&6Sohbet &d%player% &6Tarafından Temizlenmiştir!"
message "{@Prefix} &6Sohbet &d%player% &6Tarafından Temizlenmiştir!" to all players
on chat:
{kilit} is true:
if player doesn't have permission "Sohbet.Konuşma":
cancel event
execute console command "/tm msg %player% {@Title}\n&cSohbet Geçici Süreliğine Kapatılmıştır!"
message "{@Prefix} &cSohbet Geçici Süreliğine Kapatılmıştır!"
command /sohbetimitemizle:
trigger:
loop 200 times:
send "" to players
execute console command "/tm msg %player% {@Title}\n&6Sohbetiniz &aBaşarıyla &6Temizlenmiştir!"
message "{@Prefix} &6Sohbetiniz &aBaşarıyla &6Temizlenmiştir!" to player