for(var/mob/M in say(M))
var/spellcast=input("Say the spell to destroy the demon","Demon Vanquish Spell") as text
if(spellcast=="I vanquish thee, demon")
usr.talk = 3<<"[spellcast]"
Ok i have spells coded in already this code is to just make it were you just click it and it says it automaticly instead of you typing. right now i got to work but when u click all it it doesnt say the spell like i want it to but it says Chris: (its as if i just hit enter and didnt type anything can someone help me out a bit?