Antonio Dolcetta on Wed, 13 Dec 2006 17:10:32 -0700 (MST) |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: [s-d] the automatic clock |
On 14 Dec 2006, at 01:10, Mark Walsh wrote: > On: 12/6/06 10:51:57 AM Antonio sent: >> Subject: Re: [s-d] the automatic clock >> >> source code for the bot is available (unless you want to flame me for >> it's fragility) at http://gelo.dolcetta.net/software/timebot.pl >> >> it containes the plaintext password for the nomicbot-b wiki user. >> > > Antonio: > > I don't understand all of the language used in your time bot (yet), > but the following lines jumped out and bit me on the nose. > Does this snippet set the nday to 0 (zero), and is that desired? > > if ( $nday > 12 ) { > ( $nday, $nweek ) = ( 0, $nweek + 1 ); > $clock = "off"; > } > > Triller > yes, and no respectively. I just updated it. I was watching it too, since it's the first time the week ends, and my testing wasn't very accurate ;-) I've also removed the line that sets the clock off. Unless Peter wants it added back that is. Ciao _______________________________________________ spoon-discuss mailing list spoon-discuss@xxxxxxxxx http://lists.ellipsis.cx/mailman/listinfo/spoon-discuss