This script will complete the Haunted Mine quest up until the boss fight then wait until you manually complete the boss fight and walk outside the door then it will continue. Please read the thread for all information regarding recommendations and how to use this script.