==== Event ====
Generate an event and push it to the servers
=== Description ===
Event(eventtype=EVENT_INFO, destlistno=0, Float:param1=0.0, Float:param2=0.0, param3=0, param4=0, const format[], {Fixed,Float,_}:...)
Generate an event, and push it to the servers. The event will be buffered if the link is not active.
=== Parameters ===
| ''eventtype'' | One of ''EVENT_INFO'', ''EVENT_ALARM'', ''EVENT_RESTORE'' |
| ''destlistno'' | Destination list number to send the message to |
| ''param1'' | User-defined floating point parameter |
| ''param2'' | User-defined floating point parameter |
| ''param3'' | User-defined integer parameter |
| ''param4'' | User-defined integer parameter |
| ''format'' | Message string with optional formatting placeholders |
| ''...'' | Optional parameters |
The format string use formatting similar to the C language 'printf' command.
Messages are subject to the same rate limits and costs as normal alarms.
=== Return value ===
No menaingful return value.
=== Example usage ===
Event(_, 1, _, _, _, _, "My message");
// Send EVENT_INFO to destination list #1, using default values
new uptime = GetSystemItem(SYSITEM_UPTIME);
Event(EVENT_ALARM, 1, 100.1, 200.2, 300, 400, "Uptime = %d", uptime);
// Send alarm to distribution list #1 with four hard coded values and a string with the system uptime in seconds