forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


SLEEP

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Advanced VDS 5 Source Code
View previous topic :: View next topic  
Author Message
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Wed Jul 23, 2003 9:24 pm    Post subject: SLEEP Reply with quote

This really isn't necessary because there is already the "WAIT" command
but it's just an example:

Code:
#define command,sleep

rem ** Time in milliseconds **
sleep 3000
exit

:sleep
loadlib kernel32.dll
%A = @lib(kernel32,Sleep,NIL:,INT:%1)
freelib kernel32.dll
exit

_________________
FreezingFire
VDSWORLD.com
Site Admin Team


Last edited by FreezingFire on Fri Jan 09, 2004 10:27 pm; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
Tommy
Admin Team


Joined: 16 Nov 2002
Posts: 746
Location: The Netherlands

PostPosted: Sun Jul 27, 2003 1:48 am    Post subject: Reply with quote

It's a good one, as this allows for shorter delays then WAIT. It will probably freeze dialogs
while sleeping though.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Advanced VDS 5 Source Code All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group