# File rbot/dbplugins/exclaim.rb, line 9 def listener(m) if(m.kind_of?(PrivMessage) && m.public?) if(m.message =~ /([?$£!)(])\1{2,}/) puts "test" @bot.action m.target, "slaps #{m.sourcenick} silly for punctuation abuse" end end end