Part of Slepp's ProjectsPastebinTURLImagebinFilebin
Feedback -- English French German Japanese
Create Upload Newest Tools Donate
Sign In | Create Account

Advertising

Paste Description for Freeze Mp3

A simple mIRC Mp3 Player!

Freeze Mp3
Sunday, September 16th, 2007 at 12:59:31pm MDT 

  1. menu * {
  2.   .Freeze mp3 { mp3 }
  3. }
  4. alias mp3 {
  5.   /dialog -m player player
  6. }
  7. dialog Player {
  8.   title "Freeze mp3!"
  9.   size -1 -1 160 63
  10.   option dbu
  11.   button "Stop", 2, 89 9 47 20, flat multi
  12.   box "Song", 3, 3 4 152 47
  13.   text "By Freeze", 4, 50 50 38 8, nowrap
  14.   button "Browse", 5, 8 30 37 12, flat multi
  15.   edit "", 6, 9 11 74 15
  16.   button "Play", 7, 66 31 32 11, flat multi
  17.   button "Pause/Resume", 8, 105 31 40 11, flat multi
  18. }
  19. on *:DIALOG:player:sclick:5: {
  20.   //set %file $sfile(%musicdir $+ *.mp3;*.wma*.wav,Select music file)
  21.   did -r $dname 6
  22.   did -a $dname 6 $regsubex($nopath(%file),/\.[^.]+$/,)
  23. }
  24. on *:DIALOG:player:sclick:7: {
  25.   splay %file
  26.   amsg (Freeze mp3) I am currently listening to: $regsubex($nopath(%file),/\.[^.]+$/,) (Freeze mp3)
  27. }
  28. on *:DIALOG:player:sclick:2: {
  29.   splay stop
  30. }
  31. on *:DIALOG:player:sclick:8: {
  32.   if (%pause == $null) {
  33.     splay pause
  34.     set %pause f
  35.     halt
  36.   }
  37.   elseif (%pause == f) {
  38.     splay resume
  39.     unset %pause
  40.   }
  41. }

Paste Details

advertising

Update the Post

Either update this post and resubmit it with changes, or make a new post.

You may also comment on this post.

update paste below
details of the post (optional)

Note: Only the paste content is required, though the following information can be useful to others.

Save name / title?

(space separated, optional)



Please note that information posted here will expire by default in one month. If you do not want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that are not marked to expire will be indexable by search engines. Be careful with your passwords. All illegal activities will be reported and any information will be handed over to the authorities, so be good.

fantasy-obligation