PostEvent(node, event, tag, ...) => Boolean
Post event on behalf of given node.
node |
Node object to send event on behalf of. |
|
event |
Integer or String |
Event code or name. |
tag |
String |
User tag associated with event. Optional, can be leaved out or set to null. |
… |
String |
0 or more event-specific parameters. |
Return
TRUE
if event was posted successfully or FALSE
if not.
Example
PostEvent($node, 100000); PostEvent($node, 100000, "my tag", "param1", "param2"); PostEvent($node, "MY_EVENT_NAME", null, "param1");