Ok I'd just like to declare, that this mod was part of a much bigger mod that I made, and that I copied some parts and that I forgot to add some of the important stuff. (Also nobody noticed the msg(); command?).
I will fix this, like, right now.
PS: No wonder Badspot moved this. It was in addons before.