* matches 0 or more, yes.
But in my little example, you'll notice I'm comparing it to $1-, which removes excess white space.
And since we're getting really picky: "_dog__flight__tuesday_"
I want you to open up your mIRC scripts editor, go to variables, and enter:
%test this____is___a__test_
Replace the _'s with spaces. Then press OK.
Now in mIRC's editbox: //echo -ag $iif(* test iswm %test,yes,no)
First thing you'll notice, it's not true.
Trailing spaces obviously do matter, though generally, you won't have trailing spaces. But the point still stands.
It's generally a good idea to make sure what you say is correct if you're going to correct someone on something extremely miniscule. Cause I, and probably many others, will return the favor.
When I said "one or more words" it's because the wild card is between two spaces. Doing that comparison on something like: $1-, means you're going to have the excess spaces stripped out. Meaning there has to be one or more words or one or more characters in order for it to trigger, as you won't have two consecutive spaces using $1- on 99% of the ocassions.