Çözüldü Skriptim için değişiklik lazım.

  • Konuyu Başlatan Konuyu Başlatan Fisequn
  • Başlangıç tarihi Başlangıç tarihi
  • Görüntüleme 719
  • Etiketler Etiketler
    skrip
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

Fisequn

Fırında Isıttığım İlk Taş
Katılım
6 Ocak 2024
Mesajlar
91
Elmaslar
3
Puan
420
Konum
Türkiye
Minecraft
fisequn

Discord:

fisequn.

Kod:
command /bgönder <integer>:
    permission: op
    trigger:
        set {sayaç} to arg 1
        while {sayaç} isn't 0:
            send action bar "&e&lKapıların Açılmasına: &f&l%{sayaç}%" to player
            subtract 1 from {sayaç}
            play sound "minecraft:block.note_block.hat" with volume 10 to player
            wait 1 second
        delete {sayaç}
bu skript için süre belirlemek yerine direk 6 dakikada yani 360 saniyede başlamasını istiyorum bu kodu nasıl bu şekilde güncelleriz?
 
ne olunca sayaçın başlamasını istiyorsunuz? tetikleyen bir şey var mı?
 
ne olunca sayaçın başlamasını istiyorsunuz? tetikleyen bir şey var mı?
/bgönder olunca bu komut çalışacak ama normalde /bgönder (sayı) ile belirliyordum şimdi 6 dakika olmasını istiyorum direkmen
 
Skriptini bu şekilde güncellersen çalışacaktır.


Kod:
command /bgönder:
    permission: op
    trigger:
        set {sayaç} to 360
        while {sayaç} isn't 0:
            send action bar "&e&lKapıların Açılmasına: &f&l%{sayaç}%" to player
            subtract 1 from {sayaç}
            play sound "minecraft:block.note_block.hat" with volume 10 to player
            wait 1 second
        delete {sayaç}
 
Skriptini bu şekilde güncellersen çalışacaktır.


Kod:
command /bgönder:
    permission: op
    trigger:
        set {sayaç} to 360
        while {sayaç} isn't 0:
            send action bar "&e&lKapıların Açılmasına: &f&l%{sayaç}%" to player
            subtract 1 from {sayaç}
            play sound "minecraft:block.note_block.hat" with volume 10 to player
            wait 1 second
        delete {sayaç}
teşekkür ederim işe yaradı birşey daha isteyebilirmiyim?
Kod:
command /bgönder:
    permission: op
    trigger:
        execute console command "/clear @a"
        execute console command "/kill @a"
        set {sayaç} to 5
        while {sayaç} isn't 0:
            send action bar "&e&lKapıların Açılmasına: &f&l%{sayaç}%" to player
            subtract 1 from {sayaç}
            play sound "minecraft:block.note_block.hat" with volume 10 to player
            wait 1 second
        delete {sayaç}
        play sound "entity.ghast.scream" with volume 10 to player
        execute player command "/tm bc &a&lKALE DUVARLARI AÇILDI!"
        execute console command "/fill 148 117 -204 100 122 -169 minecraft:air"
        execute console command "/fill 103 116 -173 103 104 -169 minecraft:air"
        execute console command "/fill 145 116 -173 145 104 -169 minecraft:air"
        execute console command "/fill 145 116 -200 145 104 -204 minecraft:air"
        execute console command "/fill 103 116 -200 103 104 -204 minecraft:air"
        execute console command "/fill 145 105 -199 145 116 -174 lime_stained_glass"
        execute console command "/fill 103 105 -199 103 116 -174 lime_stained_glass"
        wait 1 second
        set {sayaç} to 5
        while {sayaç} isn't 0:
            send action bar "&e&lMavi Takımın Kazanmasına: &f&l%{sayaç}%" to player
            subtract 1 from {sayaç}
            wait 1 second
        delete {sayaç}

mavi ile gösterdiğim yer diğer kodlar olunca başlıyor diyelimki mavi yerdeki kodu durdurmak istedim /durdur diye birkomutla birleştirmen mümkünmü o komutu yazınca silinsin veya kapansın
 
teşekkür ederim işe yaradı birşey daha isteyebilirmiyim?
Kod:
command /bgönder:
    permission: op
    trigger:
        execute console command "/clear @a"
        execute console command "/kill @a"
        set {sayaç} to 5
        while {sayaç} isn't 0:
            send action bar "&e&lKapıların Açılmasına: &f&l%{sayaç}%" to player
            subtract 1 from {sayaç}
            play sound "minecraft:block.note_block.hat" with volume 10 to player
            wait 1 second
        delete {sayaç}
        play sound "entity.ghast.scream" with volume 10 to player
        execute player command "/tm bc &a&lKALE DUVARLARI AÇILDI!"
        execute console command "/fill 148 117 -204 100 122 -169 minecraft:air"
        execute console command "/fill 103 116 -173 103 104 -169 minecraft:air"
        execute console command "/fill 145 116 -173 145 104 -169 minecraft:air"
        execute console command "/fill 145 116 -200 145 104 -204 minecraft:air"
        execute console command "/fill 103 116 -200 103 104 -204 minecraft:air"
        execute console command "/fill 145 105 -199 145 116 -174 lime_stained_glass"
        execute console command "/fill 103 105 -199 103 116 -174 lime_stained_glass"
        wait 1 second
        set {sayaç} to 5
        while {sayaç} isn't 0:
            send action bar "&e&lMavi Takımın Kazanmasına: &f&l%{sayaç}%" to player
            subtract 1 from {sayaç}
            wait 1 second
        delete {sayaç}

mavi ile gösterdiğim yer diğer kodlar olunca başlıyor diyelimki mavi yerdeki kodu durdurmak istedim /durdur diye birkomutla birleştirmen mümkünmü o komutu yazınca silinsin veya kapansın
mavi ile gözükmemiş dediğim yer bura:

Kod:
set {sayaç} to 5

        while {sayaç} isn't 0:

            send action bar "&e&lMavi Takımın Kazanmasına: &f&l%{sayaç}%" to player

            subtract 1 from {sayaç}

            wait 1 second

        delete {sayaç}
 
Moderatör tarafından düzenlendi:
mavi ile gözükmemiş dediğim yer bura:
set {sayaç} to 5
while {sayaç} isn't 0:
send action bar "&e&lMavi Takımın Kazanmasına: &f&l%{sayaç}%" to player
subtract 1 from {sayaç}
wait 1 second
delete {sayaç}
Tabii ki. Deneyelim.


Kod:
command /durdur:
    permission: op
    permission message: Böyle bir komut bulunamadı.
    trigger:
        set {sayac.durdurulmus} to true
        send "&cSayaç başarıyla durduruldu."

command /bgönder:
    permission: op
    trigger:
        set {sayac.durdurulmus} to false
        execute console command "/clear @a"
        execute console command "/kill @a"
        set {sayaç} to 5
        while {sayaç} isn't 0:
            send action bar "&e&lKapıların Açılmasına: &f&l%{sayaç}%" to player
            subtract 1 from {sayaç}
            play sound "minecraft:block.note_block.hat" with volume 10 to player
            wait 1 second
        delete {sayaç}
        play sound "entity.ghast.scream" with volume 10 to player
        execute player command "/tm bc &a&lKALE DUVARLARI AÇILDI!"
        execute console command "/fill 148 117 -204 100 122 -169 minecraft:air"
        execute console command "/fill 103 116 -173 103 104 -169 minecraft:air"
        execute console command "/fill 145 116 -173 145 104 -169 minecraft:air"
        execute console command "/fill 145 116 -200 145 104 -204 minecraft:air"
        execute console command "/fill 103 116 -200 103 104 -204 minecraft:air"
        execute console command "/fill 145 105 -199 145 116 -174 lime_stained_glass"
        execute console command "/fill 103 105 -199 103 116 -174 lime_stained_glass"
        wait 1 second
        set {sayaç} to 5
        if {sayac.durdurulmus} is true:
            set {sayac} to 0
        else:
            while {sayaç} isn't 0:
                send action bar "&e&lMavi Takımın Kazanmasına: &f&l%{sayaç}%" to player
                subtract 1 from {sayaç}
                wait 1 second
            delete {sayaç}

Bu komut işine yarayacaktır. Bir hata verirse belirtebilirsin.
 
Tabii ki. Deneyelim.


