def status(short=false)
if(@@plugins.length > 0)
list = "#{length} plugin#{'s' if length > 1}"
if short
list << " loaded"
else
list << ": " + @@plugins.values.uniq.collect{|p| p.name}.sort.join(", ")
end
else
list = "no plugins active"
end
unless @ignored.empty?
list << "; #{Underline}#{@ignored.length} plugin#{'s' if @ignored.length > 1} ignored#{Underline}"
list << ": use #{Bold}help ignored plugins#{Bold} to see why" unless short
end
unless @failed.empty?
list << "; #{Reverse}#{@failed.length} plugin#{'s' if @failed.length > 1} failed to load#{Reverse}"
list << ": use #{Bold}help failed plugins#{Bold} to see why" unless short
end
list
end