Çözüldü Skript'ye bir kaç ekleme

Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

HadronNetwork

Zombi Geldi, Beni Yedi
Katılım
29 Aralık 2018
Mesajlar
236
Elmaslar
38
Puan
6.420
Minecraft
TheMurderK
Facebook
YAKINDA
X
YAKINDA

Discord:

YAKINDA

Kod:
command /tpa [<offlineplayer>]:
    trigger:
        if arg-1 is set:
            if arg is online:
                if {tptoggle::%arg 1%} is set:
                    send "&6SkyBlock &7&l>&R %arg 1% &4ışınlanma isteklerini kabul etmiyor." to player
                else:
                    if {tptalep::%arg 1%} is set:
                        send "&6SkyBlock &7&l> &eBu kişi şuan başka bir ışınlanma isteğiyle meşgul." to player
                    else:
                        if {beklemesuresi::%player%} isn't set:
                            set {beklemesuresi::%player%} to 1
                            set {tptalep::%arg 1%} to player
                            send "&6SkyBlock &7&l> &aIşınlanma isteğiniz gönderildi." to player
                            send "&6SkyBlock &7&l>&r %player% &eadlı oyuncu size ışınlanma isteği gönderdi." to arg 1
                            send "&6SkyBlock &7&l> &eKabul etmek için &a/tpaccept&e, reddetmek için &c/tpdeny&e." to arg 1
                            wait 8 second
                            if {tptalep::%arg 1%} is equal to player:
                                wait 12 second
                                delete {beklemesuresi::%player%}
                                if {tptalep::%arg 1%} is equal to player:
                                    delete {tptalep::%arg 1%}
                                    send "&6SkyBlock &7&l> &6%arg 1% &4ışınlanma isteğinizi reddetti." to player
                                else:
                                    stop
                            else:
                                stop
            else:
                send "&6SkyBlock &7&l> &4Böyle bir oyuncu bulunamadı." to player
        else:
            send " "
            send "&c--- &3Bu Komutu Nasıl Kullanabilirim ? &c---" to player
            send "&6/Tpa &D<isim> &7Bir oyuncuya ışınlanma isteği yollarsınız." to player
            send "&6/Tpaccept &c/ &6Tpdeny &7Tpa isteğini kabul eder veya etmezsiniz." to player
            send "&6/Tpaç &7Artık tpa isteklerini alacaksınız." to player
            send "&6/Tpkapat &7Artık tpa isteklerini almayacaksınız." to player
            send " " to player
    
command /tpkapat:
    trigger:
        set {tptoggle::%Player%} to 1
        send "&6SkyBlock &7&l> &aArtık tpa isteklerini almayacaksınız." to player

command /tpaç:
    trigger:
        delete {tptoggle::%player%}
        send "&6SkyBlock &7&l> &aArtık tpa isteklerini alacaksınız." to player
        
command /tpaccept:
    trigger:
        if {tptalep::%player%} is set:
            delete {beklemesuresi::%{tptalep::%Player%}%}
            send "&6SkyBlock &7&l> &aIşınlanma isteğini kabul ettiniz." to player
            send "&6SkyBlock &7&l> &EIşınlanma isteğin kabul edildi, ışınlanıyorsun..." to {tptalep::%Player%}
            wait 3 second
            teleport {tptalep::%Player%} to player
            delete {tptalep::%Player%}
        else:
            send "&6SkyBlock &7&l> &4Mevcut ışınlanma isteğiniz yok." to player
        
command /tpdeny:
    trigger:
        if {tptalep::%player%} is set:
            delete {beklemesuresi::%{tptalep::%Player%}%}
            send "&6SkyBlock &7&l> &cIşınlanma isteğini kabul reddettiniz." to player
            send "&6SkyBlock &7&l> &6%player% &4ışınlanma isteğinizi reddetti." to {tptalep::%Player%}
            delete {tptalep::%Player%}
        else:
            send "&6SkyBlock &7&l> &4Mevcut ışınlanma isteğiniz yok." to player

bu koda "kendine ışınlanamazsın" eklermisiniz ?
 
Kod:
if arg-1 is not player
ekleyerek çözebilirsin
 
