####
#
#  ElectroCode Channel Welcomer and AutoAssigner
#
####

class WelcomePlugin
	include Cinch::Plugin
	listen_to :PRIVMSG, use_prefix: false, method: :doWelcome 
	
	def doWelcome(m,bleh)
		if m.channel == "#debug"
			Channel("#Situation_Room").send("A message was sent to #debug")
		end
	end
end

####
#
#  ElectroCode Channel Welcomer and AutoAssigner
#
####

class WelcomePlugin
	include Cinch::Plugin
	match /(.*)/i, react_on: :channel, use_prefix: false, method: :doWelcome 
	
	def doWelcome(m, bleh)
		if m.channel == "#debug"
			Channel("#Situation_Room").send("A message was sent to #debug")
		end
	end
end

Make it a match type
Make it a match type
