Yardım Skript menüdeki itemlere tıkladığınızda komut çalıştırma

Mr_Obliviate

Play.BlokDunyasi.Net
En iyi cevaplar
18
Bir skript yazdım ama nasıl komut ekleyeceğimi bulamadım yardım edermisiniz
Kod:
command /ac <player>:
    trigger:
        open chest with 3 row named "          &e&lRehber Menüsü" to player
        format slot 3 of player with 166 named "&c&l%arg 1%&c Banla" to close
 

Bernard

Бернард
Danışman
Geliştirici
En iyi cevaplar
61
Buyur.
Kod:
command /ac <player>:
    trigger:
        open chest with 3 row named "          &e&lRehber Menüsü" to player
        format slot 3 of player with 166 named "&c&l%arg 1%&c Banla" to close then run [make player execute command "/ban %arg 1%"]
 

Mr_Obliviate

Play.BlokDunyasi.Net
En iyi cevaplar
18
hocam konunuzu öncedende gördüm inceledim fakat hiçbirşey anlamadım.. büyük ihtimalle skript konusunda oldukça yeni olmamdandır.

Buyur.
Kod:
command /ac <player>:
    trigger:
        open chest with 3 row named "          &e&lRehber Menüsü" to player
        format slot 3 of player with 166 named "&c&l%arg 1%&c Banla" to close then run [make player execute command "/ban %arg 1%"]
saolun kodunuz işe yarıyor fakat, 2. bir item nasıl ekleyebilirim ?
 

Bernard

Бернард
Danışman
Geliştirici
En iyi cevaplar
61
hocam konunuzu öncedende gördüm inceledim fakat hiçbirşey anlamadım.. büyük ihtimalle skript konusunda oldukça yeni olmamdandır.


saolun kodunuz işe yarıyor fakat, 2. bir item nasıl ekleyebilirim ?
Şöyle. Kendin ayarlayabilirsin diğer her şeyini.
Kod:
command /ac <player>: 
    trigger:
        open chest with 3 row named "          &e&lRehber Menüsü" to player
        format slot 3 of player with 166 named "&c&l%arg 1%&c Banla" to close then run [make player execute command "/ban %arg 1%"]
        format slot 6 of player with 145 named "&c&l%arg 1%&c deneme" to close then run [make player execute command "/deneme %arg 1%"]
 

Mr_Obliviate

Play.BlokDunyasi.Net
En iyi cevaplar
18
Şöyle. Kendin ayarlayabilirsin diğer her şeyini.
Kod:
command /ac <player>:
    trigger:
        open chest with 3 row named "          &e&lRehber Menüsü" to player
        format slot 3 of player with 166 named "&c&l%arg 1%&c Banla" to close then run [make player execute command "/ban %arg 1%"]
        format slot 6 of player with 145 named "&c&l%arg 1%&c deneme" to close then run [make player execute command "/deneme %arg 1%"]
bende böyle yaptığımda çalışmamıştı sanırım "/" koymayı unutmuşum,Teşekkürler
 
Üst