Code: Select all
if fld "result1" contains "OK:0" then exit to top with answer "No messages were sent if using topics check spelling"
When everything goes Ok, then a normal result would be something like this, OK:145 or OK:458 up to 1000
I could use ":" as a delimiter, and run the second term and out put it as number of actions taken, but if its OK:0 then I need to stop the script from running, and tell the user some message.
Any thoughts or suggestions are welcomed and appreciated