Thanks for the reply and suggestion. I was also trying to use the syntax from the wiki page, but when I tried the single quotes like in your code I received a Syntax Error!
After playing around a bit in winbox I discovered that the value has to encapsulated by single quotes and when I set the value equal to ‘10.3.3.251’ the raw data came out to be 0a0303fb, I threw this into a HEX to IP calc I googled and it came out as 10.3.3.251.
In the script, however, the syntax error. Well after playing around some more in the terminal I discovered that the single quotes must also be enclosed in double quotes as follows, this is the code that worked for me: