I gotta say, I love this script.
One issue is that I got disconnected while skill cleesh was set, and when I started up the script again, oldaction was set to cleesh. I'm not sure if there's a good way to fix this, maybe a line that checks if oldaction is cleesh, and setting oldaction instead...