Bu Skript'i " muho997 yani ByFatih" yapmıştır.
Ben Sadece azıcık düzenledim fakat skript ByFatih'e ait :)
Ben Sadece azıcık düzenledim fakat skript ByFatih'e ait :)
Kod:
command /mute <player> <number> <text>:
trigger:
if arg-1 is op:
if arg-2 is set:
if arg-3 is set:
if {muteli.%arg-1%} isn't set:
if {op.%arg-1%} isn't set:
set {muteli.%arg-1%} to "1"
set {mute.%arg-1%} to arg-2
send "&8&m-------------------------" to all players
send "&8» &aSusturan&8; &7%player%" to all players
send "&8» &aSusturulan&8; &7%arg-1%" to all players
send "&8» &aSure &8; &7%arg-2%" to all players
send "&8» &aSebep &8; &7%arg-3%" to all players
send "&8&m-------------------------" to all players
set {sebep.%arg-1%} to arg-3
else:
send "&cBu kisiyi susturamassin!"
else:
send "&cBu kisi zaten susturulmus!" to player
command /unmute <player>:
trigger:
if arg-1 is set:
if {muteli.%arg-1%} isn't set:
send "&c%arg-1% adli kisi muteli degil!" to player
else:
delete {muteli.%arg-1%}
set {mute.%arg-1%} to "0"
send "&a%arg-1% &cmute cezasi kaldirildi." to player
send "&8» &7Susturma cezaniz bitti artik konusabilirsiniz." to arg-1
every 1 second:
loop all players:
if {mute.%loop-player%} is bigger than 1:
remove 1 from {mute.%loop-player%}
else:
if {mute.%loop-player%} is equal to 1:
remove 1 from {mute.%loop-player%}
set {mutemsj.%loop-player%} to "1"
delete {muteli.%loop-player%}
if {muteli.%loop-player%} isn't set:
if {mutemsj.%loop-player%} is "1":
set {mutemsj.%loop-player%} to "0"
send "&8» &7Susturma cezaniz bitti artik konusabilirsiniz." to loop-player
wait 2 tick
on chat:
if {muteli.%player%} is set:
cancel event
loop 7 times:
send "&f" to player
message "&cSusturuldun!" to player
send "&cSebep&8; &7%{sebep.%player%}% " to player
send "&cKalan sure&8; &7%{mute.%player%}%" to player
on command:
command is "m" or "tell" or "msg" or "pm" or "f tag" or "w"
if {muteli.%player%} is "1":
send "&cSusturma cezaniz bitmeden bu komutu kullanamassiniz!"
cancel event
command /mutekapat:
trigger:
set {op.%player%} to "1"
send "&cArtik yetkililer size mute cezasi veremez." to player
command /muteac:
trigger:
delete {op.%player%}
send "&cArtik yetkililer size mute cezasi verebilecek." to player