Deleted User 63724
Yaratık Tuzağı: Çalışıyor
- Katılım
- 9 Nisan 2017
- Mesajlar
- 720
- Elmaslar
- 332
- Puan
- 14.730
bir sript yazdım fakat hata veriyor bunun için bir skript plugini olduğundan eminim örneğin Skmorkaz gibi mesela
skriptim
Kod:
veriables:
{coin.%player%} = 0
options:
p: &8[&cSunucu&8] &7
command /coin [<text>] [<text>] [<text>]:
trigger:
if arg 1 is set:
if arg 1 is "gönder":
if arg 2 is set:
if arg 3 is set:
if {coin.%player%} is greater than %arg 3%:
add %arg 3% to {coin.%arg 2%}
remove %arg 3% from {coin.%player%}
send "{@p} %arg 2% adlı kişiye %arg 3% coin gönder."
execute console command "msg %arg 2% &4%player% &7sana &a%arg 3% &7coin gönderdi."
else:
send "{@p} Bunu yapamazsın. Coinin yetmiyor"
send "{@p} Sendeki coin: %{coin.%player%}%. gereken coin: %arg 3%"
else:
send "{@p} Kullanım: /coin gönder isim miktar"
else:
send "{@p} Kullanım: /coin gönder isim miktar"
if arg 1 is "market":
send "{@p} Coin Market açılıyor."
if arg 1 is "ver":
if player has the permission "sk.admin":
if arg 2 is set:
if arg 3 is set:
add %arg 3% to {coin.%arg 2%}
send "{@p} %arg 2% adlı kişiye %arg 3% coin verdin."
execute console command "msg %arg 2% &4&l%player% &7sana bedavadan &a%arg 3% &7coin verdi."
else:
send "{@p} Kullanım: /coin ver isim miktar"
else:
send "{@p} Kıllanım: /coin ver isim miktar"
else:
send "{@p} Bunu Yapamazsın"
command /spawneral [<text>]:
trigger:
if arg 1 is set:
if arg 1 is "pig":
if {coin.%player%} is greater than 10:
execute console command "ss give %player% %arg 1%"
else:
send "{@p} Bunu yapamazsın. Coinin yetmiyor"
send "{@p} Sendeki coin: %{coin.%player%}%. gereken coin: 10"
if arg 1 is "sheep":
if {coin.%player%} is greater than 15:
execute console command "ss give %player% %arg 1%"
else:
send "{@p} Bunu yapamazsın. Coinin yetmiyor"
send "{@p} Sendeki coin: %{coin.%player%}%. gereken coin: 15"
if arg 1 is "cow":
if {coin.%player%} is greater than 20:
execute console command "ss give %player% %arg 1%"
else:
send "{@p} Bunu yapamazsın. Coinin yetmiyor"
send "{@p} Sendeki coin: %{coin.%player%}%. gereken coin: 20"
if arg 1 is "zombie":
if {coin.%player%} is greater than 30:
execute console command "ss give %player% %arg 1%"
else:
send "{@p} Bunu yapamazsın. Coinin yetmiyor"
send "{@p} Sendeki coin: %{coin.%player%}%. gereken coin: 30"
if arg 1 is "skeleton":
if {coin.%player%} is greater than 40:
execute console command "ss give %player% %arg 1%"
else:
send "{@p} Bunu yapamazsın. Coinin yetmiyor"
send "{@p} Sendeki coin: %{coin.%player%}%. gereken coin: 40"
if arg 1 is "blaze":
if {coin.%player%} is greater than 50:
execute console command "ss give %player% %arg 1%"
else:
send "{@p} Bunu yapamazsın. Coinin yetmiyor"
send "{@p} Sendeki coin: %{coin.%player%}%. gereken coin: 50"
if arg 1 is "golem":
if {coin.%player%} is greater than 64:
execute console command "ss give %player% ig"
else:
send "{@p} Bunu yapamazsın. Coinin yetmiyor"
send "{@p} Sendeki coin: %{coin.%player%}%. gereken coin: 64"