Thanks for reply fysik, but could you post me the full code? Im not enought good at scripting yet, im doing my first plugin at this moment. Sorry aboat my poor english.
If I post code it will be exactly what I said in words. If you want me to add it in for you then you need to post your full code.