Printable Version of Topic

Click here to view this topic in its original format

AMIP Community _ Feature Requests _ time format as 5:30 instead of 05:30

Posted by: inhahe Oct 7 2007, 10:50 PM

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.

Posted by: Serge Oct 8 2007, 08:32 AM

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

Posted by: Slim Oct 28 2007, 05:53 AM

What the parameter I have to use in mIRC Script? I've read the manual but didn't find it.

Posted by: Serge Oct 28 2007, 12:32 PM

$pad(%min,0):%sec~m

And you should use it not in the mIRC script, but in AMIP preset.

Powered by Invision Power Board
© Invision Power Services