NuclearPotato_v1
Sudan Çıkmış
- En iyi cevaplar
- 0
Otomatik Exp Drop Eventi
Merhabalar. Sizlere can sıkıntısından yaptığım basit bir scripti paylaşmak istiyorum. Daha önceden yapıldımı bilmiyorum. Yapıldıysa kusuruma bakmayın. Scriptin amacı şu;
Scriptte ayarladığınız saatte otomatik olarak event başlıyor. Bu eventte zombie, creeper, spider, skeleton, enderman ve slime (değiştirilebilir-eklenebilir) kesildiğinde normalden daha fazla exp geliyor. 1 saat sonra otomatik olarak ayarlar eski haline getiriliyor, exp oranı eski haline geliyor. Üstelik bunları script otomatik olarak yapıyor (Adminlerin komut girmesine yada sunucuda admin olmasına gerek yok.)
Kodlar
Kod:
options:
on-ek: &4[&e&lOtomatikEvent&4]
at 15:00:
set {expdrop} to true
{expdrop} is true:
broadcast "{@on-ek} &bExp Drop Eventi etkin. Kestiginiz tum yaratiklardan normalden daha fazla exp gelecektir."
wait 1 second
broadcast "{@on-ek} &bExp Drop Eventi'nin bitmesine 59 dakika kaldi."
wait 540 second
broadcast "{@on-ek} &bExp Drop Eventi'nin bitmesine 40 dakika kaldi."
wait 600 second
broadcast "{@on-ek} &bExp Drop Eventi'nin bitmesine 30 dakika kaldi."
wait 600 second
broadcast "{@on-ek} &bExp Drop Eventi'nin bitmesine 20 dakika kaldi."
wait 500 second
broadcast "{@on-ek} &bExp Drop Eventi'nin bitmesine 10 dakika kaldi."
wait 300 second
broadcast "{@on-ek} &bExp Drop Eventi'nin bitmesine 5 dakika kaldi."
wait 240 second
broadcast "{@on-ek} &bExp Drop Eventi'nin bitmesine 1 dakika kaldi."
wait 30 second
broadcast "{@on-ek} &bExp Drop Eventi'nin bitmesine 30 saniye kaldi."
wait 15 second
broadcast "{@on-ek} &bExp Drop Eventi'nin bitmesine 15 saniye kaldi."
wait 5 second
broadcast "{@on-ek} &bExp Drop Eventi'nin bitmesine 10 saniye kaldi."
wait 5 second
broadcast "{@on-ek} &bExp Drop Eventi'nin bitmesine 5 saniye kaldi."
wait 1 second
broadcast "{@on-ek} &bExp Drop Eventi'nin bitmesine 4 saniye kaldi."
wait 1 second
broadcast "{@on-ek} &bExp Drop Eventi'nin bitmesine 3 saniye kaldi."
wait 1 second
broadcast "{@on-ek} &bExp Drop Eventi'nin bitmesine 2 saniye kaldi."
wait 1 second
broadcast "{@on-ek} &bExp Drop Eventi'nin bitmesine 1 saniye kaldi."
wait 1 second
broadcast "{@on-ek} &bExp Drop Eventi bitmistir."
set {expdrop} to false
on death of a zombie:
{expdrop} is true:
if attacker is a player:
execute console command "/exp give %attacker% 25"
on death of a creeper:
{expdrop} is true:
if attacker is a player:
execute console command "/exp give %attacker% 25"
on death of a spider:
{expdrop} is true:
if attacker is a player:
execute console command "/exp give %attacker% 25"
on death of a skeleton:
{expdrop} is true:
if attacker is a player:
execute console command "/exp give %attacker% 25"
on death of a enderman:
{expdrop} is true:
if attacker is a player:
execute console command "/exp give %attacker% 25"
on death of a slime:
{expdrop} is true:
if attacker is a player:
execute console command "/exp give %attacker% 25"
Kod kısmında "at 15:00:" bölümünden eventin düzenleneceği saati değiştirebilirsiniz (Saati girdikten sonra ":" koymayı unutmayın.)
İyi günler dilerim