Longer answer, you can make guesses when the userfile is complete, and take action then.
EG, use a link bind, and detect if the bot is a share bot. Then use timers to work out when the value of the global variable "getting-users" (documented in tcl-commands.doc) is changed to 0. When it is set to 0, this usualy means that the userfile is complete, or the bot got delinked, you should check this, then take your action acordignly.
On 2002-01-22 09:06, ppslim wrote:
EG, use a link bind, and detect if the bot is a share bot. Then use timers to work out when the value of the global variable "getting-users" (documented in tcl-commands.doc) is changed to 0. When it is set to 0, this usualy means that the userfile is complete, or the bot got delinked, you should check this, then take your action acordignly.
You should be able to use 'trace' to detect when a variable changes instead of using timers to figure it out
If we make them binds, then they will work even in languages without a trace command (1.7).
I've always wanted to have a bind for chattr, and the proc could approve/deny the bind. Same with chanset, new hosts, user/channel creation/deletion, etc.