does the bot say only a hyperlink? or is there more in front of it. either way, you could do something like this..
press alt+r to open up the remote scripts editor and then paste in the following code.. adjust it as needed:
on ^*:text:http*:#:{
if ( $nick = nightbot ) {
haltdef
}
}