Apesbrain wrote: 
> I'm laughing at this thread and not sure how to reply.  I did find the
> CLI "power" command but it doesn't seem able to address a group of
> players.

under tux that looks like:

Code:
--------------------
    
  ##vars   
  port=9090
  server=ip.from.lms.server
  
  # get number of known players
  players=$(printf "player count ?\nexit\n" | nc $server $port | cut -d ' ' -f 
3)
  
  ## check all known players
  for((i=0; i<$players; i++))
  do
  playerID=$(printf "player id $i ?\nexit\n" | nc $server $port | cut -d ' ' -f 
4 | sed 's/%/%%/g')
  printf "$playerID power 0 \nexit\n" | nc $server $port
  done
  
--------------------



Gruss

Jan
------------------------------------------------------------------------
DJanGo's Profile: http://forums.slimdevices.com/member.php?userid=1516
View this thread: http://forums.slimdevices.com/showthread.php?t=104543

_______________________________________________
discuss mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/discuss

Reply via email to