on *:TEXT:!reconnect:<#BotChannel>:{
if ($nick == <BotOwnerNick>) {
.msg $chan The Bot is reconnecting to the network on 4 seconds
.quit Re-connecting request by $nick
.server <IRCNetwork>
}
}
!reconnect
command only for my master
```
on *:TEXT:!reconnect:<#BotChannel>:{
if ($nick == ) {
.msg $chan The Bot is reconnecting to the network on 4 seconds
.quit Re-connecting request by $nick
.server
}
else {
.msg $chan command only for my master
}
}
```
Its lame. It can be easily get flooded. First of use block for like 15 seconds, and second just use notice to nick. Doesn't need to flood the room with pointless messages
-
Jul 19, 2014
Can you make this to automatically do this by say 12:00am everday. My bot is running stats and need to disconnect/connect at that time to reset daily figures
is better
!reconnect command only for my master ``` on *:TEXT:!reconnect:<#BotChannel>:{ if ($nick == ) { .msg $chan The Bot is reconnecting to the network on 4 seconds .quit Re-connecting request by $nick .server } else { .msg $chan command only for my master } } ```