I have 6 bots in a botnet and now i whant people to request a bot. Then i have done a Eggdrop Request script, but the bots can not sending /msg botnick commands to a another eggdrop.
How can i get this to works so i can do a bot to join a channel and add a chanowner for the channel.
I have a bot with the name Request that should do all works.
DeadC wrote:How can i get this to works so i can do a bot to join a channel and add a chanowner for the channel.
There is a script already written that might suit your purpose, called initchan.tcl... Functions:
Users:
/msg bot INITCHAN #channel CODE [optional: email]
Admins: [can do "!initchan" in channel, or /msg bot initchan]
!initchan add #channel <code> [email]
!initchan del #channel-or-wildcard
!initchan list #channel-or-wildcard
!initchan clear
I'm using StormBot and have writed this script for request script:
i have a request bot that check everything then he do this command
-----------------------------------------------------
putbot $::requestbot "Request $::channel $::nick1"
-----------------------------------------------------
and on all bots that can be requested this is on:
-----------------------------------------------------
bind bot - Request bot:grant
proc bot:grant {bot command paras} {
global botnick
set chan [lindex $paras 0]
set nick [lindex $paras 1]