I actually think this is already built in... try just typing in 'i' anytime during game play
if not, then:
an example:
the left side's 'tree of stuff' -> Command (its under 'game' ) -> add -> (see below)
Command Name: check_inventory_command
Command Pattern: i (or whatever you want, for example: chk inv)
Command Script: (click on that notepaper like button in the thin script rectangle box to go into code view just for your Command's script, and see below: type in the below, if you need help: http://forum.textadventures.co.uk/viewtopic.php?f=18&t=4771 ~ you're using a Command, but the location-window is generally the same, find the notepaper like button as seen in Pixie's guide link)
// the indenting matters, so make sure you indent the 'ClearScreen' line. I like to use 2 spaces for my indenting increments~intervals~levels)
http://docs.textadventures.co.uk/quest/functions/corelibrary/displaylist.html
http://docs.textadventures.co.uk/quest/scripts/wait.html
if you want your items to be numbered
DisplayList (player.inventory, true)
wait {
ClearScreen
}
OR
if you don't want your items to be numbered
DisplayList (player.inventory, false)
wait {
ClearScreen
}