Skip to content

Instantly share code, notes, and snippets.

@RoxasShadow
Last active December 19, 2015 13:59
Show Gist options
  • Select an option

  • Save RoxasShadow/5966429 to your computer and use it in GitHub Desktop.

Select an option

Save RoxasShadow/5966429 to your computer and use it in GitHub Desktop.
Dat Shinbo that headtilts in #omnivium.
##
# DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
# Version 2, December 2004
#
# Everyone is permitted to copy and distribute verbatim or modified
# copies of this license document, and changing it is allowed as long
# as the name is changed.
#
# DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
# TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
#
# 0. You just DO WHAT THE FUCK YOU WANT TO.
##
require 'cinch'
require 'cinch/plugins/login'
Cinch::Bot.new {
configure do |c|
c.nick = 'AkiyukiShinbo'
c.realname = 'AkiyukiShinbo'
c.user = 'AkiyukiShinbo'
c.server = 'irc.rizon.net'
c.channels = ['#omnivium']
c.plugins.plugins = [Cinch::Plugins::Login]
c.plugins.options[Cinch::Plugins::Login] = { :password => 'dat_password' }
end
on :message, /shinbo/i do |m|
Target('#omnivium').action 'headtilts'
end
}.start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment