what are you trying to do?
stop the notice?

you have
on ^*:notice:*:{
if irc iswm $1- { .echo -a caca }
}

corrected to snotice would be

on ^*:snotice:*:{
if irc iswm $1- { .echo -a caca }
}

which would show no change as you have used a . with the command to make it "silent"