ID:143727
 
Code:
obj/MOB/
density=1
icon='Mobs.dmi'
NPCMAN
icon_state="Little boy Johnny"
DblClick()
src<<"Don't forget!





Problem description:That's the code. But ... I don't know how to make them say what I want. Please help.

Change src to usr. Itll say it to the user instead, then. Its currently saying that to itself.

obj/MOB/
density=1
icon='Mobs.dmi'
NPCMAN
icon_state="Little boy Johnny"
DblClick()
usr<<"Don't forget!
In response to DivineTraveller
But it says NPC Code2.dm:15: unterminated text (expecting ") and when I double click it it brings me to usr<<"Don't forget!
In response to DivineTraveller
Thats, because you did'nt end this

usr<<"Don't forget! //Wrong way to do it


properly. This, will work, however..

usr << "Don't forget!" //Correct way to do it


Also, I have no clue, why you have players talk to Objs. Oh well..
In response to Quest Industries
Oops, my bad. I didnt see that when I wrote it :/
In response to DivineTraveller
mob
density=1
icon='Mobs.dmi'

NPCMAN
icon_state="Little boy Johnny"
var/npctext="What I want" //change this to "Don't forget, or anything else you want
DblClick()
usr<<"[npctext]"

in this case, your "NPCMAN" will say whatever you change the "What I want" to be, which in little johnny's case, is "Don't forget!"
In response to Wolfdude5
They just said, you have to FINISH it with a ".