corrade-lsl-templates – Diff between revs 11 and 15
?pathlinks?
Rev 11 | Rev 15 | |||
---|---|---|---|---|
Line 263... | Line 263... | |||
263 | if(llGetSubString(data, 0, 0) != |
263 | if(llGetSubString(data, 0, 0) != |
|
264 | wasKeyValueGet("command", configuration)) |
264 | wasKeyValueGet("command", configuration)) |
|
265 | return; |
265 | return; |
|
Line 266... | Line 266... | |||
266 | |
266 | |
|
267 | // Check if the command matches the current module. |
267 | // Check if the command matches the current module. |
|
268 | list command = llParseString2List(data, |
268 | list command = llParseString2List(data, [" "], []); |
|
269 | [wasKeyValueGet("command", configuration), " "], ["@"]); |
269 | if(llList2String(command, 0) != |
|
270 | if(llList2String(command, 0) != "fortune") |
270 | wasKeyValueGet("command", configuration) + "fortune") |
|
271 | return; |
271 | return; |
|
272 | |
272 | |
|
273 | list range = wasCSVToList( |
273 | // Remove command. |
|
274 | wasKeyValueGet("roll range", configuration) |
- | ||
Line 275... | Line 274... | |||
275 | ); |
274 | command = llDeleteSubList(command, 0, 0); |
|
276 | |
275 | |
|
277 | data = llList2String( |
276 | data = llList2String( |
|
278 | nList, |
277 | nList, |