Documents the alert eScript functions. These functions are available only for eScript expressions evaluated as part of alert conditions.
Normal response.
Unauthorized response.
{- "result": {
- "dayavg": {
- "arg": [
- {
- "name": "reg",
- "type": "string"
}
], - "help": "Calculates the 24-hour average value for register <arg>reg</arg>.",
- "min-args": 1
}, - "cumul": {
- "arg": [
- {
- "name": "reg",
- "type": "string"
}, - {
- "name": "time",
- "type": "#"
}
], - "help": "Returns the cumulative value of register named <arg>reg</arg> at time <arg>time</arg>. If <arg>time</arg> is not specified, the current time is used.",
- "min-args": 1
}
}, - "error": "Error message (present if an error occurred)."
}