No, thats not the task.. it was just an example
We have an authorization-system and the bot is part of it.
If he restarts for any reason, he just shall kill all users in the channel, so they have to reconnect und re-auth with the bot.
Code: Select all
set users [chanlist $channel]
putlog [llength $users]
Code: Select all
bind pub - * procedure
or
bind pub - "*" procedure
Code: Select all
proc1 $chan
utimer 60 { proc2 $chan }