ID:178520
 

mob
Login()
var/race = input("What icon?") in list ("Shaggy","Scooby")
switch(race)

if("Shaggy")
icon='player.dmi'
if("Scooby")
icon='scooby.dmi'

i don't get errors but i get a black screen/
/ is there anything wrong ?
You need to have ..() somewhere in your login code.
Add this line to your code:

src.loc = locate(/area)

And it should work!
add ..() after the login proc onthe next line NOT indented