The easiest would probably be to make a variable and increase it's value when the link is clicked and then you make a :
<<if $var eq #>>
<<display "passagename">>
<<elseif...>>
The second one would be with the visited macro.
<<if visited ("passagename") eq true >>
<<dispaly "anotherpassage">>