ID:691652
 
(See the best response by .screw.)
Code:


Problem description:

can some on give me a talk comand code im stumped
Best response
mob/verb
Say(t as text) world << "[key] said: [t]"
umm i meant the command to talk to npcs sryy?
There is no command to talk to NPCs. That's something that you need to come up with on your own. You need to think of what needs to happen.

You need to allow the player to talk to NPCs.

Now get more and more detailed.

How will they talk to NPCs?
How will the NPC know how to respond?

Just keep thinking of how it should work, and a way to do it should surface.

The reason I am so vague about this is because this is not a specific request. This is very game-specific, you can't have someone just give you the code you need.
ahh i see ok thx