OsListenRegex

From OpenSimulator
Revision as of 16:49, 15 October 2018 by imported>Kcozens (Added note stating which version of OpenSim introduced this function)
Jump to navigationJump to search
LSLInteger osListenRegex(Int32 channelID, String name, String ID, String msg, Int32 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
Extra Delay 0 seconds
Notes
This function was added in 0.7.5-post-fixes


See Also