Everyone has their own preference in formating. If you wanna be anal retentative (sp?) it should acually be like
NPC Code:
if(this)
{
commands;
if(this)
{
commands;
}
}
I acualy like this way more, since you can see the acual code blocks. but it is faster to type it in one line. Which is how most people do it. Duno why I posted this. But their are many ways to format. I'm more concerned with his lack of commenting. Commenting will help you and everyone else emmensly (sp?). Telling yourself and other what you are doing in the code, what the variables do and stuff. So comming back to your code weeks/months later, doesn't confuse you.