on rightclick: # sağ tıkladığında
if player's tool is golden hoe: # elindeki alet altın kazma ise
if display name of player's tool is "Asa": # eşya adı "Asa" ise
player's target is set # hedef belli ise
distance between the target and the player is more than 10: # hedef ile oyuncu arasındaki blok mesafesi 10 bloktan çok ise
message "Çok uzakta!" # çok uzakta olduğu belirtilir
stop # işlem durdurulur
strike lightning effect at the target # hedef ile oyuncu arasındaki blok mesafesi 10 bloktan az ise
damage target by 5 # hedef 5 birim hasar alır
strike lightning effect at the target # hedefe bir yıldırım efekti çaktırır
ignite the target # hedef yanmaya başlar
stop # işlem durdurulur