LPC Library Functions: this_player

NAME

this_player() - return the object representing the current interactive

SYNOPSIS

object this_player( int flag );

DESCRIPTION

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 with 'flag' equal to 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.)

this_player() is a synonym for this_user(); this_player() is the original, older name for the function.

SEE ALSO

this_object(), this_user()

Page design by Frank Jacquette & Tim Hollebeek
Copyright (C) 1998 Tim Hollebeek & Frank Jacquette
Back to MudOS