Skript 2.Yardım :)

S

Switcher

Ziyaretçi
Merhabalar yine ben , iki tane sorum olucaktı ;

1-Bitane skript yaptım , skriptte komutu kullanınca bir yer açılıyor (open chest şeyi) sonra orada bir item var ona tıklayınca yine açılmasını istiyorum.İlk açılan envanter kısmına mı yazıcaz slotu yoksa 2.bir options mu yapıcaz denedim olmadı yardım .s


Örnek KOD:
Kod:
options:
    k: slot 0 of player with redstone close than run "deneme2 %player%"
    q: slot 2 of player with stone close than run "deneme3 %player%"
command /deneme:
    trigger:
        open chest with 1 row to player
        format {@k}
      
command /deneme2:
    trigger:
        open chest with 2 row to player
        format {@q}
      
  
      
command /deneme3:
    executable by: console
    trigger:
        give player 10 diamond


@Rosenrot seni eklemesem içimde kalırdı :D
Böyle denedim olmadı acaba yanlış mı yazdım.
 
Son düzenleme:
S

sergun26

Ziyaretçi
row yazan yerlere rows yaz. Kendi sunucumdan örnek kod:
Kod:
open chest with 1 rows named "&e&lKapı Menü" to player
                                    format slot 0 of player with player head named "&aKişi Ekle" with lore "&bBir kişiye kapınızı kilitleme ve kilidini açma izni verir." to close then run "oyuncusudo %player% kapiyonet arkadasekle"
 
S

Switcher

Ziyaretçi
row yazan yerlere rows yaz. Kendi sunucumdan örnek kod:
Kod:
open chest with 1 rows named "&e&lKapı Menü" to player
                                    format slot 0 of player with player head named "&aKişi Ekle" with lore "&bBir kişiye kapınızı kilitleme ve kilidini açma izni verir." to close then run "oyuncusudo %player% kapiyonet arkadasekle"
teşekkürler deniyorum[DOUBLEPOST=1434974483,1434974257][/DOUBLEPOST]Malesef olmadı /deneme yazınca açılıyor ordaki iteme tıklayınca yeni yer açılmıyor :/
Kod :
Kod:
options:
    k: slot 0 of player with spawn egg:93 named "&2Paskalya &3Eventi" with lore "&5Deneme" to close then run "deneme2 %player%"   

command /deneme:
    trigger:
        open chest with 1 rows to player
        format {@k}
       
command /deneme2:
    trigger:
        open chest with 1 row named "&e&lKapı Menü" to player
        format slot 0 of player with player head named "&aKişi Ekle" to close then run "deneme3 %player%"
       
   
       
command /deneme3:
    executable by: console
    trigger:
        give player 10 diamond
 
S

sergun26

Ziyaretçi
teşekkürler deniyorum[DOUBLEPOST=1434974483,1434974257][/DOUBLEPOST]Malesef olmadı /deneme yazınca açılıyor ordaki iteme tıklayınca yeni yer açılmıyor :/
Kod :
Kod:
options:
    k: slot 0 of player with spawn egg:93 named "&2Paskalya &3Eventi" with lore "&5Deneme" to close then run "deneme2 %player%" 

command /deneme:
    trigger:
        open chest with 1 rows to player
        format {@k}
     
command /deneme2:
    trigger:
        open chest with 1 row named "&e&lKapı Menü" to player
        format slot 0 of player with player head named "&aKişi Ekle" to close then run "deneme3 %player%"
     
 
     
command /deneme3:
    executable by: console
    trigger:
        give player 10 diamond
Chest menüsündeki komutları konsola girer. Şunu ekle ve o komutların başlarında oyuncusudo %player% ekle.
Kod:
command /oyuncusudo <player> <text>:
    executable by: console
    trigger:
        execute arg 1 command "/%arg 2%"
Not: argümanların kontrollerini yapmadım, kendin yapabilirsin.
 
S

Switcher

