Using the example from docs, I can set a var as a save file name, like:
Using:
Any chance to break this with Javascript or something? So I can maybe build a table and offer load options in a more friendly way like:
(save-game: $playerName)Ok. But let's say my save is:
(save-game:"Slot A", $playerName +","+ $day + "days , LVL " + $playerLevel)...where vars are obviously a day (from my calendar system), and player level.
Using:
(if: (savedgames:) contains "Slot A")[(print: (saved-games:)'s "Slot A")]...it could result in "Slot A, John, 15 days, LVL 10".
Any chance to break this with Javascript or something? So I can maybe build a table and offer load options in a more friendly way like:
<table> <tr> <th>Slot</th> <th>Name</th> <th>Days</th> <th>Level</th> </tr> <tr> <td>A</td> <td>John</td> <td>15</td> <td>101</td> </tr> <tr> <td>B</td> <td>Mary</td> <td>250</td> <td>1250</td> </tr> </table>The table is just an idea. The main point is: how to break the save name in parts?