mIRC Home    About    Download    Register    News    Help

Print Thread
Break during filter #81722
03/05/04 04:42 AM
03/05/04 04:42 AM
Joined: Jan 2003
Posts: 87
T
Tat Offline OP
Babel fish
Tat  Offline OP
Babel fish
T

Joined: Jan 2003
Posts: 87
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.

Re: Break during filter #81723
03/05/04 07:19 AM
03/05/04 07:19 AM
Joined: Aug 2003
Posts: 325
W
Wolfie Offline
Fjord artisan
Wolfie  Offline
Fjord artisan
W

Joined: Aug 2003
Posts: 325
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

Re: Break during filter #81724
03/05/04 10:37 AM
03/05/04 10:37 AM
Joined: Feb 2004
Posts: 2,019
Leuven, Belgium
FiberOPtics Offline
Hoopy frood
FiberOPtics  Offline
Hoopy frood

Joined: Feb 2004
Posts: 2,019
Leuven, Belgium
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


Gone.