Simply restrict it by adding the channel name at the top.

From what Nillen said
Code:
on *:text:!search &:#CHANNELNAME: { 
var %search $2
msg # www.example.com/usersearch& $+ %search $+ /blabla=b
}