mIRC Home    About    Download    Register    News    Help

Print Thread
#9639 04/02/03 12:25 PM
Joined: Feb 2003
Posts: 307
T
tontito Offline OP
Fjord artisan
OP Offline
Fjord artisan
T
Joined: Feb 2003
Posts: 307
i belive some of you have this problem.
Alot of people alerted me for this fact in a script that i have.
mirc 6.03 should have this fixed buit the problem is still there.

[[]]'s

#9640 04/02/03 03:15 PM
Joined: Dec 2002
Posts: 774
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Dec 2002
Posts: 774
WHAT???


Code:
//if ( khaled isgod ) echo yes | else echo no
#9641 04/02/03 03:39 PM
Joined: Feb 2003
Posts: 307
T
tontito Offline OP
Fjord artisan
OP Offline
Fjord artisan
T
Joined: Feb 2003
Posts: 307
Its a very unusual bug.
Some people when run $asctime(..) get alwais $null.
I belive it depends from timezones or pc confs since i tryed one of the scrits(including mirc.exe and all ini files) that had that problem and worked with me.

#9642 04/02/03 09:16 PM
Joined: Dec 2002
Posts: 1,321
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Dec 2002
Posts: 1,321
It will work if you give it the correct parameters. $asctime(...) is not valid. It expects you to provide a ctime value (the number of seconds since epoch), and perhaps a time formatting string.


DALnet: #HelpDesk and #m[color:#FF0000]IR[color:#EEEE00]C
#9643 05/02/03 10:25 AM
Joined: Feb 2003
Posts: 307
T
tontito Offline OP
Fjord artisan
OP Offline
Fjord artisan
T
Joined: Feb 2003
Posts: 307
The script that was tested had the neaded parameters.
the .. was suposed to mean that.
it was working like this .. $asctime(%mp3_duration,nn,ss)
Since it worked for most of people...

#9644 05/02/03 11:21 AM
Joined: Dec 2002
Posts: 9
S
Nutrimatic drinks dispenser
Offline
Nutrimatic drinks dispenser
S
Joined: Dec 2002
Posts: 9
The problem is that you have , in the format.
Try this:
set %format nn,ss
$asctime(%mp3_duration,%format)

#9645 05/02/03 11:25 AM
Joined: Feb 2003
Posts: 307
T
tontito Offline OP
Fjord artisan
OP Offline
Fjord artisan
T
Joined: Feb 2003
Posts: 307
hey, the script works! smile
but there are some guys in the world that can't see the output

#9646 05/02/03 12:08 PM
Joined: Dec 2002
Posts: 9
S
Nutrimatic drinks dispenser
Offline
Nutrimatic drinks dispenser
S
Joined: Dec 2002
Posts: 9
Try this:
set %format nn,ss
$gmt(%mp3_duration,%format)


Link Copied to Clipboard