# Parameters

## `script_counter`

Define a new counter that can be used from the script. The declaration might include a group in front of the counter name, separated with '.'. It might also include a counter description string (help message), separated from the name with a ' ' or ':'. If the group is missing, the group defined in the `script_cnt_grp_name` module parameter will be used (the default is "script"). If the description is missing, the default is "custom script counter". The format of the declaration is: [group.]name[( |:)description].

### Create a new `script_counter`

    modparam("counters", "script_counter", "foo")  # script.foo
    modparam("counters", "script_counter", "test.bar")  # test.bar
    modparam("counters", "script_counter", "baz example counter")  # script.baz
    modparam("counters", "script_counter", "test.x:another example") # test.x

## `script_cnt_grp_name`

Group name that will be used for the counters defined via the `script_counter` module parameter which do not have a specified group.

Default: "script".

### Set `script_cnt_grp_name` in the config file

    modparam("counters", "script_cnt_grp_name", "my_counters")