SRL Archive - OSR Help

Repeating


rice

2012-02-26 04:19:33

I been trying to script this for awhile now but, I cant seem to figure how to get 2 procedure repeating at the same time.

IE:
mainloop
Repeat
clicking;
longloophere;
until(knowledge= 10)

{at the same time as mainloop}

Repeat
typing;
shortloophere;
until(Rice= confused)

like while my main loop is going its repeating something else.

Caotom

2012-02-26 04:43:42

unfortunately, simba will only run one procedure at a time. You would have to include the shorter loop into the longer loop (only other way would be to have 2 scripts running at once) ;o

~Caotom

masterBB

2012-02-26 05:20:04

This is as far as I know the only method: http://villavu.com/forum/showthread.php?t=51578

But it's unstable and I suggest not to use it.

rice

2012-02-26 15:01:24

ok thanks

Er1k

2012-02-27 02:34:01

Instead of multithreading it, is there any chance you can interweave the two things you want to check? What's your application here?

e.g. If I want to check for a success/fail message in agility, instead of doing two loops I can interweave the two into one and check the success/ fail one after another.

This is one application I can remotely think of that utilizes this.