- Katılım
- 26 Haz 2022
- Mesajlar
- 15
- Beğeni
- 1
- Puanları
- 10
Permission: sk.admin
Sohbet Silme Komudu: /sohbetsil
Sohbet Kapatma/Açma Komudu: /sohbet <aç/kapat> <sebep>
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Sohbet Silme Komudu: /sohbetsil
Sohbet Kapatma/Açma Komudu: /sohbet <aç/kapat> <sebep>
Kod:
command /sohbetsil:
permission: sk.admin
permission message: &cYetkin Yok!
trigger:
loop 180 times:
broadcast ""
broadcast "&e&l&m-------&0 &6&lSOHBET TEMİZLEME&0 &e&l&m--------"
broadcast ""
broadcast "&7 ► &eSohbet Yetkili &b%player% &eTarafından Temizlendi "
broadcast "&7 ► &eSohbetde uygunsuz davranışlar sergilemeyin! "
broadcast ""
broadcast "&e&l&m-------&0 &6&lSOHBET TEMİZLEME&0 &e&l&m---------"
command /sohbet [<text>] [<text>]:
permission: sk.admin
permission message: &cYetkin Yok!
trigger:
if arg-2 is not set:
set {_p} to "Belirtilmedi."
else:
set {_p} to arg-2
if arg-1 is "kapat":
if {chat.kapama} is not set:
set {chat.kapama} to 0
broadcast "&e&l&m-------&0 &6&lSunucuIsmi&0 &e&l&m--------"
broadcast ""
broadcast "&7 ► &eSohbet Yetkili &b%player% &eTarafından Kapatıldı "
broadcast "&7 ► &eSohbet kapatılma sebebi: &c%{_p}%! "
broadcast ""
broadcast "&e&l&m-------&0 &6&lSunucuIsmi&0 &e&l&m---------"
else:
send "&6&lSOHBET &7» &cSohbet zaten kapatılmış!" to player
if arg-1 is "aç":
if {chat.kapama} is set:
delete {chat.kapama}
broadcast "&e&l&m-------&0 &6&lSunucuIsmi&0 &e&l&m--------"
broadcast ""
broadcast "&7 ► &eSohbet Yetkili &b%player% &eTarafından Açıldı "
broadcast "&7 ► &eSohbetde uygunsuz davranışlar sergilemeyin! "
broadcast ""
broadcast "&e&l&m-------&0 &6&lSunucuIsmi&0 &e&l&m---------"
else:
send "&6&lSOHBET &7» &cSohbet zaten açık!" to player
on chat:
if {chat.kapama} is set:
if player doesn't have permission "sk.admin":
cancel event
send "&6&lSOHBET &7» &cSohbet bir yetkili tarafından kapatıldı şuan yazamazsınız!" to player