Her eis example code you can use for multi threading that is very simple to setup and use with "most" applications.
ui drop down("Thread Count", "2,3,4,5,6,7,8,9,10", #num threads)
ui text box("Number of accounts", #number accounts)
set(#num created, 0, "Global")
set(#used threads, 0, "Global")
loop(#number accounts) {
loop while($comparison(#used threads, ">=", #num threads)) {
wait(1)
}
loop process()
}
define loop process {
increment(#used threads)
increment(#num created)
registration procedure()
}
define registration procedure {
thread {
in new browser {
registration code here()
decr