J'ai trouvé ce script mais je ne sais pas quoi mettre a la place de "ag col" :
// Francis wuz here
// Colour Change Script
// Copyright (C) 2004 Francis Chung
// usage : dire dans le chat la chaine de commande suivie de la couleur.
// sans couleur, la liste des couleurs possibles est affichée
string colourCmd = "ag col";//mettre ici la chaine de commande dans le chat
integer colourCmdLen;
integer listenRelay = 0x80000000;
list colourNames = [ "red", "blue", "lime", "white", "purple", "yellow", "pink", "lilac",
"burgundy", "magenta", "brown", "navy", "cream", "grey", "mauve",
"silver","taupe", "wine", "indigo", "green", "olive", "tan", "champaign",
"peach", "aqua", "crimson", "gray", "maroon", "turquoise", "coral", "cyan",
"violet", "black", "denim", "orange", "blu", "chartreuse" ];
list colourVec = [ <0.63922, 0.11372, 0.11372>, // Red
<0.15,0.15,0.65>, // blue
<0.25,0.65,0.35>, // lime
<1.0,1.0,1.0>, // white
<0.65,0.15,0.65>, // purple
<0.85,0.85,0.15>, // yellow
<1, .75, .75>, // pink
<.7, .7, 1>, // lilac
<.25, .01, .01>, // burgundy
<.95, .15, .65>, // magenta
<0.52549, 0.37647, 0.30980>, // brown
<0.05000, 0.05000, 0.38431>, // Navy
<0.83529, 0.74902, 0.66667>, // cream
<0.45,0.45,0.45>, // grey
<0.62353, 0.10196, 0.42745>, // mauve
<0.70,0.70,0.70>, // silver
<0.47059, 0.41569, 0.33725>, // taupe
<0.5, 0.15, 0.1>, // wine
<0.3, 0.2, 0.7>, // indigo
<.6,.7,.6>, // green
<.3,.4,.3>, // olive
<0.67059, 0.61569, 0.53725>, // tan
<1, .85, .85>, // champaign
<0.98824, 0.80784, 0.62745>, // peach
<.6, .9, .8>, // aqua
<.4,.03,.08>, // crimson
<0.3,0.3,0.3>, // gray
<.3,.03,.08>, // maroon
<.4,.7,.6>, // turquoise
<.75,.4,.25>, // coral
<.2,.8,.7>, // cyan
<0.45,0.20,0.60>, // violet
<0.12,0.12,0.12>, // Black
<0.15,0.25,0.35>, // Denim
<0.9,0.5,0.3>, // Orange
<0.00000, 0.12157, 0.53333>, // Blu
<1, .75, .75> // Chartreuse (why does everyone try chartreuse?)
];
default {
state_entry() {
colourCmdLen = llStringLength( colourCmd );
llListen(11,"",llGetOwner(),"");
}
listen(integer channel, string name, key id, string message) {
if ( llGetSubString(message, 0, colourCmdLen - 1) == colourCmd ) {
string colour;
integer index;
colour = (string)llGetSubString(message, colourCmdLen+1, llStringLength(message));
index = llListFindList( colourNames, [ colour ] );
if ( index == -1 ){
llSetColor( (vector)colour, ALL_SIDES );
integer i;
integer nb = llGetListLength(colourNames);
llOwnerSay("Agenda Color List :");
for (i=0; i<nb ;i++){
llOwnerSay(llList2String(colourNames,i));
}
}
else
llSetColor( llList2Vector(colourVec, index), ALL_SIDES );
}
}
on_rez( integer _startcode ) {
llResetScript();
}
}