Çözüldü skript plugininde on rightclick on sign ve on place of sign çalışmıyor

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

dogofvet

Birisi mi Spawnlandı?
Katılım
4 Mart 2021
Mesajlar
2
Elmaslar
0
Puan
6.445
Konum
Türkiye
Minecraft
dogofvet

Discord:

gofret5071

ben skript plugininde tabela ile komut çalıştırma skripti yazdım ne yaparsam yapayım tabelayı yerleştirme ve sağ tıklama komutu çalışmıyor

KOMUT:
Kod:
command /tabela <text> <text>:
    permission: tabela.kur
    permission message: "&cBu komutu kullanamazsın!"
    trigger:
        set {tabela::komut} to arg-1
        set {tabela::yazi} to arg-2
        send "&aŞimdi bir tabela koy, otomatik olarak ayarlanacak!" to player

on place of sign:
    if {tabela::komut} is set:
        wait 1 tick
        set line 1 of event-block to "&6[TIKLA]"
        set line 2 of event-block to "&f%{tabela::yazi}%"
        send "&aTabela başarıyla oluşturuldu!" to player
        set {tabela::konum} to location of event-block
        set {tabela::komut} to "" # Komutu sıfırla, bir daha çalışmasın
        set {tabela::yazi} to ""

on rightclick on sign:
    if line 1 of clicked block is "&6[TIKLA]":
        execute console command "%{tabela::komut}%"
        send "&aKomut çalıştırıldı!" to player
 

Ekli dosyalar

  • resim_2025-02-08_170940440.webp
    resim_2025-02-08_170940440.webp
    26,9 KB · Görüntüleme: 106
Kod:
command /tabela <text> <text>:
    permission: tabela.kur
    permission message: "&cBu komutu kullanamazsın!"
    trigger:
        set {tabela::komut} to arg-1
        set {tabela::yazi} to arg-2
        send "&aŞimdi bir tabela koy, otomatik olarak ayarlanacak!" to player

on place of sign:
    if {tabela::komut} is set:
        wait 1 tick
        set line 1 of event-block to "&6[TIKLA]"
        set line 2 of event-block to "&f%{tabela::yazi}%"
        send "&aTabela başarıyla oluşturuldu!" to player
        set {tabela::konum} to location of event-block
        delete {tabela::komut} # Değişkenleri sıfırla
        delete {tabela::yazi}

on right click on sign:
    if line 1 of event-block is "&6[TIKLA]":
        execute console command "%{tabela::komut}%"
        send "&aKomut çalıştırıldı!" to player

şeklinde denermisin
 
Kod:
command /tabela <text> <text>:
    permission: tabela.kur
    permission message: "&cBu komutu kullanamazsın!"
    trigger:
        set {tabela::komut} to arg-1
        set {tabela::yazi} to arg-2
        send "&aŞimdi bir tabela koy, otomatik olarak ayarlanacak!" to player

on place of sign:
    if {tabela::komut} is set:
        wait 1 tick
        set line 1 of event-block to "&6[TIKLA]"
        set line 2 of event-block to "&f%{tabela::yazi}%"
        send "&aTabela başarıyla oluşturuldu!" to player
        set {tabela::konum} to location of event-block
        delete {tabela::komut} # Değişkenleri sıfırla
        delete {tabela::yazi}

on right click on sign:
    if line 1 of event-block is "&6[TIKLA]":
        execute console command "%{tabela::komut}%"
        send "&aKomut çalıştırıldı!" to player

şeklinde denermisin
yine olmadı aynı hata
 
yine olmadı aynı hata
Kod:
command /tabela <text> <text>:
    permission: tabela.kur
    permission message: "&cBu komutu kullanamazsın!"
    trigger:
        set {tabela::komut} to arg-1
        set {tabela::yazi} to arg-2
        send "&aŞimdi bir tabela koy, otomatik olarak ayarlanacak!" to player

on place:
    if event-block is sign:
        if {tabela::komut} is set:
            wait 1 tick
            set line 1 of event-block to "&6[TIKLA]"
            set line 2 of event-block to "&f%{tabela::yazi}%"
            send "&aTabela başarıyla oluşturuldu!" to player
            set {tabela::konum} to location of event-block
            delete {tabela::komut}
            delete {tabela::yazi}

on right click on sign:
    if line 1 of event-block is "&6[TIKLA]":
        execute console command "%{tabela::komut}%"
        send "&aKomut çalıştırıldı!" to player
 
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