Example: To get the authenticated version of the current topic you can write %SCRIPTURL{"viewauth"}%/%WEB%/%TOPIC% which expands to https://gaia.ub.edu/twiki/do/viewauth/TWiki/VarSCRIPTURL2
Note: In most cases you should use %SCRIPTURLPATH{"script"}% instead, as it works with URL rewriting much better
Example: To get the authenticated version of the current topic you can write %SCRIPTURL{"viewauth"}%/%WEB%/%TOPIC% which expands to https://gaia.ub.edu/twiki/do/viewauth/TWiki/VarSCRIPTURL2
Note: In most cases you should use %SCRIPTURLPATH{"script"}% instead, as it works with URL rewriting much better