Non-threaded

Forums » Advanced Editor Forum » Read Thread

Get help from the experts on variables, scripts, items, and other scary things.

Backtracking?

11 years ago

Say there is a link.

When you click this link, you want to either skip forward 7 pages, or skip backward 7 pages.

Is that possible? If so how?

The reason I want to do this is because I have a stats page where there's 30 points total that you can spend on your stats. You can spend 5 points at once, so in this case after spending all your points, you have clicked the link 6 times. Using the "Previous Page" link will only take you to the page before that, which is when you'd clicked 5 times. Therefore, you have to click the link "Previous Page" 7 times in order to get back to the actual page. 

I know I could use the exact page for it, but every time you level up, you will gain points, and you will be directed to the stats page again to spend the points again, and that last page will link you to the wrong page. So basically, that's why I'm trying to figure out if that's possible.

Thanks. 

Backtracking?

11 years ago
>on starting page

>link to go to the 7th page forward

>link to go to the 7th page back

>person chooses link to go to the 7th page forward

>on 7th page forward from starting page

>link to stats page that is updated.


you could also use variables to edit the stats page. I'm not the person to ask about that stuff though :s

Backtracking?

11 years ago

I DID IT!

$DEST := @NONE

Backtracking?

11 years ago
Congratulations! :D

Backtracking?

11 years ago

Thanks.

Now I have a problem with scripting the item so that it drops on the same page, every time you click on that page. 

Backtracking?

11 years ago

Or a least when you have less than 3 of the same item. 

When you have 3 of the same item it stops dropping on the same page.