command /oylama [<text>] [<int>]:
permission: op
permission message: &cHata &8&l► &fBu komutu girmek için yetkiniz yok.
trigger:
if arg 1 is set:
if arg 2 is set:
set {oylama.sureci} to true
send "&6Oylama &8&l► &e%arg 1%" to players
send "&7Kabul etmek için &a/evet&7, reddetmek için ise &c/hayır &7yazın." to players
send "&7Oylamanın bitmesine &e%arg 2% &7saniye kaldı." to players
loop arg 2 times:
wait a second
delete {oylama.sureci}
send "&6Oylama &8&l► &eOylama sunuluyor!" to players
wait 1 second
if {evet} is not set:
send "&aEvet &7sayısı &8&l► &f0" to players
else:
send "&aEvet &7sayısı &8&l► &f%{evet}%" to players
if {hayir} is not set:
send "&cHayır &7sayısı &8&l► &f0" to players
else:
send "&cHayır &7sayısı &8&l► &f%{hayir}%" to players
delete {oykullandi::*}
delete {evet}
delete {hayir}
else:
send "&6Oylama &8&l► &7/oylama <konu> <süre>" to player
else:
send "&6Oylama &8&l► &7/oylama <konu> <süre>" to player
command /evet:
trigger:
if {oylama.sureci} is set:
if {oykullandi::%player%} is not set:
set {oykullandi::%player%} to 1
add 1 to {evet}
send "&6Oylama &8&l► &7Oyunuzu &aevet &7olarak kullandınız." to player
else:
send "&6Oylama &8&l► &7Oyunuzu zaten kullanmışsınız." to player
else:
send "&6Oylama &8&l► &7Yürürlükte bir oylama yok!" to player
command /hayır:
aliases: hayir
trigger:
if {oylama.sureci} is set:
if {oykullandi::%player%} is not set:
set {oykullandi::%player%} to 1
add 1 to {hayir}
send "&6Oylama &8&l► &7Oyunuzu &chayır &7olarak kullandınız." to player
else:
send "&6Oylama &8&l► &7Oyunuzu zaten kullanmışsınız." to player
else:
send "&6Oylama &8&l► &7Yürürlükte bir oylama yok!" to player
on skript load:
delete {oykullandi::*}
delete {evet}
delete {hayir}
command /market:
permission: market.sk
permission message: &fBilinmeyen Komut.
trigger:
execute console command "shop"