Advertisement
Shiny_

Untitled

May 15th, 2014
275
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 0.27 KB | None | 0 0
  1. # u góry:
  2. CHANNEL_NAME = "#wykoppl"
  3.  
  4. # zamień w on :connect czy tam on :join
  5. on :join do |m|
  6.     bot.irc.send "MODE " + NICK_BOTA + " +B"
  7.     if m.user.to_s.downcase == NICK_BOTA.downcase
  8.         bot.Channel(CHANNEL_NAME).send("WITAM WSZYSTKIE POLSKIE #{TABLICA.upcase}!")
  9.     end
  10. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement