Skript Paylaşımı Gelişmiş Yağmur Oylama Skripti

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

MaxShadow

Birisi mi Spawnlandı?
Katılım
26 Nisan 2017
Mesajlar
7
Elmaslar
2
Puan
13.250
Yaş
29
Öncelikle Herkese Merhaba;
Kendim Editleyip Geliştirmiş Olduğum Yağmur Oylama Skriptini Sizlere Gösterceğim
Biraz Acemiyim :D
Kod:
on weather change:
    is raining in "ASkyBlock":
        set {yoylama} to true
        loop all players:
            set {yoy.%loop-player%} to true
        broadcast "                          &c---[&3Sunucu&6Adı&c]---"
        broadcast "               &aYağmur yağdığı için yağmur oylaması başlatıldı."
        broadcast "               &aYağmurun Oylaması İçin /yagmur Yazınız."
        broadcast "               &aSaniye sonra oylama bitecek &6> &6[30] <"
        play raw sound "mob.guardian.curse" at players with pitch 1 volume 25
        wait 25 second
        execute console command "tm broadcast &cSaniye sonra oylama bitecek\n&6> &6[5] <"
        wait 1 second
        execute console command "tm broadcast &cSaniye sonra oylama bitecek\n&6> &6[4] <"
        wait 1 second
        execute console command "tm broadcast &cSaniye sonra oylama bitecek\n&6> &6[3] <"
        wait 1 second
        execute console command "tm broadcast &cSaniye sonra oylama bitecek\n&6> &6[2] <"
        wait 1 second
        execute console command "tm broadcast &cSaniye sonra oylama bitecek\n&6> &6[1] <"
        wait 1 second
        execute console command "tm broadcast &cSaniye sonra oylama bitecek\n&6> &6[0] <"
        wait 1 second
        execute console command "tm broadcast &aOylama Bitmiştir."
        wait 1 second
        if {yevett} is greater than {yhayirr}:
            set weather to sunny
            play raw sound "mob.chicken.plop" at players with pitch 1 volume 25
            broadcast "&3Sunucu&6Adı &8» &8Hava durumu &6güneşli &8olarak karar verilmiştir!"
        if {yhayirr} is greater than {yevett}:
            play raw sound "mob.chicken.plop" at players with pitch 1 volume 25
            broadcast "&3Sunucu&6Adı &8» &7Hava durumu &7yağmurlu &8olarak karar verilmiştir!"
        set {yoylama} to false
        set {yevett} to 0
        set {yhayirr} to 0

command /yevet:
    trigger:
        if {yoylama} is true:
            if {yoy.%player%} is true:
                add 1 to {yevett}
                send "&cYağmur Oylaması &7» &aEvet &8: &7%{yevett}% &cHayır &8: &7%{yhayirr}%" to player
                set {yoy.%player%} to false
            else:
                execute console command "tm msg %player% &6Yağmur!\n&cZaten Oy Kullandın Dostum&8."
        if {yoylama} is false:
            execute console command "tm msg %player% &6Yağmur!\n&6Şuan Bir Yağmur Oylaması Yok&8." 
command /yhayir:
    trigger:
        if {yoylama} is true:
            if {yoy.%player%} is true:
                add 1 to {yhayirr}
                send "&cYağmur Oylaması &7» &aEvet &8: &7%{yevett}% &cHayır &8: &7%{yhayirr}%" to player
                set {yoy.%player%} to false
            else:
                execute console command "tm msg %player% &6Yağmur!\n&cZaten Oy Kullandın Dostum&8."
        if {yoylama} is false:
            execute console command "tm msg %player% &6Yağmur!\n&6Şuan Bir Yağmur Oylaması Yok&8."
command /yagmur:
    trigger:     
        open chest with 2 rows named "&8&l» &d&lYağmur Menüsü  &8&l«" to player
        wait 1 tick
        format slot 0 of player with Red Stained Glass Pane named "&8&l» &8[&3Sunucu&6Adı&8] &8&l«"  to close
        format slot 1 of player with Red Stained Glass Pane named "&8&l» &8[&3Sunucu&6Adı&8] &8&l«"  to close
        format slot 2 of player with Red Stained Glass Pane named "&8&l» &8[&3Sunucu&6Adı&8] &8&l«"  to close
        format slot 3 of player with Sugar named "&aYağmurun Durması İçin Tıkla!"  to close then run [execute player command "yevet"]
        format slot 4 of player with Red Stained Glass Pane named "&8&l» &8[&3Sunucu&6Adı&8] &8&l«"  to close
        format slot 5 of player with RedStone named "&cYağmurun Devam Etmesi İçin Tıkla!"  to close then run [execute player command "yhayir"]
        format slot 6 of player with Red Stained Glass Pane named "&8&l» &8[&3Sunucu&6Adı&8] &8&l«"  to close
        format slot 7 of player with Red Stained Glass Pane named "&8&l» &8[&3Sunucu&6Adı&8] &8&l«"  to close
        format slot 8 of player with Red Stained Glass Pane named "&8&l» &8[&3Sunucu&6Adı&8] &8&l«"  to close
        format slot 9 of player with Red Stained Glass Pane named "&8&l» &8[&3Sunucu&6Adı&8] &8&l«"  to close
        format slot 10 of player with Red Stained Glass Pane named "&8&l» &8[&3Sunucu&6Adı&8] &8&l«"  to close
        format slot 11 of player with Red Stained Glass Pane named "&8&l» &8[&3Sunucu&6Adı&8] &8&l«"  to close
        format slot 12 of player with Red Stained Glass Pane named "&8&l» &8[&3Sunucu&6Adı&8] &8&l«"  to close
        format slot 13 of player with Book And Quill named "&eOylama Durumu &8» &aEvet &8: &7%{yevett}% &cHayır &8: &7%{yhayirr}%"  to close then run [execute player command "wrgwejkrtuıdsgfıydsrfuysdfgydsgflısdtgfıgsdıgf"]
        format slot 14 of player with Red Stained Glass Pane named "&8&l» &8[&3Sunucu&6Adı&8] &8&l«"  to close
        format slot 15 of player with Red Stained Glass Pane named "&8&l» &8[&3Sunucu&6Adı&8] &8&l«"  to close
        format slot 16 of player with Red Stained Glass Pane named "&8&l» &8[&3Sunucu&6Adı&8] &8&l«"  to close
        format slot 17 of player with Red Stained Glass Pane named "&8&l» &8[&3Sunucu&6Adı&8] &8&l«"  to close
        stop

command /wrgwejkrtuıdsgfıydsrfuysdfgydsgflısdtgfıgsdıgf:
    permission: yagmur.msg
    trigger:
        execute console command "tm msg %player% &6Yağmur!\n&cYanlış Yer Dostum&8!"
Resimler Çok Acemiyim Resimleri Kötü Kesmiş Olabilirim;
2018-06-14_21.05.42.png

2018-06-14_21.06.52.png

2018-06-14_21.06.20.png
2018-06-14_21.06.37.png
2018-06-14_21.07.20.png
2018-06-14_21.31.21.png

2018-06-14_21.31.33.png

2018-06-14_21.31.23.png

2018-06-14_21.31.36.png


2018-06-14_21.31.25.png
 
Son düzenleme:
Tatlı bir uygulama ama yağmur menüsünün içini daha interaktif ve kolay yapabilirsin, ortaya tıklanmayan gri panel koyup sol tarafın sadece yeşil panel ile evet oyu verilmesi, ve sağ tarafın sadece kırmızı panel ile hayır oyu verilmesi gibi.
 
Bu Güzel Yorumun İçin Çok Teşekkür Ederim Hemen Ayarlıyorum.
Gönderi otomatik olarak birleştirildi:

