Module:Crafting: Difference between revisions

Jump to navigation Jump to search
m (Pattern matching needs the literal question mark)
m (How about a regular match)
Line 110: Line 110:
end
end


if string.gmatch(args['count'],'%?') or string.gmatch(args['Count'],'%?') then
if string.match(args['count'],'%?') or string.match(args['Count'],'%?') then
local count = "?"
local count = "?"
else  
else