Assuming this is the nicklist popups:
bot speak:.notice (bot's name) $chan $$input(Enter bot speak for $chan,eq,Bot Speak)
(The dot in front of .notice makes it "quiet" so you don't see "-> -botname- mu moo mu")

Here we check nick and if the bot is on the channel
on *:notice:*:?:if $nick == Yournick && $1 ischan { msg $1 $$2- }

You can make a more secure check than nick with $address, $site, $wildsite or with userlevels/protect.