mIRC Homepage
Posted By: DjJax help on this - 27/09/06 12:41 AM
-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
Posted By: xDaeMoN Re: help on this - 27/09/06 01:37 AM
Use On Snotice instead of On Notice.

/help On Snotice
Posted By: MikeChat Re: help on this - 27/09/06 01:42 AM
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"
Posted By: Mpdreamz Re: help on this - 27/09/06 11:12 AM
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.
Posted By: hixxy Re: help on this - 27/09/06 11:48 AM
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)
© mIRC Discussion Forums