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 


Clear event queue

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
DaveR
Valued Contributor
Valued Contributor


Joined: 03 Sep 2005
Posts: 413
Location: Australia

PostPosted: Sat Mar 18, 2006 1:01 pm    Post subject: Clear event queue Reply with quote

I've seen a few comments about clearing/flushing the event queue in VDS 5. How exactly do you do this ???

I've tried adding the events to a list in a loop and clearing the list... but the evloop still goes to event(s) I tried to clear.

_________________
cheers

Dave
Back to top
View user's profile Send private message
SnarlingSheep
Professional Member
Professional Member


Joined: 13 Mar 2001
Posts: 759
Location: Michigan

PostPosted: Sun Mar 19, 2006 1:12 am    Post subject: Reply with quote

Using '%%event = @event()' should clear @event().
_________________
-Sheep
My pockets hurt...
Back to top
View user's profile Send private message Send e-mail
Serge
Professional Member
Professional Member


Joined: 04 Mar 2002
Posts: 1480
Location: Australia

PostPosted: Sun Mar 19, 2006 1:45 am    Post subject: Reply with quote

Quote:
Using '%%event = @event()' should clear @event().


i find that sometimes i need to use that line twice for it to work, one after the other

serge

_________________
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
DaveR
Valued Contributor
Valued Contributor


Joined: 03 Sep 2005
Posts: 413
Location: Australia

PostPosted: Sun Mar 19, 2006 8:34 am    Post subject: Reply with quote

Thanks guys.

As mv script ends up with about 98 msgevents at the end of a long process I ended up using

Code:
while @event()
wend

_________________
cheers

Dave
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help 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