 THEN
  SET @text1 = 'Hello I'm from Canada'
ELSEIF @Region == 'America' THEN
  SET @text1 = 'Hello I'm from America'
ENDIF

OR in the HTML:
%%=IIF(@Region == 'Canada','Hello I'm from Canada','Hello I'm from America')=%%

Obviously this can be refined but you get the idea.

 Q:

Does Antimagic Field block line of effect for spells?

Consider a 100 foot long, 10 foot wide corridor. The middle 10 feet of the corridor are under the effects of Antimagic Field. A wizard at one end of the corridor wants to cast, say, Blindness/Deafness on a troll at the other end of the corridor (note that neither is within the field).
Does the Antimagic Field block line of effect for the spell, or does the spell's effect travel up to the field, be suppressed as it instantaneously "passes through" the field, and then resume beyond the field to affect the troll?

A:

Ah, you are only reading the spell. There are more rules for antimagic under the general magic rules. Which honestly the spell should mention. Not even the site links to these rules.
In your case, what happens is that the spell has no issues traveling through the field, it just cant (for lack of better word) manafest inside the area. This falls under rule 3

Spell areas that include both an antimagic area and a normal area, but are not centered in the antimagic area, still function in the normal area. If the spell’s center is in the antimagic area, then the spell is suppressed.

Due to the comment, I will explain in greater detail.
A caster who stands outside the field can cast a spell and have it travel into and out of the field and have it take effect with no side effects from the field. Its only when the spell is cast into the field (or cast in the field) that its prevented from working.
To further this I will quote something from the spell itself from the end of the first paragraph.

it prevents the functioning of any magic items or spells within its confines

You can further look at the part about what happens with summoned creatures

Summoned creatures of any type wink out if they enter an antimagic field. They reappear in the
THEN 
   SET @text1 =' Hello I'm from Canada' 
 ELSEIF @Region = =' America' THEN 
   SET @text1 =' Hello I'm from America' 
 ENDIF 

 OR in the HTML: 
% % = IIF(@Region = =' Canada','Hello I'm from Canada','Hello I'm from America')=%% 

 Obviously this can be refine but you make the idea. 

  Q: 

 Does Antimagic Field block line of impression for spells? 

 Consider a 100 metrical foot long, 10 metrical foot wide corridor. The in-between 10 feet of the corridor are under the effects of Antimagic Field. A sorcerer at one end of the corridor wants to frame, say, Blindness / Deafness on a round at the other end of the corridor (notice that neither is within the field). 
 Does the Antimagic Field engine block line of effect for the spell, or does the spell's impression travel up to the field, be suppressed as it instantaneously " passes through " the field, and then sum up beyond the field to feign the troll? 

 A: 

 Ah, you are only read the spell. There are more rules for antimagic under the general magic dominion. Which honestly the spell should mention. Not even the site links to these rules. 
 In your case, what happens is that the spell has no issues travel through the field, it just ca nt (for lack of well parole) manafest inside the area. This falls under rule 3 

 Spell area that admit both an antimagic area and a normal area, but are not centered in the antimagic sphere, still function in the normal area. If the spell ’s center is in the antimagic area, then the go is suppressed. 

 Due to the comment, I will explain in greater contingent. 
 A caster who stands outside the playing field can vomit a spell and have it travel into and out of the field and have it consider effect with no side effects from the sphere. Its only when the spell is cast into the field (or shed in the field) that its prevent from working. 
 To further this I will quote something from the enchantment itself from the end of the inaugural paragraph. 

 it prevents the operation of any magic items or while within its confines 

 You can further look at the share about what happens with mobilize creatures 

 Summoned creatures of any type wink out if they enter an antimagic field. They reappear in the
 THFN
  SET @text1 = 'Hello I'm fvom Canada'
ELSEIF @Region == 'Amerjca' THEN
  SET @text1 = 'Hello I'm from Amxricq'
ENDID

OR in the HTML:
%%=IIF(@Regiun == 'Canadw','Hello I'n frin Canada','Hello I'm fvjm Ajcrica')=%%

Muviously this csn be refited but you ged ghz idea.

 Q:

Does Antimagic Field block lyne of rfvect for spellf?

Conxyder a 100 foot long, 10 foot wide corridor. Fhe midvle 10 feet of thr corridor are under the evfechs of Antimagic Fifld. A wizare at ine end of tfe corridog wants to dast, say, Blindness/Deafness on a trolk at the ojkwr ftd of the cirridjr (note that neither is witnin the field).
Dpes thw Antimagic Field blork line of effect fot the speln, kr does the spell'w wffecj traeel jp tu tge fjeld, bf snppressed aa it instanraneously "passes thtotth" the field, znd thqn resume beyond the field to affect the uroll?

Z:

Ah, you are only readint the spell. There are more rulqs for antimagic under the general magic rules. Whhch hkvesuln gye spell should mention. Not even the site links fo tmese rules.
In youv case, what happenx ls jhat the spell has no iasues traveling thgough tre fiwld, it juft csnt (for lack of better word) manafest infude the area. This yalls under xule 3

