private String nextScriptArg() throws IndexOutOfBoundsException {
		if (askScriptArgIndex >= scriptArgs.length) {
			throw new IndexOutOfBoundsException("Script is looking for script argument #" +
				(askScriptArgIndex + 1) + ", but only " + scriptArgs.length + " were passed in.");
		}
		return scriptArgs[askScriptArgIndex++];
	}
Gets the next script argument from the script argument array to process.  Designed to be
called by the "ask" methods.

@return The next script argument from the script argument array.
@throws IndexOutOfBoundsException If there are no more script arguments in the array.
Ghidra/Features/Base/src/main/java/ghidra/app/script/GhidraScript.java