ID:143719
 
Code:
mob
Login()
world<<"[src.key] logged in"
src.Move(locate(6,6,1))
src.race="human"
src.race2="hum"
src.race3="an"
var
i
for(i=1,i<=11,i++)
var
i2
for(i2=1,i2<=11,i2++)
backg = usr<<new/obj/charcreation/background(locate(0+i,0+i2,usr.z))
backg = usr<<new/obj/charcreation/race/ra(locate(3,10,1))
backg = usr<<new/obj/charcreation/race/ce(locate(4,10,1))
backg = usr<<new/obj/charcreation/race/arrow_r(locate(2,9,1))
backg = usr<<new/obj/charcreation/race/arrow_l(locate(5,9,1))
race4 = usr<<new/obj/charcreation/race/rac(locate(3,9,1))
race4 = usr<<new/obj/charcreation/race/e(locate(4,9,1))
backg = usr<<new/obj/charcreation/next(locate(11,1,1))
backg = usr<<new/obj/charcreation/na(locate(3,11,1))
backg = usr<<new/obj/charcreation/me(locate(4,11,1))
..()
var
backg
lol
race
race2
race3
race4
char=1
oldrace


Problem description:
I got the following errors:
southpark.dm:5:error:src.race:undefined var
southpark.dm:6:error:src.race2:undefined var
southpark.dm:7:error:src.race3:undefined var
why is it that?

Are those variables intended to be defined under mob or did you mean for them to be global?
In response to Evre
for the mob
In response to Furrie
Then you may want to put them under the mob instead of in the global area. You need to tab them over.
In response to Evre
thanks, after you first post I already began to think that was the problem, so I tried putting a tab in it.