Koyulmus bloga sag tiklama

KaanGM

Zombi Katili
En iyi cevaplar
0
Yere koyulmuş bloğa sağ tıklayınca Mesela yere zümrüt koydum ona sağ tıklıyorum Açılıyor... yazıp ChestCommands menüsü açılıyor o nasıl olacak ?
 

ShiodomeMiuna

Nether Yerlisi
En iyi cevaplar
11
PHP:
rightclick on emerald block:
    player's gamemode isn't creative:
        send "Açılıyor"
        wait 3 seconds
        execute player command "komut buraya"

Creative moddan çıkman ve komutu yerleştirmen lazım.
 

KaanGM

Zombi Katili
En iyi cevaplar
0
PHP:
rightclick on emerald block:
    player's gamemode isn't creative:
        send "Açılıyor"
        wait 3 seconds
        execute player command "komut buraya"

Creative moddan çıkman ve komutu yerleştirmen lazım.
diğer skript konumada bakar mısın ?
https://forum.gamer.com.tr/konu/istek-skriptler-2tane.350754/

PHP:
rightclick on emerald block:
    player's gamemode isn't creative:
        send "Açılıyor"
        wait 3 seconds
        execute player command "komut buraya"

Creative moddan çıkman ve komutu yerleştirmen lazım.
birde her emerald bloga sag tıklandıgında o çıkıyorr
 

FatalCoder

Altın Madencisi
En iyi cevaplar
0
eskiden yazmıştım yardımcı olabilir.
Kod:
command /kitmenü:
    permission: kit.menü
    trigger:
        open chest with 1 rows named "&3&l             Kit Menü" to player
        format slot 0 of player with dye:10 named "&a&oKit Bloğu Ekle!" with lore "&6&oSol Tıkladığınız Bloğu Kit Alma Bloğu Yapar." to close then run [execute player command "kiteşya ekle"]
        format slot 8 of player with dye:1 named "&a&oKit Bloğu Sil!" with lore "&6&oSol Tıkladığınız Kit Alma Bloğunu Normal Bloğa Çevirir." to close then run [execute player command "kiteşya sil"]
        format slot 3 of player with dye:12 named "&a&oKit Bloklarını Göster!" with lore "&6&oSol Tıkladığınızda Kit Alma Bloklarının Koordinatlarını Gösterir." to close then run [execute player command "kiteşya göster"]
        format slot 5 of player with dye:7 named "&a&oKit Bloklarını Temizle!" with lore "&6&oSol Tıkladığınızda Tüm Kit Alma Bloklarını Normal Bloğa Çevirir." to close then run [execute player command "kiteşya temizle"]
command /KitEşya <text>:
    usage: &4[&f&oKitMenü&4] &4&oKullanım: &f&l/Kiteşya &a&lEkle&f&l|&a&lSil&f&l|&a&lGöster
    permission: kit.eşya
    trigger:
        if arg-1 is "ekle":
            give 1 stick of unbreaking 3 named "&a&oKit Bloğu Ekle" to player
        else:
            if arg-1 is "sil":
                give 1 stick of unbreaking 3 named "&4&oKit Bloğu Sil" to player
            else:
                if arg-1 is "göster":
                    give 1 stick of unbreaking 3 named "&b&oKit Bloklarını Göster" to player
                else:
                    if arg-1 is "temizle":
                        give 1 stick of unbreaking 3 named "&5&oKit Bloklarını Temizle" to player
                    else:
                        send "&4[&f&oKitMenü&4] &4&oKullanım: &f&l/Kiteşya &a&lEkle&f&l|&a&lGöster&f&l|&a&lTemizle&f&l|&a&lSil" to player
                  
on left click on emerald block:
    if player has permission "kit.ekle":
        if player's tool is stick named "&a&oKit Bloğu Ekle":
            loop {kit::*}:
                if loop-value is location of event-block:
                    set {_var} to true
                    stop loop
            if {_var} is set:
                send "&4&oBu Zaten Bir Kit Bloğu!" to player
            else:
                add location of event-block to {kit::*}
                send "&b&oKit Bloğu Başarıyla Eklendi." to player
        if player's tool's name is "&4&oKit Bloğu Sil":
            loop {kit::*}:
                if loop-value is location of event-block:
                    set {_var} to true
                    stop loop
            if {_var} is set:
                remove location of event-block from {kit::*}
                send "&b&oKit Bloğu Başarıyla Silindi." to player
            else:
                send "&4&oBu Bir Kit Bloğu Değil!" to player
        if player's tool's name is "&b&oKit Bloklarını Göster":
            loop {kit::*}:
                send "&e&l----------------------" to player
                send "&3&l%loop-value%" to player
        if player's tool's name is "&5&oKit Bloklarını Temizle":
            loop {kit::*}:
                delete {kit::*}
                send "&a&oTüm Kit Blokları Silindi." to player

                  
