CommandGetCounter

Returns the total number of command uses, by ID

public int CommandGetCounter(string commandId)
commandId
string required
int
using System;
public class CPHInline
{
    public bool Execute()
    {
        //Define string of commandId
        string commandId = "4fcc2d13-9bcf-4c18-9d91-821a15f4b6e5";
        //Get number of uses
        int numberOfUses = CPH.CommandGetCounter(commandId);         
        return true;
    }
}