mr_hyde;416647 Wrote: 
> 
> Is there a possibility to have different scripts for different players,
> or is it possible to identify the playerid which is responsible for the
> execution of the script?
> 

Edit the executescript plugin to pass that info? Convention is to use a
Perl var named $client, in which case you'd pass $client->id() to send
the MAC addr. Or just fully mod it for your needs and call
$client->executeRequest to send the cli command all in Perl instead of
invoking an external script.

It'd be overkill, but you could also use PowerCenter. Give each player
a different fake X10 code and write a shell script to invoke instead of
'br' that looks at the args passed by PowerCenter. Only act if
PowerCenter is sending an off command, and internally translate the
fake X10 code to your MAC address.


-- 
peterw

http://www.tux.org/~peterw/
free plugins: http://www.tux.org/~peterw/#slim
AllQuiet BlankSaver ContextMenu FuzzyTime KidsPlay
KitchenTimer PlayLog PowerCenter/BottleRocket SaverSwitcher
SettingsManager SleepFade StatusFirst SyncOptions VolumeLock
------------------------------------------------------------------------
peterw's Profile: http://forums.slimdevices.com/member.php?userid=2107
View this thread: http://forums.slimdevices.com/showthread.php?t=62537

_______________________________________________
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to