Page 1 of 1

read the same text with random variations

Posted: 12 Feb 2020 17:31
by tsolignani
Good evening everyone.

Let's say I have to read a text with small variations every time, in order to avoid spam filter.

I could write the original text as something like (I have no idea that syntax could work, it's just an example).

Hallo {world,planet}

And then Automagic could fill a variable getting, say, the first time the word "world" and the second one the term "planet"...

How would you do that?

Thank you, have a nice evening.

Re: read the same text with random variations

Posted: 12 Feb 2020 19:08
by Desmanto
Create a list and get random element from it. I use example of full sentence list.

Code: Select all

variation = newList("Hello World", "Hallo Planet", "Welcome to Earth", "Mother Earth guide me", "To the Infinity");
text = getRandomElement(variation);
You can also append append the word or part of it, just concatenate it.