Project

General

Profile

HOWTO: create new groups on AUTOADD with AUTOGROUP

Added by Dirk Meyer over 8 years ago

Bot is configured to autoadd and out the packs into groups.

autoadd_time 300
auto_default_group
auto_path_group

New groups will not be created.
But you can add thsi easy with a script.

add to your config:

ruby_script "ruby-autogroup.rb" 

the file ruby-autogroup.rb:

#!/usr/local/bin/ruby -w

# Do not change the name of this class.
class IrofferEvent
  # called on each pack added
  def on_added
    command( "AUTOGROUP" )
  end
end

# eof