Would it be possible to add this feature?

i.e.

if ((%variable = unknown_value) == test_value) { commands involving %variable }

Yes, there are other methods of acheiving similar end results, such as: defining the variable prior to the if-statement, using $ifmatch instead (which will not work outside the original if-statement once any other if-statement has been processed), creating an alias, etc. I am not interested in these.

I feel it would be more efficient and concise if I simply did the comparrison and the variable declaration in at one time. I've done this in C before and it made the code, in my opinion, much more simple.

After thought: Wow, I wonder how often syntax is suggested?