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.

need script to reash ALL botnicks on botnet

Old posts that have not been replied to for several years.
Locked
B
Bytez
Op
Posts: 168
Joined: Mon Aug 11, 2003 1:42 pm

need script to reash ALL botnicks on botnet

Post by Bytez »

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.
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

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 :)
B
Bytez
Op
Posts: 168
Joined: Mon Aug 11, 2003 1:42 pm

Post by Bytez »

I mean a DCC comamnd, will that bot only listen to the owner when !rehash is typed on the channel? Thanks.
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

yes, only when bot owner types !rehash the bots will rehash.

read tcl-commands.doc for once.
B
Bytez
Op
Posts: 168
Joined: Mon Aug 11, 2003 1:42 pm

Post by Bytez »

Thanks for the code, I never get along too well with programming :P
Locked