botlending forum  

Go Back   botlending forum > Eggdrop & TCL > Tcl scripting

Tcl scripting Tcl scripting related questions

Reply
 
LinkBack Thread Tools Display Modes
Old 26-08-2008, 19:56   #1 (permalink)
Junior Member
 
Join Date: Aug 2008
Age: 23
Posts: 2
Rep Power: 0
jjjackjill89 is an unknown quantity at this point
Question question about reset counter/data Options

hello guyz...

i got some problem for this tcl.


receive msg : 1234
sent msg : 1234


Mailbox CountIn CountOut Count
Count
ABC 1232 1232 0
ASD 2 2 0


According to the above, for example i have two mailboxs. The ABC
mailbox hav 1232 msg come in and 1232 msg come out and also same to
ASD mailbox. how should i do to reset the counter for both of receive
and sent msg using proc?
jjjackjill89 is offline   Reply With Quote
Old 27-08-2008, 09:44   #2 (permalink)
Junior Member
 
Join Date: Aug 2008
Age: 23
Posts: 2
Rep Power: 0
jjjackjill89 is an unknown quantity at this point
Default reset count

Hi all,

receive msg : 1234
sent msg : 1234

Quote:
Mailbox CountIn CountOut Count
ABC 1232 1232 0
ASD 2 2 0
According to the above, for example i have two mailboxs. The ABC
mailbox hav 1232 msg come in and 1232 msg come out and also same to
ASD mailbox. how should i do to reset the counter for both of receive
and sent msg using proc?




Can anyone tell me how to reset data/count after msg come in and out for n amount of
time?
I tried to use after msg in and out but how do reset or resize the total that the application is back in the zero
This is kind of my logic so far:

1) When msg come in and out, each mailbox have to reset to zero (after idle)
2) If things happen during this period of time, cancel the idle callback
(after cancel)
3) and wait until the next idle occur and reset to zero
jjjackjill89 is offline   Reply With Quote
Old 29-08-2008, 00:51   #3 (permalink)
#a&a representative
 
Erised's Avatar
 
Join Date: Jun 2004
Location: 127.0.0.1
Age: 20
Posts: 169
Rep Power: 0
Erised is an unknown quantity at this point
Send a message via MSN to Erised Send a message via Yahoo to Erised
Default

What TCL are you using?
__________________
Best regards,
Erised
Erised is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Counter Madalin Tcl scripting 9 19-04-2006 12:50
Prima data -ajutor!- Palmiros a&a light script 6 09-04-2006 13:11


All times are GMT +3. The time now is 12:15.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.