I'm trying to make it so that when you open up, it asks you for your name and job class. Here's the code:
..()
usr.name = input("What is your name?","Name Your Character")
var/icon = input("Which Job Class will you choose?","Choose Your Job Class")in list("Black Mage","Fighter","Monk")
switch(icon)
if("Black Mage")
usr.icon = 'blackmage.dmi'
if("Fighter")
usr.icon = 'fighter.dmi'
if("Monk")
usr.icon = 'monk.dmi'
(I tried to make the indents good, they get screwed up when I paste the code in)
Now, the problem is.. Well, it just doesn't do what you choose. If you choose Black Mage, it'll be a Fighter, if I choose the Fighter, it'll be invisible, and if I choose Monk it'll be fighter. It's just all screwed up. And yeah, I have all the dmi name states and all that stuff right. Is there something wrong with the code? Help wou;d be appreciated.. Thanks.
var/class = input(blah)
switch(class)