Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

hiperlink random?

I want to make a hyperlink directs you to another random sale within the workspace, so that each you select that button sends you to a different sales.

Comments

  • You need to say which story format you are using, as answers can be different for each one.

    You can use the either function to randomly select which passage to show next, a $variable to store the which passage was randomly selected, and use the $variable in a markup link to send the Reader to the randomly selected passage.

    Try the following:
    note: my example assumes that the random passages are titled passage1, passage2, and passage3 but you can use whatever passage titles you want.
    <<set $passage to either("passage1", "passage2", "passage3")>>\
    Click on the following link to goto one of three random passages.
    [[Next|$passage]]
    
    
Sign In or Register to comment.