Orcest
Marangoz
- Mesajlar
- 53
- En iyi cevaplar
- 0
- Beğeniler
- 10
- Puanları
- 150
Kod:
on join:
if {lapiskazma::%player%} is not set:
set {lapiskazma::%player%} to 0
command /görev [<number>]:
aliases: gorev
trigger:
if arg-1 is not set:
open virtual chest with size 1 named "&1Görev" to player
make gui slot 2 of player with iron ingot named "&21 Numaralı Görev" with lore "&a2000 Lapis kaz" to close then run "görev 1"
make gui slot 4 of player with gold ingot named "&22 Numaralı Görev" with lore "&a5000 Lapis kaz" to close then run "görev 2"
make gui slot 6 of player with diamond named "&23 Numaralı Görev" with lore "&a10000 Lapis kaz" to close then run "görev 3"
else if arg-1 is "görev 1":
if {lapisgorev1::%player%} is not set:
if {lapiskazma::%player%} is bigger than or equal to 2000:
set {lapisgorev1::%player%} to true
send "&6Başarıyla 1 numaralı görevi yaptın ve ödül olarak sana 2000TL verildi."
add 2000 to player's balance
else:
send "&cHata! &fBu görevi tamamlamak için %2000 - {lapiskazma::%player%}% tane daha lapis kazman gerekiyor."
else:
send "&cHata! &fBu görevi zaten yapmışsın!"
else if arg-1 is "görev 2":
if {lapisgorev1::%player%} is true:
if {lapisgorev2::%player%} is not set:
if {lapiskazma::%player%} is bigger than or equal to 5000:
set {lapisgorev2::%player%} to true
send "&6Başarıyla 2 numaralı görevi yaptın ve ödül olarak sana 5000TL verildi."
add 5000 to player's balance
else:
send "&cHata! &fBu görevi tamamlamak için %5000 - {lapiskazma::%player%}% tane daha lapis kazman gerekiyor."
else:
send "&cHata! &fBu görevi zaten yapmışsın!"
else:
send "&cHata! Önce 1 numaralı görevi yapmalısın!"
else if arg-1 is "görev 3":
if {lapisgorev1::%player%} is true:
if {lapisgorev2::%player%} is true:
if {lapisgorev3::%player%} is not set:
if {lapiskazma::%player%} is bigger than or equal to 10000:
set {lapisgorev3::%player%} to true
send "&6Başarıyla 3 numaralı görevi yaptın ve ödül olarak sana 10.000TL verildi."
add 10000 to player's balance
else:
send "&cHata! &fBu görevi tamamlamak için %10000 - {lapiskazma::%player%}% tane daha lapis kazman gerekiyor."
else:
send "&cHata! &fBu görevi zaten yapmışsın!"
else:
send "&cHata! Önce 2 numaralı görevi yapmalısın!"
else:
send "&cHata! Önce 1 numaralı görevi yapmalısın!"
on break of lapis ore:
add 1 to {lapiskazma::%player%}
SKRİPT HATALARI:
YARDIMCI OLUNUZ TEŞEKKÜRLER.
Son düzenleme: