ID:261999
 
i need help on
switch(input("Are you done?")in list("Yes", "No"))
if("No")
return ..()
if("Yes")
usr.loc=locate(1,1,1)
the
usr.loc=locate(1,1,1)
when i compile it, it says
Login code.dm:40 error:: invalid expression i don't get what that means pls help
Revenge-X wrote:
i need help on
switch(input("Are you done?")in list("Yes", "No"))
if("No")
return ..()
if("Yes")
usr.loc=locate(1,1,1)
the
usr.loc=locate(1,1,1)
when i compile it, it says
Login code.dm:40 error:: invalid expression i don't get what that means pls help

Which line is line number 40? Also, it looks like you have a bit of an indentation problem. What is the line "the" between the "usr.loc=locate(1,1,1)" lines for? Lastly, you should not need usr.loc=locate(1,1,1) in there twice - once should do.