i get this error
Hbtc.dm:56:error:src.done:undefined var
Hbtc.dm:62:error:src.halo:undefined var
HBTC
Enter()
if(usr.maxpowerlevel >= 10000)
usr.random = rand(1,30)
if(usr.random == 29)
usr << "<b>You struggle a bit because of the gravity..."
if(usr.random == 30)
usr << "<b>You train here without a problem"
if(usr.maxpowerlevel >= 100000 && usr.maxpowerlevel <= 100000)
usr.random = rand(1,12)
if(usr.random == 1)
usr << "<B>You begin to sweat."
usr.powerlevel -= (rand(1,3000))
if(usr.random == 2)
usr << "<b>You do a high flying kick with little effort."
usr.powerlevel -= (rand(1,9000))
if(usr.powerlevel > 0)
else
usr.HBTC_Die()
usr << "<b>The gravity of this room overpowers you and you die."
if(usr.maxpowerlevel < 100000 && usr.maxpowerlevel >= 10001)
usr.random = rand(1,12)
if(usr.random == 1)
usr << "<B>You practice your punches and kicks with no problem"
usr.powerlevel -= (rand(1,5000))
if(usr.random == 2)
usr << "<b>You feel strained while training in this room."
usr.powerlevel -= (rand(1,30000))
if(usr.powerlevel > 0)
else
usr.HBTC_Die()
usr << "<b>The gravity of this room overpowers you and you die."
if(usr.maxpowerlevel < 10000)
usr.random = rand(1,12)
if(usr.random == 1)
usr << "<B>You do flying kicks in the air, feeling extremely strained.."
usr.powerlevel -= (rand(1,50000))
if(usr.random == 2)
usr << "<b>You collapse to the floor screaming...."
usr.powerlevel -= (rand(1,50000))
if(usr.powerlevel > 0)
else
usr.HBTC_Die()
usr << "<b>The gravity of this room overpowers you and you die."
return 1
mob/proc
HBTC_Die()
if(usr.race == "Android")
world<< "<b><font face= Verdana><font color= red>Game Information:</b></font> [src] went insane in the HBTC!"
src.done = 0
src.icon_state = ""
src.loc = locate(54,8,3)
src.dead = 1
src.powerlevel = 5
src.sight &= ~BLIND
src.overlays += src.halo
How can i fix this?
1) DO NOT USE ZETA CODE, as said millions of times
2) Major, I mean, MAJOR 'usr' abuse after <code>Enter()</CODE>.
3) 'done' and 'halo' aren't defined....