Hocam şunu dener misin?
Kod:
command /tpa [<player>]:
    trigger:
        if name of arg-1 is name of player:
            send "&cKendine ışınlanamazsın!"
 
Kod:
command /tpa [<offlineplayer>]:
    trigger:
        if arg-1 is set:
            arg 1 isn't player:
                if arg is online:
                    if {tptoggle::%arg 1%} is set:
                        send "&6SkyBlock &7&l>&R %arg 1% &4ışınlanma isteklerini kabul etmiyor." to player
                    else:
                        if {tptalep::%arg 1%} is set:
                            send "&6SkyBlock &7&l> &eBu kişi şuan başka bir ışınlanma isteğiyle meşgul." to player
                        else:
                            if {beklemesuresi::%player%} isn't set:
                                set {beklemesuresi::%player%} to 1
                                set {tptalep::%arg 1%} to player
                                send "&6SkyBlock &7&l> &aIşınlanma isteğiniz gönderildi." to player
                                send "&6SkyBlock &7&l>&r %player% &eadlı oyuncu size ışınlanma isteği gönderdi." to arg 1
                                send "&6SkyBlock &7&l> &eKabul etmek için &a/tpaccept&e, reddetmek için &c/tpdeny&e." to arg 1
                                wait 8 second
                                if {tptalep::%arg 1%} is equal to player:
                                    wait 12 second
                                    delete {beklemesuresi::%player%}
                                    if {tptalep::%arg 1%} is equal to player:
                                        delete {tptalep::%arg 1%}
                                        send "&6SkyBlock &7&l> &6%arg 1% &4ışınlanma isteğinizi reddetti." to player
                                    else:
                                        stop
                                else:
                                    stop
                else:
                    send "&6SkyBlock &7&l> &4Böyle bir oyuncu bulunamadı." to player
            else:
                send "&6SkyBlock &7&l> &4Kendinize ışınlanma isteği atamazsınız."
        else:
            send " "
            send "&c--- &3Bu Komutu Nasıl Kullanabilirim ? &c---" to player
            send "&6/Tpa &D<isim> &7Bir oyuncuya ışınlanma isteği yollarsınız." to player
            send "&6/Tpaccept &c/ &6Tpdeny &7Tpa isteğini kabul eder veya etmezsiniz." to player
            send "&6/Tpaç &7Artık tpa isteklerini alacaksınız." to player
            send "&6/Tpkapat &7Artık tpa isteklerini almayacaksınız." to player
            send " " to player
    
command /tpkapat:
    trigger:
        set {tptoggle::%Player%} to 1
        send "&6SkyBlock &7&l> &aArtık tpa isteklerini almayacaksınız." to player

command /tpaç:
    trigger:
        delete {tptoggle::%player%}
        send "&6SkyBlock &7&l> &aArtık tpa isteklerini alacaksınız." to player
        
command /tpaccept:
    trigger:
        if {tptalep::%player%} is set:
            delete {beklemesuresi::%{tptalep::%Player%}%}
            send "&6SkyBlock &7&l> &aIşınlanma isteğini kabul ettiniz." to player
            send "&6SkyBlock &7&l> &EIşınlanma isteğin kabul edildi, ışınlanıyorsun..." to {tptalep::%Player%}
            wait 3 second
            teleport {tptalep::%Player%} to player
            delete {tptalep::%Player%}
        else:
            send "&6SkyBlock &7&l> &4Mevcut ışınlanma isteğiniz yok." to player
        
command /tpdeny:
    trigger:
        if {tptalep::%player%} is set:
            delete {beklemesuresi::%{tptalep::%Player%}%}
            send "&6SkyBlock &7&l> &cIşınlanma isteğini kabul reddettiniz." to player
            send "&6SkyBlock &7&l> &6%player% &4ışınlanma isteğinizi reddetti." to {tptalep::%Player%}
            delete {tptalep::%Player%}
        else:
            send "&6SkyBlock &7&l> &4Mevcut ışınlanma isteğiniz yok." to player
bu sorununuzu çözecektir
 
