This could become a bit confusing and I suggest you read through it first.
Note: I am not that good at scripting/programming in general, so any help or
suggestions or improvements to this section should be emailed to me at the
address below.
This will create a simple knock-knock type joke (not even remotely funny, but
serves its purpose of teaching), after which it will update your journal and
Tito will attack you.
5. Set the Dialogue options for the NPC.
5.1 On the Object Window, on the NPC tab, double click on Tito the Merchant
5.2 Click Dialogue button. (note, this will take a while to load, with no
progress bar, it is not frozen.)
5.3 On the right, there is a list of Topics the NPC knows about.
*WARNING* DO NOT, I REPEAT DO NOT DELETE THESE TOPICS!!! (they are
universal and will screw up many things in the game!)
5.4 Right click on this list and select New
5.5 Type in "Tell me a joke"
*NOTE* No it did not just disappear, we'll find it in a second.
5.6 Under Filter for, choose the blank option all the way at the top.
5.7 Select "Tell me a joke"
5.8 Under Info/Response, Right click->new.
5.9 Type in "Knock Knock"
5.10 Under Speaker Condition, ID: tito the merchant
5.11 Under Result type AddTopic "Who's There"
5.12 Right click on the Topic list and click new
5.13 Name it "Who's There"
5.14 Info/Response: Tito the Merchant
5.15 ID: tito the merchant
5.16 Result: AddTopic "Tito the Merchant who?"
5.17 Right click on the Topic list and click new
5.18 Name it "Tito the Merchant who?"
5.19 Info/Response: Tito the Merchant who is going to kill you now.
5.20 ID: tito the merchant
5.21 Result: Journal "joke" 10
StartCombat Player
SetFight 90
SetDisposition 0
Goodbye
5.22 Click the Journal tab at the top (it's to the right, you have to click
right arrow to get to it.)
5.23 Right click in the Journal list, New
5.24 Name it joke
5.25 Info/Response: Tito the Merchant told me a crappy joke, then
attacked me.
5.26 Index: 10
5.27 Click OK
5.28 Now you can see the NPC creation window, click Save.
SubSection to finish up adding the script to the NPC.
5.29 Double click on Tito the Merchant, under the NPC Tab.
5.30 Script: click the elipses (...)
5.30.1 Script->New
5.30.2 type in the following:
begin titoscript
AddTopic "Tell me a Joke"
end titoscript
5.30.3 Script->Save
5.30.4 Script->Exit
5.31 Script: titoscript
I would recommend having a scroll button mouse when working with the editor.
If not you can find basic controls here.
http://www.tordrakkon.com/morrowind/tes_help.html