addCustomGroupContext - gruppe-adler/grad-aiCommand GitHub Wiki

grad_aicommand_fnc_addCustomGroupContext

Adds custom entry to group context menu. Returns ID of added entry.

Syntax

[displayName, statement] call grad_aicommand_fnc_addCustomGroupContext

Parameter Explanation
displayName String - Name that will be displayed in context menu.
statement String - Statement that will be executed. Passed params are [group].

Example

["myCustomGroupThing","diag_log _this"] call grad_aicommand_fnc_addCustomGroupContext;