(05 Jan 11, 10:11PM)flowtron Wrote: 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.
Well first im glad that you acknowledge that their are nice scripts out there and could possibly be used in the game. Also i understand part of ac is being able to make your own stuff, which it is, but as you said, and i agree that the most useful and successful ones should/could be put in the game.
Second i dont know how to wright code like that, and since i dont know how to compact code to make it nicer or cleaner, if it works im fine with it. :)
"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""
^^ have no idea what that means, if i did research i could find out, all i know is how to tweak the minor things.
Also that code above is not mine. i think i might have said that, not sure.
But thanks for a reply.