Generic Message (#416)

(an instance of generic thing made by Calkins)

     A message that may or may not be meaningful.

Go to location of this object, Steamer Trunk.



VERB SOURCE CODE:

verify:
if (this.message == this.digest)
    player:tell("CERT: message ", this.name, " has a valid signature.");
else
    player:tell("CERT: message ", this.name, " has an INVALID signature.");
endif
.


sign:
if (player == this.owner)
    this.digest = this.message;
else
    player:tell(E_PERM);
endif
.


write:
if (player == this.owner)
    this.message = dobjstr;
    player:tell("(written)");
else
    player:tell(E_PERM);
endif
.


read:
player:tell(this.message);
.



PROPERTY DATA:
      message
      digest