mob
var/player1 = ""
var/player2 = ""
var/player3 = ""
var/player4 = ""
var/player5 = ""
var/guest
Login()
usr.loc=locate(1,1,2)
if(player1 == "")
player1 = "[usr]"
usr << "your player one!"
return
if(player2 == "")
player2 = "[usr]"
usr << "your player two!"
return
if(player3 == "")
player3 = "[usr]"
usr << "your player three!"
return
if(player4 == "")
player4 = "[usr]"
usr << "your player four!"
return
if(player5 == "")
player5 = "[usr]"
usr << "your player five!"
return
else
usr = guest
usr << "your a watcher!"
return
Stat()
statpanel("Stats")
stat("Wave: ","[wave]")
stat("Time: ","[sec]")
stat("Door Life: ","[door]")
stat("Gold: ","[player1.gold]")
stat("")
stat("Gold: ","[player2.gold]")
stat("")
stat("Gold: ","[player3.gold]")
stat("")
stat("Gold: ","[player4.gold]")
stat("")
Problem description:
well I don't know how to do this bit I want it so when someone logs in there assigned a player (player1, player2 etc.) or a watcher.... I also want a statpanel displaying that defined persons gold but I don't know how to do that, as I messed up shown above.
Basically I want it so when someone logs on they are turned into a variable... well kinda. After that I will be able to display the usr as a var... if you get what I meen.