Enter(atom/movable/A)
if(ismob(A))
var/mob/M = A
var/pass = input(M,"What's the password?","Password") as text
if(pass)
if(findtext(password,"M"))
M.loc = src
step(M,M.dir)
else
usr << "Wrong password!"
Problem description:
I'm creating a riddle game where you need to figure out the answer to the door and enter it to progress, but im having a small problem with the doors...They accept anything, even if it doesnt contain the defined word/letter. Here is the coding to one of my doors.