Module:Attacks/Tables: Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
Line 142: Line 142:
             table.sort(validEffectNames, function(a, b) return a < b end)
             table.sort(validEffectNames, function(a, b) return a < b end)


             return 'ERROR: Invalid effect name, must be one of: ' .. table.concat(validEffectNames, ', ') .. '[[Category:Pages with script errors]]'
             return 'ERROR: Invalid effect name "' .. effectName .. '", must be one of: ' .. table.concat(validEffectNames, ', ') .. '[[Category:Pages with script errors]]'
         end
         end
     end
     end