get_max_commands

ldmud-3.3.719/doc/efun/get_max_commands · 602 B

From the archive ldmud-3.3.719.tar.gz

Download the archive   « Back to the archive contents

SYNOPSIS
        int get_max_commands ()
        int get_max_commands (object obj)

DESCRIPTION
        Return the max number of commands the interactive <obj> is
        allowed to execute per second. A negative result means
        'unlimited'.

        If <obj> is not given, the current interactive is queried.
        For non-interactive objects the result is 0.

        A 'command' in this context means every received data packet
        which causes a LPC call - actions and calls to input_to()
        alike.

HISTORY
        Introduced in LDMud 3.2.10.

SEE ALSO
        set_max_commands(E)

Site Stats

Snippets: 1791
Codebases: 571