Archived
1
0
This repository has been archived on 2025-03-31. You can view files and clone it, but cannot push or open issues or pull requests.
mirc-scripts/rbr-winamp.mrc
2013-07-16 00:35:43 +02:00

67 lines
1.3 KiB
Plaintext
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

;rbr-WinAMP script
;(c)2004 by Markus Birth <mbirth@webwriters.de>
;
;Works perfectly with gen_mirc.dll of WinAMP.
;
;Set command string in WinAMP-plugin as follows:
; /musicbox %s
; #############
; ## MENUs ##
; #############
menu status {
rbr-WinAMP
.Status: musicboxstatus
.-
.Enable Auto-Announce: musicboxon
.Disable Auto-Announce: musicboxoff
}
menu channel {
rbr-WinAMP
.Announce Song: musicboxannounce
.-
.Status: musicboxstatus
.-
.Enable Auto-Announce: musicboxon
.Disable Auto-Announce: musicboxoff
}
; ###############
; ## ALIASes ##
; ###############
alias musicbox {
set %rbrwinampsong $1-
if ( %rbrwinamp == ON ) {
musicboxannounce
}
}
alias musicboxannounce {
echo WinAMP now playing:  $+ %rbrwinampsong $+ 
ame is listening to  $+ %rbrwinampsong $+ 
}
alias musicboxstatus {
if ( %rbrwinamp == ON ) {
echo rbr-WinAMP Auto-Announce is currently 9ACTIVATED.
}
else {
echo rbr-WinAMP Auto-Announce is currently 4DEACTIVATED.
}
}
alias musicboxon {
set %rbrwinamp ON
echo rbr-WinAMP Auto-Announce is now 9ACTIVATED.
}
alias musicboxoff {
unset %rbrwinamp
echo rbr-WinAMP Auto-Announce is now 4DEACTIVATED.
}