corrade-lsl-templates – Diff between revs 10 and 11
?pathlinks?
Rev 10 | Rev 11 | |||
---|---|---|---|---|
Line 257... | Line 257... | |||
257 | "message", |
257 | "message", |
|
258 | message |
258 | message |
|
259 | ) |
259 | ) |
|
260 | ); |
260 | ); |
|
Line -... | Line 261... | |||
- | 261 | |
||
261 | |
262 | // Check if this is an eggdrop command. |
|
262 | if(llGetSubString(data, 0, 0) != |
263 | if(llGetSubString(data, 0, 0) != |
|
263 | wasKeyValueGet("command", configuration)) |
264 | wasKeyValueGet("command", configuration)) |
|
264 | return; |
265 | return; |
|
- | 266 | |
||
265 | |
267 | // Check if the command matches the current module. |
|
266 | list command = llParseString2List(data, |
268 | list command = llParseString2List(data, |
|
267 | [wasKeyValueGet("command", configuration), " "], []); |
269 | [wasKeyValueGet("command", configuration), " "], ["@"]); |
|
268 | if(llList2String(command, 0) != "joke") |
270 | if(llList2String(command, 0) != "joke") |
|
Line 269... | Line 271... | |||
269 | return; |
271 | return; |
|
270 | |
272 | |