command /otosat <text>:
usage: &c/Otosat &aAÇ&f\&4Kapat
trigger:
if arg-1 is "aç":
set {otosat.%player%} to true
send "&c&lOTOSAT &aOtomatik satma aktifleştirildi!" to player
if arg-1 is "kapat":
if {otosat.%player%} is true:
send "&4&lOTOSAT &aOtomatik satma devre dışı!" to player
set {otosat.%player%} to false
else:
send "&4&lOTOSAT &cOtomatik satma zaten Devre dışı!" to player
else:
send "&4&lOTOSAT &cKullanımı: &f/Otosat &aAç&f\&4Kapat"
on pickup:
if {otosat.%player%} is true:
if event-item is brick:
if player has 1 brick:
remove 1 brick from player
add 1000000000 to player's balance
if event-item is nether brick:
if player has 1 nether brick:
remove 1 nether brick from player
add 2500000000 to player's balance
if event-item is nether quartz:
if player has 1 nether quartz:
remove 1 nether quartz from player
add 5000000000 to player's balance
if event-item is charcoal:
if player has 1 charcoal:
remove 1 charcoal from player
add 10000000000 to player's balance
if event-item is flint:
if player has 1 flint:
remove 1 flint from player
add 50000000000 to player's balance
if event-item is diamond:
if player has 1 diamond:
remove 1 diamond from player
add 100000000000 to player's balance
if event-item is rose red:
if player has 1 rose red:
remove 1 rose red from player
add 150000000000 to player's balance
if event-item is light blue dye:
if player has 1 light blue dye:
remove 1 light blue dye from player
add 250000000000 to player's balance
if event-item is * dye:
if player has 1 * dye:
remove 1 * dye from player
add 500000000000 to player's balance
if event-item is iron ingot:
if player has 1 iron ingot:
remove 1 iron ingot from player
add 750000000000 to player's balance
if event-item is nether star:
if player has 1 nether star:
remove 1 nether star from player
add 1000000000000 to player's balance