Kod:
on weather change:
    is raining in "ASkyBlock":
        set {yoylama} to true
        loop all players:
            set {yoy.%loop-player%} to true
        broadcast "                          &c---[&3Sunucu&6Adı&c]---"
        broadcast "               &aYağmur yağdığı için yağmur oylaması başlatıldı."
        broadcast "               &aYağmurun Oylaması İçin /yagmur Yazınız."
        broadcast "               &aSaniye sonra oylama bitecek &6> &6[30] <"
        play raw sound "mob.guardian.curse" at players with pitch 1 volume 25
        wait 25 second
        execute console command "tm broadcast &cSaniye sonra oylama bitecek\n&6> &6[5] <"
        wait 1 second
        execute console command "tm broadcast &cSaniye sonra oylama bitecek\n&6> &6[4] <"
        wait 1 second
        execute console command "tm broadcast &cSaniye sonra oylama bitecek\n&6> &6[3] <"
        wait 1 second
        execute console command "tm broadcast &cSaniye sonra oylama bitecek\n&6> &6[2] <"
        wait 1 second
        execute console command "tm broadcast &cSaniye sonra oylama bitecek\n&6> &6[1] <"
        wait 1 second
        execute console command "tm broadcast &cSaniye sonra oylama bitecek\n&6> &6[0] <"
        wait 1 second
        execute console command "tm broadcast &aOylama Bitmiştir."
        wait 1 second
        if {yevett} is greater than {yhayirr}:
            set weather to sunny
            play raw sound "mob.chicken.plop" at players with pitch 1 volume 25
            broadcast "&3Sunucu&6Adı &8» &8Hava durumu &6güneşli &8olarak karar verilmiştir!"
        if {yhayirr} is greater than {yevett}:
            play raw sound "mob.chicken.plop" at players with pitch 1 volume 25 
            broadcast "&3Sunucu&6Adı &8» &7Hava durumu &7yağmurlu &8olarak karar verilmiştir!" 
        set {yoylama} to false
        set {yevett} to 0
        set {yhayirr} to 0

command /yevet:
    trigger:
        if {yoylama} is true:
            if {yoy.%player%} is true:
                add 1 to {yevett}
                send "&cYağmur Oylaması &7» &aEvet &8: &7%{yevett}% &cHayır &8: &7%{yhayirr}%" to player
                set {yoy.%player%} to false
            else:
                execute console command "tm msg %player% &6Yağmur!\n&cZaten Oy Kullandın Dostum&8."
        if {yoylama} is false:
            execute console command "tm msg %player% &6Yağmur!\n&6Şuan Bir Yağmur Oylaması Yok&8."   
command /yhayir:
    trigger:
        if {yoylama} is true:
            if {yoy.%player%} is true:
                add 1 to {yhayirr}
                send "&cYağmur Oylaması &7» &aEvet &8: &7%{yevett}% &cHayır &8: &7%{yhayirr}%" to player
                set {yoy.%player%} to false
            else:
                execute console command "tm msg %player% &6Yağmur!\n&cZaten Oy Kullandın Dostum&8."
        if {yoylama} is false:
            execute console command "tm msg %player% &6Yağmur!\n&6Şuan Bir Yağmur Oylaması Yok&8."
command /yagmur:
    trigger:       
        open chest with 2 rows named "&8&l» &d&lYağmur Menüsü  &8&l«" to player
        wait 1 tick
        format slot 0 of player with White Stained Glass Pane named "&8&l» &8[&3Sunucu&6Adı&8] &8&l«"  to close
        format slot 1 of player with White Stained Glass Pane named "&8&l» &8[&3Sunucu&6Adı&8] &8&l«"  to close
        format slot 2 of player with White Stained Glass Pane named "&8&l» &8[&3Sunucu&6Adı&8] &8&l«"  to close
        format slot 3 of player with light green glass named "&aYağmurun Durması İçin Tıkla!"  to close then run [execute player command "yevet"]
        format slot 4 of player with White Stained Glass Pane named "&8&l» &8[&3Sunucu&6Adı&8] &8&l«"  to close
        format slot 5 of player with Red Stained Glass Pane named "&cYağmurun Devam Etmesi İçin Tıkla!"  to close then run [execute player command "yhayir"]
        format slot 6 of player with White Stained Glass Pane named "&8&l» &8[&3Sunucu&6Adı&8] &8&l«"  to close
        format slot 7 of player with White Stained Glass Pane named "&8&l» &8[&3Sunucu&6Adı&8] &8&l«"  to close
        format slot 8 of player with White Stained Glass Pane named "&8&l» &8[&3Sunucu&6Adı&8] &8&l«"  to close
        format slot 9 of player with White Stained Glass Pane named "&8&l» &8[&3Sunucu&6Adı&8] &8&l«"  to close
        format slot 10 of player with White Stained Glass Pane named "&8&l» &8[&3Sunucu&6Adı&8] &8&l«"  to close
        format slot 11 of player with White Stained Glass Pane named "&8&l» &8[&3Sunucu&6Adı&8] &8&l«"  to close
        format slot 12 of player with White Stained Glass Pane named "&8&l» &8[&3Sunucu&6Adı&8] &8&l«"  to close
        format slot 13 of player with Book And Quill named "&eOylama Durumu &8» &aEvet &8: &7%{yevett}% &cHayır &8: &7%{yhayirr}%"  to close then run [execute player command "wrgwejkrtuıdsgfıydsrfuysdfgydsgflısdtgfıgsdıgf"]
        format slot 14 of player with White Stained Glass Pane named "&8&l» &8[&3Sunucu&6Adı&8] &8&l«"  to close
        format slot 15 of player with White Stained Glass Pane named "&8&l» &8[&3Sunucu&6Adı&8] &8&l«"  to close
        format slot 16 of player with White Stained Glass Pane named "&8&l» &8[&3Sunucu&6Adı&8] &8&l«"  to close
        format slot 17 of player with White Stained Glass Pane named "&8&l» &8[&3Sunucu&6Adı&8] &8&l«"  to close
        stop

