mob
Login()
..()
switch(input("What is your sex?","Sex") in list("Male","Female"))
if("Male") src.icon = 'mob.dmi'
else src.icon = 'female.dmi'
Logout()
world << "[usr] has logged out!"
usr << "You have logged out!"
del usr
obj/Start
mob/icon = 'start.dmi'
Click()
src.loc=locate(1,1,2)
src.icon = 'mob.dmi'
world << "[usr] has logged in!"
obj/Quit
icon = 'quit.dmi'
icon_state = "quit"
Click()
del usr
Login Screen Demo.dm:4:error:"What is your sex?":duplicate definition
Login Screen Demo.dm:4:error:"Sex":duplicate definition
Login Screen Demo.dm:4:error::duplicate definition
Login Screen Demo.dm:4:error::duplicate definition
Login Screen Demo.dm:4:error::duplicate definition
Login Screen Demo.dm:4:error:"Male":duplicate definition
Login Screen Demo.dm:4:error:"Female":duplicate definition
Login Screen Demo.dm:4:error::duplicate definition
Login Screen Demo.dm:4:error::empty type name (indentation error?)
Login Screen Demo.dm:5:error::duplicate definition
Login Screen Demo.dm:5:error:"Male":value not allowed here
Login Screen Demo.dm:5:error:src.icon:undefined var
Login Screen Demo.dm:5:error::duplicate definition
Login Screen Demo.dm:6:error:src.icon:undefined var
Login Screen Demo.dmb - 14 errors, 0 warnings (double-click on an error to jump to it)
A lot isnt it.. can anyone help lol
Try that might fix a few problems