This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Botnet + Request Script

Old posts that have not been replied to for several years.
Locked
D
DeadC
Voice
Posts: 2
Joined: Wed Dec 15, 2004 10:11 am
Contact:

Botnet + Request Script

Post by DeadC »

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.
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

never use IRC as communication medium for eggdrop bots; always use the botnet, that's what it was designed and implemented for
User avatar
CrazyCat
Revered One
Posts: 1359
Joined: Sun Jan 13, 2002 8:00 pm
Location: France
Contact:

Post by CrazyCat »

little more help: search in tcl-command.doc for putbot and putallbots
User avatar
YooHoo
Owner
Posts: 939
Joined: Thu Feb 13, 2003 10:07 pm
Location: Redwood Coast

Re: Botnet + Request Script

Post by YooHoo »

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
:mrgreen:
D
DeadC
Voice
Posts: 2
Joined: Wed Dec 15, 2004 10:11 am
Contact:

Post by DeadC »

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]

channel add $chan

adduser $nick
chattr $nick +p|+nmof $chan
save

return
}
-----------------------------------------------------
+p|+nmof = stormbots ChanOwner
-----------------------------------------------------

when this is done $nick should msg the bot with "pass yourpass"

and here stormbot going in and $nick should then msg "login yourpass"


but when $nick msg the bot "pass yourpass" its dont works...

did anyone have a another egggdrop request or something like this?
Locked