Jump to content

Module:Sandbox/BigGreenCahuna

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by BigGreenCahuna (talk | contribs) at 00:13, 13 August 2014. 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 args=frame.args
	
	output =  "Bob "
	  
	
    --  
    local done = 0  
    local i = 1
    while done == 0 do
	if args[i] == nil	then 
		output =  output.." End."  
		done = 1
    else  
		output =  output.." "..args[i]
		i=i+1
	end
    end
	
    return output   
    
end  
 
return p