Is it possible to use BeanShell on “Auto-report format for units…”??
I’m trying to change this: $PlayerId$: $message$
into this: {If(PieceName!=“Manager”,PlayerId+": “,”")+Message}
I tried many different combinations of property names (message, Message, playerId PlayerID), but nothing seems to work.
What I need, is an IF function on BeanShell to hide the PlayerId on reports from the Manager piece (those reports are global and playerless).