P4G_REPLAY_USER_REPETITIONS

# set
<module-index>/<port-index> P4G_REPLAY_USER_REPETITIONS [<group_index>] <mode> <repetition_count>

# get
<module-index>/<port-index> P4G_REPLAY_USER_REPETITIONS [<group_index>] ?

Description

Defines how many times a new user should be created after an old user has been destroyed, when P4G_REPLAY_USER_INCARNATION is set to IMMORTAL or REINCARNATE.

Actions

set, get

Parameters

mode: byte, the repetition mode
  • INFINITE = 0

  • FINITE = 1

repetition_count: integer, number of repetitions

Example

# set
input:  0/1 P4G_REPLAY_USER_REPETITIONS [0] INFINITE 1
output: <OK>

# get
input:  0/1 P4G_REPLAY_USER_REPETITIONS [0] ?
output: 0/1 P4G_REPLAY_USER_REPETITIONS [0] INFINITE 1