issue with getLines()
Bug #299298 reported by
Vadim Peretokin
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mudlet |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I'm having issues with getLines function. It's not working, and the debug output is saying an error but is failing to specify any details:
buffer = getLines( 10, 15)
for k,v in pairs(buffer) do
echo("\nline #" .. buffer-k .. " contains: " .. v )
end
The error is just "LUA: ERROR running script "Trigger5" ERROR: "
Changed in mudlet: | |
milestone: | none → beta |
milestone: | beta → pre-alpha |
To post a comment you must log in.
Typo in script, it works fine.
buffer = getLines( 10, 15)
for k,v in pairs(buffer) do
insertText("\nline #" .. k .. " contains: " .. v )
end