mob
Login() // this is what happens when somone logs into your game.
var/gender = input("What gender are you?") in list ("Male","Female")/*The list pops-up these names*/
switch(gender)
if("Male")/*You put the same name as in list nex to if and between ()*/
icon='Male.dmi'/*Thats the icon they be*/
var/colour = input("what skin/hair colours do you want?") in list ("Black/Black","Black/Red","White/Black","White/Red","Black/Blonde","Black/Blue","White/Black","White/Blue")
switch(colour)
if("Black/Black")
icon_state='black/black'
if("Black/Red")
icon_state='black/red'
if("White/Black")
icon_state='white/black'
if("White/Red")
icon_state='white/red'
if("Black/Blonde")
icon_state='black/blonde'
if("Black/Blue")
icon_state='black/blue'
if("White/Blonde")
icon_state='white/blonde'
if("White/Blue")
icon_state='white/blue'
else icon='Female.dmi'/*You know about the icon i told you*/
var/colour = input("what skin/hair colours do you want?") in list ("Black/Black","Black/Red","White/Black","White/Red","Black/Blonde","Black/Blue","White/Black","White/Blue")
switch(colour)
if("Black/Black")
icon_state='black/black'
if("Black/Red")
icon_state='black/red'
if("White/Black")
icon_state='white/black'
if("White/Red")
icon_state='white/red'
if("Black/Blonde")
icon_state='black/blonde'
if("Black/Blue")
icon_state='black/blue'
if("White/Blonde")
icon_state='white/blonde'
if("White/Blue")
icon_state='white/blue'
..() /*Don't touch this*/
Problem description:ok, this was just a test login that i was fiddling with, cause i cant find anything thats wrong, cause, this works for me logically, but theese errors come up,
loading New.dme
login and logout.dm:10:error:'black/black':cannot find file
login and logout.dm:12:error:'black/red':cannot find file
login and logout.dm:14:error:'white/black':cannot find file
login and logout.dm:16:error:'white/red':cannot find file
login and logout.dm:18:error:'black/blonde':cannot find file
login and logout.dm:20:error:'black/blue':cannot find file
login and logout.dm:22:error:'white/blonde':cannot find file
login and logout.dm:24:error:'white/blue':cannot find file
login and logout.dm:28:error:colour :duplicate definition
login and logout.dm:7:error:colour :previous definition
login and logout.dm:31:error:'black/black':cannot find file
login and logout.dm:33:error:'black/red':cannot find file
login and logout.dm:35:error:'white/black':cannot find file
login and logout.dm:37:error:'white/red':cannot find file
login and logout.dm:39:error:'black/blonde':cannot find file
login and logout.dm:41:error:'black/blue':cannot find file
login and logout.dm:43:error:'white/blonde':cannot find file
login and logout.dm:45:error:'white/blue':cannot find file
Game.dm:108:error:M.DeathCheck:undefined proc
New.dmb - 19 errors, 0 warnings (double-click on an error to jump to it)