# File rbot/plugins/lart.rb, line 32 def initialize super @larts = Array.new @praises = Array.new #read in the lart and praise files if File.exists? "#{@bot.botclass}/lart/larts" IO.foreach("#{@bot.botclass}/lart/larts") { |line| @larts << line.chomp } end if File.exists? "#{@bot.botclass}/lart/praises" IO.foreach("#{@bot.botclass}/lart/praises") { |line| @praises << line.chomp } end end