View Single Post
  #36  
Old 12-10-2003, 06:18 AM
ForgottenLegacy ForgottenLegacy is offline
-Backtoscripts-
Join Date: Aug 2003
Location: California
Posts: 289
ForgottenLegacy is on a distinguished road
Send a message via AIM to ForgottenLegacy
What are the options to have the same style that Stefan uses when he scripts? Fourm PM this to me please, as I never read this thread much.
NPC Code:

if (created) { //Braces on the same line, 1 space after the )
operations(); //Next command is on another line, alone, 2 spaces indented;
if (myflag) {
operations(); //Embedded command is 2 spaces indented, added to the origional 2 spaces
} // Closing brace on it's own line
}

__________________
"The higher you fly, the harder it is to breathe."

[Kaidenn] Maybe I will somehow take control of Lance's body when he isn't looking, have him log onto Kingdoms, update one script, and leave.
[Kaidenn] And leave him exactly where I found him, unchanged and completely unnaware of what just took place the last two minutes.
[GrowlZ] Lance: You might want to lock your bedroom door tonight
Reply With Quote