Talk:Making a Re-Patch/@comment-31081547-20131016163303/@comment-5173028-20131016184443

you can put variables anywhere but yeah I would suggest you put them together where the rest are.

And yes it is correct

numalias tunnel,5001 ;; this section right here with the 2 semicolons is a comment so you can go ahead and not type anything here if you want

The word is not yellow because it is a word you added. My color coding I wrote every single variable myself into the list so any and all new variables you create you are going to need to make a change to the color coding yourself.

Go to Language and then "Define your language..."

You will get a pop-up, in my case my computer shows a very tall pop-up that I can't change the size so I click on "Dock" and it should dock itself in the right side of your screen with a scroll bar.

Click on the User Language and select the language you messing around with. As you can see in my screenshot I keep 2 copies with me. A "blank" one that only has commands from Onscripter and the original game.

And a second copy that has what the 1st one has BUT it also has the variables I added to Sealed.

http://i40.tinypic.com/208y1w0.png

If you want to add your own variables you can add them anywhere BUT I made a special section you can work on that. Hit the Keywords List tab and work on the last box (8th Group)

http://i42.tinypic.com/2emq7bt.png

'''If you are going to be adding many variables at once I suggest you write them down on a separate text file and then jump back to the file you are working on. Adding words to the language makes the program very laggy since the way it works it checks the entire text file for any word that matches what you are typing.'''

Example you want to the add the word "tunnel"

as you type it this is what happens

1. you write t

2. NP++ checks for anything with a t and highlights that t

3. you write u

4. NP++ checks for anything that starts in tu

5. you write n

6. NP++ checks for anything that starts with tun

etc. etc. making the thing VERY LAGGY