Ziyaretçi
Chest menüsündeki komutları konsola girer. Şunu ekle ve o komutların başlarında oyuncusudo %player% ekle.
Kod:
command /oyuncusudo <player> <text>:
    executable by: console
    trigger:
        execute arg 1 command "/%arg 2%"
Malesef yine olmadı :/ yine aynı sorun o ilk envanter yeri açılıyor iteme tıklıyorum diğer yer açılmıyor.

Kod :
Kod:
command /deneme:
    trigger:
        open chest with 1 rows to player
        format slot 0 of player with redstone to close then run "deneme2 %player%"
       
command /deneme2:
    trigger:
        open chest with 1 rows named "&e&lKapı Menü" to player
        format slot 0 of player with player head named "&aKişi Ekle" to close then run "oyuncusudo %player%"
       
   
       
command /deneme3:
    executable by: console
    trigger:
        give player 10 diamond

command /oyuncusudo <player> <text>:
    executable by: console
    trigger:
        execute arg 1 command "/%arg 2%"
 
S

sergun26

Ziyaretçi
Malesef yine olmadı :/ yine aynı sorun o ilk envanter yeri açılıyor iteme tıklıyorum diğer yer açılmıyor.

Kod :
Kod:
command /deneme:
    trigger:
        open chest with 1 rows to player
        format slot 0 of player with redstone to close then run "deneme2 %player%"
    
command /deneme2:
    trigger:
        open chest with 1 rows named "&e&lKapı Menü" to player
        format slot 0 of player with player head named "&aKişi Ekle" to close then run "oyuncusudo %player%"
    

    
command /deneme3:
    executable by: console
    trigger:
        give player 10 diamond

command /oyuncusudo <player> <text>:
    executable by: console
    trigger:
        execute arg 1 command "/%arg 2%"
Sadece oyuncusudo %player% yazıp bırakmışsın, şu şekil olacak:
Kod:
format slot slotsayı of player with eşya named "ad" with lore "lore" to close then run/be unstealable "oyuncusudo %player% komut"
 
S

Switcher

Ziyaretçi
Sadece oyuncusudo %player% yazıp bırakmışsın, şu şekil olacak:
Kod:
format slot slotsayı of player with eşya named "ad" with lore "lore" to close then run/be unstealable "oyuncusudo %player% komut"
Yine olmadı :/

Kod:
command /deneme:
    trigger:
        open chest with 1 rows to player
        format slot 0 of player with redstone to close then run "deneme2 %player%"
      
command /deneme2:
    trigger:
        open chest with 1 rows named "&e&lKapı Menü" to player
        format slot 2 of player with player head named "&aKişi Ekle" to close then run "oyuncusudo %player% deneme3"
      
  
      
command /deneme3:
    executable by: console
    trigger:
        give diamond to player

command /oyuncusudo <player> <text>:
    executable by: console
    trigger:
        execute arg 1 command "/%arg 2%"
 
S

sergun26

Ziyaretçi
Yine olmadı :/

Kod:
command /deneme:
    trigger:
        open chest with 1 rows to player
        format slot 0 of player with redstone to close then run "deneme2 %player%"
    
command /deneme2:
    trigger:
        open chest with 1 rows named "&e&lKapı Menü" to player
        format slot 2 of player with player head named "&aKişi Ekle" to close then run "oyuncusudo %player% deneme3"
    

    
command /deneme3:
    executable by: console
    trigger:
        give diamond to player

command /oyuncusudo <player> <text>:
    executable by: console
    trigger:
        execute arg 1 command "/%arg 2%"
deneme3 komutundaki executable by: console kısmını kaldır.
format slot 0 of player with redstone to close then run "deneme2 %player%" oyuncusudo kullanmamışsın.
 

blackone1991

Elmas Madencisi
En iyi cevaplar
0
Bak şöyle düşün bir çantayı kapatır kapatmaz diğer çantayı açamazsın.Açılmaz.İkince açılıcak çanta kodunun en üst satırına wait 5 ticks ekle
 
Üst