AutoPatrol, Bureaucrats, Administrators
683
edits
Line 15: | Line 15: | ||
| ''node'' || Node object to send event on behalf of. | | ''node'' || Node object to send event on behalf of. | ||
|- | |- | ||
| ''event'' || Event code. | | ''event'' || Event code or name (name can be used since 1.2.6). | ||
|- | |- | ||
| ''tag'' || User tag associated with event. Optional, can be leaved out or set to '''null'''. | | ''tag'' || User tag associated with event. Optional, can be leaved out or set to '''null'''. | ||
Line 32: | Line 32: | ||
PostEvent($node, 100000) | PostEvent($node, 100000) | ||
PostEvent($node, 100000, "my tag", "param1", "param2") | PostEvent($node, 100000, "my tag", "param1", "param2") | ||
PostEvent($node, | PostEvent($node, "MY_EVENT_NAME", null, "param1") |