- Katılım
- 8 Ekim 2017
- Mesajlar
- 68
- Elmaslar
- 1
- Puanlar
- 0
- Yaş
- 24
command /asd:
trigger:
loop 1 times:
loop all items in player's inventory:
if player has 3 iron ingots:
message "&aBaşarıyla 3 demirini 1 elmasa çevirdin." to the player
remove 3 iron ingot from player's inventory
add 1 diamond to the player
stop
Demirlerin ismi kristalse degişsin yoksa vermesin bunu eklermisin rica etsem.Buyur.
Kod:command /asd: trigger: loop 1 times: loop all items in player's inventory: if player has 3 iron ingots: message "&aBaşarıyla 3 demirini 1 elmasa çevirdin." to the player remove 3 iron ingot from player's inventory add 1 diamond to the player stop
Emin değilim uzun süredir replace skripti yazmadım.[DOUBLEPOST=1511683709,1511639933][/DOUBLEPOST]Sorun çözüldüyse belirtiniz.
command /asd:
trigger:
if player has 3 iron ingots:
if tool name is "Kristal":
remove 3 iron ingots named "Kristal" from player
give 1 diamond
else:
send "Demirlerin adı kristal değil"
else:
send "3 Demirin Yok !"
if tool name is de problem var hata veriyorBekle daha düzgün ve kısa yazayım replaceye grerek yokki sürekli istememiş arkadaş. bi sny[DOUBLEPOST=1511690714,1511690568][/DOUBLEPOST]Kod:command /asd: trigger: if player has 3 iron ingots: if tool name is "Kristal": remove 3 iron ingots named "Kristal" from player give 1 diamond else: send "Demirlerin adı kristal değil" else: send "3 Demirin Yok !"
command /asd:
trigger:
loop (amount of iron ingot named "&5Kristal" in player's inventory) times:
player has 3 iron ingot named "&5Kristal"
remove 3 iron ingot named "&5Kristal" from player
give 1 diamond to player