One option is to only reply if the name of the bot is included.
Eg. converstaion where Tormented is the bot
Quote:
<RusselB> Hello Tormented
<Tormented> Hello RusselB
<Frank> Hey there RusselB
<RusselB> ^5's Frank


Another option, is to set a variable, so that the bot only responds to the same command if issued more than a minute apart.

There are probably other options, but those are the first two that occur to me.