Article View: news.software.readers
Article #79984Re: Hamster - Background NG updating
From: Supralight
Date: Thu, 07 Jun 2001 20:54
Date: Thu, 07 Jun 2001 20:54
40 lines
2265 bytes
2265 bytes
"Graham Drabble" <graham.drabble@lineone.net> wrote in
news:Xns90B9D9E9F584Dgrahamdrabblelineone@127.0.0.1:
>> #!hs2
>> AtClear
>> AtAdd( DoIt, "00:00", "23:59", "1111111", 20, true )
>> AtExecute
>> quit sub DoIt
>> HamMailExchange
>> HamNewsPost
>> HamNewsPull
>> HamWaitIdle
>> endsub
>>
> I copied and pasted into a file (called autopull.hsc) and then ran it
> and got the following errors. Any ideas, I'm using Hamster-Fr 2.0.0.4?
> (I've removed the date and time)
>
> {script autopull.hsc} Error in line 3 of script-file "autopull.hsc"
> {script autopull.hsc} Error 5: Sub not found: DoIt [THscScriptLine]
> {script autopull.hsc} Error-line: AtAdd(DoIt, "00:00", "23:59",
> "1111111", 20, true )
>
I got that too. I checked the help docs and changed it to:
#!hs2
AtClear
AtAdd( DoIt, "00:00", "23:59", "1111111", 20, true )
AtExecute
quit
sub DoIt
HamMailExchange
HamNewsPost
HamNewsPull
HamWaitIdle
endsub
And it worked fine! Just a missing line break.
Technical Details
Message-ID:
<Xns90B9A306B35D8SL12456685673728@127.0.0.1>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsxfer.eecs.umich.edu!news.cc.ukans.edu!stl-feed.news.verio.net!news1.primary.net!not-for-mailReferences:
<Xns90B8D49561A31SL12456685673728@127.0.0.1> <9fnmvb.jk.1@hschmi22.userfqdn.rz-online.de> <Xns90B9D9E9F584Dgrahamdrabblelineone@127.0.0.1>Show Full Headers
Complete Article Headers
Message-ID: <Xns90B9A306B35D8SL12456685673728@127.0.0.1>
Subject: Re: Hamster - Background NG updating
Date: Thu, 07 Jun 2001 20:54:34 GMT
From: Supralight <supralight@NOSPAMyahoo.com>
References: <Xns90B8D49561A31SL12456685673728@127.0.0.1> <9fnmvb.jk.1@hschmi22.userfqdn.rz-online.de> <Xns90B9D9E9F584Dgrahamdrabblelineone@127.0.0.1>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsxfer.eecs.umich.edu!news.cc.ukans.edu!stl-feed.news.verio.net!news1.primary.net!not-for-mail
User-Agent: Xnews/4.06.01 Hamster-Fr/2.0.0.4
Newsgroups: news.software.readers
X-Face: *&#'mQ9gJa{/}}.{2\1&+)A@3.]j-r{5<J;UgIC^X?R'rP:JNji;pM>3SKVRQU_rBFO^"!mW#>tZU]&To<A/~!yB\]vSNyUJs\lHHGQ`\
Lines: 39
NNTP-Posting-Host: 216.224.204.208
X-Complaints-To: abuse@primary.net
X-Trace: news1.primary.net 991947274 216.224.204.208 (Thu, 07 Jun 2001 15:54:34 CDT)
NNTP-Posting-Date: Thu, 07 Jun 2001 15:54:34 CDT
Organization: Primary Network http://www.primary.net