Spin

From UBot Studio
(Difference between revisions)
Jump to: navigation, search
(Created page with "$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. ...")
 
 
(5 intermediate revisions by one user not shown)
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]].
 +
 
  
 
== Example ==
 
== Example ==
Line 11: 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:spin.png]]
+
 
 +
[[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.


Spinplay.jpg

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox