2013-07-01 17:02:17 +00:00
|
|
|
require 'cinch'
|
|
|
|
require_relative '../classes/Util.rb'
|
|
|
|
class Helo
|
|
|
|
include Cinch::Plugin
|
2013-07-07 07:14:53 +00:00
|
|
|
include Util::PluginHelper
|
2013-07-01 17:02:17 +00:00
|
|
|
set :prefix, /^:/
|
2016-03-15 05:18:26 +00:00
|
|
|
@clist = %w{helo}
|
2016-03-15 04:25:53 +00:00
|
|
|
@@commands["helo"] = ":helo - say helo"
|
2013-07-01 17:02:17 +00:00
|
|
|
match /helo/;
|
|
|
|
|
|
|
|
def execute(m)
|
|
|
|
m.reply "helo #{m.user.name}"
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|