Ok... can i make a loop when you press command1 and then have it stopped when you press command2.

I'm not worried about any lagg or w/e... but i'm curious if this works. I dought it'll lagg since i have two processors, but jw if this is possible.