Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: [Request] bs_autoassign  (Read 3076 times)

0 Members and 1 Guest are viewing this topic.

Andrey

  • Anope User
  • Offline Offline
  • Gender: Male
  • Posts: 65
    • RedeNorte
[Request] bs_autoassign
« on: September 19, 2008, 03:09:50 AM »

this module work fine, but need have option for automatically choose one botserv in bot list for auto assign or support for put in conf more bot nicks and dont only one, for example in my network the same botserv its assigned in 40+ channels, if cant put this option, can change bot nick in conf periodically.
Logged

katsklaw

  • Guest
Re: [Request] bs_autoassign
« Reply #1 on: September 19, 2008, 01:13:55 PM »

Again, another case of you not reading the module description.


# BSAutoAssignBot [OPTIONAL]
# Module: bs_autoassign
#
# Specify the nickname of the Botserv client you want to automatically
# assign to a newly registered channel.
# If not specified or if no bot with the given nick exists,
# no bot will be assigned to the channel.
#
#BSAutoAssignBot "ServiceBot"


You can do exactly what you ask already by "periodically changing the bot in the conf".
Logged

Andrey

  • Anope User
  • Offline Offline
  • Gender: Male
  • Posts: 65
    • RedeNorte
Re: [Request] bs_autoassign
« Reply #2 on: September 19, 2008, 07:35:16 PM »

Again, another case of you not reading the module description.


# BSAutoAssignBot [OPTIONAL]
# Module: bs_autoassign
#
# Specify the nickname of the Botserv client you want to automatically
# assign to a newly registered channel.
# If not specified or if no bot with the given nick exists,
# no bot will be assigned to the channel.
#
#BSAutoAssignBot "ServiceBot"


You can do exactly what you ask already by "periodically changing the bot in the conf".

but you can put only 1 bot, in future the same bot its assign for all new channel, in my case the bot have assign for 40+ channel, i requesting what have an option for put 2 or more botserv or get one random in botserv list.

for example:
BSAutoAssignBot "ServiceBot ServiceBot2 ServiceBot3" or

BSAutoAssignBot "ServiceBot"
BSAutoAssignBot2 "ServiceBot2"
BSAutoAssignBot3 "ServiceBot3"

when user register channel, module assign 1 of 3 or more botserv give in conf
Ex: register #channel1 and bot ServiceBot2 its assign
register #channel2 and bot ServiceBot its assign ...

or module get 1 random bot in botlist.
ex: /msg botserv botlist

-BotServ- List of bots: 
 -BotServ-    Bot1       (xxx@xxxx.xxx.xxx)
 -BotServ-    Botao     (xxxx@xxx.xxxx.xxx)
 -BotServ-    Bots     (xxxx@xxxx.xxx.xxx)

on register, module get an random bot for list.

Its only my sugestion.
 
Logged

katsklaw

  • Guest
Re: [Request] bs_autoassign
« Reply #3 on: September 19, 2008, 10:51:07 PM »

why can't you just change the bot occasionally? It's far easier.

Those that are assigned bot1 will continue to have bot1 assigned after you change to bot2 in the config file .. so you *CAN* do what you are asking .. that way after several registrations, some channels will have bot1 .. some bot2 .. some bot3 etc. It takes far less effort on your part than re-coding the module on the authors part.
Logged
Pages: [1]   Go Up