Clear List

From UBot Studio
Revision as of 20:08, 22 March 2013 by LillyT (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Clear List is a Data Command.

This command empties the contents of a list and resets the position to 0.


Example

navigate("http://www.fruitsinfo.com/tropical-fruits.php", "Wait")
add list to list(%one, $scrape attribute(<href=w"http://www.fruitsinfo.com/*.php">, "innertext"), "Delete", "Global")
wait(6)
clear list(%one)


The script above will populate the list, wait 6 seconds, and then clear the list of its contents.

File:Clear.png

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox