ID:266686
 
ok I'm trying to make it store what I choose into a variable...

for instance

var/R=input(usr,"Which person do you want to be the chief of your town?") in list("Goonie","Tralla","Eqo","Unter","Rontti")

then after that I put ...
character = new /mob/pc/Snow_Lords(usr.loc)
character.general=R

and then I call
spawn()
character.General()

and here's General...

mob/pc/General()
if(src.general=="Goonie")
world<<"A"

but when I pick Goonie in game it doesn't show A on the screen which is making me think if R equals anything...
ok I"ve tried and tried and it's just not working... I don't know what I'm doing wrong!!!

I have it right after I do all that transfer me to the mob that it created... But that shouldn't pose a problem..
In response to Jon Snow
ok some problem around here...

Because it is assigning R to character.general

because it shows up in statpanel...

but then when I call spawn() character.General()...


mob/proc/General()
if(src.general=="Goonie")
world<<"A"

this isn't working... someone help me out here! hehe :P
In response to Jon Snow
I respect that you have a problem. I hope you get help. However, after two posts, I think it is time to mention the edit button. New information is nice, but there is a point where new posts become bumps. (I apologize for not including a solution in this post.)
In response to ACWraith
hehe np I was having some problems at school with these reallly slow macs and I would hit send and it would not send so I would hit back and try again before I realised it did post... so ya... lol