G
GardropFuat
Ziyaretçi
EmreSHN#4551
every 15 minutes:
execute console command "oyun"
command /oyun:
permission: op
trigger:
set {oyun::durum} to true
set {_x} to random integer between 0 and 100
chance of 5%:
set {oyun::islem} to "%{_x}%"
loop all players:
loop-player.sendTitle("&e&lSADECE BUNU YAZ", "&e%{_x}%")
stop
else:
set {_z} to "+" or "-" or "*"
set {_y} to random integer between 5 and 15
set {oyun::durum} to true
if {_z} is "+":
set {oyun::islem} to {_x} + {_y}
if {_z} is "*":
set {oyun::islem} to {_x} * {_y}
if {_z} is "-":
set {oyun::islem} to {_x} - {_y}
loop all players:
loop-player.sendTitle("&e&lBIL BAKALIM", "&e%{_x}% &6%{_z}%&e %{_y}%")
SkQuery yüklemeyi deneyin.
loop-player.sendTitle("&e&lSADECE BUNU YAZ", "&e%{_x}%") yerine send olsaymış daha iyi olurmuş ama :D
Skript sürümünü öğrenebilir miyim?
donsuzturk
options:
p: &f&l々 &7Soru zamanı!!
sure: 11 # kaç dakikada 1 çıkacağını yazınız.
titlesure: 20 # işlemlerin ekranda kaç saniye kalacağını yazın.
command /oyun:
permission: sk.oyunsxc
permission message: &7Yetkiniz bulunmamaktadır.
trigger:
set {hps::oyun} to true
add "Çıkarma" and "Toplama" and "Çarpma" to {_cikacaklar::*}
set {_bs} to 0.4 ticks
loop 20 times:
set {_islem} to random element of {_cikacaklar::*}
send all players title "{@p}" with subtitle "&e&l%{_islem}%"
wait {_bs}
set {_ls} to "%loop-number%" parsed as integer
if {_ls} is greater than 6:
add 0.3 ticks to {_bs}
wait 2.5 seconds
set {_r1} to random integer between 1 and 150
set {_r2} to random integer between 1 and 150
if {_islem} is "Çarpma":
set {_r1} to random integer between 1 and 20
set {_r2} to random integer between 1 and 20
set {hps::sonuc} to {_r1} * {_r2}
send all players title "{@p}" with subtitle "&e%{_r1}% &7x &e%{_r2}% &7= &e&l?" for {@titlesure} seconds
if {_islem} is "Toplama":
set {hps::sonuc} to {_r1} + {_r2}
send all players title "{@p}" with subtitle "&e%{_r1}% &7+ &e%{_r2}% &7= &e&l?" for {@titlesure} seconds
if {_islem} is "Çıkarma":
set {hps::sonuc} to {_r1} - {_r2}
send all players title "{@p}" with subtitle "&e%{_r1}% &7- &e%{_r2}% &7= &e&l?" for {@titlesure} seconds
if {_islem} is "sayili":
set {hps::sonuc} to random integer between 1 and 9999999999999
send all players title "{@p}" with subtitle "&e&l%{hps::sonuc}%" for {@titlesure} seconds
on chat:
if message is "%{hps::sonuc}%":
if {hps::oyun} is true:
send all players title "{@p}" with subtitle "&f&l々 &e%player% &7Kazandı."
delete {hps::*}
execute console command "eco give %player% 2000000"
every {@sure} minutes:
execute console command "oyun"
işe yaradı ve çok güzel olmuş elinize sağlıkKod:options: p: &f&l々 &7Soru zamanı!! sure: 11 # kaç dakikada 1 çıkacağını yazınız. titlesure: 20 # işlemlerin ekranda kaç saniye kalacağını yazın. command /oyun: permission: sk.oyunsxc permission message: &7Yetkiniz bulunmamaktadır. trigger: set {hps::oyun} to true add "Çıkarma" and "Toplama" and "Çarpma" to {_cikacaklar::*} set {_bs} to 0.4 ticks loop 20 times: set {_islem} to random element of {_cikacaklar::*} send all players title "{@p}" with subtitle "&e&l%{_islem}%" wait {_bs} set {_ls} to "%loop-number%" parsed as integer if {_ls} is greater than 6: add 0.3 ticks to {_bs} wait 2.5 seconds set {_r1} to random integer between 1 and 150 set {_r2} to random integer between 1 and 150 if {_islem} is "Çarpma": set {_r1} to random integer between 1 and 20 set {_r2} to random integer between 1 and 20 set {hps::sonuc} to {_r1} * {_r2} send all players title "{@p}" with subtitle "&e%{_r1}% &7x &e%{_r2}% &7= &e&l?" for {@titlesure} seconds if {_islem} is "Toplama": set {hps::sonuc} to {_r1} + {_r2} send all players title "{@p}" with subtitle "&e%{_r1}% &7+ &e%{_r2}% &7= &e&l?" for {@titlesure} seconds if {_islem} is "Çıkarma": set {hps::sonuc} to {_r1} - {_r2} send all players title "{@p}" with subtitle "&e%{_r1}% &7- &e%{_r2}% &7= &e&l?" for {@titlesure} seconds if {_islem} is "sayili": set {hps::sonuc} to random integer between 1 and 9999999999999 send all players title "{@p}" with subtitle "&e&l%{hps::sonuc}%" for {@titlesure} seconds on chat: if message is "%{hps::sonuc}%": if {hps::oyun} is true: send all players title "{@p}" with subtitle "&f&l々 &e%player% &7Kazandı." delete {hps::*} execute console command "eco give %player% 2000000" every {@sure} minutes: execute console command "oyun"
EmreSHN#4551
Büyük bir topluluğun parçası ol, etkinliklere katıl ve özel hediyeler kazanma şansı yakala!