I have a question about spamming to the channels what media your listening.
In radiocast 1 there was this option to spam on clicking on a button.
I miss that in the V2 of radiocast.
In the firt version i made it so that i spammed the song on change.
That wasn't very hard i just added this:
- Code: Tout sélectionner
.timer 1 2 [RC]afftitallchan $did(radiocast,28).sel listens to $did(radiocast,5) on $did(radiocast,1).text
to this:
- Code: Tout sélectionner
alias -l [RC]afftime {
[RC]time
var %a $[RC]current
if ($did(radiocast,5) != %a) { did -ra Radiocast 5 %a | did -u radiocast 5 1 1 }
}
I added the code after:
- Code: Tout sélectionner
did -u radiocast 5 1 1
In the V2 i tryed the same thing here:
- Code: Tout sélectionner
alias RadioCastV2.timer {
if ($RadioCastV2.state == OK stopped) { .timerRadioCastV2 off | RadioCastV2.playwithliste }
else {
var %a $RadioCastV2.pos
if %a != $did(RadioCastV2,5) did -ra RadioCastV2 5 %a
var %a $RadioCastV2.current
if %a != $did(RadioCastV2,7) did -ra RadioCastV2 7 %a
}
}
I added something like this:
- Code: Tout sélectionner
.timer 1 2 /ame listens to $did(RadioCastV2,7) on RadioCastV2.playwithliste
I added this code after:
- Code: Tout sélectionner
if %a != $did(RadioCastV2,7) did -ra RadioCastV2 7 %a
I hope that bestdoud or anyone else can help me make it work.
Greetzz Bullseye[/code]