issue with getLines()

Bug #299298 reported by Vadim Peretokin
2
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
Revision history for this message
Vadim Peretokin (vperetokin) wrote :

Typo in script, it works fine.

buffer = getLines( 10, 15)

for k,v in pairs(buffer) do
insertText("\nline #" .. k .. " contains: " .. v )
end

Changed in mudlet:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.