FANDOM


local p = {}
 
function p.battlecheck(frame)
 local str=frame.args[1]
	local result=""
        local flag=0
	if string.find(str,"불문")~=nil then
		result=result .. "[[분류:로테이션배틀용샘플]][[분류:66배틀용샘플]][[분류:63배틀용샘플]][[분류:트리플배틀용샘플]][[분류:더블배틀용샘플]]"
	end
	if string.find(str,"로테이션")~=nil then
		result=result .. "[[분류:로테이션배틀용샘플]]"
	end
	if string.find(str,"트리플")~=nil then
		result=result .. "[[분류:트리플배틀용샘플]]"
	end
	if string.find(str,"더블")~=nil or string.find(str,"64")~=nil or string.find(str,"6%-4")~=nil or string.find(str,"6/4")~=nil then
		result=result .. "[[분류:더블배틀용샘플]]"
	end
	if string.find(str,"6")~=nil and string.find(str,"3")~=nil then
		result=result .. "[[분류:63배틀용샘플]]"
                flag=1
	end
	if string.find(str,"66")~=nil or string.find(str,"6%-6")~=nil or string.find(str,"6/6")~=nil then 
		result=result .. "[[분류:66배틀용샘플]]"
	        flag=1
        end
	if string.find(str,"싱글")~=nil and flag==0 then
		result=result .. "[[분류:66배틀용샘플]][[분류:63배틀용샘플]]"
	end	
	return result
end
 
 
return p

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

Also on FANDOM

Random Wiki