ID:176946
 
can someone tell me how to create a variable from this statement:

world
/mob.client/New()
input("What job would you like to have" in list("Construction worker","Metro worker"))

the variable is used to verify the job and change the icon state accordingly.
var/V = input()...
In response to Garthor
how would i use it to refer to different icon states?
In response to Delita12345
By changing the icon_state to V, or using a switch() statement.
In response to Garthor
where would i put the switch() statment?