OnCRole
Similar to OnEvent flag, but for custom roles.
This also adds @evPlayer and *evCRole variables when executed.
Syntax
!-- OnCRole event
Inline argument
- Name:
event - Required: Yes
- Description: The event to bind to: either Spawned or Removed
!-- OnCRole spawned
Options
-- forRoles
Specifies which specific roles are meant to be triggered by this script. If not provided, every role will trigger.
Required: No
-- forRoles seniorGuard janitor