on *:load:mp3stuff.init on *:start:{ if ($not_making_list) { startup if ($timer(mp3stuffld)) return cont 0 } } alias -l v if ($1) return $mp3stuffversion | return 2004.04.11a alias mp3stuffversion if ($1) return $v | return mp3stuff [[ $+ $v $+ ]] alias mp3stuff { if ($isid) { if (* !iswm $2) || (?*(?*) iswm $1) return [ $ [ $+ [ $1- ] ] ] return [ $ [ $+ [ $1 ] $+ ($2,$3,$4,$5,$6,$7,$8,$9) ] ] } if ($1 isnum) mp3stuffs $1 else $1- } alias mp3stuff.init { oldversion .timermp3stuffld -o 1 1 return if ($dialog(mp3stuffo)) dialog -x mp3stuffo if ($dialog(mp3stuffs)) dialog -x mp3stuffs if ($dialog(mp3stuffc)) dialog -x mp3stuffc var %@ = @mp3stuff loaded, %e = $_echo(%@) if (%mp3stuffcheck !isnum) .timer -o 1 0 mp3stuffo 95 startup 1 close -@ %@ window -aik %@ -1 -1 -1 200 %e $v(1) loaded. var %f = $scriptdir $+ stuffamp.mrc if ($isfile(%f)) && ($version >= 5.8) { if (%mp3stuffampunloaded != 1) || ($script(stuffamp.mrc)) { .timer -o 1 0 stuffamp.init if ($script(stuffamp.mrc)) .reload -rs " $+ $ifmatch $+ " else .reload -rs " $+ %f $+ " } } %e To see a list of changes in this version, click on "mp3stuff > More options > View Readme" in the popup menu. if ($len(%mp3stuffplayer) < 2) %e If the default mp3 player setting doesn't work for you, set an mp3 player in the options dialog. %e Please contact me if you find any bugs. http://pages.cthome.net/pdufilie/ .ial on if ($script(mp3stuf1.mrc)) { .unload -rs " $+ $ifmatch $+ " .remove " $+ $ifmatch $+ " } ;fixes for when updating from previous versions var %f = $f(pre), %@ = @mp3stuff_fix if ($lines(%f)) { window -hl %@ loadbuf %@ %f var %x = $line(%@,0) while (%x) { rline %@ %x $replace($line(%@,%x),,) dec %x } savebuf %@ %f close -@ %@ } ;update variable names unset %mp3stuffsite_ad %mp3stuffc var %old = t c0 c1 c2 c3 c4 b lecho pq uq uslots qrq rl rp at sa desk ontop cstart l p a cl mi st var %new = tab custom0 custom1 custom2 custom3 custom4 bullet local_echo stop user_queues user_slots query_request local_color public_color ad_time c_desktop c_ontop c_start p_l p_p p_a serv_only_to seconds echo_window %x = $numtok(%old,32) while (%x) { var %var = $gettok(%old,%x,32) if (* iswm %mp3stuff [ $+ [ %var ] ] ) { if (%var isin l p a) t 0 %var %mp3stuff [ $+ [ $gettok(%new,%x,32) ] ] = %mp3stuff [ $+ [ %var ] ] unset %mp3stuff [ $+ [ %var ] ] } dec %x } %mp3stuffcustom2 = $replace(%mp3stuffcustom2,