mIRC Homepage
Posted By: Tat Break during filter - 03/05/04 04:42 AM
Anybody with mad skills when it comes to mIRC script, uses filter a lot. Sometimes I mistakingly filter a window or file which is way way too big, and I want to bail out.

Also, for some /filters the commands takes *WAY* longer than it should.

For example 113.578 seconds to do a:
filter -wwc @win1 @win2 *;*;*;*;*;*;*;*!*@adsl-222-185-146.mob.bellsouth.net

On only 124 lines like:
Tat;1781;1.873;20;51.194539;28/04/2004;14;`Tat!~tatarize@s-s-cuda2-cea-52.snbrda.adsdfsphia.comt;trivia;0;0;12537;14;10;9.468;24.081115;1790;31;10;8.203;24.081115;412;14;10;9.468;24.081115;34;65;13;3.625;24.081115

As I wanted to do like 1-123 filters on this data, it's too problem-matic.

Currently, you cannot stop, mIRC seems totally crashed. You must wait the 20 minutes you decided to waste by filtering something you really shouldn't have.
Posted By: Wolfie Re: Break during filter - 03/05/04 07:19 AM
Have you tried pressing CTRL-BREAK? For scripts it will abort a script, it might work during a function too. (I don't know if it will, it's just an idea if you want to try that).

As far as /filter is concerned.. I don't really use it myself, so unfortunately, I can't help ya.
frown
Posted By: FiberOPtics Re: Break during filter - 03/05/04 10:37 AM
Hi,

I suggest you store your trivia information in hash tables, and then use a $hfind with wildcards/regex.

Btw why are you filtering this part: *;*;*;*;*;*;*; ?

Assuming that 1 line is 1 profile for each player, like this:

nick;..;..;..;..;..;..;..nick!user@host

then you can simply use this as matchtext: *@adsl-222-185-146.mob.bellsouth.net
which will give u all the matching lines, with way less work for mIRC to process.

Greetz
© mIRC Discussion Forums