@registry[thing] = params[:val].to_i
karma(m, params)
end
-
+
def help(plugin, topic="")
"karma module: Listens to everyone's chat. <thing>++/<thing>-- => increase/decrease karma for <thing>, karma for <thing>? => show karma for <thing>, karmastats => show stats. Karma is a community rating system - only in-channel messages can affect karma and you cannot adjust your own."
end
if op && arg
ac[arg] ||= 0
- ac[arg] += (op == '--' ? -1 : 1)
+ ac[arg] += (op == '--' ? -1 : 1) unless arg.downcase == m.sourcenick.downcase
op = arg = nil
end
end