Kod: Kodu kopyalamak için üzerine çift tıklayın!
alias -l getsong return $dll(WinSong.dll,GetSongName,)
alias -l kontrol->et {
if (!%wnd.s) set %wnd.s on
if (%song != $getsong) {
var %i $comchan($me,0)
if (%i > 0) && (%wnd.s == on) && ($getsong != $false) {
set %song $getsong
while (%i) {
msg $comchan($me,%i) Su Anda : %song Dinliyor Ses : % $+ %vol
dec %i
}
}
}
}
alias ndinliorum {
var %s $getsong , %song
if ($1 == on) {
set %wnd.s on
if (!%song) set %song %s
.timerwnd 0 0 kontrol->et
}
elseif ($1 == off) { set %wnd.s off | .timerwnd off }
}
WinSong.dll Eklentisini kullanarak
----------
Veya
Kod: Kodu kopyalamak için üzerine çift tıklayın!
alias song {
set %chan $1
if ($1 == $null) set %chan #
if ($dll(WinAmpI.dll, IsRunning, 0) == false) {
msg %chan WinAmp isn't running!
halt
}
set %color1
set %color2
set %shf $dll(WinAmpI.dll, GetShuffle, 0)
set %state $dll(WinAmpI.dll, GetPlayState, 0)
set %vol $dll(WinAmpI.dll, GetVolume, 0)
set %song $dll(WinAmpI.dll, GetSong, 0)
set %poslen $dll(WinAmpI.dll, GetSongPosition, 0) $+ / $+ $dll(WinAmpI.dll, GetSongLength, 0)
set %track $dll(WinAmpI.dll, GetSongNumber,0) $+ / $+ $dll(WinAmpI.dll, GetSongCount,0)
set %bitrate $dll(WinAmpI.dll, GetBitRate, 0) $+ kbps
set %repeat $dll(WinAmpI.dll, GetRepeat, 0)
if (c isincs $gettok($chan .mode,1,32)) {
msg %chan Is Winamp to : %song Vol: % $+ %vol
halt
}
if (%shf == true) {
set %shf1 Açık
}
if (%shf == false) {
set %shf1 Kapalı
}
if (%repeat == true) {
set %repeat Açık
}
if (%repeat == false) {
set %repeat Kapalı
set %Winamps Winamps
}
ame ..: Su Anda : %song Dinliyor Ses : % $+ %vol :.. }
menu menubar,status,channel {
Winamp :/song
}
}
EkLentisini /song yazarak deilde Şarkı deiştirdiğinde yazmasını sağlayabilirsekte olur.
----------
Bu Eklentiden Bahsediyorum. Durduruldu vs.. yazıor Her Hareketi gösteriyor