We need to know what story format you are using, and the version of said format. For SugarCube, check the documentation. For Harlowe, try these threads to get an idea of what's possible and where to start.