ChaosBlade
January 12th, 2003, 22:22
Could the winamp song info function be a little or .. optional ?
like returning only the song name,title,time etc ?
apexad
January 13th, 2003, 02:46
This function already exists. It is /pamp (although you will need to edit it).
In mIRC, hit Alt+A, then go to View | de.mrc.
then all you have to do is edit alias pamp:
<i>alias pamp { set %wamp.format is listening to " $+ &a $+ " .: $+ &b / &c / &d - &e $+ / $+ &f $+ :. | me $dll(darkenginepro.dll,parseGetwinampson g,%wamp.format) | unset %wamp.format }
alias pamp2 { set %wamp.format is listening to " $+ &a $+ " - &e $+ / $+ &f $+ :. | me $dll(darkenginepro.dll,parseGetwinampson g,%wamp.format) | unset %wamp.format }</i>
alias pamp2 is I think what you want(just paste it into de.mrc, then you change pamp2 to samp, or whatever you want, then type /pamp2 (or whatever)). but basically so you know, here is what the variables in alias pamp represent:
&a= song title
&b=??Kbps
&c=??Khz
&d=Mono/Stereo
&e=completed length
&f=full length
hope this is what you need, anything else let me know.
also note that dark engine only supports winamp2, as the previous thread suggests.
ChaosBlade
January 13th, 2003, 07:36
Yes, worked perfectly now.
btw, &a has to have those " " wrapped ? seems its the only way mIRC evalutes it .
apexad
January 14th, 2003, 08:54
Originally posted by Rsagy
btw, &a has to have those " " wrapped ? seems its the only way mIRC evalutes it .
yes, this is correct, since the result of &a contains spaces. This is a known flaw in mirc in evaluating things with spaces. if you remember, dark engine script had previous problems with this if mirc was in program files (it would not load the files, or dakrbar correctly)
ChaosBlade
January 14th, 2003, 10:17
Ahh the spaces .. now it makes sense. Arigato :D
vBulletin v3.6.2, Copyright ©2000-2009, Jelsoft Enterprises Ltd.