ID:142044
 
Code:
var/choice = input("Please select your character to play with.")in list("Blah")
if(src.choice == "Blah")
usr.loc=locate(7,7,8)


Problem description:
src.choice:undefined var

What does this mean, I cant seem to fix it.
It means the variable 'choice' is undefined (does not exist) on src.
You've defined this variable as a local var of the proc, not as a var of an object, such as 'src'. This is very basic, so you should probably read up on variables in the DM Guide and Reference some.
In response to Kaioken
Im still confused...I have defined it.
In response to Dbgtsuperfreak
src.choice would be:
mob/var/choice


What you did, remove src. infront of choice.
And yeah, read the DM guide.
In response to DemonSpree
Im still not getting something. Here is what I have.

Code:
mob/var/choice = input("Please select your character to play with.")in list("blah")
if(choice == "blah")
src.loc=locate(7,7,8)
In response to Dbgtsuperfreak
...choice SHOULDN'T be a /mob var.
You should read the DM guide... even I know this.
In response to Dbgtsuperfreak
Dbgtsuperfreak wrote:
Im still not getting something. Here is what I have.

Code:
> mob/var/choice = input("Please select your character to play with.")in list("blah")
> if(choice == "blah")
> src.loc=locate(7,7,8)
>


His telling you, you can either use var/choice => if(choice=="blah") OR mob/var/choice => if(src.choice=="blah")

anyway, its best to read the guide.
In response to Generation
mob/var/choice would be absurd.
Just do var/choice.