Camanche
Messages postés149Date d'inscriptionjeudi 23 octobre 2003StatutMembreDernière intervention17 novembre 2007
-
9 janv. 2006 à 05:55
COOLMAN002
Messages postés969Date d'inscriptionlundi 16 juin 2003StatutMembreDernière intervention 1 juillet 2012
-
23 janv. 2006 à 23:34
Voilà mon problème:
1ere remote ON me*:JOIN:#amour: { /background # scripts\amouruser.png }
ON me*:voice:#amour: { /background # scripts\amourvoice.png }
ON me*:devoice:#amour: { /background # scripts\amouruser.png }
ON me*:OP:#amour: { /background # scripts\amourop.png }
ON me*:DEOP:#amour:{
if $me isvoice # { background # scripts\amourvoice.png }
elseif $opnick = = $me { background # scripts\amouruser.png }
}
2eme remote
ON me*:JOIN:#: if ($chan ! = #amour) { /background # scripts\salonuser.png }
ON me*:voice:#: if ($chan != #amour) { /background # scripts\salonvoice.png }
ON me*:devoice:#: if ($chan != #amour) { /background # scripts\salonuser.png }
ON me*:OP:#: if ($chan != #amour) { /background # scripts\salonop.png }
ON me*:DEOP:#: if ($chan != #amour) {
if $me isvoice # { background # scripts\salonvoice.png }
elseif $opnick == $me { background # scripts\salonuser.png }
}
}
Je pense que vous avez compris, il s'git d'un changement de backround avec un salon différent.
Donc tout fonctionne sauf le deop de tous les salons (exceptés #amour), qu'on soit voice ou pas avant d'etre op.
Donc le probleme se situe ici:
ON me*:DEOP:#: if ($chan ! = #amour) {
if $me isvoice # { background # scripts\salonvoice.png }
elseif $opnick == $me { background # scripts\salonuser.png }
}
}
Camanche
Messages postés149Date d'inscriptionjeudi 23 octobre 2003StatutMembreDernière intervention17 novembre 2007 10 janv. 2006 à 04:33
J'ai lachement abandonné cette idée car ça ne marche jamais comme je veux. Soit le script ne me met pas la background qu'il faut, soit il réagit aux actions des autres users aussi.
J'en suis revenu à la même chose pour tous les salons
ON *:JOIN:#: if ($nick == $me) { /background # scripts\salonuser.png }
ON *:voice:#: if ($vnick == $me) { /background # scripts\salonvoice.png }
ON *:devoice:#: if ($vnick == $me) { /background # scripts\salonuser.png }
ON *:OP:#: if ($opnick == $me) { /background # scripts\salonop.png }
ON *:DEOP:#:{
if $me isvoice # { background # scripts\salonvoice.png }
elseif $opnick == $me { background # scripts\salonuser.png }
}