mIRC Home    About    Download    Register    News    Help

Print Thread
#160599 28/09/06 05:38 PM
Joined: Apr 2005
Posts: 1,008
R
raZOR Offline OP
Hoopy frood
OP Offline
Hoopy frood
R
Joined: Apr 2005
Posts: 1,008
i have this:

on 1:error:Closing*Link* { haltdef | here comes custom display }

but whenever i get error

i get server side error msg
and my custom displayed...

nor halt nor haltdef works.
why?

#160600 28/09/06 05:59 PM
V
vexed
vexed
V
on ^*:ERROR:*.*:{ echo -a $timestamp $2- | halt }

#160601 28/09/06 06:00 PM
Joined: Sep 2003
Posts: 261
S
Fjord artisan
Offline
Fjord artisan
S
Joined: Sep 2003
Posts: 261
I'm surprised you got that far, when ever I would try on *:error, i never would get anything. I just figured it was some old on event that never worked frown. Try a period infront of haltdef.

#160602 28/09/06 06:11 PM
V
vexed
vexed
V
It's always worked for me. smirk

#160603 28/09/06 06:19 PM
V
vexed
vexed
V
Code:
on ^*:ERROR:*.*:{ if (closing link isin $1-) { echo -s closing link to server fool | halt }  


Could do it like that, it does work.

#160604 28/09/06 06:19 PM
Joined: Sep 2003
Posts: 261
S
Fjord artisan
Offline
Fjord artisan
S
Joined: Sep 2003
Posts: 261
Heh, i've always assumed to use what the help file says. That may be why it's never worked.
on 1:ERROR:*server full*:/echo Try another server!

Khaled really should update the help file.

#160605 28/09/06 06:30 PM
V
vexed
vexed
V
It's quite funny actually, That example never worked for me either when i started a script several years ago, The i saw the example i gave you from a friend, and it's always worked. smirk

#160606 28/09/06 09:15 PM
Joined: Apr 2005
Posts: 1,008
R
raZOR Offline OP
Hoopy frood
OP Offline
Hoopy frood
R
Joined: Apr 2005
Posts: 1,008
ahh thanks very much, this works.

seems that help file sux in some examples :P


Link Copied to Clipboard