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.
Old posts that have not been replied to for several years.
Bytez
Op
Posts: 168 Joined: Mon Aug 11, 2003 1:42 pm
Post
by Bytez » Sun Sep 21, 2003 3:20 pm
Hi, I need a script that will rehash all my botnicks on the botnet. I have a big botnet and don't want to type "/msg botnick rehash" for each one. I know netbots has that feature but i don't want to migrate to it since it will require me to reconfigure the files. Thanks.
Sir_Fz
Revered One
Posts: 3794 Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:
Post
by Sir_Fz » Sun Sep 21, 2003 4:51 pm
you mean you want them to respond to a !rehash public command ?
if yes then:
Code: Select all
bind pub n|n !rehash rehash:pub
proc rehash:pub {nick uhost hand chan arg} {
rehash
}
this is a very simple and basic script
Bytez
Op
Posts: 168 Joined: Mon Aug 11, 2003 1:42 pm
Post
by Bytez » Mon Sep 22, 2003 12:23 am
I mean a DCC comamnd, will that bot only listen to the owner when !rehash is typed on the channel? Thanks.
Sir_Fz
Revered One
Posts: 3794 Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:
Post
by Sir_Fz » Mon Sep 22, 2003 9:55 am
yes, only when bot owner types !rehash the bots will rehash.
read tcl-commands.doc for once.
Bytez
Op
Posts: 168 Joined: Mon Aug 11, 2003 1:42 pm
Post
by Bytez » Tue Sep 23, 2003 7:33 pm
Thanks for the code, I never get along too well with programming