Selection in these sorts of template driven list are managed by hard-coded client stuff, which doesn't provide a scriptable event for "onSelect", so the typical hack-work-around is to use an "onHover" script.
You could add a button to the item template to generate the chat message, but this would of course produce buttons for every item in the list.
|