You are better off using # commands in perl or lua with custom global_player code
Code:
if ($text=~/#cooldowns/i) {
$client->ResetAllCastbarCooldowns();
$client->Message(13, "ResetAllCastbarCooldowns!");
}
Example to reset all castbar cooldowns in perl
If you are getting a weird "error command not found" set this rule to true
Code:
SELECT * FROM rule_values r WHERE r.rule_name LIKE "%SuppressCommandErrors%"