Advertisement
Azure

Untitled

May 27th, 2012
341
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 0.41 KB | None | 0 0
  1.     match "keepnicktest"
  2.     def execute(m)
  3.     m.reply "My last nick was #{@bot.last_nick}. My current nick is #{@bot.nick}. My default nick is #{@bot.config.nick}. My default nick #{!@bot.nick.irc_downcase(:rfc1459).eql?(@bot.config.nick.irc_downcase(:rfc1459)) || @bot.last_nick.nil? ? "is" : "is not"} the same as my current nick. I #{@bot.config.sasl.password ? "am" : "am not"} using an SASL password."
  4.     end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement