Skip to main content

OnUCR

Runs a script when UncomplicatedCustomRoles registers, spawns, or removes a role.
Event values include the player, role, or active role instance when UCR provides them.
Find supported events using the 'serhelp ucrevents' command.

Syntax​

!-- OnUCR eventName

Inline argument​

  • Name: eventName
  • Required: Yes
  • Description: The name of the UCR event that starts the script.
!-- OnUCR Spawned

Options​

-- require​

A list of variables that have to be present in order for this script to execute.

Required: No

-- require @evPlayer *evRole