mIRC Home    About    Download    Register    News    Help

Print Thread
#160407 27/09/06 12:41 AM
Joined: Jan 2006
Posts: 40
D
DjJax Offline OP
Ameglian cow
OP Offline
Ameglian cow
D
Joined: Jan 2006
Posts: 40
-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

#160408 27/09/06 01:37 AM
Joined: Mar 2005
Posts: 420
X
Fjord artisan
Offline
Fjord artisan
X
Joined: Mar 2005
Posts: 420
Use On Snotice instead of On Notice.

/help On Snotice


If you have a plastic floor runner over your tiles, then you're one Hella Pinoy!
#160409 27/09/06 01:42 AM
Joined: Dec 2002
Posts: 1,245
M
Hoopy frood
Offline
Hoopy frood
M
Joined: Dec 2002
Posts: 1,245
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"

#160410 27/09/06 11:12 AM
Joined: Apr 2004
Posts: 759
M
Hoopy frood
Offline
Hoopy frood
M
Joined: Apr 2004
Posts: 759
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.


$maybe
#160411 27/09/06 11:48 AM
Joined: Sep 2005
Posts: 2,881
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,881
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)


Link Copied to Clipboard