Fade effect on last command?

OurJud
30 Oct 2016, 02:23I have a fade effect (thanks to Jay) that 'dulls' the font of the previous location, commands and responses, but I was wondering if anyone could help with a little tweak I would like to add?
As it stands the last (or 'current') command does not fade until the next command is entered. This results in this:
What I want to do is tweak the script so that (using this example) the command of 'get wood' would also fade on Enter.
This is the JavaScript Jay created for me:
if (game.lastoutputsection > 1) {
JS.eval ("$('.section"+(game.lastoutputsection-1)+"').css('opacity', '0.5');")
}