corrade-lsl-templates
/source/eggdrop/fortune.lsl |
@@ -265,15 +265,14 @@ |
return; |
|
// Check if the command matches the current module. |
list command = llParseString2List(data, |
[wasKeyValueGet("command", configuration), " "], ["@"]); |
if(llList2String(command, 0) != "fortune") |
list command = llParseString2List(data, [" "], []); |
if(llList2String(command, 0) != |
wasKeyValueGet("command", configuration) + "fortune") |
return; |
|
// Remove command. |
command = llDeleteSubList(command, 0, 0); |
|
list range = wasCSVToList( |
wasKeyValueGet("roll range", configuration) |
); |
|
data = llList2String( |
nList, |
(integer) |