I am trying to advance/retreat the pagination (next or previous page) within a script. I have seen how custom pagination controls can be made creating a plug-in with the API, but this is not what I want to do. I simple want to advance or retreat the pagination when certain conditions are met within a script.
There is also the option of invoking the click event on "oSettings.nNext" and oSettings.nPrevious" (two button paging only - a small modification would be needed for this in full_numbers) which is what I do in the unit tests.
Basically it comes down to the fact that there isn't really an API function for "paging turning" - perhaps one for a plug-in... :-)