You're a bit scarce on details. What exactly are you trying to do?
I'm trying to create an NPC that is a companion. The tutorial I was following said to make an NPC, include him in a new faction, find a place for him to start out, then create a script to follow:
Here is a copy of the page...
"Take a breath and let's begin. For the first line type ScriptName yourscriptname, for mine I will call it ScriptName AAveroniascript. Now hit the enter key 2 times giving yourself an extra line of space. Type in short variablename, for mine I use short veroniafollow. Your script should now look something like this:
ScriptName AAveroniascript
short veroniafollow
We're done... there was that so bad? What this script does is declare a variable for us to use, in my case veroniafollow is the variable, it can be anything you want, just try not to use any numbers as it may screw things up.
Hit the save button and close the script. We will also have to close the quest window and reopen it. Hit the OK button and the bottom and open up the quest window again.
Make sure it is your quest that is selected. Now in the script line expand the list and find our newly created script. Select it and go back to the Topics tab.
Image:tutorial-06.jpg
Now we must set up our conditions. Whenever you make responses you must always make sure the NPC you want says it. First let's set up the conditions for our GREETING. Click on it then at the bottom hit new and find GetIsID in the list. The next box over will say invalid, click on it and select our NPC in the list. If you used the AA method like me they should be very close to the beginning of the list.
Image:tutorial-07.jpg
Now let's move on to our follow topic. At the top you may want to rename the topic text. This will show the choice you will get in the game. Change it to something reasonable like Follow Me. Now in the empty list at the top, right click and select new. Type in a response you want your companion to say when they follow you. For mine I will use “I will follow you to whatever end.” Yea I'm a Lord of the Rings Fanatic, you may want to make yours a little different. When you're done with your response hit OK at the bottom."
The quest script they had me create is saved, I can find it among the other quests, but not in the function parameters button.