The integer constant CHANGED_RENDER_MATERIAL has the value 0x1000
Prim material ID or material overrides have changed on one or more faces.
integer CHANGED_RENDER_MATERIAL = 0x1000;
default
{
changed(integer change)
{
if (change & CHANGED_RENDER_MATERIAL) //note that it's & and not &&... it's bitwise!
{
llOwnerSay("The prim's material ID and/or overrides have changed on one or more faces.");
}
}
}