on right click on emerald block:
    if {kit::*} contains location of event-block:
        execute player command "/KOMUT"
 

KaanGM

Zombi Katili
En iyi cevaplar
0
6
eskiden yazmıştım yardımcı olabilir.
Kod:
command /kitmenü:
    permission: kit.menü
    trigger:
        open chest with 1 rows named "&3&l             Kit Menü" to player
        format slot 0 of player with dye:10 named "&a&oKit Bloğu Ekle!" with lore "&6&oSol Tıkladığınız Bloğu Kit Alma Bloğu Yapar." to close then run [execute player command "kiteşya ekle"]
        format slot 8 of player with dye:1 named "&a&oKit Bloğu Sil!" with lore "&6&oSol Tıkladığınız Kit Alma Bloğunu Normal Bloğa Çevirir." to close then run [execute player command "kiteşya sil"]
        format slot 3 of player with dye:12 named "&a&oKit Bloklarını Göster!" with lore "&6&oSol Tıkladığınızda Kit Alma Bloklarının Koordinatlarını Gösterir." to close then run [execute player command "kiteşya göster"]
        format slot 5 of player with dye:7 named "&a&oKit Bloklarını Temizle!" with lore "&6&oSol Tıkladığınızda Tüm Kit Alma Bloklarını Normal Bloğa Çevirir." to close then run [execute player command "kiteşya temizle"]
command /KitEşya <text>:
    usage: &4[&f&oKitMenü&4] &4&oKullanım: &f&l/Kiteşya &a&lEkle&f&l|&a&lSil&f&l|&a&lGöster
    permission: kit.eşya
    trigger:
        if arg-1 is "ekle":
            give 1 stick of unbreaking 3 named "&a&oKit Bloğu Ekle" to player
        else:
            if arg-1 is "sil":
                give 1 stick of unbreaking 3 named "&4&oKit Bloğu Sil" to player
            else:
                if arg-1 is "göster":
                    give 1 stick of unbreaking 3 named "&b&oKit Bloklarını Göster" to player
                else:
                    if arg-1 is "temizle":
                        give 1 stick of unbreaking 3 named "&5&oKit Bloklarını Temizle" to player
                    else:
                        send "&4[&f&oKitMenü&4] &4&oKullanım: &f&l/Kiteşya &a&lEkle&f&l|&a&lGöster&f&l|&a&lTemizle&f&l|&a&lSil" to player
                 
on left click on emerald block:
    if player has permission "kit.ekle":
        if player's tool is stick named "&a&oKit Bloğu Ekle":
            loop {kit::*}:
                if loop-value is location of event-block:
                    set {_var} to true
                    stop loop
            if {_var} is set:
                send "&4&oBu Zaten Bir Kit Bloğu!" to player
            else:
                add location of event-block to {kit::*}
                send "&b&oKit Bloğu Başarıyla Eklendi." to player
        if player's tool's name is "&4&oKit Bloğu Sil":
            loop {kit::*}:
                if loop-value is location of event-block:
                    set {_var} to true
                    stop loop
            if {_var} is set:
                remove location of event-block from {kit::*}
                send "&b&oKit Bloğu Başarıyla Silindi." to player
            else:
                send "&4&oBu Bir Kit Bloğu Değil!" to player
        if player's tool's name is "&b&oKit Bloklarını Göster":
            loop {kit::*}:
                send "&e&l----------------------" to player
                send "&3&l%loop-value%" to player
        if player's tool's name is "&5&oKit Bloklarını Temizle":
            loop {kit::*}:
                delete {kit::*}
                send "&a&oTüm Kit Blokları Silindi." to player

                 
on right click on emerald block:
    if {kit::*} contains location of event-block:
        execute player command "/KOMUT"
6 error :
 
Üst