mob/npc/Girl
icon = 'Girl.dmi'
icon_state = "Girl"
verb/Talk()
set src in oview(1)
set hidden = 1
usr << "You're lookin' pretty sexy"
Now, this is all nice and whatnot. But, how would I put in an if code so that if there isn't anyone around me, I won't try to talk. Because as it stands, if I press the center key when there's noone around me, it gives me an ingame error saying Talk is inaccessable. I was also wondering how I could make it so I only talk to them if I'm facing their direction. I dunno what to replace oview(1) with to make that. Thanks for any help.
now you have to face them. as for the other problem.. you have enter set as the macro "Talk" right? well there is no verb "Talk" (unless you are facing the npc) so naturally its inaccessible.