 |
daemoan.vermillious Apprentice

Joined: 28 Feb 2009 Posts: 135 Location: Chico, Ca
|
Posted: Wed Nov 11, 2009 9:30 pm
#wait |
if I wait in a string, say 5 minutes?
and have anotehr wait after that like
#wait 30000 {save}
south
#wait 30000 {save}
south
they seem to overlap or something?
is there a way to fix that, or make it wait till the first one is up?
or is tehre a ebtter way of doing this? |
|
|
 |
hadar Apprentice
Joined: 30 Aug 2009 Posts: 198 Location: my apt, in california
|
Posted: Wed Nov 11, 2009 10:06 pm |
use #alarm ... i forget the reason wait was put in, but alarm will work better for your purpose
|
|
|
 |
Arde Enchanter
Joined: 09 Sep 2007 Posts: 605
|
Posted: Wed Nov 11, 2009 10:19 pm |
Each #WAIT command will start a new thread. So yes, they will overlap. Type #THREAD to see all threads running.
|
|
_________________ My personal bug|wish list:
-Wrong Priority when copy-paste setting
-1 prompt trigger for Mapper, Session and General Options, not 3 different!
-#SECTION can terminate threads
-Buttons can't start threads |
|
|
 |
Tarken Aurelius Apprentice

Joined: 23 Oct 2008 Posts: 120 Location: Cincinnati, Ohio
|
Posted: Wed Nov 11, 2009 11:25 pm |
Code: |
#ALARM {-5:00} {save} |
-- will do 'save' every 5 minutes
and if you have echo on this might be helpful too:
Code: |
#ALARM {-5:00} {#CALL {%pref(EchoCom,0)};save;#CALL {%pref(EchoCom,1)}} |
-- This will keep you from seeing the 'save' sent every 5 minutes. |
|
_________________ Tarken Aurelius, quality triggers since 2004! Trigger consulting since 2008! Content Developer at BatMUD (www.bat.org) |
|
|
 |
|
|