Welcome to the new wiki, and happy holidays! If you can afford to help us out, you'll find a link to where you can make a small donation. This is a community project (details here), and we depend on readers like you to keep this wiki free and available to everyone.

Module:Bongolium500/learning: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
No edit summary
No edit summary
Line 2: Line 2:


function p.pipeTest( frame )
function p.pipeTest( frame )
arg = frame.agrs[1]
arg = frame.args[1]
if arg == "|" then
if arg == "|" then
local text = "Pipe"
local text = "Pipe"

Revision as of 11:07, 28 December 2021

Script error: The function "error" does not exist.


local p = {}

function p.pipeTest( frame )
	arg = frame.args[1]
	if arg == "|" then
		local text = "Pipe"
	elseif arg == "{!}" then
		local text = "Fake Pipe"
	end
	return text
end

return p