command /wrgwejkrtuıdsgfıydsrfuysdfgydsgflısdtgfıgsdıgf:
    permission: yagmur.msg
    trigger:
        execute console command "tm msg %player% &6Yağmur!\n&cYanlış Yer Dostum&8!"


Buyurun Değiştirdim.
 
Son düzenleme:
benzerleri vardı fakat guili yapıp bir kaç değişiklik yapılmış başarılı
 
Bu Güzel Yorumun için Teşekkür Ederim.
 
Öncelikle Herkese Merhaba;
Kendim Editleyip Geliştirmiş Olduğum Yağmur Oylama Skriptini Sizlere Gösterceğim
Biraz Acemiyim :D
Kod:
on weather change:
    is raining in "ASkyBlock":
        set {yoylama} to true
        loop all players:
            set {yoy.%loop-player%} to true
        broadcast "                          &c---[&3Sunucu&6Adı&c]---"
        broadcast "               &aYağmur yağdığı için yağmur oylaması başlatıldı."
        broadcast "               &aYağmurun Oylaması İçin /yagmur Yazınız."
        broadcast "               &aSaniye sonra oylama bitecek &6> &6[30] <"
        play raw sound "mob.guardian.curse" at players with pitch 1 volume 25
        wait 25 second
        execute console command "tm broadcast &cSaniye sonra oylama bitecek\n&6> &6[5] <"
        wait 1 second
        execute console command "tm broadcast &cSaniye sonra oylama bitecek\n&6> &6[4] <"
        wait 1 second
        execute console command "tm broadcast &cSaniye sonra oylama bitecek\n&6> &6[3] <"
        wait 1 second
        execute console command "tm broadcast &cSaniye sonra oylama bitecek\n&6> &6[2] <"
        wait 1 second
        execute console command "tm broadcast &cSaniye sonra oylama bitecek\n&6> &6[1] <"
        wait 1 second
        execute console command "tm broadcast &cSaniye sonra oylama bitecek\n&6> &6[0] <"
        wait 1 second
        execute console command "tm broadcast &aOylama Bitmiştir."
        wait 1 second
        if {yevett} is greater than {yhayirr}:
            set weather to sunny
            play raw sound "mob.chicken.plop" at players with pitch 1 volume 25
            broadcast "&3Sunucu&6Adı &8» &8Hava durumu &6güneşli &8olarak karar verilmiştir!"
        if {yhayirr} is greater than {yevett}:
            play raw sound "mob.chicken.plop" at players with pitch 1 volume 25
            broadcast "&3Sunucu&6Adı &8» &7Hava durumu &7yağmurlu &8olarak karar verilmiştir!"
        set {yoylama} to false
        set {yevett} to 0
        set {yhayirr} to 0

command /yevet:
    trigger:
        if {yoylama} is true:
            if {yoy.%player%} is true:
                add 1 to {yevett}
                send "&cYağmur Oylaması &7» &aEvet &8: &7%{yevett}% &cHayır &8: &7%{yhayirr}%" to player
                set {yoy.%player%} to false
            else:
                execute console command "tm msg %player% &6Yağmur!\n&cZaten Oy Kullandın Dostum&8."
        if {yoylama} is false:
            execute console command "tm msg %player% &6Yağmur!\n&6Şuan Bir Yağmur Oylaması Yok&8."
