How do I check if the clot is empty

I have an auto index on the home page to display 3 latest events, news and so but I want to put the message up “there are no events at this time” instead of ‘more’ link if there are no events to display. Can anyone help please?

Thanks

#if($sys.currentslot.relresults.size() == 0)##
	there are no events at this time
#end##

Hi,
This gives me size of 1 which is not true. I am confused./??

I got it thanks.

Could you explain how you got this? I’m dealing with something similar. Thanks.