-irc.redhispana.org- *** Verificando tu nombre de host
-
-irc.redhispana.org- *** Tu host ha sido resuelto, cached
-
-irc.redhispana.org- *** Comprobando Ident
-
-irc.redhispana.org- *** No hubo respuesta de ident
on ^*:notice:*:{
if irc iswm $1- { .echo -a caca }
}
any help please
Use On Snotice instead of On Notice.
/help On Snotice
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"
the . only silences echo if the -q switch is specified for echo.
the irc bit is also not part of $1- in an snotice event, use $server and/or $network to check if the event was triggered on a certain server.
Sometimes I think it's ok to assume things about the person asking the question, and the thing I'm assuming here is that the . is a habit. I see lots of people using . where it's not needed, but as decoration; .join, .part, .quit, etc.
In this case, there's absolutely no point in hiding the echo, so I'd say it's a fairly safe assumption.
.echo -q caca is equivalent to:
(nothing)