Not 100% sure but I think the reason its not working is theres no input command. I'm just trying to do this now, if I get it working, i'll share the code :)
I give up, tried everything I can think off. I'm sure this is an easy fix, i'm just out of my depth lol