ID:149472
 
Gazoot i have the code for the checking ID

obj
house
icon = 'house.dmi'
density = 1
verb
buy()
set src = oview(1)
if(owner)
usr << "This house is owned by [owner], so you can't buy!"
else
owner = usr
usr << "Congratulations, you bought a house!"
usr.money-=100000



var
mob/owner = null
verb
Check()
set src = oview(1)
Click()
usr << "This house belongs to [owner]"

The code works fine but when i log out of the game then log back in i have to re-buy the house. So there for will i need to add a Save file proc ? After the else
owner = usr
usr << "Congratulations, you bought a house!"
usr.money-=100000

part?¿