Pausing the script execution

I have this problem: Im trying to pause a script from executing in a nested loop for some time but i dont know how.

this is a sample script:

 for (i=0; i<10; i++) { 
	for (j=0;j<4;j++) {
		//pause here
		...
	}
}

any one has any idea how to do it?