OsListenRegex
From OpenSimulator
(Difference between revisions)
SignpostMarv (Talk | contribs) (documenting osListenRegex) |
m (Added permissions and delay information) |
||
Line 2: | Line 2: | ||
|function_syntax=LSLInteger osListenRegex(Int32 channelID, String name, String ID, String msg, Int32 regexBitfield) | |function_syntax=LSLInteger osListenRegex(Int32 channelID, String name, String ID, String msg, Int32 regexBitfield) | ||
|threat_level=Low | |threat_level=Low | ||
+ | |permissions=true | ||
+ | |delay=0 | ||
|description=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]]. | |description=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. | If the regex strings are invalid, an error will be shouted on the debug channel. |
Revision as of 11:32, 25 October 2017
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 |