OsListenRegex

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
 
Line 1: Line 1:
 
{{osslfunc
 
{{osslfunc
|function_syntax=int osListenRegex(integer channelID, string name, key ID, string msg, integer regexBitfield)
+
|function_syntax=integer osListenRegex(integer channelID, string name, key ID, string msg, integer regexBitfield)
 
|threat_level=Low
 
|threat_level=Low
 
|permissions=true
 
|permissions=true

Latest revision as of 13:20, 14 November 2018

integer osListenRegex(integer channelID, string name, key ID, string msg, integer regexBitfield)
Allows the server to filter listen events by regular expressions. name or message parameters can be regular expressions, these are behaviours are controlled via the regexBitField parameter using the constants OS_LISTEN_REGEX_NAME and OS_LISTEN_REGEX_MESSAGE.

If the regex strings are invalid, an error will be shouted on the debug channel.

Threat Level Low
Permissions Use of this function is always allowed by default
Delay 0 seconds
Notes
This function was added in 0.7.5-post-fixes


[edit] See Also

Personal tools
General
About This Wiki