ID:141155
 
Code:
mob
deathcheck()
if(src.hp <= 0)
view() << "[src] dies!"
src.hp = 10
src.Move(locate(1,1,1)
usr.str +,= 1
usr.def +,= 1


Problem description:
How would i make this mean respawn at original spawn point in a certain amount of time?

That code could be way better.
1. No usr in procs. Ungh.
2. What's "+,=" supposed to mean?
3. You're missing a close parenthesis at the src.Move() line.
4. Look up sleep() in the DM reference.

5. Put your problem description in the form of a PROBLEM, not a "How-To". Or else just post in the How-To forum.
Remember, we're here to help you come up with your own code, not make your game for you.
In response to Kaiochao
that still didnt help, how do i make it respawn where it spawned..?
In response to Micdogmic
He helped a LOT, though.

Y'know what will help you even more?
Shoving your pride aside and clickin here.

Also, F1 in DM is your friend.