Sorry I just got over welmed with your script in my eye's there is alot going on there. I'll give it a try your example helped due to my beginner coder status if I don't understand the code after examining for a while and i get lost I give up on it and look for something else. Nothing against anyone it's just intimidating. for example with your example above

 Code:
'My ip address (' $MyIP ') exists in network $I (' $Networks[$I] ')' ?
    'Mapping printer ' $Printers[$I] ?


I don't understand the "'" what does that do. $myip is variable right? which would be defined before it's used same with $I when you get to (' $networks[$I] ')
I assume this works like a math equation that the [] happens first then () but what are the ' doing in side the ()? also the ? at the end of the example what is it doing? doesn't the ? work like this
 Code:
 ? "echo/display a statement here!" 


I'm having a lot of fun learning this on my own it's just now i'm getting to stuff past my into to vb6.0 (lol) that i took in my college classes.