usr.random=rand(1,6)
if(usr.random==1)
usr.Element="Fire"
if(usr.random==2)
usr.Element="Water"
if(usr.random==3)
usr.Element="Earth"
if(usr.random==4)
usr.Element="Wind"
if(usr.random==5)
usr.Element="Lightining"
if(usr.random==6)
usr.Element="Ice"
Problem description:
When i compile it says usr.random: undefined var