want to know command so can stop script at certain condition

does lammps have any command so we can stop script after certain conditions while we are using loop command ?

Sent with Mailtrack

does lammps have any command so we can stop script after certain
conditions while we are using loop command ?

http://lammps.sandia.gov/doc/if.html
http://lammps.sandia.gov/doc/quit.html