Kod:
command /durdur:
    permission: op
    permission message: Böyle bir komut bulunamadı.
    trigger:
        set {sayac.durdurulmus} to true
        send "&cSayaç başarıyla durduruldu."

command /bgönder:
    permission: op
    trigger:
        set {sayac.durdurulmus} to false
        execute console command "/clear @a"
        execute console command "/kill @a"
        set {sayaç} to 5
        while {sayaç} isn't 0:
            send action bar "&e&lKapıların Açılmasına: &f&l%{sayaç}%" to player
            subtract 1 from {sayaç}
            play sound "minecraft:block.note_block.hat" with volume 10 to player
            wait 1 second
        delete {sayaç}
        play sound "entity.ghast.scream" with volume 10 to player
        execute player command "/tm bc &a&lKALE DUVARLARI AÇILDI!"
        execute console command "/fill 148 117 -204 100 122 -169 minecraft:air"
        execute console command "/fill 103 116 -173 103 104 -169 minecraft:air"
        execute console command "/fill 145 116 -173 145 104 -169 minecraft:air"
        execute console command "/fill 145 116 -200 145 104 -204 minecraft:air"
        execute console command "/fill 103 116 -200 103 104 -204 minecraft:air"
        execute console command "/fill 145 105 -199 145 116 -174 lime_stained_glass"
        execute console command "/fill 103 105 -199 103 116 -174 lime_stained_glass"
        wait 1 second
        set {sayaç} to 5
        if {sayac.durdurulmus} is true:
            set {sayac} to 0
        else:
            while {sayaç} isn't 0:
                send action bar "&e&lMavi Takımın Kazanmasına: &f&l%{sayaç}%" to player
                subtract 1 from {sayaç}
                wait 1 second
            delete {sayaç}

Bu komut işine yarayacaktır. Bir hata verirse belirtebilirsin.
1706200307280.png

maalesef işe yaramadı en sondaki wait 1 seconddan sonraki komut ile bir bağlantı kurmalı
 
Tabii ki. Deneyelim.


Kod:
command /durdur:
    permission: op
    permission message: Böyle bir komut bulunamadı.
    trigger:
        set {sayac.durdurulmus} to true
        send "&cSayaç başarıyla durduruldu."

command /bgönder:
    permission: op
    trigger:
        set {sayac.durdurulmus} to false
        execute console command "/clear @a"
        execute console command "/kill @a"
        set {sayaç} to 5
        while {sayaç} isn't 0:
            send action bar "&e&lKapıların Açılmasına: &f&l%{sayaç}%" to player
            subtract 1 from {sayaç}
            play sound "minecraft:block.note_block.hat" with volume 10 to player
            wait 1 second
        delete {sayaç}
        play sound "entity.ghast.scream" with volume 10 to player
        execute player command "/tm bc &a&lKALE DUVARLARI AÇILDI!"
        execute console command "/fill 148 117 -204 100 122 -169 minecraft:air"
        execute console command "/fill 103 116 -173 103 104 -169 minecraft:air"
        execute console command "/fill 145 116 -173 145 104 -169 minecraft:air"
        execute console command "/fill 145 116 -200 145 104 -204 minecraft:air"
        execute console command "/fill 103 116 -200 103 104 -204 minecraft:air"
        execute console command "/fill 145 105 -199 145 116 -174 lime_stained_glass"
        execute console command "/fill 103 105 -199 103 116 -174 lime_stained_glass"
        wait 1 second
        set {sayaç} to 5
        if {sayac.durdurulmus} is true:
            set {sayac} to 0
        else:
            while {sayaç} isn't 0:
                send action bar "&e&lMavi Takımın Kazanmasına: &f&l%{sayaç}%" to player
                subtract 1 from {sayaç}
                wait 1 second
            delete {sayaç}

Bu komut işine yarayacaktır. Bir hata verirse belirtebilirsin.
Arkadaşın gönderdiği kodu tam almamışsınız. Alt tarafları kontrol edin lütfen @Fisequn
 
Bunu dener misin?


Kod:
command /durdur:
    permission: op
    permission message: Böyle bir komut bulunamadı.
    trigger:
        set {sayac.durdurulmus} to true
        send "&cSayaç başarıyla durduruldu."

