Hi Antony,
Parameter "att" moves the TBS field into the specified attribute. But in your case, the TBS fields is already placed into the attribute, so parameter "att" is useless".
I've also noticed that you've used parameter "when" into a TBS fields, but this parameter is for blocks. It will be ignorer in a field.
The best way to do what you're trying to do is:
<div class="eventItemText"> [eventsblock.#;att=class;attadd;if [val]=1;then firstevent;else '']
|