In plain english:
IF (messages >=1 AND reviews >=1) display both
IF (Messages >=1 AND reviews <1) display messages
IF (messages <1 and reviews>=1) display reviews
note, at least 1 of these two fields will be 1. ampscript attempt
%%[
Var @messagagecount
Var @numberreviews
Set @messageCount=AttributeValue("Message_count_30D")
SET @numberreviews=AttributeValue('Number_of_reviews__c")
IF (@messageCount>=1 AND @numberreviews>=1)
THEN SET @MessageBlock =Concat("TEXT TEXT TEXT",@messageCount,@Numberreviews)
ELSEIF (@messageCount>=1 AND @Numberreviews<1)
THEN SET @MessageBlock= Concat("TEXT TEXT TEXT",@messageCount,”TEXT TEXT TEXT”)
ELSE SET @MessageBlock=Concat("TEXT TEXT TEXT",@numberreviews,”TEXT TEXT TEXT”)
ENDIF ]%%
then to call out to it I am writing
%%=v(@MessageBlock)=%%
Where am I going wrong?