FANDOM


local p = {}
 
function parse(data,pattern,value)
    local pattern = pattern or "(%d+)gc.*%s+(%d+)[e]xp"
    local data = data or "10gc, 20experience"
 
    function pack(...)
        return arg
    end    
    local results = pack(data:match(pattern))
 
    return results[value]
end
 
function p.main(frame)
   local value,data, pattern =  frame.args[1],frame.args[2],frame.args[3]
 
   return parse(data,pattern,tonumber(value))
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.