Module:Loop: Difference between revisions
turns out you cant just randomly copy paste things and expect them to work |
No edit summary |
||
| Line 22: | Line 22: | ||
end | end | ||
if not text then | if not text then | ||
return p._error( 'function repi expects a string to repeat as third parameter, received "' .. ( frame.args[ | return p._error( 'function repi expects a string to repeat as third parameter, received "' .. ( frame.args[3] or '' ) .. '"' ) | ||
end | end | ||
str = '' | str = '' | ||