// This work is licensed under the Creative Commons Attribution-Share Alike 3.0 United States License. // To view a copy of this license, visit http://creativecommons.org/licenses/by-sa/3.0/us/ // or send a letter to Creative Commons, 171 Second Street, Suite 300, San Francisco, California, 94105, USA. // Winter Seale 2008 - winterseale.com integer LM_RESET_SECRIPTS = 101; integer LM_SCALE_MESSAGE = 102; integer LM_CAN_COLOR_CHANGE = 103; integer LM_SHOW_COLOR_DIALOG = 104; integer LM_SET_COLOR = 105; integer LM_DEL_SCRIPTS = 200; default { link_message(integer sender_num, integer command, string message, key id) { if ( command == LM_RESET_SECRIPTS ) { llResetScript(); } else if ( command == LM_SET_COLOR ) { if ( (string)((vector)message) == message ) { llSetColor( (vector)message, ALL_SIDES ); } else { llSetTexture( message, ALL_SIDES ); } } else if ( command == "LM_DEL_SCRIPTS" ) { llRemoveInventory( llGetScriptName() ); } } }