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.
-
V
Vizor
Post
by Vizor »
i want my bot to get number of bots in the botnet and save to file
-
strikelight
- Owner
- Posts: 708
- Joined: Mon Oct 07, 2002 10:39 am
-
Contact:
Post
by strikelight »
Vizor wrote:i want my bot to get number of bots in the botnet and save to file
Code: Select all
set myfile "/home/me/eggdrop/unf.txt"
set numbots [llength [bots]]
set outfile [open $myfile w]
puts $outfile $numbots
close $outfile
Of course this is useless code unless it is event-triggered. (ie. bound to a dcc command or a timer or something.)