Jump to content

Module:User:Doc Taxon/Hello

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by JohnBlackburne (talk | contribs) at 15:56, 12 October 2015 (fix script error). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
local p = {} 
function p.hello(frame)
    local name = frame.args[1]
    if not name then 
        name = 'World' 
    end
    i = 1
    u = ""
    repeat
    	u = u .. 'Hello' .. name .. '! This is Lua!' 
    	i = i + 1
    until i > 5
    return u
end 
return p