There was a bug related to use of case operator. It's now fixed, will be included in next release which is planned next week.
We really need your input in this questionnaire
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts Menus = GetCustomAttribute($node, "EventTimestamps");
if (s != NULL and s != "")
{
a = s->split(",");
}
else
{
a = %();
}
if (a->size < 2000) a->append(time());
SetCustomAttribute($node, "EventTimestamps", ArrayToString(a,","));
return true;period = 3600 * 24; // in seconds
s = GetCustomAttribute($node, "EventTimestamps");
a2 = %();
now = time();
if (s != NULL and s != "")
{
a = s->split(",");
for (i = a->minIndex; i <= a->maxIndex; i++)
{
if (a[i] > now - period) a2->append(a[i]);
}
}
SetCustomAttribute($node, "EventTimestamps", ArrayToString(a2,","));
return a2->size;dci_id = FindDCIByName($node, "log_stats");
if (dci_id > 0) PushDCIData($node, dci_id, $event->$1);
debug 52022.04.13 13:10:01.442 *D* [ ] SocketListener/Clients: Incoming connection from 127.0.0.1
2022.04.13 13:10:01.442 *D* [ ] SocketListener/Clients: Connection from 127.0.0.1 accepted