this_player

final_realms_fluffos_v1/lib/doc/driver/efuns/state/this_player · 722 B

From the archive final_realms_fluffos_v1.zip

Download the archive   « Back to the archive contents

.\"return the object representing the current player

.DT
this_player
Discworld driver help
this_player

Synopsis
.SI 5
object this_player();

.EI
Description
.SP 5 5
Return the object representing the player that caused the calling function
to be called.  Note that this_player() may return a different value than
this_object() even when called from within a player object.  If this_player
is called as this_player(1) then the returned value will be the interactive
that caused the calling function to be called.  this_player(1) may return
a different value than this_player() in certain cases (such as when command()
is used by an admin to force a player to perform some command.

.EP
See also
.SI 5
this_object(3).
.EI

Site Stats

Snippets: 1791
Codebases: 571