ID:146445
 
Code:Teleport(mob/M in world)
switch(input("Teleport to [M]?")in list("Yes","No"))
if("Yes")
usr.x = M.x usr.y = M.y usr.z = M.z
if("No")
return


Problem description:It keeps saying expected end of statement, am i missing something?

Teleport(mob/M in world)
switch(input("Teleport to [M]?")in list("Yes","No"))
if("Yes")
if(!M) return //do nothing if M has been deleted since they were chosen
usr.loc=locate(M.loc)
In response to Nick231
wow, um, 10 errord>?
In response to Gogojackpot25
Are they indentation errors? If it is, that is because you aren't supposed to directly copy and paste. Learn from it =P.
In response to Nick231
well then wat am i missing, i am coding that in, but still indentations