archiebaker Posted March 12, 2017 Share Posted March 12, 2017 Hey guys! I've started learning scripting (Have made quite a few scripts of my own for personal use which work dynamically and pretty well) I was wondering from the more experienced scripters among the community, what are tips and tricks you learnt that made scripting more enjoyable, less time consuming, or just generally changed your way of doing something. Just thought I'd ask something about thought inspiring as well as having a thread new and aspiring scripters can look at for tips from more experienced scripters Thankyou guys for all your replies Quote Link to comment Share on other sites More sharing options...
Juggles Posted March 12, 2017 Share Posted March 12, 2017 Code Academy -> Headfirst Java -> Look at basic scripts and try to understand them from the knowledge you gained 1 Quote Link to comment Share on other sites More sharing options...
Polymorphism Posted March 12, 2017 Share Posted March 12, 2017 For scripting definitely, don't nest too many if-statements so that you're having redundant code. and package properly. Quote Link to comment Share on other sites More sharing options...
pipez Posted March 12, 2017 Share Posted March 12, 2017 use loops Quote Link to comment Share on other sites More sharing options...
Polymorphism Posted March 12, 2017 Share Posted March 12, 2017 9 hours ago, pipez said: use loops No, you almost never have to use loops. It's easy to get stuck in a loop and your script hang (or even hang the whole client for that matter). This was the dumbest post possible. Quote Link to comment Share on other sites More sharing options...