Login()
var/charactername = input("What is your name?","Character Name")
switch(input("Pick a Character.","Character Pick") in list("Human","Machine","Terminator Model 101","Terminator TX","Turret Control"))
if ("Machine")
character = new /mob/characters/Machine()
if ("Terminator Model 101")
character = new /mob/characters/Terminator_Model_101()
if ("Terminator TX")
character = new /mob/characters/Terminator_TX()
if ("Turret Control")
character = new /mob/characters/Turret_Control()
if ("Human")
switch(input("Which Gender?","Human Gender") in list("Male","Female"))
if ("Male")
character = new /mob/characters/HumanMale()
if ("Male")
character = new /mob/characters/HumanFeMale()
Heres the problem Login.dm:28:error::invalid expression
Line of Error: switch(input("Which Gender?","Human Gender") in list("Male","Female"))
thanks for all help attempting comments ^^
You have an 'if("Human")' statement in your code, but you dont have anythin after if, hence the error. Either finish off the if statement or take it out.