the thing is it wont reconise the # in $1- becuse # is bold!

If the # is there with the same purpose as $chan, it wont work, since a notice doesn't have to do with any channels. In other words, there is no "channel" in a notice event. You can try, if you want to, a while loop with $comchan:
Code:
[color:green] ; Here is just the while loop, not the whole script.[/color]
 var %i = $comchan($nick,0)
 while (%i) {
   if ($comchan($nick,%i) isin $1-) { commands }
   dec%i
  }
I hope this helps smile