8,756
edits
mNo edit summary |
mNo edit summary |
||
Line 4: | Line 4: | ||
function p.Main(frame) | function p.Main(frame) | ||
parsedtext = string.gsub(frame.args[1], "=([^=]+)=", function(f) | parsedtext = string.gsub(frame.args[1], "=([^=]+)=", function(f) | ||
for a, b in string.gmatch(f, "(%w*)[:%.](%w*):?%w*") do | for a, b in string.gmatch(f.lower(), "(%w*)[:%.](%w*):?%w*") do | ||
if (a == "player") then | if (a == "player") then | ||
return "(player's " .. b .. ")" | return "(player's " .. b .. ")" |