Oh, ok, its probably just my impatience![]()
Was it you cephalo who suggested that while waiting for the script to do its job, one can go and make a sandwich or a cuppa tea?Another thing I think you mentioned is that if the background music is still playing it probably means the game hasn't frozen.
I can't remember if I've already said it buy great mapscript by the way!
.

If you can get it working, as you have hopefully done, this problem should go away. Check to make sure you are getting the expected iUnique range values from the XML file using that attribute.