Cienna Rossini
Registered User
Join date: 24 Mar 2007
Posts: 29
|
12-23-2009 13:32
looking for a script to send a personlized message in chat when touched..
|
Joseph Brinner
Registered User
Join date: 29 Dec 2008
Posts: 81
|
greeting card
12-23-2009 16:51
I have the script u need,will sell full perm cheap,IM Joseph Brinner
|
Ron Khondji
Entirely unlike.
Join date: 6 Jan 2007
Posts: 224
|
Here's one.
12-24-2009 00:18
// Message is the message you want to say in chat after object is touched. // Put 'NAME' where you want the touchers name to appear.
string Message = "Hello NAME. Here is the script you requested.";
integer FirstName = TRUE; // if FALSE then the firstname will not appear. integer LastName = TRUE; // if FALSE then the lastname will not appear.
default { touch_start(integer total_number) { string First; string Last; Message = " " + Message; list Name = llParseString2List(llDetectedName(0), [" "], []); if (FirstName) First = llList2String(Name, 0); if (LastName) Last = llList2String(Name, 1); if (FirstName && LastName) First = First + " "; list Msg = llParseString2List(Message, ["NAME"], []); string MessPart1 = llList2String(Msg, 0); string MessPart2 = llList2String(Msg, 1); llSay(0, MessPart1 + First + Last + MessPart2); } }
|
Dain Bellic
Registered User
Join date: 18 Jun 2008
Posts: 8
|
12-24-2009 06:40
Hahah. <3 it.
The first person tells them to come buy it, and the next open sources it right in his face.
Free content creators are totally FTW!
|