this_player

ldmud-3.3.719/doc/efun/this_player · 491 B

From the archive ldmud-3.3.719.tar.gz

Download the archive   « Back to the archive contents

SYNOPSIS
        object this_player(void)

DESCRIPTION
        Return the current command giver.  This can be an interactive
        user or a living object like a npc.

        If called from inside the heart_beat() of a not living object
        0 will be returned.

EXAMPLE
        if (this_player() != this_interactive())
           write("Hey, somebody must have forced us to do a
           command!\n");

SEE ALSO
        this_object(E), previous_object(E), interactive(E), living(E)

Site Stats

Snippets: 1791
Codebases: 571