The above is a snippet from code I'm working on. It's meant to make a template book with all the basic verbs, so all I have to do is make a sub-object and fill in the blanks.
The problem I'm having is with the next() verb. As shown it will only flip one page then stop working.
I can make it flip through all the pages, but then the second part of the next() verb doesn't work. I also want it so that when you reach the last page it will close the book.
The previous verb also shown works fine. I added it to give an idea of what I'm looking for. (Reversed of coursed.)
I'm stumped so any ideas are much appreciated.