9 lines
191 B
Ruby
9 lines
191 B
Ruby
include EventMachine::IRC::Commands
|
|
|
|
Client.register_trigger("PRIVMSG") { |msg|
|
|
message = msg[:params][1]
|
|
|
|
message.split { |word|
|
|
puts word if word ~ /4cdn[.]org/
|
|
}
|
|
}
|