SpR Juke Box v6.61 by SpinoC (Website: http://www.surf.to/spr or http://www.wildstar.net/~glitters)
============================================================
Multi-Media Scripts

Requirement:

mIRC 32bit v5.51 or higher
Winamp v1.91-spl or Higher. Nad is also compatible.
But, winplay or sonique are not really recommended. 
============================================================

  -- Credit

     nMP3 v2.97 by NipKick.
     To get the code for fileinfo such as bitrate samplerate quality Id3tag, I took some of his code and modified it.
     Frankly speaking, I dont have an ability to get these infos correctly yet. But, as soon as I get my own way, I will replace it.

  -- Special thanks to `24ktau, StarsZ, Johnny` and Other ops in #mp3chat
     They opened the official website of SpR Jukebox that I did not even ask.
     The nicest ppl in the world! I am sure!!!!

  -- Special thanks to I-c-e-man! :) 
     He helped me to even start this script. 
     He also did by suggesting what to improve.
     You can find him in #mp3heaven.
     I really want to thank him :)

  -- Special thanks to `24ktAu :)
     She helped me by suggesting what to improve 
     and helping people with SpR
     You can find her in #mp3chat in undernet. SpR is ruling there.
     I really want to thank her :)

  -- Special thanks to Rage_for_Order
     He helped a lot of ppl on dalnet with SpR.
     He even wrote a FAQ for SpR
     You can find him in #mp3_for_free in dalnet. SpR is ruling there.
     I really want to thank him :)


This SpR Juke Box is designed for MP3 or Other types of Music file Channels wherein 
active exchanges of mp3 files among users take place.

[how to setup]

if you are using **** mirc5.6 **** or higer, please alt+o in your mirc and go to general -> lock and
uncheck /run lock.

To set it up, just move all of the files to your mirc main folder.
And then, run mirc and type "/load -rs spr-jb1.ini"

After setup, click on anyone's nick in channel window and right click.
There is Jukebox at bottom. Go to Jukebox -> Setup -> 1-touch, and click
1 touch. If you see your random play msg not change randomly, 
go to setup -> chan setup -> reset chans.

Most of setup info's can be checked out in "setup" in "info".

That's it!

[Announcement for 5.11 users]========================================

From v4.2, once you uninstall spr, the command you have to type is different since it makes its own dir.
The command is /load -rs spr\spr-jb1.ini 
=====================================================================
But, if you still don't understand, please look into SpRhelp.txt file

*****<Very Important for previous users>*****

It is very important for you to unload the previous version 
before you overwrite with the new version!!!

If you already have previous versions of this script, 
first goto MP3 popup in nickname list, and then click 'unload'. 
After unloading, unzip spr zip file to your main mirc directory 
(not spr dir) as overwrite. And then type "/load -rs spr-jb1.ini"
**********************************************
[what's new in v6.61]
1. bug fix concerning mirc 5.6
2. bug fix concerning slot grabber

[what's new in v6.6]
1. It will give you "VAR" (variable bps) instead of wrong bitrate. (Time will be calculated by filesize according to usual 128 kbps standard..maybe a bit longer)
2. Slot grabber will remove from the list users who do not share any channel with you. (will be updated every 60 secs)
3. When users requested a file with 4 digit extension such as .mpeg, the previous version of spr won't give the requested file. This one is fixed. 
   From this version, any number of digits of extension would work.
   but there is a new rule for this new feature.

   Either one must make a request that ends with filename only 
   OR a request that puts a space right after the filename

   For example,

   (O) !SpinoC (singer)-song title.mp3
   (O) !SpinoC (singer)-song title.mp3 <- I want this
   (X) !SpinoC (singer)-song title.mp3<- I want this

   where (O) will work, and (X) won't work

[what's new in v6.51]
0. There is no new feature added.
1. mIRC 5.6 compatible but you can still use mIRC 5.51
2. a few bugs been fixed. 

[what's new in v6.5]
1. A whole new dcc server. Much less cpu consumption. Much faster efficient dcc server. Much more accurate nick tracking.
2. Terminator (low cps limit) will work better than the previous versions'
3. The bug of ctcp slots grab concerning flood protection is fixed
4. @find/@locator server will access your hard even less often...almost none. It will make the search faster than ever.
[what's new in v6.41] 
1. Sorry bug fixation
2. Slot Info Grabber will appear in task bar
3. Sends cps record instead of cps in use when it sends ctcp of SLOT

[what's new in v6.4]
1. It gives you a more variety of options for your file list making.
2. You will have a default nick which works in the same way as your current nick does. Let's say your default nick is A1 and your current nick is A2. Both !A1 file and !A2 file, both @A1 and @A2, and etc, will work for triggers.
3. The getright gives you a status window, instead of immediately showing its window, while it analyzes list.
4. File add window for playlist (+file) now has right click popup which has "select all" option
5. Download hit chart now can generate its list. To do this, go to Jukebox(nick) -> info -> top download -> open -> chart and right click on window and click on produce as list. Once you produce, your list/slot ads will include top download hit chart list ads. Users can leech the list by @yournick-top. Also download hit chart rank doesn't go up when there are the two or more songs of the same download numbers.
6. Skin editor window now has "re-edit" in right popup. You can re-open an already made skin (skns) file and change from there. This is useful when there is a version conflict of skin, or you want to change colors or add more, etc.
7. Skin editor "produce as skin" gives you a dialog instead of a bunch of questions in sequence.
8. By SDSailor's request, I made another ctcp to channel which is SLOTS. This will gives channel users infos of slot slotmax nextsend que quemax bandwidth files(online). The other party would grab this info in jukebox -> tools -> slot info grab

[what's new in v6.3]
1. I have tried to give a unity to most of picture window displays (Design) I hope you like it
2. list/slot display customization is now on dialog.
3. dcc status won't show the msg "playing dsply.txt ..." and its completion msg. Also it wont show it in status when played to a user. 
4. default skin design changed. The old default skin renamed to oldmemory.skns
5. old default skin which is now oldmemory.skns displayed a wrong que info. Fixed
6. list/slot ads default was 3lines (short mode) but now that many mp3 channels suffer from scroll shock, i had to change it to 1 line. Also if you install spr as new (not upgrading), the left right brackets will be in accordance with other display (skin, single play, and maybe picture windows)
7. playtime calculation became exact thanks to the improved timer of mirc5.5+ which catches up your OS(window)-indicated time. However, due to script processing, it slightly cuts off the end of songs. I made an adjustment for this.
8. when you stop random play/playlist play, the timer for play was not halt and gave you some funny msg after when the next song was due. Fixed.
9. Popups reorganized
10. no need to $nofile for $sdir since it was mirc5.4 bug and spr now only supports mirc5.51+. Also y/n question not needed anymore cuz it was for mirc5.31 users. Most of codes in spr are now tuned for mirc5.51+
11. If you used xing encoder to encode mp3s, the script didnt give the right info for bitrate and etc. Now fixed. I want to thank Lobo235 for the info!


[what's new in v6.22]
1. This script has been reviewed by pairc.com and there have been a few bugs pointed out there. I am fixing them.
2. Right click on remote will show you a popup menu.
3. Fileinfos listed in list option window were not correct fixed

[what's new in v6.2]
1. Most of setups are now based on dialog

[what's new in v6.11]
1. Auto Screen Resolution Configuration: The playlist, since it uses the side list box, is very sensitive about your screen resolution. Most of ppl use 800x600. But there are some ppl who use different resolution. Now spr will automatically configure all windows according to your screen resolution.
2. Playlist off shuffle gave you an error if your selected line is the last line and proceed to the next. Fixed.

[what's new in v6.1]
1. Playlist: Sort button on playlist gives you a dialog with which you can randomize, alphabetically sort, non-alphabetically sort(if you add files after this, the files will be added in the order that you add).
             Playlist when you closed and reopened highlighted a wrong line in 6.03. Fixed.
2. RWD -> SpR.History, ie, the info of what you have played so far now includes Single File Plays Too.
          Also it will not clear the history, even if you restart random/playlist etc.
2. Getright: You have a choice that you can follow nick of uploader, not address. This is needed when the uploader is a person who run clones in channel.
3. 1 touch gives you a dialog with which you can choose whether 1 touch on mute, 1 touch with certain settings...etc
4. If someone does !yournick blah.mp3, the script will automatically close the msg window. However, if the script itself is disabled, it won't close it.

[what's new in v6.03]
1. Playlist: when shuffle is off and you close playlist while playing, it gave you an error. Fixed
             Playlist can be opened in a bigger size. Right click on playlist and go to window -> size
[what's new in v6.02]
1. Playlist: Added Shuffle -> you can choose whether you play in order or in random.
             Also now playlist select the line that it plays so you can visually identify the song played more easily
             In playlist, the play button(which was random button in previous version) now literally means playbutton. What this means is that it wont show start msg if you are already in playlist session. Also, if you select a line in playlist and push the play button(while you are in non shuffle playlist session), it will play that line and play the very next line of the playlist.
             what the heck does this mean? It works literally the same way as winamp playlist does.
             mute button also added in playlist
             Playlist opened up in alphabetical order in previous version. It no longer does it. Instead there is a sort list button. You can alphabetize the list by the button
2. changed on 1:event to on *:event ..for namelevel
3. Some folks experienced their file listed twice. This was caused mainly by their adding .mp3 to input while there is already .mp? in input. I made the script reject filetypes of .mp?.
4. In remote, you will have setup instead of slot/srch. Also you will have help button in remote.

[what's new in v6.0]
0. No longer supports mirc version lower than 5.51
1. Getright: find/find next improved and bug fixed. (the one in 5.91 only found the first match - doh!)
             Bugs in -files in download status window fixed
2. Playlist: improved in design and functioning. Playlist also now got find/find next in its popup.
3. Grabber: You can open grabber as desktop window and it will keep opening as desktop once you choose so. Right click on the grabber window to access the feature.
4. I added spr homepage sw to skin section in nickpopup for downloading spr skins
   Instead, I got rid of some skins that were previously included in spr setup zip. Uhmmm spr setup file is getting too big, I think.
[what's new in v5.91]
1. CDlister: You can now add more cds to your existing cdlist without starting it as new all over again.
2. Getright: In @dl.analyzer window(i.e., the analyzed uploader's list), you can now search just like you do @find/@locator. All spaces will be replaced with *. And still you can use wildcards such as * and ?
             In download status window, you can change the order of files.
             In download status window, you can delete several lines at once.
3. @nick-spr: There have been attempt to spread virus in SpR setup zip file. I don't know what kind of sick people these are. 
   Obviously worst scum of the universe! Anyway, I had to drop the feature of @nick-spr trigger. 
   The fact that there has been an attempt to spread virus in SpR zip file also means that there may be an attempt in the future to make a back door in spr script itself. For example they will insert a line of op gaining code. And they will later trigger it to gain ops to take over the channel or something. This all is possible. 
   Therefore, especially you are an op in some channel, DO NOT EVER ACCEPT SPR from SOMEONE You dont really know!
4. the protection against mirc5.4 kill dcc send attack will only be triggered if you are with 5.4 as it should be.

... Old Version History got too long to show here. Sorry.

Any Questions or Suggestions: spinoc@xoommail.com