diff options
author | David Walter Seikel | 2016-01-23 13:05:13 +1000 |
---|---|---|
committer | David Walter Seikel | 2016-01-23 13:05:13 +1000 |
commit | e48ae8db9d8edd15b7d694ebdada284f91bfbbe6 (patch) | |
tree | 1c15f7646165ceaae090f2e17d44d5ad6c53db6e /TODO | |
parent | Add a lot of notes about the LSL / Lua internal inconsistency problem. (diff) | |
download | SledjHamr-e48ae8db9d8edd15b7d694ebdada284f91bfbbe6.zip SledjHamr-e48ae8db9d8edd15b7d694ebdada284f91bfbbe6.tar.gz SledjHamr-e48ae8db9d8edd15b7d694ebdada284f91bfbbe6.tar.bz2 SledjHamr-e48ae8db9d8edd15b7d694ebdada284f91bfbbe6.tar.xz |
Think we need a self for default LSL chat filtering.
Diffstat (limited to '')
-rw-r--r-- | TODO | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -153,8 +153,9 @@ Communication | |||
153 | Objects that are interested in things said register listeners with love, and get events.listen()'s sent to them. | 153 | Objects that are interested in things said register listeners with love, and get events.listen()'s sent to them. |
154 | Some sort of filter is needed for this as well. | 154 | Some sort of filter is needed for this as well. |
155 | listen(string filter, string text, integer flags) | 155 | listen(string filter, string text, integer flags) |
156 | filter - <Xm>,<key>,<channel> | 156 | filter - <Xm>,<key>,<channel>,<self> |
157 | In this case, <Xm> isn't actually needed by any LSL function, but I include it for completeness sake. | 157 | In this case, <Xm> isn't actually needed by any LSL function, but I include it for completeness sake. |
158 | <self> means don't listen to yourself, which is usually what you get in LSL, but I'm leaving that option open. | ||
158 | text - a string to match, might be a regex | 159 | text - a string to match, might be a regex |
159 | flags - include the regex flags from the OS version | 160 | flags - include the regex flags from the OS version |
160 | The last two arguments are optional. Flags is itself optional if text is there, defaulting to "not a regex". | 161 | The last two arguments are optional. Flags is itself optional if text is there, defaulting to "not a regex". |