mIRC Home    About    Download    Register    News    Help

Print Thread
Displaying Cong Currently Playing In Titlebar #24044 14/05/03 12:10 AM
Joined: Apr 2003
Posts: 23
H
Haze Offline OP
Ameglian cow
OP Offline
Ameglian cow
H
Joined: Apr 2003
Posts: 23
What I Want 2 Do Is Show The Song Im Currently Playing In The Titlebar,

on *:start:{
timertitle 0 1 /titlebar Trays Unreleased [censored] - $!asctime(h:nn:ss tt) $date(ddd mmm d yyyy)) [Mp3] %name [%min:%sec~m/%br~Kbps/%sr~KHz]

.....

Im using the "wacs" mirc plugin which displays wot song im playin on winamp.it sends the info to the channel but is there anyway i can make it directly send the info to the titlebar without having to restart the script for the change to apply?

plz help us out if you can grin

Re: Displaying Cong Currently Playing In Titlebar #24045 14/05/03 04:50 AM
Joined: Dec 2002
Posts: 774
T
theRat Offline
Hoopy frood
Offline
Hoopy frood
T
Joined: Dec 2002
Posts: 774
/help /titlebar


Code:
//if ( khaled isgod ) echo yes | else echo no
Re: Displaying Cong Currently Playing In Titlebar #24046 14/05/03 06:58 AM
Joined: Jan 2003
Posts: 3,012
KingTomato Offline
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2003
Posts: 3,012
He isn't re-evaluating the values when the titlebar is being "refreshed".. Try this:

on *:start:{
/timertitle 0 1 /updatetitle
}

alias updatetitle {
/titlebar Trays Unreleased [censored] - $!asctime(h:nn:ss tt) $date(ddd mmm d yyyy)) [Mp3] %name [%min:%sec~m/%br~Kbps/%sr~KHz]
}


-KingTomato
Re: Displaying Cong Currently Playing In Titlebar #24047 14/05/03 11:04 AM
Joined: May 2003
Posts: 3
C
ChamuR Offline
Self-satisified door
Offline
Self-satisified door
C
Joined: May 2003
Posts: 3
Paste these 2 lines into your remotes and restart mIRC.

on *:start:timerut 0 1 updatetitle
alias updatetitle { titlebar Trays Unreleased - $asctime(h:nn:ss tt) $date(ddd mmm d yy) - $iif($insong,[MP3] $remove($nopath($insong.fname),.mp3) - $+([,$time($calc($sound($insong.fname).length /1000+ $timezone),nn:ss),/,$+($mp3($insong.fname).bitrate,kbps),/,$+($left($mp3($insong.fname).sample,2),.,$mid($mp3($insong.fname).sample,3,1),khz),])) }


It's not that I'm afraid to die, I just don't want to be there when it happens.
Re: Displaying Cong Currently Playing In Titlebar #24048 14/05/03 03:41 PM
Joined: Apr 2003
Posts: 23
H
Haze Offline OP
Ameglian cow
OP Offline
Ameglian cow
H
Joined: Apr 2003
Posts: 23
nah guys still not workin frown any1 else got any suggestions?
thx anywayz

Re: Displaying Cong Currently Playing In Titlebar #24049 15/05/03 01:57 AM
Joined: Feb 2003
Posts: 48
B
brad2 Offline
Ameglian cow
Offline
Ameglian cow
B
Joined: Feb 2003
Posts: 48
on *:start:{
/timertitle 0 1 /updatetitle
}

alias updatetitle {
/titlebar Trays Unreleased [censored] - $!asctime(h:nn:ss tt) $date(ddd mmm d yyyy)) [Mp3] %name [%min:%sec~m/%br~Kbps/%sr~KHz]
}

I used that and just replaced the identifiers with ones that matched my mp3 script and it works perfectly.