ID:142540
 

switch(input("Pick A Base Icon", text) in list ("Pale","Tan","Vamp","Black","Red","Blue"))


Login.dm:120:error::invalid expression


Likely an error on the line before that.
In response to Garthor
turf/Skincolorselect
density=1
Click()
usr.baseselected=0
switch(input("Pick A Base Icon", text) in list ("Pale","Tan","Vamp","Black","Red","Blue"))
if("Pale")
usr.icon='Base white.dmi'
usr.Oicon='Base white.dmi'
usr.baseselected=1
if("Tan")
usr.icon='BaseT.dmi'
usr.Oicon='BaseT.dmi'
usr.baseselected=1
if("Vamp")
usr.icon='BaseVamp.dmi'
usr.Oicon='BaseVamp.dmi'
usr.baseselected=1
if("Black")
usr.icon='BaseBlack.dmi'
usr.Oicon='BaseBlack.dmi'
usr.baseselected=1
if("Red")
usr.icon='BaseRed.dmi'
usr.Oicon='BaseRed.dmi'
usr.baseselected=1
if("Blue")
usr.icon='BaseBlue.dmi'
usr.Oicon='BaseBlue.dmi'
usr.baseselected=1


turf/Delete
density = 1
layer=999
Click()
usr.DeleteChar()<dm>


<B>Login.dm:120:error::invalid expression<B>

it says this us where the error is <dm>switch(input("Pick A Base Icon", text) in list ("Pale","Tan","Vamp","Black","Red","Blue"))
<dm>
In response to MikeyM14
Because you are not supposed to indent past that statement.
In response to Garthor
past what state ment every time i try to fix it i get like 40 errors
In response to MikeyM14
turf/Skincolorselect
density=1
Click()
usr.baseselected=0
switch(input("Pick A Base Icon", text) in list ("Pale","Tan","Vamp","Black","Red","Blue"))
if("Pale")
usr.icon='Base white.dmi'
usr.Oicon='Base white.dmi'
usr.baseselected=1
if("Tan")
usr.icon='BaseT.dmi'
usr.Oicon='BaseT.dmi'
usr.baseselected=1
if("Vamp")
usr.icon='BaseVamp.dmi'
usr.Oicon='BaseVamp.dmi'
usr.baseselected=1
if("Black")
usr.icon='BaseBlack.dmi'
usr.Oicon='BaseBlack.dmi'
usr.baseselected=1
if("Red")
usr.icon='BaseRed.dmi'
usr.Oicon='BaseRed.dmi'
usr.baseselected=1
if("Blue")
usr.icon='BaseBlue.dmi'
usr.Oicon='BaseBlue.dmi'
usr.baseselected=1
In response to Lostmilkman
THANKS!