command /yhayir:
    trigger:
        if {yoylama} is true:
            if {yoy.%player%} is true:
                add 1 to {yhayirr}
                send "&cYağmur Oylaması &7» &aEvet &8: &7%{yevett}% &cHayır &8: &7%{yhayirr}%" to player
                set {yoy.%player%} to false
            else:
                execute console command "tm msg %player% &6Yağmur!\n&cZaten Oy Kullandın Dostum&8."
        if {yoylama} is false:
            execute console command "tm msg %player% &6Yağmur!\n&6Şuan Bir Yağmur Oylaması Yok&8."
command /yagmur:
    trigger:    
        open chest with 2 rows named "&8&l» &d&lYağmur Menüsü  &8&l«" to player
        wait 1 tick
        format slot 0 of player with Red Stained Glass Pane named "&8&l» &8[&3Sunucu&6Adı&8] &8&l«"  to close
        format slot 1 of player with Red Stained Glass Pane named "&8&l» &8[&3Sunucu&6Adı&8] &8&l«"  to close
        format slot 2 of player with Red Stained Glass Pane named "&8&l» &8[&3Sunucu&6Adı&8] &8&l«"  to close
        format slot 3 of player with Sugar named "&aYağmurun Durması İçin Tıkla!"  to close then run [execute player command "yevet"]
        format slot 4 of player with Red Stained Glass Pane named "&8&l» &8[&3Sunucu&6Adı&8] &8&l«"  to close
        format slot 5 of player with RedStone named "&cYağmurun Devam Etmesi İçin Tıkla!"  to close then run [execute player command "yhayir"]
        format slot 6 of player with Red Stained Glass Pane named "&8&l» &8[&3Sunucu&6Adı&8] &8&l«"  to close
        format slot 7 of player with Red Stained Glass Pane named "&8&l» &8[&3Sunucu&6Adı&8] &8&l«"  to close
        format slot 8 of player with Red Stained Glass Pane named "&8&l» &8[&3Sunucu&6Adı&8] &8&l«"  to close
        format slot 9 of player with Red Stained Glass Pane named "&8&l» &8[&3Sunucu&6Adı&8] &8&l«"  to close
        format slot 10 of player with Red Stained Glass Pane named "&8&l» &8[&3Sunucu&6Adı&8] &8&l«"  to close
        format slot 11 of player with Red Stained Glass Pane named "&8&l» &8[&3Sunucu&6Adı&8] &8&l«"  to close
        format slot 12 of player with Red Stained Glass Pane named "&8&l» &8[&3Sunucu&6Adı&8] &8&l«"  to close
        format slot 13 of player with Book And Quill named "&eOylama Durumu &8» &aEvet &8: &7%{yevett}% &cHayır &8: &7%{yhayirr}%"  to close then run [execute player command "wrgwejkrtuıdsgfıydsrfuysdfgydsgflısdtgfıgsdıgf"]
        format slot 14 of player with Red Stained Glass Pane named "&8&l» &8[&3Sunucu&6Adı&8] &8&l«"  to close
        format slot 15 of player with Red Stained Glass Pane named "&8&l» &8[&3Sunucu&6Adı&8] &8&l«"  to close
        format slot 16 of player with Red Stained Glass Pane named "&8&l» &8[&3Sunucu&6Adı&8] &8&l«"  to close
        format slot 17 of player with Red Stained Glass Pane named "&8&l» &8[&3Sunucu&6Adı&8] &8&l«"  to close
        stop

command /wrgwejkrtuıdsgfıydsrfuysdfgydsgflısdtgfıgsdıgf:
    permission: yagmur.msg
    trigger:
        execute console command "tm msg %player% &6Yağmur!\n&cYanlış Yer Dostum&8!"
Resimler Çok Acemiyim Resimleri Kötü Kesmiş Olabilirim;
Ekli dosyayı görüntüle 30343
Ekli dosyayı görüntüle 30346
Ekli dosyayı görüntüle 30344Ekli dosyayı görüntüle 30345Ekli dosyayı görüntüle 30347Ekli dosyayı görüntüle 30348
Ekli dosyayı görüntüle 30351
Ekli dosyayı görüntüle 30349
Ekli dosyayı görüntüle 30352

Ekli dosyayı görüntüle 30350
Güzel fakat her kodu konsola kullandırmak yerine skript addonlarından yararlanabilirsin.
 
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