repost/plugins/scrape.rb

10 lines
191 B
Ruby
Raw Normal View History

2014-03-09 18:00:52 +00:00
include EventMachine::IRC::Commands
Client.register_trigger("PRIVMSG") { |msg|
message = msg[:params][1]
message.split { |word|
puts word if word ~ /4cdn[.]org/
}
}