C'est bon j'ai trouvé:
ON *:JOIN:#: if ($chan != #amour) if ($nick == $me) { /background # scripts\salonuser.png }
ON *:voice:#: if ($chan != #amour) if ($vnick == $me) { /background # scripts\salonvoice.png }
ON *:devoice:#: if ($chan != #amour) if ($vnick == $me) { /background # scripts\salonuser.png }
ON *:OP:#: if ($chan != #amour) if ($opnick == $me) { /background # scripts\salonop.png }
on *:DEOP:#: { if ($chan != #amour) if ($me isvoice #) { background # scripts\salonvoice.png }
elseif ($opnick == $me) { /background # scripts\salonuser.png } }
ON *:JOIN:#: if ($chan == #amour) if ($nick == $me) { /background # scripts\amouruser.png }
ON *:voice:#: if ($chan == #amour) if ($vnick == $me) { /background # scripts\amourvoice.png }
ON *:devoice:#: if ($chan == #amour) if ($vnick == $me) { /background # scripts\amouruser.png }
ON *:OP:#: if ($chan == #amour) if ($opnick == $me) { /background # scripts\amourop.png }
on *:DEOP:#: { if ($chan == #amour) if ($me isvoice #) { background # scripts\amourvoice.png }
elseif ($opnick == $me) { /background # scripts\amouruser.png } }
Par con j'ai encore un problème pour la raw 366 (pour mettre le fond op sur un salon quand on y arrive tout seul), j'ai essayé ça:
raw 366:*: if ($chan == #amour) background $2 $iif($me isop $2,scripts\amourop.png,scripts\amouruser.png) if ($chan != #amour) background $2 $iif($me isop $2,scripts\salonop.png,scripts\salonuser.png)
Mais ça ne marche pas.
Avez vous une idée?
Camanche