Hello again!
First of all I need to thank all Swamp members who helped me so much , Specially Lee Mac, CAB and Roy. Thanks for your Patience. I know I can be a stubborn, stupid pain in the #@'!?. Happens to me a lot when I'm under pressure and a lil panicked.
The script now finally runns round. Pretty much the way it should. Now it's time for me to polish up the code and build in some error avoiding. Hope I can do the last part on my own!
Ok to get to the point. Is there any way of checking via Lisp, if there is something in the drawing, that can be purged? at the moment I simply run the purge command a few times in repeat hardcoded, and that's not actually effective on files, that don't need purging at all.