ON CUSTOM {
  IF (^$PARAM1 == "ZONE") {
    SET_CONTROLLED_ZONE EGG_CLOSE
    ACCEPT
  }
 ACCEPT
}

ON CONTROLLEDZONE_ENTER {
 IF (^$PARAM1 != PLAYER) ACCEPT
 UNSET_CONTROLLED_ZONE EGG_CLOSE
 SENDEVENT CUSTOM DRAGON_ICE_0001 "CLOSE"
 TIMERbob 1 15 SET_CONTROLLED_ZONE EGG_CLOSE
 ACCEPT
}