Special:Badtitle/NS828:Test: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
for i = 0, #a.args do | for i = 0, #a.args do | ||
imgonnabe = imgonnabe | imgonnabe = imgonnabe .. ' ' .. a.args[i] | ||
end | end | ||
Revision as of 04:10, 30 December 2012
local p = {} local cheese = {}
function cheese.burger(a)
local imgonnabe =
for i = 0, #a.args do imgonnabe = imgonnabe .. ' ' .. a.args[i] end
return c
end p.apocolypse = cheese.burger
function p.ohai(names)
return 'OHAI ' .. names.args[1] .. ', from ' .. names.args[2]
end
function p.ohai2(params)
local sender = params.args.sender local recipient = params.args.recipient if sender == nil then return 'OHAI ' .. recipient .. ', from mysterious manne' elseif recipient == nil then return 'Hello world, from ' .. sender else return 'OHAI ' .. recipient .. ', from ' .. sender end
end return p