mob
witch
verb
Talk()
set src in oview(1)
if(src.key == "Sephiroth27")
usr<<"Spirit of the Lava:Welcome home Master here let me help you."
usr.HP=usr.MAXHP
usr.SP=usr.MAXSP
else
usr<<"Spirit of the Lava:Welcome to my Masters area I hope you enjoy your visit."
but i get the else instead of if
What you are doing wrong is, if(src.key == "Sephiroth27"). You are pretty much saying, if the witch's key is Septh, change the src.key to usr.key.