Skip to content

Instantly share code, notes, and snippets.

@siyo siyo/mugon.rb
Last active Dec 19, 2015

What would you like to do?
# -*- coding: utf-8 -*-
Earthquake.init do
command %r|^:mugon\s*([^\d]+)*\s*(\d+)*|,:as=> :mugon do |m|
str = m[1] ? m[1] : ''
input(str + "”““’’‘‘" * (m[2] ? m[2].to_i : 1))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.