if (!%x) would be true if %x were $false or $null or 0 or 0000000 ... any negative value or no value at all.

if (%x == $null) would only be true if %x has no value at all.

~ Edit ~

hixxy beat me to it smile

Last edited by mIRCManiac; 16/04/06 08:28 PM.