Thanks for the help!
When I went to do this I still ran into issues because in the programming manual that I have the examples show the use of round brackets (x 50) for example, which gave me syntax errors but the error given was saying that it was expecting brackets ( ). Which doesn't make any sense since they are being used lol luckily I was able to find another topic on here where you give examples using { } brackets which managed to correct the syntax, so double thanks are owed