Created
April 29, 2012 13:00
-
-
Save penguin2716/2550278 to your computer and use it in GitHub Desktop.
「みくっ」とだけつぶやくとみくみくになるmikutterプラグイン
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Plugin.create :automikumiku do | |
on_posted do |s,ms| | |
ms.each do |m| | |
if m.message.to_s == "みくっ" | |
Thread.new do | |
5.times do |x| | |
s.post :message => "#{"みく" * (x+2)}" | |
sleep 1 | |
end | |
end | |
end | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment