|
|
Usage: |
|
forlist (List name,sleep time[,offset]) {Command Block;}; |
|
Description: |
| |
The forlist keyword will direct QLAD to read each item
from a list. It will sleep Sleep Time between each item,
and run the command block with the item as arguments. $(a1) will be
the item name, and $(a2) will be the item value.
|
|
Example: |
|
| QLAD Script |
# This will show the contents of the Test list on the console, # with each line delayed by one second, when a console user # runs /test
list Test { one 1; two 2; };
on ucmd_test cmd forlist (Test,1) /echo * $(a1) = $(a2);
|
|
|
|