spam the media

Infos, problèmes, aides pour AmiGaGaAmp et RadioCast

spam the media

Messagepar Bullseye sur 06 06 2007, 19:51

Hi there

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]
Bullseye
Utilisateur
Utilisateur
 
Messages: 2
Inscrit le: 06 06 2007, 19:00

Messagepar Bestdoud sur 06 06 2007, 20:52

You must use a name to the timer as .timerradiocast.

to display messages about a radio on a channel you can use my addon Radiochan V2

http://www.ircfr.com/codes/RADIOCHAN-V2_42998.aspx

or

http://www.ircfr.com/codes/RADIOCHAN_41562.aspx
Il faut laisser la chance aux chansons
Avatar de l’utilisateur
Bestdoud
Concepteur
Concepteur
 
Messages: 86
Inscrit le: 30 10 2002, 01:04
Localisation: dijon

Messagepar Bullseye sur 06 06 2007, 21:48

First thanks for the fast responds.
But radiochan is not what i'm looking for.
Radiocast is a player just like an mp3 player but radiocast is for internet radio.
Only problem i have it doesn't spam what i hear like in the mp3 players.
Can and will you help me make that piece of code so i can spam what i hear just like you had in radiocast version 1?
There you had the option to choose how you'de spam: active chan only or all channels or even all channels on all servers.
I hope you will help me.

Greetzz Bullseye
Bullseye
Utilisateur
Utilisateur
 
Messages: 2
Inscrit le: 06 06 2007, 19:00

Messagepar Bestdoud sur 08 06 2007, 18:08

for radiocast v2 try this:

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
.timerradiocastv2 -o 1 2 /ame listens to $did(RadioCastV2,7)
}
}
}
Il faut laisser la chance aux chansons
Avatar de l’utilisateur
Bestdoud
Concepteur
Concepteur
 
Messages: 86
Inscrit le: 30 10 2002, 01:04
Localisation: dijon


Retourner vers Multimédia - Audio / Video / Shoutcast



Qui est en ligne ?

Utilisateurs parcourant actuellement ce forum : Aucun utilisateur inscrit et 1 invité

cron