Пятница, 18.07.2025, 22:40

Мой блог

Главная | Регистрация | Вход
Приветствую Вас Гость
RSS
Форма входа
Календарь
«  Сентябрь 2009  »
Пн Вт Ср Чт Пт Сб Вс
 123456
78910111213
14151617181920
21222324252627
282930
Поиск
Друзья сайта
Статистика

Дневник


Главная » 2009 » Сентябрь » 20

Пересылает все, что было сказано в общмй чат в им своему хозяину.

integer Handle;

default
{
state_entry()
{
Handle = llListen(0, "", NULL_KEY, ""); // start listening
}

touch_start(integer total_number)
{
// when touched...
llListenControl(Handle, TRUE); // ...enable listen
}

listen(integer channel, string name, key id, string message)
{
// when told "off"...
if (message == "off")
{
llListenControl(Handle, FALSE); // .. disable listen
}

else
{
llInstantMessage(llGetOwner(),llList2CSV([name, message])); // repeat message
}
}
}

Просмотров: 809 | Добавил: volldemar | Дата: 20.09.2009 | Комментарии (0)

Это небольшое дополнение заставит Ваш аватар всячески кривляться :) Показывать язык, улыбаться, подмигавить и др.

1. Нам необходим основной скрипт: 

string smile = "";
key owner = "";
float timeoutmax = 10.0;
float timeoutmin = 4.0;
integer counter = 0;
integer timed = FALSE;

reset()
{
owner = llGetOwner();
llRequestPermissions(owner, PERMISSION_TRIGGER_ANIMATION);
llSetTimerEvent(0);
llMessageLinked(LINK_SET, 5, "unset", "");
timed = FALSE;
smile = "";
}

default
{
state_entry()
{
llSetText("",<1,1,1>,1);
llSetTimerEvent(0);
smile = "";
if(owner == "")
reset();
}

on_rez(integer num)
{
//llResetScript();
if(owner != llGetOwner())
reset();
smile = "";
llOwnerSay("Touch a smiley to do what it says ;-) - The Hourglass activates the random sm ... Читать дальше »

Просмотров: 1431 | Добавил: volldemar | Дата: 20.09.2009 | Комментарии (0)

В продолжение темы Second Life видео...  В исполнении  Kylie Minogue и Nick Cave 


Просмотров: 784 | Добавил: volldemar | Дата: 20.09.2009 | Комментарии (0)

Copyright MyCorp © 2025
Сайт управляется системой uCoz