Added @boot.

Currently, @boot will boot the first username match it comes across, if connected.

It will not boot non-player objects, and it will not allow staff to boot other staff.
This commit is contained in:
Michael King 2007-08-07 19:19:31 +00:00
parent 3fe64c1f34
commit 684ae521b7
3 changed files with 67 additions and 1 deletions

View file

@ -452,7 +452,7 @@ class Object(models.Model):
functions_general.log_errmsg("Missing default home, %s '%s(#%d)' now has a null location." % (text, obj.name, obj.id))
if obj.is_player():
if obj.is_connected():
if obj.is_connected_plr():
if home:
obj.emit_to("Your current location has ceased to exist, moving you to your home %s(#%d)." % (home.name, home.id))
else: