options:
p: &7Skyblock &e»
noperm: &7Skyblock &e» &cBu komutu kullanabilmek için yeterli yetkin yok!
command /mute [<offlineplayer>] [<text>] [<text>]:
trigger:
player has permission "mute.mute":
if arg 1 is not set:
send "&aKullanım: &c/Mute <İsim> <Süre> <Sebep>" to player
if arg 1 is set:
if arg 2 is set:
if arg 3 is set:
set {_sure} to arg-2
if arg-2 contains "10y" or "30y":
replace all "10y" with "Sınırsız" in {_sure}
replace all "30y" with "Sınırsız" in {_sure}
if arg-2 contains "m":
replace all "m" with " Dakika" in {_sure}
if arg-2 contains "h":
replace all "h" with " Saat" in {_sure}
if arg-2 contains "y":
replace all "y" with " Yıl" in {_sure}
if arg-2 contains "w":
replace all "w" with " Hafta" in {_sure}
if arg-2 contains "s":
replace all "s" with " Saniye" in {_sure}
if arg-2 contains "mo":
replace all "mo" with " Ay" in {_sure}
if arg-2 contains "d":
replace all "d" with " Gün" in {_sure}
send "&7&m--------&r &e« {@p} &7&m--------" to all players
send "&r" to all players
send "&aSusturulan Oyuncu: &f%arg 1%" to all players
send "&aSusturan Kişi: &r%player's display name%" to all players
send "&aSüre: &f%{_sure}%" to all players
send "&aSebep: &f%arg 3%" to all players
send "&r" to all players
send "&7&m--------&r &e« {@p} &7&m--------" to all players
execute console command "essentials:mute %arg 1% %arg 2%"
log "%arg 1% adlı oyuncu %executor% tarafından %arg 3% sebebinden %{_sure}% süre susturuldu." to "mute.log"