mIRC Home    About    Download    Register    News    Help

Topic Options
#121146 - 24/05/05 03:56 PM wildcard
mIRCManiac Offline
Hoopy frood

Registered: 05/02/05
Posts: 681
Loc: Your dreams ;)
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
_________________________
mIRCManiac

Top
#121147 - 24/05/05 04:33 PM Re: wildcard
SladeKraven Offline
Planetary brain

Registered: 19/12/02
Posts: 3547
Loc: Kent, England
Agreed.

Top
#121148 - 24/05/05 06:28 PM Re: wildcard
DaveC Offline
Planetary brain

Registered: 26/09/03
Posts: 4230
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.

Top
#121149 - 24/05/05 06:30 PM Re: wildcard
mIRCManiac Offline
Hoopy frood

Registered: 05/02/05
Posts: 681
Loc: Your dreams ;)
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.
_________________________
mIRCManiac

Top
#121150 - 24/05/05 06:36 PM Re: wildcard
Riamus2 Offline
Planetary brain

Registered: 13/10/04
Posts: 8327
Loc: NC, USA
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

Top
#121151 - 24/05/05 06:37 PM Re: wildcard
DaveC Offline
Planetary brain

Registered: 26/09/03
Posts: 4230
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.

Top
#121152 - 24/05/05 07:50 PM Re: wildcard
mIRCManiac Offline
Hoopy frood

Registered: 05/02/05
Posts: 681
Loc: Your dreams ;)
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.


Edited by mIRCManiac (24/05/05 08:05 PM)
_________________________
mIRCManiac

Top
#121153 - 24/05/05 08:05 PM Re: wildcard
SladeKraven Offline
Planetary brain

Registered: 19/12/02
Posts: 3547
Loc: Kent, England
Woops! mad

-Andy

Top