Script for Auto Login as Guest

Hi Guys, I’m new to Scripting and managed to get my network disc to auto mount, but it always comes up with a login window, I want to login as a Guest, can this be done.

So far I have

mount volume “smb://”

any help would be appreciated cheers.