on mine of stone:
if player doesn't have permission "vip":
chance of 99%:
stop
else:
chance of 97%:
stop
if player's tool is stone axe or diamond axe:
drop 1 iron ingot at player
else if player's tool is iron pickaxe or diamond axe:
set {_} to 1 or 2 or 3 or 4
if {_} is 1:
drop 1 lapis lazuli at player
else if {_} is 2:
drop 1 diamond at player
else if {_} is 3:
drop 1 gold ingot at player
else:
drop 1 redstone at player
if player's tool is diamond axe:
drop 5 xp at player