Dear Xianglai,
Can you please be more specific about the error you got when you used your “if” command?
thanks.
baris.