I think I found a method to stop the script from attacking the lvl 133. I split up your mxFightCave procedure into two parts, enter and fight.
The only problem now is that mxFightCaveSleep is broken, but thats a low price to pay for a working script that doesn't get us killed on entering ;)

