ON INIT {
 SETNAME [description_shovel]
 SET_MATERIAL WOOD
 SET_GROUP PROVISIONS
 SET_GROUP "BLUNT"
 SET_PRICE 50
 SET_STEAL 75
 PLAYERSTACKSIZE 5
 ACCEPT
}
ON INVENTORYUSE {
//HEROSAY ^INPLAYERINVENTORY
 IF (^INPLAYERINVENTORY != 1) ACCEPT
 PLAY pickaxe
 SENDEVENT -rfi CUSTOM 300 "SHOVEL"
 TIMERtest -m 1 800 GOTO useless
 ACCEPT
}

ON CUSTOM {
 IF (^$PARAM1 == "USED") {
  TIMERtest OFF
  PLAY "DIG"
  ACCEPT
 }
ACCEPT
}

>>useless
 play "noDig"
ACCEPT