You’re not going to get much of anything in St Andrews. It’s 30 minutes by bus from the nearest decently-sized town (Dundee). There’s a board games society, as well as a minis/RPGs/magic society, but as far as I know, there is no scene.
It is, however, an utterly amazing university, and I regret leaving it for another (ostensibly more prestigious) university down south. I’d highly recommend you consider going there even if you don’t actually get much in-person netrunner play; Edinburgh is around an hour and a quarter away if you’re ever desperate. I think there’s also a scene in Dundee, but I’m not sure how big it is.
Glasgow - there should be. Spellbound games hosted a regional + lots of SCs last year, and it was decently attended (though this year’s one in Edinburgh was much bigger)
They’re very welcoming of foreigners in Scotland (unless you’re English, ofcourse)
However, if you want Netrunner Mecca, you should come to London. 30+ person meetups on Tuesday nights, with a secondary 15 person meetup on Thursdays. 40 person Game Night Kits. 60 Person Store Champs…