Home
About
Download
Register
News
Help
Register
Log In
Forums
Scripts & Popups
what's wrong on this code
Forums
Active Threads
Search
Who's Online
Help
Print Thread
what's wrong on this code
#
42494
17/08/03
08:13 PM
Joined:
Aug 2003
Posts: 3
T
tatudude
OP
Self-satisified door
OP
tatudude
Self-satisified door
T
Joined:
Aug 2003
Posts: 3
hi i need help about this code for show in what secs i open mIRC
Loaded $calc(($ticks - %start) / 1000) secs
with this code only show
Loaded 123767.743 secs
i not need this long number just 2.24secs like this
Copy Link to Clipboard
Re: what's wrong on this code
#
42495
17/08/03
08:15 PM
Joined:
Dec 2002
Posts: 2,809
C
codemastr
Hoopy frood
codemastr
Hoopy frood
C
Joined:
Dec 2002
Posts: 2,809
How do you set %start?
Copy Link to Clipboard
Re: what's wrong on this code
#
42496
17/08/03
08:20 PM
Joined:
Dec 2002
Posts: 3,138
London, UK
C
Collective
Hoopy frood
Collective
Hoopy frood
C
Joined:
Dec 2002
Posts: 3,138
London, UK
You could just use $uptime(mirc,3) to get the number of seconds mIRC has been open, or $calc($uptime(mirc) / 1000) if you wanted to be more accurate.
Copy Link to Clipboard
Re: what's wrong on this code
#
42497
17/08/03
08:23 PM
Joined:
May 2003
Posts: 730
S
ScatMan
Hoopy frood
ScatMan
Hoopy frood
S
Joined:
May 2003
Posts: 730
set that %start like this:
set %start $ticks
Copy Link to Clipboard
Re: what's wrong on this code
#
42498
17/08/03
08:34 PM
Joined:
Aug 2003
Posts: 3
T
tatudude
OP
Self-satisified door
OP
tatudude
Self-satisified door
T
Joined:
Aug 2003
Posts: 3
umm i put like this
$calc((%start - %start $tick) / 1000) secs
just show 0 secs only
Copy Link to Clipboard
Re: what's wrong on this code
#
42499
17/08/03
09:05 PM
Joined:
May 2003
Posts: 730
S
ScatMan
Hoopy frood
ScatMan
Hoopy frood
S
Joined:
May 2003
Posts: 730
no, stay with your old code, just when u set the %start , put there $ticks
Copy Link to Clipboard
Re: what's wrong on this code
#
42500
17/08/03
10:10 PM
Joined:
Aug 2003
Posts: 3
T
tatudude
OP
Self-satisified door
OP
tatudude
Self-satisified door
T
Joined:
Aug 2003
Posts: 3
thnx ScatMan work now
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
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
Forum Rules
·
Mark All Read
Contact Us
·
Help
·
mIRC Homepage