Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

geting rid of object name in a prims message

Mrc Homewood
Mentor of Randomness
Join date: 24 Feb 2007
Posts: 779
07-21-2008 17:42
ive did it once before and i complety forgot how i did it lol, i know it has something to do with throwing it into a list or something this what im trying to get at

what you see:

object: hi

what i wont to see

hi

if anyone can figure out my little issue tell me! lol it is making my brain hurt enough
Viktoria Dovgal
Join date: 29 Jul 2007
Posts: 3,593
07-21-2008 18:07
One way: Give the prim a blank name, and prefix the chat with /me
_____________________
AnnMarie Otoole
Addicted scripter
Join date: 6 Jan 2007
Posts: 162
07-22-2008 23:46
But to clean it up:-

string OriginalObjectName = llGetObjectName();
llSetObjectName("";);
llSay(0,"Hi";);
llSetObjectName(OriginalObjectName);