![]() |
![]() ![]() |
![]() |
inhahe |
![]()
Post
#1
|
Newbie ![]() Group: Members Posts: 1 Joined: 7-October 07 Member No.: 390 ![]() |
it would be nice if there were a way to display the length of the song (and the time in the song you're currently at) without a leading 0 in the minutes part, if there isn't such a way. for example 5:30m instead of 05:30m. i looked through the variables list and couldn't find one.
|
Serge |
![]()
Post
#2
|
![]() AMIP Developer ![]() ![]() ![]() Group: Root Admin Posts: 935 Joined: 12-March 06 Member No.: 1 ![]() |
Read what functions help says:
$pad(expr,n) Pads the result of expr with n digits, for instance, $pad(%min,0) where %min is 01 gives 1 |
Slim |
![]()
Post
#3
|
Newbie ![]() Group: Members Posts: 1 Joined: 28-October 07 Member No.: 412 ![]() |
What the parameter I have to use in mIRC Script? I've read the manual but didn't find it.
|
Serge |
![]()
Post
#4
|
![]() AMIP Developer ![]() ![]() ![]() Group: Root Admin Posts: 935 Joined: 12-March 06 Member No.: 1 ![]() |
$pad(%min,0):%sec~m
And you should use it not in the mIRC script, but in AMIP preset. |
![]() ![]() |