Moduł:Protokół serwerowy
W tym module nie ma dokumentacji. Jeśli wiesz jak używać tego modułu, proszę, podaj odpowiednie informacje.
local obj = {}
obj.wersja = function(frame)
local parent = frame.getParent(frame);
local argv = parent.args;
local argc = #argv;
local result = '| ' .. argc .. argv.test .. '\n';
if argc == 3 or argc > 3 then
result = '| ' .. argv[3] .. '\n';
if argc > 3 then
for i=1,argv[2]
do
result = result .. '|-\n| ' .. argv[i+3] .. '\n';
end
end
end
return result;
end
return obj;