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(E) alike.

HISTORY

  • introduced (3.2.10)