Hi,
You can use K# syntax with an If condition like:
// returns "z is lesser than 3"
{% z = 1; if (z<3) {"z is lesser than 3"} |(identity)GlobalAdministrator%}
For more please see http://devnet.kentico.com/docs/devguide/ksharp_syntax.htm
Kind regards,
Richard Sustek