Home
About
Download
Register
News
Help
Register
Log In
Forums
Scripts & Popups
seconds
Forums
Active Threads
Search
Who's Online
Help
Print Thread
seconds
#
50006
18/09/03
10:42 AM
Joined:
Sep 2003
Posts: 84
T
Turbo_boy
OP
Babel fish
OP
Turbo_boy
Babel fish
T
Joined:
Sep 2003
Posts: 84
I'm making a trivia-bot only i'm asking my self and other scripters how do i make a script with 0.001 sec
(Winaar: Jedi-Plus5 Antwoord: Steenkool Tijd: 14.300 Streak: 1 Punten: 5830 WPM: 7 Plaats: 12th)
i mean so the tijd ;-)
Copy Link to Clipboard
Re: seconds
#
50007
18/09/03
10:47 AM
Joined:
May 2003
Posts: 2,265
P
pheonix
Hoopy frood
pheonix
Hoopy frood
P
Joined:
May 2003
Posts: 2,265
Before you ask the question:
set %ticks $ticks
when the question is answered:
$calc(($ticks - %ticks) / 1000) seconds.
new username: tidy_trax
Copy Link to Clipboard
Re: seconds
#
50008
18/09/03
10:54 AM
Joined:
Sep 2003
Posts: 84
T
Turbo_boy
OP
Babel fish
OP
Turbo_boy
Babel fish
T
Joined:
Sep 2003
Posts: 84
only now hi give it on 0.000 only not the good time :S
the time hi now saying is:
4hrs 47mins 48secs with the $duration command
Last edited by Turbo_boy;
18/09/03
10:56 AM
.
Copy Link to Clipboard
Re: seconds
#
50009
18/09/03
10:56 AM
Joined:
May 2003
Posts: 2,265
P
pheonix
Hoopy frood
pheonix
Hoopy frood
P
Joined:
May 2003
Posts: 2,265
eh?
new username: tidy_trax
Copy Link to Clipboard
Re: seconds
#
50010
18/09/03
11:08 AM
Joined:
Sep 2003
Posts: 84
T
Turbo_boy
OP
Babel fish
OP
Turbo_boy
Babel fish
T
Joined:
Sep 2003
Posts: 84
i have now this:
/testing.a {
.set %ticks $calc($ticks / 1000)
.timer 1 5 /test2
}
/test2 {
.set %ticks2 $calc($ticks / 1000)
.echo seconden $calc(%ticks2 - %ticks)
}
and its working great
Copy Link to Clipboard
Re: seconds
#
50011
18/09/03
03:53 PM
Joined:
Dec 2002
Posts: 1,922
O
Online
Hoopy frood
Online
Hoopy frood
O
Joined:
Dec 2002
Posts: 1,922
No need for the second variable, just use $calc(($ticks - %ticks) / 1000)
Copy Link to Clipboard
Re: seconds
#
50012
18/09/03
04:28 PM
Joined:
Sep 2003
Posts: 84
T
Turbo_boy
OP
Babel fish
OP
Turbo_boy
Babel fish
T
Joined:
Sep 2003
Posts: 84
now hi work not all the time :S some times hi dont $calc :S
Copy Link to Clipboard
Hop To
News and Discussions ------
Latest News
General Discussion
Support ------
mIRC Help
Connection Issues
Scripts & Popups
Development ------
Feature Suggestions
Developers
Bug Reports
Print Thread
Switch to Threaded Mode
Show Likes
Link Copied to Clipboard
View Profile
Private Message
Website
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Website
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Website
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Website
Follow User
Forum Posts
Forum Rules
·
Mark All Read
Contact Us
·
Help
·
mIRC Homepage