I have been trying to find a way via the login script to inform users how
many incorrect login attempts to their account have been made.

We have been mandated to provide the following:

Upon successful logon, users will be notified of the date and time of the
last logon and the number of unsuccessful logon attempts since the last
successful logon.

I have tried this but I get no results:

Write " Intruder attempts: %LOGIN_INTRUDER_ATTEMPTS"

Is this supported? If so, what syntax should I use?