»Mp3 Player«
mIRC Code
+ 0 likes
Please Register to submit score.
| Average Score | 5.5 (of 2 scores) |
| Date Added | Jan 29, 2007 |
| Last Updated | Jan 29, 2007 |
| Tags | mp3 player |
Introduction
mIRC Snippet:
»Mp3 Player«
Posted on Jan 29, 2007 1:25 pm
Posted on Jan 29, 2007 1:25 pm
--
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.
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.
mIRC Snippet:
»Mp3 Player«
Posted on Jan 29, 2007 1:27 pm
Posted on Jan 29, 2007 1:27 pm
nah i dnt use var much
mIRC Snippet:
»Mp3 Player«
Posted on Jan 29, 2007 3:02 pm
Posted on Jan 29, 2007 3:02 pm
Techincally we don't even need the variables to be honest we could just use the identifiers to return the data back to the room
mIRC Snippet:
»Mp3 Player«
Posted on Mar 9, 2007 9:17 pm
Posted on Mar 9, 2007 9:17 pm
Line 27 is where mine goes bad.
mIRC Snippet:
»Mp3 Player«
Posted on Mar 9, 2007 9:17 pm
Posted on Mar 9, 2007 9:17 pm
What other parameters are needed?
mIRC Snippet:
»Mp3 Player«
Posted on May 27, 2007 12:06 pm
Posted on May 27, 2007 12:06 pm
i dident know you realised this lol ;x ~steals it~ haha :)
mIRC Snippet:
»Mp3 Player«
Posted on Jun 17, 2007 2:15 am
Posted on Jun 17, 2007 2:15 am
Watch out Saurabh will steal it
mIRC Snippet:
»Mp3 Player«
Posted on Aug 12, 2007 12:39 am
Posted on Aug 12, 2007 12:39 am
Your lame Calzo
mIRC Snippet:
»Mp3 Player«
Posted on Aug 12, 2007 1:03 am
Posted on Aug 12, 2007 1:03 am
Lmao, Saurabh, you will steal it ;)
mIRC Snippet:
»Mp3 Player«
Posted on Oct 8, 2007 3:35 pm
Posted on Oct 8, 2007 3:35 pm
Boring cosmetics.
Looks like poo.
Add some color and save me time. :<
Looks like poo.
Add some color and save me time. :<
mIRC Snippet:
»Mp3 Player«
Posted on Oct 8, 2007 3:40 pm
Posted on Oct 8, 2007 3:40 pm
[quote:18852d09d4="Sick_Puppy"]
Boring cosmetics.
Looks like poo.
Add some color and save me time. :<
@ Sick_Puppy:
Looks fine, simple, and it includes colour. ;) Although, coloured snippets are not really that great as they do not suit some user's tastes in colour. So this snippet shouldn't include colour in the first place.
@ Daniel_:
It works fine, but you might want to make an edit and use a list instead of a combo box so that it displays the full song. =)
Boring cosmetics.
Looks like poo.
Add some color and save me time. :<
@ Sick_Puppy:
Looks fine, simple, and it includes colour. ;) Although, coloured snippets are not really that great as they do not suit some user's tastes in colour. So this snippet shouldn't include colour in the first place.
@ Daniel_:
It works fine, but you might want to make an edit and use a list instead of a combo box so that it displays the full song. =)
mIRC Snippet:
»Mp3 Player«
Posted on Oct 8, 2007 3:44 pm
Posted on Oct 8, 2007 3:44 pm
for snippets, u can only do
no names
| Quote: | ||
|
no names
mIRC Snippet:
»Mp3 Player«
Posted on Oct 8, 2007 3:45 pm
Posted on Oct 8, 2007 3:45 pm
ugh...
| Code: |
| [quote] <quote> [/quote] |
mIRC Snippet:
»Mp3 Player«
Posted on Nov 28, 2007 7:30 pm
Posted on Nov 28, 2007 7:30 pm
I haev been through every effin mp3 snippet an none work for my script.Odd thing about my script is some how when i downloaded mIRC 6.3 then went back to 6.21(cause i like it better) then back to 6.3 then back to 6.21 I have a fricken hybrid mIRC,so like i have the best of 6.21 an the best of 6.3 god knows how that happened can't tell ya,Ok askin what does this have to do with a mp3,well i have been through every mp3 here like i said an i have only been scriptin eh 5 or 6 months an aint about to try my own.so i come across this snippet,and it dint work for me...didnt know why so like so i started to mess with it, and found that ""splay %Play.song"" will not work for me so changed it to "run %play.song" and woot it works like a champ.Any ways sorry for all that info but it works an im a happy effin camper even tho i dislike the songs sent to all channels i changed that.Also im wundering if any one can enlighten me on thsi error message n this has been with all the mp3z i tryed i cant seem to use any other buttons but Play/directory * /play: invalid parameters (line 44, script12)
-* /splay: no such file 'pause' (line 41, script12).Ok im done an thanks daniel_ great work.`-.-´
-* /splay: no such file 'pause' (line 41, script12).Ok im done an thanks daniel_ great work.`-.-´
mIRC Snippet:
»Mp3 Player«
Posted on Jun 23, 2008 3:00 am
Posted on Jun 23, 2008 3:00 am
Notice at line 27 you missed out a s for splay and put play instead.







