Sol Reklam

Skript Paylaşımı Engelleme + Birisi sana küfürmü ediyor? Ama Oyuncusun ?

Durum
Mesaj gönderimine kapalı.

Muscing

Birisi mi Spawnlandı?
Katılım
23 Mayıs 2016
Mesajlar
5
Elmaslar
0
Puanlar
0
Merhaba
Ben Muscing;
Bugün sizlere kendi yaptığım Ignore yani Engelleme sistemini tanıtacağım.
Biri sana küfür ediyor? ama sen oyuncusun mute yetkin yok!
O oyuncunun sana yazdıklarını görmek istemiyorsan
Dogru yerdesin.

Komutlar;
/engelle oyuncuadı > O Oyuncuyu Engeller!

Kod;
PHP:
############################################################################
#                                                                          #
#   ##     ##  ##     ##   ######    ######   ####  ##    ##   ######      #
#   ###   ###  ##     ##  ##    ##  ##    ##   ##   ###   ##  ##    ##     #
#   #### ####  ##     ##  ##        ##         ##   ####  ##  ##           #
#   ## ### ##  ##     ##   ######   ##         ##   ## ## ##  ##   ####    #
#   ##     ##  ##     ##        ##  ##         ##   ##  ####  ##    ##     #
#   ##     ##  ##     ##  ##    ##  ##    ##   ##   ##   ###  ##    ##     #
#   ##     ##   #######    ######    ######   ####  ##    ##   ######      #
#                                                                          #
############################################################################
#                                  SKRIPT                                  #
#                             Oyuncu Engellemek                            #
############################################################################[/FONT]

options:
    chatformat: %colored player's prefix% &7%colored player's display name% &8> &a%colored message%

on chat:
    if "{@chatformat}" is not "None":
        cancel the event
        loop all players:
            if {ignore::%loop-player%::*} contains the player's uuid:
                stop
            else:
                send "{@chatformat}" to loop-player
    else:
        loop all players:
            if {ignore::%loop-player%::*} contains the player's uuid:
                cancel the event

command /engelle [<player>]:
    description: Oyuncuyu Engellemek
    usage: /engelle [oyuncu]
    trigger:
        if arg 1 is not set:
            send "&8[&aEngelle&8] &6Başarıyla Engelledin: %{ignore::%uuid of player%::*}%"
            stop
        if arg 1 is set:
            if arg 1 is "%player%":
                send "&8[&aEngelle&8] &6Kendini Engelliyemezsin!"
                stop
            else:
                if {ignore::%uuid of player%::*} contains arg 1:
                    clear {ignore::%uuid of player%::%arg 1%}
                    send "&8[&aEngelle&8] &6Artık sana yazdıkları gelmeyecektir. %arg 1%."
                    stop
                else:
                    set {ignore::%uuid of player%::%arg 1%} to arg 1
                    send "&8[&aEngelle&8] &6Şuanda Engellendi! %arg 1%."
                    stop
 
Durum
Mesaj gönderimine kapalı.
Neden altınlarını Discord sunucumuzda kazmıyorsun? TIKLA VE KATIL!
Yukarı