Kod:
command /tpa [<offlineplayer>]:
    trigger:
        if arg-1 is set:
            arg 1 isn't player:
                if arg is online:
                    if {tptoggle::%arg 1%} is set:
                        send "&6SkyBlock &7&l>&R %arg 1% &4ışınlanma isteklerini kabul etmiyor." to player
                    else:
                        if {tptalep::%arg 1%} is set:
                            send "&6SkyBlock &7&l> &eBu kişi şuan başka bir ışınlanma isteğiyle meşgul." to player
                        else:
                            if {beklemesuresi::%player%} isn't set:
                                set {beklemesuresi::%player%} to 1
                                set {tptalep::%arg 1%} to player
                                send "&6SkyBlock &7&l> &aIşınlanma isteğiniz gönderildi." to player
                                send "&6SkyBlock &7&l>&r %player% &eadlı oyuncu size ışınlanma isteği gönderdi." to arg 1
                                send "&6SkyBlock &7&l> &eKabul etmek için &a/tpaccept&e, reddetmek için &c/tpdeny&e." to arg 1
                                wait 8 second
                                if {tptalep::%arg 1%} is equal to player:
                                    wait 12 second
                                    delete {beklemesuresi::%player%}
                                    if {tptalep::%arg 1%} is equal to player:
                                        delete {tptalep::%arg 1%}
                                        send "&6SkyBlock &7&l> &6%arg 1% &4ışınlanma isteğinizi reddetti." to player
                                    else:
                                        stop
                                else:
                                    stop
                else:
                    send "&6SkyBlock &7&l> &4Böyle bir oyuncu bulunamadı." to player
            else:
                send "&6SkyBlock &7&l> &4Kendinize ışınlanma isteği atamazsınız."
        else:
            send " "
            send "&c--- &3Bu Komutu Nasıl Kullanabilirim ? &c---" to player
            send "&6/Tpa &D<isim> &7Bir oyuncuya ışınlanma isteği yollarsınız." to player
            send "&6/Tpaccept &c/ &6Tpdeny &7Tpa isteğini kabul eder veya etmezsiniz." to player
            send "&6/Tpaç &7Artık tpa isteklerini alacaksınız." to player
            send "&6/Tpkapat &7Artık tpa isteklerini almayacaksınız." to player
            send " " to player
   
command /tpkapat:
    trigger:
        set {tptoggle::%Player%} to 1
        send "&6SkyBlock &7&l> &aArtık tpa isteklerini almayacaksınız." to player

command /tpaç:
    trigger:
        delete {tptoggle::%player%}
        send "&6SkyBlock &7&l> &aArtık tpa isteklerini alacaksınız." to player
       
command /tpaccept:
    trigger:
        if {tptalep::%player%} is set:
            delete {beklemesuresi::%{tptalep::%Player%}%}
            send "&6SkyBlock &7&l> &aIşınlanma isteğini kabul ettiniz." to player
            send "&6SkyBlock &7&l> &EIşınlanma isteğin kabul edildi, ışınlanıyorsun..." to {tptalep::%Player%}
            wait 3 second
            teleport {tptalep::%Player%} to player
            delete {tptalep::%Player%}
        else:
            send "&6SkyBlock &7&l> &4Mevcut ışınlanma isteğiniz yok." to player
       
command /tpdeny:
    trigger:
        if {tptalep::%player%} is set:
            delete {beklemesuresi::%{tptalep::%Player%}%}
            send "&6SkyBlock &7&l> &cIşınlanma isteğini kabul reddettiniz." to player
            send "&6SkyBlock &7&l> &6%player% &4ışınlanma isteğinizi reddetti." to {tptalep::%Player%}
            delete {tptalep::%Player%}
        else:
            send "&6SkyBlock &7&l> &4Mevcut ışınlanma isteğiniz yok." to player
bu sorununuzu çözecektir
hemen deniyorum
Gönderi otomatik olarak birleştirildi:

