Gelişmiş sohbet silme ve kapatma ve bir kişi bahsettiğinde ekranda çıkma skripti

JesterNetwork

Oduncu
Katılım
21 Ara 2020
Mesajlar
2
Beğeni
1
Puanları
30
Bugün sizlere gelişmiş sohbet silme ve kapatma ve bahsedince ekranda kimin bahsettiği skripti vereceğim.



8209



/Sil komudu sohbeti temizler.


8211


/Sohbet kapat komudu sohbeti kapatır.

8212


/Sohbet aç komutu sohbeti açar.

8213


Herhangi biri sizden bahsedince ekrana kimim bahsettiği çıkar.


options:
p: &e&lSKYBLOCK &8►

command /sil:
permission: sohbet.sil
permission message: &6&l SOHBET &8► &7Bunu yapmak için izniniz yok!
trigger:
loop 100 times:
send "" to all players
send " &8&m--------------------------------------------------" to all players
send " &8" to all players
send " &6&lSKYBLOCK" to all players
send " &8" to all players
send " &7Sunucunun sohbeti &e%player% &7tarafından &atemizlendi!" to all players
send " &7 Lütfen sohbeti kirletmeyiniz!" to all players
send " &8&m--------------------------------------------------" to all players

command /silgizli:
permission: cc.admin
permission message: &6&l SOHBET &8► &7Bunu yapmak için izniniz yok!
trigger:
loop 100 times:
send "" to all players
send " &8&m--------------------------------------------------" to all players
send " &8" to all players
send " &6&lSKYBLOCK" to all players
send " &8" to all players
send " &7Sunucunun sohbeti &eYetkili &7tarafından &atemizlendi!" to all players
send " &7 Lütfen sohbeti kirletmeyiniz!" to all players
send " &8&m--------------------------------------------------" to all players

# SOHBET KAPAMA

command /sohbet <text>:
permission: sohbet.kilit
permission message: &cHata &8► &7Bu komutu girmek için yetkiniz yok.
trigger:
if arg 1 is "kapat":
set {kilitli} to true
send "{@p} &cSohbet kapatıldı." to players
else:
if arg 1 is "aç":
set {kilitli} to false
send "{@p} &aSohbet açıldı." to players

on chat:
{kilitli} is true:
if player doesn't have permission "sohbet.bypass":
cancel event
send "{@p} &7Sohbet kapalı, sadece yetkiye sahip olanlar konuşabilir!" to player
else:
uncancel event

on chat:
loop all players:
if message contains "%loop-player%":
loop 1 times:
replace "%loop-player%" with "@%loop-player%" in message
play "NOTE_PLING" to loop-player at volume 2
play "NOTE_PLING" to player at volume 2
execute console command "tm msg %loop-player% &b&l%player%\n&fSizden bahsetti!"
 

Ekli dosyalar

Son düzenleme:
Üst