8 lines
251 B
Ruby
8 lines
251 B
Ruby
![]() |
include EventMachine::IRC::Commands
|
||
|
|
||
|
repost.register_trigger("PRIVMSG") { |msg|
|
||
|
nick = msg[:prefix].split('!').first
|
||
|
destination = msg[:params][0]
|
||
|
repost.privmsg(destination, "#{nick}: napraw mikrofalowke") if nick.match /[Bb].[Rr][Tt]/
|
||
|
}
|