mIRC Home    About    Download    Register    News    Help

Print Thread
#121146 24/05/05 02:56 PM
Joined: Feb 2005
Posts: 681
M
Fjord artisan
OP Offline
Fjord artisan
M
Joined: Feb 2005
Posts: 681
I'd like to see the ? wildcard added to matchtext.
I just realized when trying to use it that it's not.

Code:
*	matches any text
&	matches any word
[color:red]?	matches any character[/color]
text	matches if text contains only this word
text*	matches if text starts with this word
*text	matches if text ends with this word
*text*	matches if text contains this word anywhere

#121147 24/05/05 03:33 PM
Joined: Dec 2002
Posts: 3,547
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
Agreed.

#121148 24/05/05 05:28 PM
Joined: Sep 2003
Posts: 4,230
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
Quote:
I'd like to see the ? wildcard added to matchtext.
I just realized when trying to use it that it's not.


What do u mean its not, I have used it before, and just did so now to make sure.

#121149 24/05/05 05:30 PM
Joined: Feb 2005
Posts: 681
M
Fjord artisan
OP Offline
Fjord artisan
M
Joined: Feb 2005
Posts: 681
I've used it before too lol, but for some crazy reason the text
must have just matched before, like there was a ? in the right
place, but this time it wouldn't work so I looked in the help file
and it's not there.

#121150 24/05/05 05:36 PM
Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
Just tested with:

//if (*m?r* iswm i love mirc scripts) { echo -a hi }.

And it works. You just have to use the correct wildcard formatting.


Invision Support
#Invision on irc.irchighway.net
#121151 24/05/05 05:37 PM
Joined: Sep 2003
Posts: 4,230
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
well i just did a

on *:text:?find *:#:{ echo -st $nick : $1- }

and joined a (dear i say it movie channel) and the @find 's are eventing it

i changed it to

on *:text:?find *:#:{ echo -st $nick : $1- }
and
on *:text:@fi?d *:#:{ echo -st $nick : $1- }
and
on *:TEXT:!que?es:#: { echo -st $nick : $1- }

all of them tripped of events


hehehe you havent turned remotes off have you, i did that yesterday, and wasted 30 mins trying to find what was wrong.

#121152 24/05/05 06:50 PM
Joined: Feb 2005
Posts: 681
M
Fjord artisan
OP Offline
Fjord artisan
M
Joined: Feb 2005
Posts: 681
Flippin' events was off blush
I knew it worked before. Sorry about that guys,
especially SladeKraven who agreed lol.

It still should be added to the help file anyway.
Had it been there I would've known something
was up.

Last edited by mIRCManiac; 24/05/05 07:05 PM.
#121153 24/05/05 07:05 PM
Joined: Dec 2002
Posts: 3,547
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
Woops! mad

-Andy


Link Copied to Clipboard