Author: Bryan Hofmann
Date: 08:17:16 01/30/05
Go up one level in this thread
On January 29, 2005 at 23:10:09, Anthony Cozzie wrote: >Since I live in the wonderful world of unix, I have created two scripts to play >on ICC: zicclaunch and ziccstandalone. One connects me to ICC; the other >connects me to ICC, sets Xboard to issue a seek as soon as the first game ends, >and looks for a game immediately. > >I would like to add a line to my finger notes so that people know when I am >likely to be present or not. This line would be set to something like >"Standalone mode - Operator is probably not there" or nothing at all. The >question is: how do I zero a line? > >For example, suppose I try the standard "set 7". That will zero the line if it >was previously in standalone mode, but it will create an empty fingernote if it >was in manual mode before. I've played around with it a bit, and I'm starting >to think that there is no sequence that will work. Of course, I would be happy >to be proved wrong if anyone has tried something like this before. > >anthony On Script is needed and two .icsrc files. Create a standard.icsrc with the following text Yourlogin YourPassword set 7 then create a standalone.icsrc file with the following text Yourlogin YourPassword set 7 Standalone mode - Operator is probably not there Then use a this script #!/bin/sh case $1 in 1) cp standard.icsrc .icsrc xboard -zp -ics -icshost freechess.org \ -fcp "/home/crafty/crafty" -fd /home/crafty -xexit -autoflag \ -zippyPassword makemydaysucker -icshelper /home/crafty/timeseal \ -xdrag -xanimate -thinking -xautoraise \ -zippyGameStart "kib Enjoy your game and see finger note for more details" ;; 2) cp standalone.icsrc .icsrc xboard -zp -ics -icshost freechess.org \ -fcp "/home/crafty/crafty" -fd /home/crafty -xexit -autoflag \ -zippyPassword makemydaysucker -icshelper /home/crafty/timeseal \ -xdrag -xanimate -thinking -xautoraise \ -zippyGameStart "kib Enjoy your game and see finger note for more details" \ -xrm '*zippyGameEnd: seek 5 f\n seek 10 f\n seek 15 f\n resume' ;; *) echo "1=Standard 2=Standalone" exit 0 esac
This page took 0 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.