corrade-lsl-templates – Diff between revs 11 and 15
?pathlinks?
Rev 11 | Rev 15 | |||
---|---|---|---|---|
Line 224... | Line 224... | |||
224 | if(llGetSubString(data, 0, 0) != |
224 | if(llGetSubString(data, 0, 0) != |
|
225 | wasKeyValueGet("command", configuration)) |
225 | wasKeyValueGet("command", configuration)) |
|
226 | return; |
226 | return; |
|
Line 227... | Line 227... | |||
227 | |
227 | |
|
228 | // Check if the command matches the current module. |
228 | // Check if the command matches the current module. |
|
229 | list command = llParseString2List(data, |
229 | list command = llParseString2List(data, [" "], []); |
|
230 | [wasKeyValueGet("command", configuration), " "], ["@"]); |
230 | if(llList2String(command, 0) != |
|
231 | if(llList2String(command, 0) != "spank") |
231 | wasKeyValueGet("command", configuration) + "spank") |
|
232 | return; |
232 | return; |
|
233 | |
233 | |
|
234 | // Remove command. |
234 | // Remove command. |
|
Line 235... | Line 235... | |||
235 | command = llDeleteSubList(command, 0, 0); |
235 | command = llDeleteSubList(command, 0, 0); |
|
236 | |
236 | |