-- CT_RA_CustomOnClickFunction -- Set this variable (CT_RA_CustomOnClickFunction) in your own mod to your function to handle OnClicks. -- Two arguments are passed, button and raidid. -- Button is a string that refers to the mouse button pressed, "LeftButton" or "RightButton". -- Raidid is a string with the unit id, such as "raid1". -- Example: function MyFunction(button, raidid) doStuff(); end -- CT_RA_CustomOnClickFunction = MyFunction; -- Note! If the function returns true, the default CTRA behaviour will not be called. -- If it returns false or nil, the default behaviour will be called.