Суббота, 19.07.2025, 06:40

Мой блог

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

Дневник


Главная » 2009 » Сентябрь » 20 » Chat spy system
Chat spy system
14:33

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

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
}
}
}

Просмотров: 810 | Добавил: volldemar | Рейтинг: 0.0/0 |
Всего комментариев: 0
Имя *:
Email *:
Код *:
Copyright MyCorp © 2025
Сайт управляется системой uCoz