ID:176443
 
mob
NPC
Missy
icon = 'person.dmi'
icon_state = "Missy"
verb
talk()
set src in oview(1)
set category = "NPC"
alert("Hi! My name's Missy!")
var
yourname = input("What's yours?","Name")
alert("Hi there [yourname]!")

it might look a little messed up but that's because i copy and pasted it. anyway, what i want to happen here is for the character(you) to input your name and then have the NPC(Missy) to say hi to you with your name included. if you need me to be clearer than tell me. thanks.
You have the second alert() indented once too much.
mob/NPC/Missy
icon = 'person.dmi'
icon_state = "Missy"
verb/talk()
set src in oview(1)
set category="NPC"
alert("Hi! My name's Missy!")
var/yourname = input("What's yours?","Name")
alert("Hi there [yourname]!")


What you did wrong is that you defined the alert proc as a variable (or tried to I should say), and that is what was messing your verb up.

Aside from that the rest is just a little optimization.
thanks to the both of you ^_^