When I used to script back in GS1 days, I would sit down and just start writing. I had a general idea of what I wanted the NPC to do, but usually no idea how I would go about doing it. So I'd sit and start writing, experiment with various methods, and end up with a functional yet very ugly and inefficient script (sometimes I'd leave blocks of code, or variables in my script that had no function whatsoever due to eliminated code

). I always promised to go back and rewrite some of the code but when I was coding, I was very busy with Management issues so it would never get done.