nl_tokens: / * AN RRSAgent IRC log :
pl_tokens: function ( subject ) { var n = UI . <mask> . each ( subject , ns . wf ( 'message' ) ) . length if ( n > 0 ) return 'Chat (' + n + ')' // Show how many in hover text if ( kb . holds ( subject , ns . rdf ( 'type' ) , ns . meeting ( 'Chat' ) ) ) { // subject is the file return 'Meeting chat' } if ( kb . holds ( undefined , ns . rdf ( 'type' ) , ns . foaf ( 'ChatChannel' ) , subject ) ) { // subject is the file return 'IRC log' // contains anything of this type } return null // Suppress pane otherwise }