# -*- coding: utf-8 -*-
 require "cinch"

 class Greeter
     include Cinch::Plugin

     match /hallo$/, method: :greet
     def greet(m)
         m.reply "Sei gegrüßt"
     end
 end

 bot = Cinch::Bot.new do
     configure do |c|
         c.nick = "UnserBot"
         c.server = "Adresse des IRC-Servers"
         c.channels = ["#Ein_Channel", "#Ein_anderer_Channel"]
         c.plugins.plugins = [Greeter]
     end
 end

 bot.start