Hi
I was testing your code and i noticed that the underscores always have the same lenght...
My start script:
require 'cinch'
require 'cinch_hangman'
bot = Cinch::Bot.new do
configure do |c|
c.server = "localhost"
c.channels = ["#cinch"]
c.plugins.plugins = [
Cinch::Plugins::Hangman
]
end
on :message, "hello" do |m|
m.reply "Hello, #{m.user.nick}"
end
end
bot.start
The chat log:
17:11 <frog> !hang new #cinch test
17:11 <cinch> (_) hangman started.
17:11 <frog> !hang guess t
17:11 <cinch> (t) was solved!
17:11 <frog> !hang guess e
17:11 <cinch> (t) was solved!
I guess I am the first one that noticed this bug... Or I am just to stupid to use your code :smirk:
Hi I was testing your code and i noticed that the underscores always have the same lenght...
My start script:
The chat log:
I guess I am the first one that noticed this bug... Or I am just to stupid to use your code :smirk: