how to turn off inventory hyperlinks?

Hello all,

Does anyone know how I can set things so that when I type "inventory" in the game, it lists the objects I'm carrying, but doesn't put any of them as hyperlinks?

Thanks :-)
psy

You could drop this into your game file:

<command name="inventory" pattern="[inventory]">
list = FormatObjectList(Template("CarryingListHeader"), game.pov, Template("And"), ".", false)
if (list = "") {
msg (Template("NotCarryingAnything"))
}
else {
game.enablehyperlinks = false
msg (list)
game.enablehyperlinks = true
}
</command>


This is just the inventory command copied up with game.enablehyperlinks turned off and back on around the output msg.

Worked a treat, thanks.

Your knowledge of these code features continues to impress! :-D

psy