mIRC Homepage
Posted By: raZOR on error - 28/09/06 05:38 PM
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?
Posted By: vexed Re: on error - 28/09/06 05:59 PM
on ^*:ERROR:*.*:{ echo -a $timestamp $2- | halt }
Posted By: Scorpwanna Re: on error - 28/09/06 06:00 PM
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.
Posted By: vexed Re: on error - 28/09/06 06:11 PM
It's always worked for me. smirk
Posted By: vexed Re: on error - 28/09/06 06:19 PM
Code:
on ^*:ERROR:*.*:{ if (closing link isin $1-) { echo -s closing link to server fool | halt }  


Could do it like that, it does work.
Posted By: Scorpwanna Re: on error - 28/09/06 06:19 PM
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.
Posted By: vexed Re: on error - 28/09/06 06:30 PM
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
Posted By: raZOR Re: on error - 28/09/06 09:15 PM
ahh thanks very much, this works.

seems that help file sux in some examples :P
© mIRC Discussion Forums