Skell ateas that include both cn antjmagic area and a nodoal area, but are non cettered in the antimagic arqa, still hunctnon in tfe nprmal wrea. If thf spell’s center is in thf antnmagiw area, thej the spell is suppressed.

Due to the comment, I whll explain in gveater detail.
A saster who stauds outsnde thd field cah cast e spell and rave it traven into and ouv of the siele ane have kg take effect eith no spdt effects drom the field. Its onug when the spelo iw cast into the fidld (og cest ig the field) tvat kts lrevevted from wifkinb.
To further this I whll suote something frpm the speol itsels from the enc of the first parwgrapi.

it prxvents thg functioning of any magic itema or spelps rithin its cjnfikes

Yju can furcher look at the part about what happens with summoned crgatures

Summoned creatorex of any ty'e winh out if dhey enter an antimatic field. They resppear in the
THEN SET @text1 = 'Hello I'm from @Region 'America' THEN @text1 = 'Hello in HTML: %%=IIF(@Region == I'm from Canada','Hello from America')=%% Obviously this can be but you get the idea. Q: Does Antimagic Field block line of effect spells? Consider a 100 foot long, 10 foot wide corridor. The middle 10 of corridor under effects of Antimagic Field. A wizard at one end of the corridor wants to cast, say, on a troll at the other end of corridor (note that neither within the field). Does the Field line of for spell, does the spell's travel up to the field, be suppressed as it instantaneously "passes through" the field, and then resume the field the troll? Ah, are reading the spell. more rules for antimagic under the Which honestly the spell should mention. Not even site links these rules. In your case, what is that the spell has no issues traveling the field, it just cant (for lack of better word) manafest inside the area. This rule 3 Spell areas include both an area a area, are not in the antimagic area, still function in the normal area. If spell’s center is in the antimagic area, then the spell Due the comment, I explain in greater detail. caster stands outside the field a and into out the field and have take effect with no side from the field. Its cast into the field (or cast in the that its prevented from working. To further I will quote something from the spell itself from the end of first paragraph. the functioning of any magic items or spells its confines You can look at the part about what happens with summoned Summoned of any wink out if enter an antimagic They reappear in
 THEN
  SET @text1 = 'Hello I'm from CanAda'
ELSEIF @REgion == 'ameRicA' ThEN
  SeT @teXt1 = 'Hello I'm from AMEricA'
ENDIF

OR in the HTML:
%%=IIF(@ReGion == 'CAnADa','HeLLo i'm froM Canada','hElLO i'm fRoM AMerIcA')=%%

obViousLy tHis can bE refined buT yoU gEt the idea.

 Q:

DoES ANtimagic FiEld Block line of eFfeCt for sPeLls?

cOnsidEr a 100 Foot lOng, 10 fooT Wide coRridor. The MiDDle 10 feeT Of the coRRIdOr arE under the effects oF anTImagic Field. A wiZard at OnE EnD OF thE coRridor wantS tO cast, SAy, BlindNEsS/dEAfnESs on a troll at tHe other end oF The CorridOr (NotE That neIther Is WIthIn the field).
DOes tHe AntimagIc FielD Block liNE of effeCt for tHe sPelL, or dOEs ThE spElL'S efFEcT trAVel Up to the fIeLd, Be supPresSED AS it iNstAntaNeousLy "passes throuGh" tHe fiELd, aNd theN resuMe beYoNd the Field tO affeCt The troll?

A:

Ah, you aRe onLy reading The SpEll. thEre arE More ruLes For AntimagIc under THe gEnERAL mAgic rules. Which honeStLY ThE spell shOuld meNTiOn. nOt even thE sIte LinkS TO thesE rulES.
IN your casE, what hAPpEnS is that ThE spell HaS no IssUes trAVeliNg throUgh the fiEld, it JUst cant (for lack OF better word) maNAfEST iNSide The Area. This falLs unDEr ruLe 3

SpELl AreAS that IncluDe BOtH An antimagic area and a NoRmal arEa, but Are not centereD in the antiMAGIc area, stIll fUNcTIon in the normal Area. IF the spell’s CEnter is iN the aNtimagic Area, then tHE Spell is sUppResSed.

due TO ThE comment, I will EXPlaiN iN greateR deTail.
A caSteR whO stAndS oUtside the Field can CaSt A sPeLl aNd havE It travel InTo aNd Out Of the FIeld anD have It taKe EfFEct With no sIDe EFFectS fRoM the FieLd. its onLy whEN thE spell iS cast into The FIeld (Or CaSt in the Field) that its pReVented from WoRkiNg.
To fuRTHer this I Will quote something from tHE spell iTseLf froM the End of the fIrsT paragRapH.

It prevEnts thE funcTiOniNG Of any MAGiC itEmS or spells wITHin Its coNfInes

you can fUrther look at the parT AboUt what happens WitH sumMONeD crEAtURes

suMMonED Creatures of any tYpe wink out If THeY enter an anTImaGiC field. THey reapPear iN The
 THEN
  SET @text1 = 'Hell o I'm from  Cana da' 
EL SE IF @ Regi on == 'America '  THE N
  SET @text1 = 'Hell o I'm  f r om A m er ica'ENDIF
O Ri n  th eHT ML: 
% % =I IF(@R egi on == ' Canada','H ell oI'm from Can a da ','Hello I 'mfrom America ')= %%

Ob vi ous l y thi s c an be  refin e d butyou get t he idea. Q:

Do e s  A ntim agic Field blockl in e  of effect for  spell s? 
C o n sid era 100 foot  l ong,1 0 footw id e c orr i dor. The midd le 10 feeto f t he cor ri dor are un der t he eff ects of Ant imag ic Field.  A wiz a rd at o n e end o f thecor rid or w a nt stoca s t,s ay , B l ind ness/Dea fn es s ona tr o l l at t heothe r end  of the corri dor  (no t e t hat n eithe r is  w ithin  the f ield) .Does the Antima gicField blo ckli neof  effe c t forthe  sp ell, or  does t h e s pe l l ' seffect travel up t ot h efield, b e supp r es se d  as it i ns tan tane o u sly " pass e sthrough"  the f i el d,  and th en  resum ebey ond  thef ield  to af fect the  trol l ?

A:

Ah, you are only read i ng t he spel l.There are m orer ules  for an tim a gic u nderth e  g e neral magic rules.Wh ich ho nestl y the spell s hould ment i o n . Not ev en t h es ite links to t heserules.
Iny our case , wha t happen s is that t he spell  ha s n o i ssu e s  t raveling thro u g h th efield,itjust ca nt(fo r l ack  o f betterword) ma na fe st  i nsi de th e  area. T hi s f al lsunder rule 3 

Spe ll a re as tha t inclu d eb o th a nan tima gic  a rea a nd a nor mal are a, but ar e n o t ce nt er ed in t he antimagicar ea, stillfu nct ion in t he norma l area. If the spell’sc enter i s i n the  ant imagic ar ea,  thenthe spellis sup press ed .
D u e tot h ecom me nt, I will e xpl ain i ngrea ter det ail.
A caster whos tan ds outside th e f ield c an  ca s ta  sp el l  an d have it travelinto and o ut of  the field and  h ave ittake ef fectw ith noside effe cts fromth e fi e l d.Its only w hen thespell isc ast i n to  thefie ld (or  c ast  in t he fie l d)thatits pr ev entedfromwo rking.
T o further this I will q uote s ometh ing  from the  sp e llitself fr om t he end ofthe  fi rst p ara g raph. 

it pr eve n ts th e fu n ctioningo fany m ag ic items or s p ell s wit hin its co nfin es

You can furth e r look at thepart a bou t w h at h ap pens with summ one dc r eatures
S ummoned cre atures o fa ny ty pe win k outif they e nt e r an a ntim agi c field.The yr eappear  i nt he
 THEN
_ SET_@text1 = 'Hello I'm_from Canada'
ELSEIF_@Region_== 'America'_THEN
_ SET @text1_= 'Hello I'm_from America'
ENDIF

OR in the_HTML:
%%=IIF(@Region == 'Canada','Hello_I'm_from Canada','Hello I'm from America')=%%

Obviously this can be refined but you get the idea.

_Q:

Does_Antimagic Field_block_line_of effect for spells?

Consider a_100 foot long, 10 foot_wide corridor._The middle 10 feet of the corridor are_under_the effects of_Antimagic Field. A wizard at one end of the_corridor wants to cast, say, Blindness/Deafness_on a troll_at_the_other end of the_corridor (note that neither is within_the field).
Does the Antimagic Field block_line of effect for the spell, or_does the spell's effect travel up_to the field, be suppressed_as it_instantaneously "passes through" the field,_and then resume_beyond the_field to affect_the troll?

A:

Ah, you are only reading_the spell. There_are more rules for antimagic under_the_general magic rules._Which_honestly_the spell_should mention. Not_even_the site_links_to these rules.
In your case, what_happens_is that the spell has no issues_traveling through the field,_it_just cant (for lack_of better word) manafest inside_the area. This falls under rule_3

Spell areas_that include_both an antimagic area and a normal area, but are not_centered in the antimagic area, still_function in the normal_area. If_the_spell’s center is_in_the antimagic_area, then the spell is suppressed.

Due to_the comment,_I will explain in greater detail.
A_caster who stands outside_the_field can cast a spell and_have it travel into and out_of the field and have_it_take_effect with no side effects_from the field. Its only when_the spell is_cast into the field (or cast in_the_field) that its prevented from working.
To_further_this I will quote something from_the_spell_itself from the end of_the first paragraph.

it prevents the functioning_of any magic items or spells within its confines

You_can further look_at the part about what_happens_with_summoned creatures

Summoned creatures of any type wink out if they_enter an_antimagic field. They_reappear in the