mob/verb/Respawn()
if(dead)
if(key == "Vivalas")
var/mob/admin/A = new(locate(1,1,1))
A.res = 1
client.mob = A
mob
var/tmp/res
mob/Login()
if(loc&&!res)
usr << "Welcome back to the game!"
world << "\bold [usr.key] has reconnected!"
if(res)
res = 0
return
else
usr.loc = locate(1,1,1)
world << "\bold [usr] has joined the game!"
mob/Logout()
if(!res)
world << "\bold [usr.key] has left the game! :("
Problem description:
Well, I am excited because I am about ready to run my game's first stress test. I am working on a respawn system, and tried doing a input() system, but failed. I want the player to be able to observe his death area as long as hew wants until he decides to respawn. My only snag is when the player respawns it runs the login/logout things. I tried to combat this with the tmp var res, and it got rid of the login message, but it didn't fix the logout message.