Oyuncu at

RookieJB

Kömür Madencisi
Mesajlar
100
En iyi cevaplar
0
Beğeniler
61
Puanları
0
Kod:
command /at <player>:
    trigger:
        player is not op
        arg 1 is not op
        if player has permission "vip":
            set {basladi} to true
            add arg 1 to {oylama::*}
            broadcast "%player% isimli oyuncu %arg 1% isimli oyuncu için oylama başlattı. "
        else:
            send "Sadece vipler oylama başlatabilir!"

command /yes:
    trigger:
        if player has permission "vip":
            if {basladi} is true:
                if {oyver.%player%} is not set:
                    add 1 to {sayi}
                    set {oyver.%player%} to true
                    if {sayi} is 4:
                        loop {oylama::*}:
                            kick loop-value due to "Oylama sonucuyla atıldınız."
                            remove loop-value from {oylama::*}
                        loop all players:
                            delete {oyver.%loop-player%}
                            set {basladi} to false

şunu bi denesen hocam.
Bunun için no ? yok
 

efe2002ozyay

Obsidyen Madencisi
Mesajlar
1,321
En iyi cevaplar
0
Beğeniler
547
Puanları
0
"/at" komutu Türkçe.
"/yes" komutu İngilizce.
Aferin.
 

Üst