| View previous topic :: View next topic |
| Author |
Message |
Globulus Voice
Joined: 20 Mar 2009 Posts: 8
|
Posted: Thu Apr 08, 2010 9:21 pm Post subject: [SOLVED] How to wait few seconds ? |
|
|
I need to wait few seconds after sending a msg to another BOT to read his answer but I didn't find a good solution.
After and vwait hang eggdrop and bind time wasn't good has I need to wait only few seconds.
Trying with a loop (while) but this is using 100% of cpu during waiting, so not good.
Maybe I missed an easy way to do it so help will be appreciated.
Thanks.
Last edited by Globulus on Fri Apr 09, 2010 6:54 am; edited 1 time in total |
|
| Back to top |
|
 |
raider2k Op
Joined: 01 Jan 2008 Posts: 140
|
Posted: Fri Apr 09, 2010 12:47 am Post subject: |
|
|
| Code: |
utimer 60 [list putbot botname "!mytrigger $var1 $var2 (...)"
|
utimer 60 waits 60 seconds, you could also use timer which counts in minutes and use 1 (minute) instead of 60, same result. hope that fits your needs |
|
| Back to top |
|
 |
Globulus Voice
Joined: 20 Mar 2009 Posts: 8
|
Posted: Fri Apr 09, 2010 6:54 am Post subject: |
|
|
OMG looking for hour and didn't find it
Many thanks for your help. |
|
| Back to top |
|
 |
|