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.)