command /bgönder:
    permission: op
    trigger:
        set {sayac.durdurulmus} to false
        execute console command "/clear @a"
        execute console command "/kill @a"
        set {sayaç} to 5
        while {sayaç} isn't 0:
            send action bar "&e&lKapıların Açılmasına: &f&l%{sayaç}%" to player
            subtract 1 from {sayaç}
            play sound "minecraft:block.note_block.hat" with volume 10 to player
            wait 1 second
        delete {sayaç}
        play sound "entity.ghast.scream" with volume 10 to player
        execute player command "/tm bc &a&lKALE DUVARLARI AÇILDI!"
        execute console command "/fill 148 117 -204 100 122 -169 minecraft:air"
        execute console command "/fill 103 116 -173 103 104 -169 minecraft:air"
        execute console command "/fill 145 116 -173 145 104 -169 minecraft:air"
        execute console command "/fill 145 116 -200 145 104 -204 minecraft:air"
        execute console command "/fill 103 116 -200 103 104 -204 minecraft:air"
        execute console command "/fill 145 105 -199 145 116 -174 lime_stained_glass"
        execute console command "/fill 103 105 -199 103 116 -174 lime_stained_glass"
        wait 1 second
        set {sayaç} to 5
        while {sayaç} isn't 0:
            send action bar "&e&lMavi Takımın Kazanmasına: &f&l%{sayaç}%" to player
            subtract 1 from {sayaç}
            wait 1 second
            if {sayac.durdurulmus} is true:
                set {sayac} to 0
        delete {sayaç}
wait 1 second kısmından sonra kontrol gerçekleşecek ve eğer durdurulmuş ise sayaç durdurulacaktır. Eğer ki durdurulmamışsa kod devam edecektir.
 
Bunu dener misin?


Kod:
command /durdur:
    permission: op
    permission message: Böyle bir komut bulunamadı.
    trigger:
        set {sayac.durdurulmus} to true
        send "&cSayaç başarıyla durduruldu."

command /bgönder:
    permission: op
    trigger:
        set {sayac.durdurulmus} to false
        execute console command "/clear @a"
        execute console command "/kill @a"
        set {sayaç} to 5
        while {sayaç} isn't 0:
            send action bar "&e&lKapıların Açılmasına: &f&l%{sayaç}%" to player
            subtract 1 from {sayaç}
            play sound "minecraft:block.note_block.hat" with volume 10 to player
            wait 1 second
        delete {sayaç}
        play sound "entity.ghast.scream" with volume 10 to player
        execute player command "/tm bc &a&lKALE DUVARLARI AÇILDI!"
        execute console command "/fill 148 117 -204 100 122 -169 minecraft:air"
        execute console command "/fill 103 116 -173 103 104 -169 minecraft:air"
        execute console command "/fill 145 116 -173 145 104 -169 minecraft:air"
        execute console command "/fill 145 116 -200 145 104 -204 minecraft:air"
        execute console command "/fill 103 116 -200 103 104 -204 minecraft:air"
        execute console command "/fill 145 105 -199 145 116 -174 lime_stained_glass"
        execute console command "/fill 103 105 -199 103 116 -174 lime_stained_glass"
        wait 1 second
        set {sayaç} to 5
        while {sayaç} isn't 0:
            send action bar "&e&lMavi Takımın Kazanmasına: &f&l%{sayaç}%" to player
            subtract 1 from {sayaç}
            wait 1 second
            if {sayac.durdurulmus} is true:
                set {sayac} to 0
        delete {sayaç}
wait 1 second kısmından sonra kontrol gerçekleşecek ve eğer durdurulmuş ise sayaç durdurulacaktır. Eğer ki durdurulmamışsa kod devam edecektir.
yok etkileşim kuramıyor şöyle birşey yapabilirmiyiz? sayaç sayıyora /durdur komutu geldiğinde sayaçla alakalı ne varsa silsin tekrar başlatana kadar
 
yok etkileşim kuramıyor şöyle birşey yapabilirmiyiz? sayaç sayıyora /durdur komutu geldiğinde sayaçla alakalı ne varsa silsin tekrar başlatana kadar
Discord üzerinden iletişime geçebilir misiniz? Daha hızlı olması açısından ve daha detay alabilmem gerekiyor. Ben anlamadım çünkü anlatmak istediğinizi.
 
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