ID:921398
 
Code:
mob
Login()
usr.icon_state= input("Which character?") in list ("figure","figure 2")
if(icon_state == "figure")
Move(locate(1,1,1))
if(icon_state == "figure 2")
Move(locate(20,20,1))


Problem description:
I have been having problems with this for a while. the third line keeps getting an undefined proc error while the fourth line keeps getting an invalid expression error. I have looked through the tutorial and I couldn't make sense out of it
Indenation errors, always include ..() in Login().

[EDIT] After taking the time to read the code provided; I spotted several things.

1) usr.icon_state shouldn't use usr.
2) Move(locate()) could be replaced by loc = locate()

And if I spot anything else I'll post it here.
[END EDIT]