[lammps-users] if command

Dear All,

I am using if command as shown in the following input script. I am getting an error:
“illegal if command”. could any one help me

I don’t see that you have defined the variable “steps”
which the if command is referencing?

Steve