Difference between revisions of "NXSL:GetEventParameter"
Jump to navigation
Jump to search
Tomas Kirnak (talk | contribs) |
|||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
Get value of event's named parameter | Get value of event's named parameter. | ||
'''Since:''' 1.1.4 | '''Since:''' 1.1.4 | ||
Line 17: | Line 17: | ||
== Return Value == | == Return Value == | ||
String value of | String value of requested parameter or '''null''' if no such parameter exist. | ||
== Examples == | == Examples == |
Revision as of 09:26, 22 October 2014
Get value of event's named parameter.
Since: 1.1.4
Syntax
GetEventParameter(event, parameterName)
Parameters
event | Event object, you can use predefined variable $event to refer to current event. |
parameterName | Parameter's name. |
Return Value
String value of requested parameter or null if no such parameter exist.
Examples
GetNamedParameter($event, "ifName") -> "eth0" GetNamedParameter($event, "bad_name") -> NULL