HTML/expandable invisiclues

Based on Juhana Leinonen’s Invisiclues page nitku.net/blog/2010/06/invisiclues-page/ I made a PERL invisiclues generator.

The perl script is at dropbox.com/s/2ox0ggc2ofpnim0/invis.pl. This is linked as the forum does not allow a PERL attachment. Sample code it accepts is below.

Quick documentation is:

#usage invis.pl (file name, .txt optional)

#syntax for a file is
#> = level 1 text heading
#? = beginning of invisiclue clump
#(no punctuation) = each successive clue
#>>, >>>, >>>> = level 2/3/4 etc. headings

[code]!My game

Area 1

Room 1
?how do i do anything?
examine everything.
take everything.
?how do i get to room 2?
go north. Oops! I forgot to mention the exits! Ha ha ha.
room 2
?why is everything so badly implemented?
because I was too lazy.
Area 2
Room 3
?What verb do I need to guess?
Investigate.
No, that’s the verb, investigate.
?Am I really as good-looking as ever?
Yes!
Your singing is also abominable.
Also, XYZZY isn’t even implemented.
Hey! Real adventurers do not use such language.
Hey! That dangerous act would achieve little.
For your amusement
?Have you tried…
…playing a better game?
[/code]

This code leads to the following HTML page: dropbox.com/s/1usfqrs101pdrrm/my-invis.htm

Spoilers and source for larger examples (my comp games, in a fit of shameless self-promotion. Note: for A Roiling Original, the walkthrough is for the soon to be released Beta, so it’s wildly inaccurate) are located at

Threediopolis invisiclues and generator file:
dropbox.com/s/c91mehdby9cillt/3d-invis.htm
dropbox.com/s/650yokz8g08hytv/3d-invis.txt

A Roiling Original:
dropbox.com/s/i80m819gg5a7qlp/roi-invis.htm
dropbox.com/s/gkkmtve19lw01wg/roi-invis.txt

Shuffling Around:
dropbox.com/s/ade8ay0doemwti1/sa-invis.htm
dropbox.com/s/j7tpks3bll15nyc/sa-invis.txt

I’m curious if others find this script useful. It can’t replace in-game hints but would seem to do in a pinch. You could have Gargoyle up on one side of the screen and a browser in the other.

ETA: do whatever you like with it. Credit would be nice but I won’t mind if you don’t.

That looks nice! I’m surprised I’ve never seen Juhana’s invisiclues templates before.