05 Jan 11, 10:11PM
RE: Joe Smith
I can't keep track of all the scripts out there, much less give them a test-drive until I can form my own personal opinion about them .. and let's not forget that part of the fun of CubeScript is supposed to be that people can have their own stuff. But I agree, good scripts should become part of the official package. Just keep me informed of the successful ones - I tend to only skim the ones I get to see first-time - it's a good bet that a long-time script will make it in more easily than a 1-day-old one .. but it's no iron-clad rule, not by far.
Regarding that script you posted above - it's below par in my book! Just look at all the useless IF-splits and code-redundancy .. asking 4 times if VALUE equals 1,2,3 or 4 is just stupid (sorry!) - if you want to output the proper string just say [ echo now accessing (concatword $VALUE "-option") ] .. I didn't really dig into the specifics of those scripts above though .. since editing entity properties is already as easy as pie; if you're doing "obscure" stuff with your scripts, best tell people up-front what and why .. you can't expect everybody (not even me (heh)) to grok your code - too many "loonies" out there posting whatever, if I kept trying to read and grok and reply to each and every one of them I'd never get to coding again; I get to it seldom enough as it is.
I can't keep track of all the scripts out there, much less give them a test-drive until I can form my own personal opinion about them .. and let's not forget that part of the fun of CubeScript is supposed to be that people can have their own stuff. But I agree, good scripts should become part of the official package. Just keep me informed of the successful ones - I tend to only skim the ones I get to see first-time - it's a good bet that a long-time script will make it in more easily than a 1-day-old one .. but it's no iron-clad rule, not by far.
Regarding that script you posted above - it's below par in my book! Just look at all the useless IF-splits and code-redundancy .. asking 4 times if VALUE equals 1,2,3 or 4 is just stupid (sorry!) - if you want to output the proper string just say [ echo now accessing (concatword $VALUE "-option") ] .. I didn't really dig into the specifics of those scripts above though .. since editing entity properties is already as easy as pie; if you're doing "obscure" stuff with your scripts, best tell people up-front what and why .. you can't expect everybody (not even me (heh)) to grok your code - too many "loonies" out there posting whatever, if I kept trying to read and grok and reply to each and every one of them I'd never get to coding again; I get to it seldom enough as it is.