Truthfully i dont like using loops, as its simpler to do it this way, and as far as the dcx dll, when i first started scripting, no one would help me. Im self taught, which means i had to find these particular dlls myself. Made me a better scripter. Besides, a quick google search will get you the appropriate file. And most importantly, im posting these things from a semi-smartphone, so i cant really upload files. It took me around an hour to transcribe these 60+ lines of code from my phone. Thanks for the tip though.