Module:Attributes

if string.find(itemreward, "%(Pride%)") then contact[i] = "" ..        string.sub(itemreward, 1, string.find(itemreward, "%(Pride%)") - 2) ..           " " elseif string.find(itemreward, "%(Greed%)") then contact[i] = "" ..        string.sub(itemreward, 1, string.find(itemreward, "%(Greed%)") - 2) ..           " "

elseif string.find(itemreward, "%(Envy%)") then contact[i] = "" ..        string.sub(itemreward, 1, string.find(itemreward, "%(Envy%)") - 2) ..           " " elseif string.find(itemreward, "%(Wrath%)") then contact[i] = "" ..        string.sub(itemreward, 1, string.find(itemreward, "%(Wrath%)") - 2) ..           " " elseif string.find(itemreward, "%(Lust%)") then contact[i] = "" ..        string.sub(itemreward, 1, string.find(itemreward, "%(Lust%)") - 2) ..           " " elseif string.find(itemreward, "%(Gluttony%)") then contact[i] = "" ..        string.sub(itemreward, 1, string.find(itemreward, "%(Gluttony%)") - 2) ..           " " elseif string.find(itemreward, "%(Sloth%)") then contact[i] = "" ..        string.sub(itemreward, 1, string.find(itemreward, "%(Sloth%)") - 2) ..           " " end