This one is easy. All you need to do is:
->Command pattern: say #text# to #object#
->Now in the script, put a 'switch' command.(It's in the 'Scripts' category)
1.There will be a input box above, put 'object'(without the quotation marks).
2.Now click 'add key'(below the input bar') and write the name of your character.(the name should be same as the name of the character object.)
3.For the Script Editor, write whatever happens when you speak to the character.
Here's the code:
<command>
<pattern>say #text# to #object#</pattern>
<script>
switch (object) {
case (mike) {
msg ("Hi there.")
}
case (james) {
msg ("Good morning.")
}
}
</script>
</command>
Have fun Questing yourself and Questing your players!