Furk4545
Fırında Isıttığım İlk Taş
- Katılım
- 16 Mart 2019
- Mesajlar
- 99
- Elmaslar
- 14
- Puan
- 0
- Yaş
- 25
- Minecraft
- Yok
Discord:
Yok
Kod:
on break of lapis ore:
if {LapiSat.%player%} is true:
if {64Lapis.%player%} is true:
if player have 64 lapis lazuli:
remove 64 lapis lazuli from player
execute console command "money grant %player% 100"
message "&8[ &9OtoLapis &8] &7Lapisler Satıldı"
if {320Lapis.%player%} is true:
if player have 320 lapis lazuli:
remove 320 lapis lazuli from player
execute console command "money grant %player% 500"
message "&8[ &9OtoLapis &8] &7Lapisler Satıldı"
command /OtoLapis [<text>] [<int>]:
trigger:
if arg 1 is "aç":
set {LapiSat.%player%} to true
set {64Lapis.%player%} to true
send "&8[ &9OtoLapis &8] &7OtoLapis &2Açıldı"
if arg 1 is "kapat":
delete {LapiSat.%player%}
delete {64Lapis.%player%}
delete {320Lapis.%player%}
message "&8[ &9OtoLapis &8] &7OtoLapis &cKapatıldı"
if arg 1 is "ayarla":
if arg-2 is equal to 64:
delete {320Lapis.%player%}
set {64Lapis.%player%} to true
message "&8[ &9OtoLapis &8] &7OtoLapis &c64&7'e Ayarlandı"
if arg-2 is equal to 320:
delete {64Lapis.%player%}
set {320Lapis.%player%} to true
message "&8[ &9OtoLapis &8] &7OtoLapis &c320&7'ye Ayarlandı"
if arg 1 isn't set:
message "&r&m-&6&m-&r&m-&6&m-&r&m-&6&m-&r&m-&6&m-&r&m-&6&m-&r&m-"
message "&7>> &6/OtoLapis aç"
message "&7>> &6/OtoLapis kapat"
message "&7>> &6/OtoLapis ayarla <64-320>"
message "&r&m-&6&m-&r&m-&6&m-&r&m-&6&m-&r&m-&6&m-&r&m-&6&m-&r&m-"
Son düzenleme: