Skip to main content

this_player

Discworld efun help

this_player

object this_player()
object this_player(int i)

Return the object representing the current player. If an int is passed to this_player and it is not 0 this function will return this_interactive. This means it will return the player who initiated the force, or whatever. Useful for security checking in sensative functions.

See also: this_object.