Beyond commands and variables definitions, the other lines in a script contain the commands to be executed by the script.
@login
@enable
config t
line vty 0 4
login local
exit
username $(NewUserName) password $(NewPassword)
[-] exit