I'm new to coding just so you all know.
Now for more context. I already have the
(link-goto: "Return", (history:)'s last)
set up.
However, my game has an inventory system.
And within that inventory, code set up below,
<h2>Inventory</h2>\
{
(for: each _item, ...$inv)[
<br>- _item
]
}
(click: "Nightstick")[(go-to: "Nightstick details")]
(link-goto: "Return", (history:)'s last)
When I click on Nightstick, it routes me to the detail page. But then I go back to the main inventory and want to proceed to the actual game, but when I hit "Return" it brings me back to the detail page.
How can I route the "Return" command to never target my detail page?
I like the idea of having a detail page and don't want the text to be displayed on the actual inventory main page using the display: macro. So that workaround isn't a solution for me.
Thanks for your help.