<if condition="$userinfo[lastactivity] < (TIMENOW - 2592000)"> User has not logged in for 30 days </if>