Spin
From UBot Studio
(Difference between revisions)
Line 3: | Line 3: | ||
The function returns a spun version of a given text. The text must be in spin ready format in order to be spun by the function. | The function returns a spun version of a given text. The text must be in spin ready format in order to be spun by the function. | ||
− | An example of a spin ready sentence is: UBot makes working {a breeze| more efficient| less time consuming} | + | An example of a spin ready sentence is: |
+ | |||
+ | <pre>UBot makes working {a breeze| more efficient| less time consuming}</pre> | ||
'''Text To Spin:''' Where the spin ready text is placed for spinning. Accepts variables and functions such as [[$next list item]], [[$list item]], [[$random list item]], [[$previous list item]], and [[$table cell]] under Text to Type. | '''Text To Spin:''' Where the spin ready text is placed for spinning. Accepts variables and functions such as [[$next list item]], [[$list item]], [[$random list item]], [[$previous list item]], and [[$table cell]] under Text to Type. |
Revision as of 19:18, 1 May 2013
$Spin is a Text Function.
The function returns a spun version of a given text. The text must be in spin ready format in order to be spun by the function.
An example of a spin ready sentence is:
UBot makes working {a breeze| more efficient| less time consuming}
Text To Spin: Where the spin ready text is placed for spinning. Accepts variables and functions such as $next list item, $list item, $random list item, $previous list item, and $table cell under Text to Type.
Example
navigate("http://www.ubotstudio.com/playground/simple-form", "Wait") wait(3) type text(<about me textarea>, $spin("UBot makes working \{a breeze| more efficient| less time consuming\}"), "Standard")
Running the script fills the field with a spun version of the spin ready sentence in the spin function.