Spin
From UBot Studio
(Difference between revisions)
(2 intermediate revisions by one user not shown) | |||
Line 4: | Line 4: | ||
An example of a spin ready sentence is: | An example of a spin ready sentence is: | ||
+ | |||
<pre>UBot makes working {a breeze| more efficient| less time consuming}</pre> | <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]] | + | |
+ | '''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]]. | ||
+ | |||
== Example == | == Example == | ||
Line 15: | Line 18: | ||
type text(<about me textarea>, $spin("UBot makes working \{a breeze| more efficient| less time consuming\}"), "Standard") | type text(<about me textarea>, $spin("UBot makes working \{a breeze| more efficient| less time consuming\}"), "Standard") | ||
</pre> | </pre> | ||
+ | |||
Running the script fills the field with a spun version of the spin ready sentence in the spin function. | Running the script fills the field with a spun version of the spin ready sentence in the spin function. | ||
− | [[File: | + | |
+ | [[File:spinplay.jpg]] |
Latest revision as of 16:57, 28 December 2016
$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.
[edit] 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.