mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Aug 2003
Posts: 44
C
Ameglian cow
OP Offline
Ameglian cow
C
Joined: Aug 2003
Posts: 44
I think mIRC needs a case-sensitive operator for wildcardmatches.
So it should be just like "iswm" but case-sensitive. Nearly every operator has a case-sensitive pendant, so why doesnt iswm have one yet?

thanks in advance,
ChosenOne

Joined: Dec 2002
Posts: 349
S
Fjord artisan
Offline
Fjord artisan
S
Joined: Dec 2002
Posts: 349
this has been requested before, and would be a nice feature.

meanwhile you can use $wildtokcs:

Code:
alias iswmcs return $iif($wildtokcs($$2,$$1,0,0),$true,$false)

alias test {
  if $iswmcs(*mOo*,cows go moo) { echo -s yep! }
  else { echo -s nope! }

  if $iswmcs(*bah*,BaH BAH bAh bah!) { echo -s yep! }
  else { echo -s nope! }
}


Hope that helps smile

Joined: Aug 2003
Posts: 44
C
Ameglian cow
OP Offline
Ameglian cow
C
Joined: Aug 2003
Posts: 44
Quote:
this has been requested before, and would be a nice feature.

oh i searched the forums but didn't find it..

Quote:
meanwhile you can use $wildtokcs:

thanks smile


Link Copied to Clipboard