Spin

From UBot Studio
(Difference between revisions)
Jump to: navigation, search
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:spin.png]]
 
[[File:spin.png]]

Revision as of 19:47, 21 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.


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.


File:Spin.png

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox