Тема: Winamp controller
Показать сообщение отдельно
Старый 07.08.2009, 20:34   #6
Рыцарь
 
Аватар для alexteam
 
Регистрация: 07.03.2009
Сообщений: 9,139
Сказал Спасибо: 70
Имеет 2,820 спасибок в 1,735 сообщенях
alexteam на пути к лучшему
По умолчанию

мда...

Добавлено через 13 минут
скрипт управляющий плагином...

delphi Код:
procedure init; begin end; procedure free; begin end; procedure SendCommand(command:integer); begin   WinampCommand(command);   pck := ''; end; var ChatCommand : string; begin if FromClient and (pck[1] = #$38) then begin   ChatCommand := lowercase(reads(2));   if ChatCommand = '/next' then SendCommand(440048); //next   if ChatCommand = '/prev' then SendCommand(440044); //prev   if ChatCommand = '/play' then SendCommand(440045); //play   if ChatCommand = '/pause' then SendCommand(440046);//pause end; end.
__________________
L2Ext - project closed.

Последний раз редактировалось alexteam, 07.08.2009 в 20:39. Причина: Добавлено сообщение
alexteam вне форума   Ответить с цитированием