Kod:
command /tpa [<offlineplayer>]:
    trigger:
        if arg-1 is set:
            arg 1 isn't player:
                if arg is online:
                    if {tptoggle::%arg 1%} is set:
                        send "&6SkyBlock &7&l>&R %arg 1% &4ışınlanma isteklerini kabul etmiyor." to player
                    else:
                        if {tptalep::%arg 1%} is set:
                            send "&6SkyBlock &7&l> &eBu kişi şuan başka bir ışınlanma isteğiyle meşgul." to player
                        else:
                            if {beklemesuresi::%player%} isn't set:
                                set {beklemesuresi::%player%} to 1
                                set {tptalep::%arg 1%} to player
                                send "&6SkyBlock &7&l> &aIşınlanma isteğiniz gönderildi." to player
                                send "&6SkyBlock &7&l>&r %player% &eadlı oyuncu size ışınlanma isteği gönderdi." to arg 1
                                send "&6SkyBlock &7&l> &eKabul etmek için &a/tpaccept&e, reddetmek için &c/tpdeny&e." to arg 1
                                wait 8 second
                                if {tptalep::%arg 1%} is equal to player:
                                    wait 12 second
                                    delete {beklemesuresi::%player%}
                                    if {tptalep::%arg 1%} is equal to player:
                                        delete {tptalep::%arg 1%}
                                        send "&6SkyBlock &7&l> &6%arg 1% &4ışınlanma isteğinizi reddetti." to player
                                    else:
                                        stop
                                else:
                                    stop
                else:
                    send "&6SkyBlock &7&l> &4Böyle bir oyuncu bulunamadı." to player
            else:
                send "&6SkyBlock &7&l> &4Kendinize ışınlanma isteği atamazsınız."
        else:
            send " "
            send "&c--- &3Bu Komutu Nasıl Kullanabilirim ? &c---" to player
            send "&6/Tpa &D<isim> &7Bir oyuncuya ışınlanma isteği yollarsınız." to player
            send "&6/Tpaccept &c/ &6Tpdeny &7Tpa isteğini kabul eder veya etmezsiniz." to player
            send "&6/Tpaç &7Artık tpa isteklerini alacaksınız." to player
            send "&6/Tpkapat &7Artık tpa isteklerini almayacaksınız." to player
            send " " to player
   
command /tpkapat:
    trigger:
        set {tptoggle::%Player%} to 1
        send "&6SkyBlock &7&l> &aArtık tpa isteklerini almayacaksınız." to player

command /tpaç:
    trigger:
        delete {tptoggle::%player%}
        send "&6SkyBlock &7&l> &aArtık tpa isteklerini alacaksınız." to player
       
command /tpaccept:
    trigger:
        if {tptalep::%player%} is set:
            delete {beklemesuresi::%{tptalep::%Player%}%}
            send "&6SkyBlock &7&l> &aIşınlanma isteğini kabul ettiniz." to player
            send "&6SkyBlock &7&l> &EIşınlanma isteğin kabul edildi, ışınlanıyorsun..." to {tptalep::%Player%}
            wait 3 second
            teleport {tptalep::%Player%} to player
            delete {tptalep::%Player%}
        else:
            send "&6SkyBlock &7&l> &4Mevcut ışınlanma isteğiniz yok." to player
       
command /tpdeny:
    trigger:
        if {tptalep::%player%} is set:
            delete {beklemesuresi::%{tptalep::%Player%}%}
            send "&6SkyBlock &7&l> &cIşınlanma isteğini kabul reddettiniz." to player
            send "&6SkyBlock &7&l> &6%player% &4ışınlanma isteğinizi reddetti." to {tptalep::%Player%}
            delete {tptalep::%Player%}
        else:
            send "&6SkyBlock &7&l> &4Mevcut ışınlanma isteğiniz yok." to player
bu sorununuzu çözecektir
teşekkür işe yaradı =)
#KONUKİLİT
#konukilit
Gönderi otomatik olarak birleştirildi:

Hocam şunu dener misin?
Kod:
command /tpa [<player>]:
    trigger:
        if name of arg-1 is name of player:
            send "&cKendine ışınlanamazsın!"
teşekkürler ama kodlar çakışıyor =)
 
Son düzenleme:
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

Hala Discord sunucumuza katılmadın mı?

Büyük bir topluluğun parçası ol, etkinliklere katıl ve özel hediyeler kazanma şansı yakala!

Şimdi Katıl
Üst