X1qu10n3r commented on a Page, »Mp3 Player«  -  Jan 29, 2007

--
set %mp3 $did(mp3,5).seltext
set %Play.song $findfile(%mp3dir,$did(mp3,5).seltext,1)
set %bitr $mp3(%play.song).bitrate
set %length $gmt($round($calc($mp3(%play.song).length / 1000),0),nn:ss)
set %mp3size $bytes($file(%Play.song).size).suf
set %khz $round($calc($mp3(%Play.song).sample / 1000),1))

You\'re not using those for anything else but messaging the channel, so use local variables. /var

and the inc %song.play is useles in my opinion.

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.